/* Reset básico para remover margens padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

@font-face {
    font-family: "Myriad Pro";
    src: url("../font/MyriadPro-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Myriad Pro";
    src: url("../font/MyriadPro-Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: "Myriad Pro";
    /* Fonte similar à da imagem */
    background-color: #f4f4f4;
}

ul#servicos {
    list-style: none;
    padding-left: 20px;
}

ul li#servicos {
    position: relative;
}

ul li#servicos::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #D6E03D;
    border-radius: 50%;
    position: absolute;
    left: -18px;
    top: 6px;
}

.text-decoration-none {
    text-decoration: none;
}

.text-decoration-none:hover {
    color: var(--color-lime) !important;
}

.banner-home {
    background-image: url(../img/slideb.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    /* Estado inicial: invisível */
    opacity: 0;
    z-index: 1;
    /* A transição suave IGUAL ao Bootstrap */
    transition: opacity 0.6s ease-in-out;
}

/* A classe que torna a imagem visível */
.banner-item.active {
    opacity: 1;
    z-index: 2;
    /* Garante que a ativa fique no topo da pilha de imagens */
}

.banner-content {
    text-align: start;
    position: relative;
    width: 730px;
    min-height: 336px;
    text-align: start;
    top: 300px;
    left: -222px;
    transform: translateY(-50%);
    padding: 30px;
    z-index: 10;


    /* 1. Fundo Translúcido (Branco com 20% de opacidade) */
    background: rgba(255, 255, 255, 0.55);

    /* 2. O Desfoque (O "vidro" em si) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Compatibilidade com Safari */

    /* 3. Borda Sutil (Branco com 30% de opacidade) */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-servico {
    background-image: url(../img/servico_banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 690px;
    display: flex;
    align-items: center;
}

.banner-sobrenos {
    background-image: url(../img/sobre-nos-banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 490px;
    display: flex;
    align-items: center;
}

.banner-desc {
    background-repeat: no-repeat;
    background-size: cover;
    height: 550px;
    /* Increased height to accommodate margins */
    display: flex;
    align-items: center;
    background-image: url(../img/servicos.png);
}

.cta-content {
    max-width: 1200px;

}

/* Contentor Principal da Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    padding: 15px 0;
    box-shadow: none;
    height: 130px;
    color: var(--color-dark-blue);
    border-radius: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 99;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, -webkit-backdrop-filter 0.4s ease;
    will-change: background-color, backdrop-filter, box-shadow, height;
}

.navbarScrolled {
    height: 99px;
    background-color: rgba(255, 255, 255, 0.7);
    background-image: none;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

/* Estilo do Logótipo */
.logo {
    width: 100%;
    height: auto;
    transition: 0.6s ease-in-out;
}

.logoScrolled {
    width: 60%;
    height: auto;
    transition: 0.6s ease-in-out;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: auto;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-dark-blue);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-links li a:hover {
    color: var(--color-lime);
    transform: translateY(-2px);
}

.navbarScrolled .nav-links li a {
    color: var(--color-dark-blue);
}

.navbarScrolled .nav-links li a:hover {
    color: var(--color-lime);
}

.btn-outline-dark-blue {
    --bs-btn-color: var(--color-dark-blue) !important;
    --bs-btn-border-color: var(--color-dark-blue) !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-dark-blue) !important;
    --bs-btn-hover-border-color: var(--color-dark-blue) !important;
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-dark-blue) !important;
    --bs-btn-active-border-color: var(--color-dark-blue) !important;
    --bs-btn-active-shadow: inset 0 3px 5px da;
    --bs-btn-disabled-color: var(--color-dark-blue) !important;
    color: var(--color-dark-blue) !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #1c4977;
    --bs-gradient: none;
    border-radius: 6px;
}

.btn-outline-dark-blue:hover {
    color: rgb(255, 255, 255) !important;
    background-color: var(--color-dark-blue) !important;
}

.btn-portal {
    background-color: var(--color-lime);
    color: var(--color-dark-blue);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 5px;
    /* text-transform: uppercase; */
    white-space: nowrap;
    transition: background-color 0.3s;
    box-shadow: #00000061 2px 2px 7px;
}

.btn-portal:hover {
    background-color: var(--color-lime)
}

.flags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag {
    width: 24px;
    height: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.2s ease;
}
.flag:hover {
    opacity: 0.8;
    transform: scale(1.1);
}
.flag-active {
    opacity: 1;
    transform: scale(1.15);
}

.servico-text {
    font-size: 30px;
    font-family: "Myriad Pro";
    color: #747474;
    font-weight: 400;
}

.home-title {
    font-size: 70px;
    font-family: "Myriad Pro";
    color: #ffffff;
    font-weight: 600;
}

.sobre-nos-title {
    font-size: 50px;
    font-family: "Myriad Pro";
    color: #ffffff;
    font-weight: 600;
}

.text-cyan {
    color: var(--color-cyan)
}

.home-title>#bicolor {
    color: var(--color-lime)
}

.servico-title {
    font-size: 70px;
    font-family: "Myriad Pro";
    color: var(--color-dark-blue);
    font-weight: 600;

}

.servico-title>#bicolor {
    color: var(--color-cyan)
}

