a{
    text-decoration: none;
}

/* Topbar */
.topbar {
    background: #0f1a12;
    color: #ffffff;
    padding: 4px 0;
    font-size: 0.95rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1061;
}

@media (max-width: 767.98px) {
    .topbar {
        display: none;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0 !important;
    }

    .sticky-top {
        top: 0 !important;
    }
}

.topbar .topbar-link {
    color: #e9f3e2;
    font-weight: 400;
}

.topbar .topbar-link:hover {
    color: #ffffff;
}

.topbar .topbar-sep {
    color: rgba(255, 255, 255, 0.7);
}

.topbar i {
    color: #8bd060;
}

.topbar-urgent {
    background: #538232;
    color: #0f1a12;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    border: 2px solid #538232;
}

.topbar-urgent:hover {
    background: transparent;
    color: #ffffff;
}

/* Premium Footer */
.premium-footer {
    background: #0f1a12;
    color: #f5f8f2;
    padding: 64px 0 28px;
    position: relative;
    overflow: hidden;
}

.premium-footer::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(83, 130, 50, 0.28), rgba(83, 130, 50, 0));
    bottom: -200px;
    left: -120px;
}

.premium-footer-inner {
    position: relative;
    z-index: 1;
}

.premium-footer-logo {
    position: absolute;
    top: 36px;
    right: 40px;
    width: 160px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 18px rgba(83, 130, 50, 0.55))
        drop-shadow(0 0 40px rgba(83, 130, 50, 0.35));
    z-index: 0;
    pointer-events: none;
}

.premium-footer-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.premium-footer-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    max-width: 320px;
}

.premium-footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.premium-footer-social {
    display: flex;
    gap: 10px;
}

.premium-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f1a12;
    background: #538232;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.premium-footer-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: #6aa03f;
}

.premium-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.premium-footer-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.88);
}

.premium-footer-list i {
    margin-top: 3px;
    color: #8bd060;
}

.premium-footer-list a {
    color: rgba(255, 255, 255, 0.88);
}

.premium-footer-list a:hover {
    color: #ffffff;
}

.premium-footer-links {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.premium-footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.premium-footer-links a:hover {
    color: #8bd060;
}

.premium-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #538232;
    color: #0f1a12;
    font-weight: 700;
    border: 2px solid #538232;
}

.premium-footer-cta:hover {
    background: transparent;
    color: #ffffff;
}

.premium-footer-bottom {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Services Premium Grid */
.services-premium .service-grid {
    margin-bottom: 12px;
}

.service-tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-tile:focus-visible {
    outline: 3px solid rgba(83, 130, 50, 0.8);
    outline-offset: 3px;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.12) 100%);
}

.service-body {
    position: relative;
    z-index: 1;
    padding: 26px 26px 22px;
    color: #ffffff;
    max-width: 85%;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-line {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0;
}

/* Service Modal Premium */
.service-modal {
    background: #0f1a12;
    color: #f5f8f2;
    border-radius: 18px;
    border: 1px solid rgba(83, 130, 50, 0.35);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.service-modal .modal-body {
    background: #0f1a12;
}

.service-modal .image-container {
    position: relative;
}

.service-modal .image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 60%, rgba(0, 0, 0, 0) 100%);
}

.service-modal .image-title {
    z-index: 2;
}

.service-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    padding: 10px;
}

.service-modal .btn-primary {
    background: #538232;
    border-color: #538232;
}

.service-modal .btn-primary:hover {
    background: #6aa03f;
    border-color: #6aa03f;
}

@media (max-width: 767.98px) {
    .service-body {
        max-width: 100%;
    }

    .service-title {
        font-size: 1.15rem;
    }

    .service-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .premium-footer {
        padding: 48px 0 24px;
    }

    .premium-footer .row {
        text-align: center;
    }

    .premium-footer-text {
        margin-left: auto;
        margin-right: auto;
    }

    .premium-footer-social {
        justify-content: center;
    }

    .premium-footer-list {
        justify-items: center;
    }

    .premium-footer-links {
        justify-items: center;
    }

    .premium-footer-logo {
        position: static;
        margin: 0 auto 24px;
        width: 120px;
        display: block;
    }
}