/* Definição de cores baseadas na imagem */
:root {
    --color-dark-blue: #00456A;
    /* Azul escuro do título e ícones */
    --color-cyan: #00AEDB;
    /* Azul claro */
    --color-lime: #D6E03D;
    /* Verde limão do botão e ícones */
}

/* Utilitários de cor de texto */
.text-dark-blue {
    color: var(--color-dark-blue) !important;
}

.text-cyan {
    color: var(--color-cyan) !important;
}

.img-servico-desc {
    position: absolute;
    z-index: -1;
    top: 260px;
}

/* Estilização dos Cards */
.banner-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    /* Borda cinza suave */
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #e0e0e0;
    /* Borda cinza suave */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Efeito de elevação opcional */
}

/* Estilo das "Bolinhas" (Dots) */
.dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
}

.dot#header-title {
    margin-top: 53px;
    width: 50px;
    height: 50px;
}

.bg-dark-blue {
    background-color: var(--color-dark-blue);
}

#lime {
    background-color: #d5e03d83;
}

.dot-blue {
    background-color: var(--color-dark-blue);
}

.dot-cyan {
    background-color: var(--color-cyan);
}

.dot-lime {
    background-color: var(--color-lime);
}

/* Botão Customizado */
.btn-custom {
    background-color: var(--color-lime);
    color: var(--color-dark-blue);
    /* Texto azul escuro para contraste */
    border: none;
    border-radius: 8px;
    /* Bordas levemente arredondadas */
    transition: opacity 0.3s ease;
}

.btn-custom:hover {
    opacity: 0.9;
    color: var(--color-dark-blue);
}

/* Fundo da seção (usa sua variável existente) */
.text-dark-blue {
    color: var(--color-dark-blue) !important;
}

.section-dark-blue {
    background-color: var(--color-dark-blue);
}

.section-dark-green {
    background-color: #419639;
}


/* Cor de texto Lime (verde limão) */
.text-lime {
    color: var(--color-lime) !important;
}

/* Variação mais escura do Lime para texto (para leitura em fundo claro) */
.text-lime-dark {
    /* color: #boc226; */
    color: #a8b418;
}

/* Wrapper do ícone (círculo azul claro em volta do ponto) */
.icon-wrapper {
    min-width: 45px;
    height: 45px;
    background-color: #dcf4fc;
    /* Azul bem clarinho */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Boxes de estatísticas */
.stat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Box Azul Claro (baseado na sua cor Cyan com opacidade) */
.stat-gray-blue {
    background-color: rgba(44, 164, 229, 0.1);
    /* Variação muito clara do cyan */
}

/* Box Azul Claro (baseado na sua cor Cyan com opacidade) */
.stat-box-blue {
    background-color: #ebf8fc;
    /* Variação muito clara do cyan */
}

/* Box Amarelo Claro (baseado na sua cor Lime com opacidade) */
.stat-box-lime {
    background-color: #fbfde6;
    /* Variação muito clara do lime */
}

/* Pequeno ajuste para garantir que a fonte Myriad seja aplicada aos headings novos */
.font-myriad {
    font-family: "Myriad Pro", sans-serif;
}

/* Fundo Gradiente da CTA */
.cta-section {
    background-image: url(../img/cta.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.forms-section {
    background-color: #f4f4f4;
    ;
}

.glassy {
    /* 1. Fundo Translúcido (Branco com 20% de opacidade) */
    background: rgba(255, 255, 255, 0.329);

    /* 2. O Desfoque (O "vidro" em si) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Compatibilidade com Safari */

    /* 3. Borda Sutil (Branco com 30% de opacidade) */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Botão Outline (Borda Branca) */
.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Fundo branco leve ao passar o mouse */
    color: #fff;
    border-color: #fff;
}

/* Caixas de Contato (Email/Telefone) */
.contact-box {
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Borda semi-transparente */
    border-radius: 8px;
    min-width: 250px;
    /* Largura mínima para ficarem bonitos */
    background-color: rgba(255, 255, 255, 0.05);
    /* Fundo muito sutil */
    transition: background-color 0.3s;
}

.contact-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Fundo do Footer usando sua variável */
.footer-section {
    background-color: var(--color-dark-blue);
}

/* Links do Footer */
.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-lime);
    /* Fica verde ao passar o mouse */
    padding-left: 5px;
    /* Pequeno movimento para a direita */
}

/* Círculos das Redes Sociais (Cinza claro conforme imagem) */
.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-blue);
    width: 40px;
    height: 40px;
    background-color: #d9d9d9;
    /* Cinza da imagem */
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    font-size: 23px;
}

.social-circle:hover {
    background-color: var(--color-lime);
    transform: translateY(-3px);
}

/* Linha divisória mais visível */
hr.border-light {
    border-top: 2px solid #fff;
    /* Garante que a linha seja branca sólida */
}

.btn-success {
    background-color: #D6E03D !important;
    color: #00456A !important;
    border: none !important;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
}

.btn-success:hover {
    color: #D6E03D !important;
    background-color: #00456A !important;
    transition: 0.3s ease-in-out;
}

.feature-item {
    height: 132px;
}

/* =========================================
   UTILITIES (Micro-interactions)
   ========================================= */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* =========================================
   HERO / BANNER ANIMATIONS (Split Layout)
   ========================================= */
.hero-split {
    background-color: #f8f9fa;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseBlob {
    0% {
        transform: scale(0.95) rotate(0deg);
        opacity: 0.4;
        filter: blur(20px);
    }

    100% {
        transform: scale(1.05) rotate(15deg);
        opacity: 0.7;
        filter: blur(25px);
    }
}

/* ------------------------------------ */
/* ESTILIZAÇÃO CUSTOMIZADA DAS ABAS (TABS) */
/* ------------------------------------ */

.custom-nav-tabs .nav-link {
    /* Cor de fundo padrão: Azul Escuro (do var(--color-dark-blue)) */
    background-color: var(--color-dark-blue);
    /* Cor do texto padrão: Branco */
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0;
    /* Remove bordas arredondadas padrão */
    border-bottom: 3px solid transparent;
    /* Cria espaço para a linha de destaque */
    margin: 0 5px;
    /* Espaçamento entre os botões das abas */
    transition: all 0.3s ease;
}

.custom-nav-tabs .nav-link:hover {
    color: var(--color-lime);
    /* Texto fica verde limão ao passar o mouse */
    border-color: rgba(255, 255, 255, 0.2);
    /* Linha sutil para hover */
}

.banner-tag {
    border-radius: 6px;
    background-color: #D6E03D;
    color: rgba(0, 69, 106, 1);
    width: 227px;
    display: flex;
    text-align: center;
    justify-content: center;
    height: 28px;
    align-items: center;
}