/* Efeito no card */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: scale(1.05); /* Aumenta levemente o card */
    box-shadow: 0 10px 2px rgba(13, 110, 253, 0.2); /* Adiciona sombra suave */
}

/* Remove qualquer transição na imagem */
.hover-card img {
    transition: none; /* Garante que a imagem não tenha efeito */
}
.card {
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    position: relative;
    z-index: 2; /* Mantém o texto acima da sobreposição */
}

/* Sobreposição transparente */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Preto com 50% de transparência */
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Detalhes adicionais */
.details-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 70%;
    transform: translate(-50%, -50%) scale(0);
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3; /* Acima da sobreposição */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.card:hover .details-container {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Nome do serviço */
.service-name {
    z-index: 2;
    transition: opacity 0.3s ease;
    color: white;
}
.card:hover .service-name {
    opacity: 0;
}


.image-container {
    position: relative; /* Necessário para posicionar elementos filhos */
    width: 100%;
    max-width: 600px; /* Tamanho máximo da imagem */
    margin: auto;
}

.image-container img {
    width: 100%; /* Imagem ocupa toda a largura do container */
    display: block;
}

.image-title {
    position: absolute;
    top: 50%; /* Centraliza verticalmente */
    left: 50%; /* Centraliza horizontalmente */
    transform: translate(-50%, -50%); /* Ajusta para alinhar o centro exato */
    color: white; /* Cor do texto */
    font-size: 2rem; /* Tamanho do texto */
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Adiciona sombra ao texto */
}
.owl-carousel .item {
    background: #0051FF;
    color: white;
    padding: 47px 20px;
    text-align: center;
    border-radius: 16px;
}


@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.swing-animation img {
  display: inline-block;
  animation: swing 3s infinite ease-in-out;
  animation-delay: 3s;
  transform-origin: top center;
}

/* Banner Parallax */
.hero-parallax {
    overflow: hidden;
}

.hero-parallax-img {
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Noticias Premium */
.news-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.news-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 260px;
    background: #0f1a12;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(5, 32, 11, 0.78) 70%);
}

.news-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 18px;
    color: #ffffff;
    z-index: 1;
}

.news-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.news-meta {
    font-size: 0.9rem;
    opacity: 0.85;
}

@media (max-width: 576px) {
    .news-scroll {
        grid-template-columns: 1fr;
    }
}

/* About Premium */
.about-premium {
    background: radial-gradient(circle at 10% 10%, rgba(83, 130, 50, 0.18), transparent 55%),
        radial-gradient(circle at 85% 0%, rgba(15, 26, 18, 0.18), transparent 45%),
        #f6f8f3;
}

.about-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #538232;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.about-title {
    font-weight: 800;
    color: #0f1a12;
    font-size: clamp(1.8rem, 2.2vw, 2.5rem);
    margin-bottom: 16px;
}

.about-lead {
    color: #4b5a4f;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #0f1a12;
}

.about-item i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(83, 130, 50, 0.15);
    color: #538232;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-cta .premium-btn {
    background: #538232;
    border-color: #538232;
    color: #0f1a12;
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 22px;
}

.about-cta .premium-btn:hover {
    background: #6aa03f;
    border-color: #6aa03f;
}

.about-cta .premium-btn-outline {
    border-radius: 999px;
    padding: 10px 22px;
    border: 2px solid #538232;
    color: #538232;
    font-weight: 700;
}

.about-cta .premium-btn-outline:hover {
    background: #538232;
    color: #0f1a12;
}

.about-contacts {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #4b5a4f;
    font-weight: 600;
}

.about-contacts i {
    color: #538232;
    margin-right: 6px;
}

.about-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 26, 18, 0.2);
}

.about-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 360px;
}

.about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(15, 26, 18, 0.55));
}

.about-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(15, 26, 18, 0.85);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 14px;
    z-index: 2;
    display: grid;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.65rem;
}

.about-badge strong {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.about-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    display: grid;
    gap: 10px;
    z-index: 2;
    box-shadow: 0 12px 28px rgba(15, 26, 18, 0.18);
}

.about-card p {
    margin: 0;
    font-weight: 800;
    color: #0f1a12;
}

.about-card span {
    display: block;
    color: #6b7a6f;
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .about-contacts {
        justify-content: flex-start;
    }

    .about-media img {
        min-height: 300px;
    }
}