/* Estado Ativo/Selecionado (Aba Ativa) */
.custom-nav-tabs .nav-link.active {
    /* Fundo da aba ativa: Azul Escuro (Para manter a consistência da seção) */
    background-color: var(--color-dark-blue);
    /* Texto da aba ativa: Verde Limão (Destaque principal) */
    color: var(--color-lime);
    /* Linha Verde Limão em baixo (Destaque visual conforme a imagem) */
    border-bottom: 3px solid var(--color-lime);
}

/* O conteúdo da aba (tab-pane) deve ter o texto na cor branca, que é garantido pela classe 'text-white' no HTML. */

/* =========================================
   MENU MOBILE / RESPONSIVIDADE
   Adicionar ao final do arquivo CSS
   ========================================= */

/* Oculta o botão hambúrguer no Desktop */
.mobile-toggle {
    display: none;
}


.logo-footer-wpp {
    position: fixed;
    width: 100px;
    bottom: 15px;
    right: 15px;
    filter: drop-shadow(black 2px 2px 2px 2px);
    transition: 0.6s ease-in-out;
    z-index: 99;
}

.logo-footer-wpp:hover {
    transition: 0.6s ease-in-out;
    width: 110px;
}

/* =========================================
   SCROLL REVEAL ANIMATIONS (Modern & Organic)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.reveal-fade.active {
    opacity: 1;
}

/* =========================================
   CERTIFICATES (3D Flip Cards)
   ========================================= */
.cert-card-container {
    perspective: 1000px;
    height: 100%;
    min-height: 240px;
    cursor: pointer;
}

.cert-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.cert-card-container:hover .cert-card-inner {
    transform: rotateY(180deg);
}

.cert-card-front,
.cert-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.05);
    /* very light transparent */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cert-card-back {
    transform: rotateY(180deg);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-lime);
}

.cert-logo {
    max-height: 80px;
    width: auto;
}

/* Media Query para Tablets e Celulares (abaixo de 991px) */
@media (max-width: 991px) {
    .text-xs-center {
        text-align: center !important;
    }

    .cta-content {
        width: 80%;

    }

    .xs-hidden {
        display: none !important;
    }

    .logo-footer-wpp {
        width: 80px;
    }

    .justify-content-xs-center {
        justify-content: center;
    }

    #nossos-servicos {
        margin-top: 222px;
    }

    .banner-home {
        height: 600px;
    }

    .img-mobile {
        width: 30%;
    }

    .banner-content {
        text-align: center;
        position: relative;
        z-index: 10;
        width: 81%;
        min-height: 336px;
        text-align: center;
        transform: translateY(-50%);
        padding: 30px;
        left: 0;
        top: 335px;
    }

    .home-title {
        font-size: 30px;
        font-family: "Myriad Pro";
        color: #ffffff;
        font-weight: 600;
    }

    .navbar {
        height: 115px;
        padding: 15px 20px;
        position: relative;
        z-index: 1000;
        width: 100%;
        transition: 0.6s ease-in-out;
    }

    .navbarScrolled {
        height: 85px;
        transition: 0.6s ease-in-out;
    }

    .logo {
        width: 60%;
        height: auto;
    }

    .logoScrolled {
        width: 40%;
        height: auto;
        transition: 0.6s ease-in-out;
    }

    .servico-title {
        font-size: 50px;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
        /* Fica acima do menu aberto */
    }

    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-lime);
        /* Sua cor padrão */
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Animação do botão virando X quando ativo */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: var(--color-lime);
        /* Destaque ao abrir */
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: var(--color-lime);
    }

    /* 3. Conteúdo do Menu (Off-Canvas) */
    .nav-content {
        position: fixed;
        top: 0;
        right: -100%;
        /* Esconde fora da tela à direita */
        width: 80%;
        /* Ocupa 80% da tela */
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-dark-blue);
        /* Fundo azul escuro */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }

    /* Classe que ativa o menu via JS */
    .nav-content.active {
        right: 0;
    }

    /* 4. Ajustes dos Links dentro do Mobile */
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0 0 40px 0;
        /* Espaço abaixo dos links */
    }

    .nav-links li a {
        color: #ffffff;
        /* Texto branco no fundo azul */
        font-size: 20px;
    }

    .nav-links li a:hover {
        color: var(--color-lime);
    }

    /* Ajuste para o botão do Portal no menu mobile */
    .btn-portal {
        width: 100%;
        text-align: center;
        background-color: var(--color-lime);
        color: var(--color-dark-blue);
        margin-bottom: 20px;
    }

    /* Centraliza as bandeiras */
    .flags {
        justify-content: center;
    }
}

/* =========================================
   CUSTOM FORM CONTROLS (Floating Labels & Focus)
   ========================================= */
.form-floating>.form-control-custom {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-floating>.form-control-custom:focus {
    background-color: #ffffff;
    border-color: var(--color-lime);
    box-shadow: 0 0 0 0.25rem rgba(214, 224, 61, 0.25);
}

.form-floating>label {
    padding-left: 1.25rem;
    color: var(--color-dark-blue);
    opacity: 0.7;
}

.form-floating>.form-control-custom:focus~label,
.form-floating>.form-control-custom:not(:placeholder-shown)~label {
    opacity: 1;
    color: var(--color-lime);
    font-weight: 600;
}

/* =========================================
   HOVER LIFT FOR TRANSPARENT IMAGES (Drop Shadow)
   ========================================= */
.hover-lift-drop {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.hover-lift-drop:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.2)) !important;
}

/* =========================================
   VERTAS ORGANIC TABS
   ========================================= */
.vertas-tabs .nav-link {
    color: var(--color-dark-blue);
    background-color: #ffffff;
    border: 2px solid transparent;
}

.vertas-tabs .nav-link.active {
    background-color: var(--color-lime) !important;
    color: var(--color-dark-blue) !important;
    border-color: var(--color-lime) !important;
}

.vertas-tabs .nav-link:hover:not(.active) {
    border-color: var(--color-lime);
    color: var(--color-dark-blue);
}

/* =========================================
   NEW UTILITIES & ANIMATIONS
   ========================================= */
.hero-reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-lime {
    background-color: var(--color-lime);
    color: var(--color-dark-blue);
    border: none;
    transition: all 0.3s ease;
}

.btn-lime:hover {
    background-color: #cbd82b;
    /* Slightly darker lime */
    color: var(--color-dark-blue);
}

.bg-lime {
    background-color: var(--color-lime) !important;
}

.text-lime {
    color: var(--color-lime) !important;
}

.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-25 {
    opacity: 0.25 !important;
}

.mt-n1 {
    margin-top: -0.25rem !important;
}

/* --- ULTRA PREMIUM HERO STYLES --- */
.text-gradient-lime {
    background: linear-gradient(90deg, var(--color-dark-blue) 0%, var(--color-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.btn-pulse-glow {
    position: relative;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 224, 61, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(214, 224, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 224, 61, 0);
    }
}

.floating-pill {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.floating-pill:hover {
    transform: translateY(-5px);
}

/* Mouse Scroll Animation */
.mouse-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-dark-blue);
    border-radius: 20px;
    z-index: 5;
    opacity: 0.6;
}

.mouse-scroll::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-dark-blue);
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.hero-reveal-cascade>* {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 0.8s forwards;
}

.hero-reveal-cascade>*:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-reveal-cascade>*:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-reveal-cascade>*:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-reveal-cascade>*:nth-child(4) {
    animation-delay: 0.6s;
}

.hero-reveal-cascade>*:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   GALLERY MASONRY GRID + HOVER OVERLAY
   ========================================== */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 16px;
}

/* Item padrão */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: #eee;
}

/* Imagem dentro do item */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Itens especiais: tall (ocupa 2 linhas) */
.gallery-item--tall {
    grid-row: span 2;
}

/* Itens especiais: wide (ocupa 2 colunas) */
.gallery-item--wide {
    grid-column: span 2;
}

/* Overlay de hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 69, 106, 0.85) 0%,
            rgba(0, 69, 106, 0.3) 50%,
            rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Conteúdo do overlay */
.gallery-overlay-content {
    text-align: center;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

/* Hover effects */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Borda sutil de destaque na borda inferior ao hover */
.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-lime);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.gallery-item:hover::after {
    transform: scaleX(1);
}

/* Responsivo: tablet */
@media (max-width: 992px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
}

/* Responsivo: mobile */
@media (max-width: 576px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item--wide,
    .gallery-item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ==========================================
   PREMIUM IMAGE CONTAINER (About Us Tabs)
   ========================================== */
.premium-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    z-index: 1;
}

/* Ambient glow behind the card */
.premium-image-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    top: -15%;
    left: -15%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.premium-image-glow.glow-lime {
    background: radial-gradient(circle, var(--color-lime) 0%, rgba(214, 224, 61, 0) 70%);
}

.premium-image-glow.glow-cyan {
    background: radial-gradient(circle, var(--color-cyan) 0%, rgba(0, 174, 219, 0) 70%);
}

.premium-image-glow.glow-dark-blue {
    background: radial-gradient(circle, var(--color-dark-blue) 0%, rgba(0, 69, 106, 0) 70%);
}

/* Accent structural frame */
.premium-image-frame {
    position: absolute;
    inset: 15px -15px -15px 15px;
    /* Offset to bottom-right */
    border: 2px solid;
    border-radius: 24px;
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-image-frame.frame-lime {
    border-color: var(--color-lime);
}

.premium-image-frame.frame-cyan {
    border-color: var(--color-cyan);
}

.premium-image-frame.frame-dark-blue {
    border-color: var(--color-dark-blue);
}

/* Main image inner holder */
.premium-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 480px;
    border: 5px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.premium-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Glassmorphic Badge */
.premium-image-badge {
    position: absolute;
    bottom: 25px;
    left: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 2;
    max-width: 240px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.premium-image-badge .badge-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.premium-image-badge .badge-icon-circle.bg-lime {
    background-color: var(--color-lime);
}

.premium-image-badge .badge-icon-circle.bg-cyan {
    background-color: var(--color-cyan);
}

.premium-image-badge-right {
    left: auto;
    right: -20px;
}

.premium-image-badge-top {
    bottom: auto;
    top: 25px;
}

/* Hover effects */
.premium-image-container:hover .premium-image-card img {
    transform: scale(1.06);
}

.premium-image-container:hover .premium-image-frame {
    transform: translate(-6px, -6px);
    /* Moves towards top-left, reducing the offset */
}

.premium-image-container:hover .premium-image-glow {
    opacity: 0.25;
    transform: scale(1.05);
}

.premium-image-container:hover .premium-image-badge {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Adjustments for smaller devices */
@media (max-width: 991px) {
    .premium-image-container {
        margin-top: 40px;
        max-width: 400px;
    }

    .premium-image-card {
        height: 380px;
    }

    .premium-image-badge {
        left: 10px;
        bottom: 15px;
    }

    .premium-image-badge-right {
        right: 10px;
        left: auto;
    }
}

/* Custom solid buttons for services cards alternating themes */
.btn-cyan-solid {
    background-color: var(--color-cyan) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease-in-out;
}

.btn-cyan-solid:hover {
    background-color: var(--color-dark-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 174, 219, 0.3) !important;
}

.btn-lime-solid {
    background-color: var(--color-lime) !important;
    color: var(--color-dark-blue) !important;
    border: none !important;
    transition: all 0.3s ease-in-out;
}

.btn-lime-solid:hover {
    background-color: var(--color-dark-blue) !important;
    color: var(--color-lime) !important;
    box-shadow: 0 5px 15px rgba(214, 224, 61, 0.3) !important;
}