@font-face {
    font-family: 'AzoSans';
    src: url('../fonts/AzoSans-Light.ttf') format('truetype'),
         url('../fonts/AzoSans-Regular.ttf') format('truetype'),
         url('../fonts/AzoSans-Thin.ttf') format('truetype'),
         url('../fonts/AzoSans-Bold.ttf') format('truetype'),
         url('../fonts/AzoSans-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Excon';
    src: url('../fonts/Excon-Black.otf') format('opentype'),
         url('../fonts/Excon-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Ajustes gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Azo Sans', sans-serif;
}

.container {
    max-width: 1280px;
    padding: 0 2%;
    margin: 0 auto;
}

.clear {
    clear: both;
}

/* Estilo do header */
header {
    background: url('../images/logo14.png') no-repeat center center/cover;
    min-height: 720px;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    background-size: 2080px;
    /*animation: moveBackground 30s linear infinite;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

@media (max-width: 768px) {
    header {
        animation: moveBackground 140s linear infinite;
    }
}

/* Estilo da logo */
.logo {
    position: relative;
    z-index: 2;
   /* background-image: url('../images/LOGO-Capital-1@4x.png');*/
    background-size: 100% 100%;
    background-repeat: no-repeat;
    float: left;
    width: 100px;
    height: 100px;
    animation: fadeInZoom 1.5s ease-in-out; /* Animação suave */
}

/* Animação suave de zoom e fade-in */
@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}



/* Estilo do menu desktop */
nav.desktop {
    z-index: 2;
    float: right;
}

nav.desktop ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.5s ease-in-out;
}

nav.desktop li {
    display: inline-block;
    margin: 0 15px;
    position: relative;
    animation: fadeInUp 0.5s ease-in-out;
}

nav.desktop a {
    color: white; /* Cor padrão da Bloko Capital */
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    position: relative;
    display: inline-block;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

nav.desktop a:hover, nav.desktop a.active {
    color: #1B2D4E;
    font-weight: bold;
    background-color: rgba(59, 171, 212, 0.1); /* Cor de fundo suave */
    border-radius: 5px;
    transform: translateY(-5px); /* Elevação ao passar o mouse */
    box-shadow: 0 4px 10px rgba(59, 171, 212, 0.2); /* Sombra suave */
}

nav.desktop a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #3BABD4;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav.desktop a.active::after, nav.desktop a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Estilo do menu mobile */
nav.mobile {
    display: none;
    position: relative;
    float: right;
}

/* Estilo do menu mobile */
nav.mobile {
    display: none;
    position: relative;
    float: right;
}

/* Menu se abrirá da direita */
nav.mobile ul {
    position: fixed;
    right: -100%; /* Posicionado fora da tela inicialmente */
    top: 0;
    height: 100%;
    width: 80%; /* O menu ocupará 80% da largura da tela */
    max-width: 300px;
    padding: 70px 0 30px 0;
    background: rgba(27, 45, 78, 0.9); /* Cor mais suave e moderna */
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
}

/* Estilo do menu mobile */
nav.mobile {
    display: none;
    position: relative;
    float: right;
}

/* Menu se abrirá da direita */
nav.mobile ul {
    position: fixed;
    right: -100%; /* Posicionado fora da tela inicialmente */
    top: 0;
    height: 100%;
    width: 80%;
    max-width: 300px;
    padding: 70px 0 30px 0;
    background: rgba(27, 45, 78, 0.9); /* Cor mais suave e moderna */
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: right 0.6s ease-in-out; /* Animação mais lenta */
    z-index: 1000;
    list-style: none; /* Remove os bullets */
}

/* Animação ao abrir o menu */
nav.mobile.open ul {
    right: 0; /* Menu deslizara para a direita ao ser aberto */
}

nav.mobile h3 {
    position: relative;
    z-index: 1001; /* Garantir que o ícone esteja acima do menu */
    color: white;
    cursor: pointer;
    font-size: 28px;
    transition: color 0.3s ease;
}

/* Novo ícone para o menu mobile */
nav.mobile h3 i {
    font-size: 30px;
    transition: transform 0.4s ease;
}

nav.mobile h3.open i {
    transform: rotate(180deg); /* Rotaciona o ícone ao abrir o menu */
}

nav.mobile li {
    padding: 15px 0;
    animation: fadeInRight 0.6s ease-in-out;
}

nav.mobile a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: color 0.4s, background-color 0.4s;
}

nav.mobile a:hover, nav.mobile a.active {
    color: #3BABD4;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1); /* Cor de fundo suave */
    border-radius: 5px;
    transform: translateX(10px); /* Deslize ligeiro ao passar o mouse */
    box-shadow: 0 4px 15px rgba(59, 171, 212, 0.3); /* Sombra suave */
}

/* Animação ao abrir os itens do menu */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animação para o fundo ao abrir o menu */
nav.mobile ul.open {
    right: 0;
    opacity: 1;
    transition: right 0.4s ease-in-out;
}
/***********************************************************/

/* Estilo do menu mobile */
nav.mobile {
    display: none;
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1001;
    float: right;
}

/* Estilo do ícone do menu */
nav.mobile h3 {
    color: #E1E1E2; /* Cor padrão da Bloko Capital */
    cursor: pointer;
    font-size: 28px;
    transition: color 0.3s ease, transform 0.4s ease, background-color 0.4s ease;
    padding: 10px;
    background-color: rgba(59, 171, 212, 0.9); /* Fundo mais suave padrão Bloko Capital */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra suave */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animações de hover e click */
nav.mobile h3:hover {
    transform: scale(1.1); /* Aumenta o ícone ao passar o mouse */
    background-color: rgba(34, 112, 170, 0.9); /* Mudança de cor ao hover */
}

nav.mobile h3:active {
    transform: scale(0.9); /* Reduz ligeiramente ao clicar */
}

/* Animação de pulso constante para chamar atenção */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
}

nav.mobile h3 {
    animation: pulse 2s infinite ease-in-out; /* Animação de pulso contínuo */
}



/* Animação de deslizamento ao abrir os itens do menu */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fixar o menu no topo ao descer */
nav.mobile.sticky {
    position: fixed;
    top: 0;
    right: 20px;
    transition: background-color 0.3s ease;

}

/* Animação ao abrir os itens do menu */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Animação para o ícone do menu mobile */
nav.mobile h3 i.fas.fa-align-justify {
    font-size: 26px;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Animação ao passar o mouse sobre o ícone */
nav.mobile h3:hover i {
    transform: rotate(90deg) scale(1.2); /* Rotaciona e aumenta o ícone ao passar o mouse */
    color: #3BABD4; /* Muda a cor do ícone ao passar o mouse */
    box-shadow: 0 0 15px rgba(59, 171, 212, 0.7); /* Adiciona uma sombra ao ícone */
}

/* Animação ao clicar no ícone */
nav.mobile h3.open i {
    transform: rotate(180deg) scale(1.5); /* Aumenta mais e rotaciona ao abrir o menu */
    color: #1B2D4E; /* Muda a cor do ícone ao abrir o menu */
    box-shadow: 0 0 20px rgba(27, 45, 78, 0.7); /* Sombra mais forte ao abrir o menu */
}



/* Estilo da chamada */
.chamada-header {
    z-index: 2;
    padding: 110px 0;
    text-align: center;
    animation: fadeInSlide 1.5s ease-in-out; /* Animação de entrada suave */
}

.chamada-header h2 {
    font-size: 47px;
    color: white;
    font-weight: normal;
    position: relative;
    animation: fadeInSlide 1.8s ease-in-out; /* Animação de entrada para o texto */
    letter-spacing: 0.5px; /* Pequeno espaçamento entre letras para elegância */
    line-height: 1.2; /* Ajuste da altura da linha para melhor espaçamento */
}

.chamada-header h2 span {
    display: block;
    margin-top: 15px; /* Espaço entre as duas linhas */
}

/* Animação de entrada */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-15px); /* Desliza o texto da esquerda para a posição final */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsividade */
@media screen and (max-width: 1024px) {
    nav.desktop { display: none; }
    nav.mobile { display: block; }
    .chamada-header {
        text-align: center;
        padding: 80px 0; /* Ajusta o padding para telas menores */
    }
    .chamada-header h2 {
        font-size: 36px; /* Reduz o tamanho do texto para telas menores */
    }
}


/*/*JANELA*/

/* Estilo para a janela de informações */
.info-janela {
    display: none; /* Oculta a janela por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Cor de fundo com opacidade */
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow-y: auto; /* Permite rolagem vertical quando necessário */
    opacity: 0;
    animation: fadeIn 0.5s forwards; /* Animação de fade-in */
}

/* Animação para o fundo */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Conteúdo da janela de informações */
.info-janela-content {
    background-color: #fff;
    padding: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 80%; /* Limita a altura máxima para evitar que o conteúdo ultrapasse a tela */
    overflow-y: auto; /* Adiciona rolagem automática se o conteúdo for maior que a área disponível */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'AZO Sans', sans-serif;
    color: #333;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.5s ease-out forwards; /* Animação de slide-in */
    animation-delay: 0.3s; /* Atraso para combinar com o fade-in do fundo */
}

/* Animação para o conteúdo do modal */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão de fechar a janela de informações */
.info-janela-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #1B2D4E; /* Cor padrão da Bloko Capital */
    transition: color 0.3s ease, transform 0.3s ease;
}

.info-janela-close:hover {
    color: #000;
    transform: rotate(90deg); /* Animação de rotação ao passar o mouse */
}

/* Títulos */
.info-janela h1 {
    font-size: 2.5em;
    color: #1B2D4E;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 0.6s ease-out forwards; /* Animação de fade-in e subida */
    animation-delay: 0.6s; /* Atraso para combinar com a abertura do modal */
}

.info-janela h2 {
    font-size: 1.75em;
    color: #1B2D4E;
    margin: 20px 0 10px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 0.6s ease-out forwards; /* Animação de fade-in e subida */
    animation-delay: 0.7s; /* Atraso para combinar com a abertura do modal */
}

/* Texto */
.info-janela p, .info-janela ul {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInUp 0.6s ease-out forwards; /* Animação de fade-in e subida */
    animation-delay: 0.8s; /* Atraso para combinar com a abertura do modal */
}

/* Animação para o conteúdo (textos, listas, etc.) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .info-janela-content {
        padding: 20px;
    }

    .info-janela h1 {
        font-size: 2em;
    }

    .info-janela h2 {
        font-size: 1.5em;
    }

    .info-janela p,
    .info-janela li {
        font-size: 1em;
    }
}


/**cookies*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-content.animated {
    transform: scale(1);
    opacity: 1;
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.modal-content a {
    color: #2270AA;
    text-decoration: underline;
}

.modal-content button {
    background-color: #2270AA;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #1B2D4E;
}

/* Animação de entrada */
.modal.open {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo da seção */
/* Estilo da seção */
section.descricao-bloko {
    text-align: center;
    padding: 10px 0; /* Reduzi o padding superior e inferior */
    font-family: 'AzoSans', sans-serif;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    /*animation: fadeInUp 0.8s ease-out, backgroundFadeIn 2s ease-out; /* Animação de entrada e de fundo */
    margin-bottom: 40px;
}

/* Estilo do parágrafo */
section.descricao-bloko p {
    display: inline-block;
    max-width: 640px;
    font-weight: normal;
    font-size: 20px;
    color: #1B2D4E;
    margin: 0 auto;
    line-height: 1.5;
    animation: textFadeIn 10.5s ease-in-out, textSlideIn 1.5s ease-in-out, bounceIn 2s ease-out; /* Animações de texto combinadas */
    opacity: 0;
    transform: translateY(-10px); /* Subi ainda mais o texto */
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundFadeIn {
    0% {
        background-color: transparent;
    }
    100% {
        background-color: #fff;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.95) translateY(-10px);
    }
    60% {
        transform: scale(1.05) translateY(5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* Animação de entrada em cascata */
section.descricao-bloko p {
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}

/* Responsividade */
@media (max-width: 768px) {
    section.descricao-bloko p {
        font-size: 18px;
        max-width: 100%;
        padding: 0 15px;
    }
    section.descricao-bloko {
        padding: 20px 15px;
    }
}



/*A BLOKO*/

/* Container Geral */
.container {
    max-width: 1280px;
    padding: 0 2%;
    margin: 0 auto;
}

.servicos-1 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: -50px auto 0 auto;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFadeIn 1.5s ease-out forwards;
}

.servico-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    text-align: center;
    max-width: 300px;
    position: relative;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease;
    animation: itemSlideIn 1.2s ease-out forwards;
}

.servico-item:hover {
    transform: translateY(-10px); /* Efeito ao passar o mouse */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animação de fade-in com movimento */
@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes itemSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servico-item:hover .servico-img {
    transform: scale(1.05); /* Leve crescimento da imagem */
    cursor: pointer; /* Adiciona o cursor pointer */
}

.servico-item:hover .servico-text {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.7s ease, opacity 0.7s ease, transform 0.7s ease;
}

.servico-img {
    width: 120px;
    height: auto;
    transition: transform 0.5s ease-in-out;
    margin-top: 20px;
}

.servico-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    padding: 20px;
}

.servico-text ul {
    text-align: left;
    padding: 0;
    margin: 0;
    font-family: 'Azo Sans', sans-serif;
    color: #1B2D4E;
}

.servico-text ul li {
    margin-bottom: 12px;
    list-style-position: inside;
    font-family: 'Azo Sans', sans-serif;
}

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

    .servico-item {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .servico-img {
        width: 100px; /* Ajusta a imagem em telas menores */
    }
}




/**Finqanças */


/* Estilo da seção */
/* Estilo da seção */
section.financas {
    font-family: 'Azo Sans', sans-serif;
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpSection 1.5s ease-out forwards;
}

.section-title {
    color: #31475e;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpTitle 1s ease-out forwards, pulseTitle 2s infinite;
}

.box-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpBoxes 1.5s ease-out forwards;
}

.box-icon {
    flex: 1;
    max-width: 225px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 15px;
    padding: 20px;
    border-radius: 12px;
    background: #f7f7f7;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpBox 1.2s ease-out forwards, bounceIn 1.2s ease-out forwards;
}

.box-icon:hover {
    transform: translateY(-10px) scale(1.05) rotate(2deg);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    background-color: #ffffff;
}

.icon-wrapper {
    font-size: 60px;
    color: #31475e;
    transition: color 0.3s ease;
}

.box-icon:hover .icon-wrapper {
    color: #3BABD4;
    transform: rotate(-5deg);
}

.icons-social p {
    color: #31475e;
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    animation: fadeInText 2s ease-in-out forwards;
}

@media (max-width: 768px) {
    .box-container {
        flex-direction: column;
        align-items: center;
    }

    .box-icon {
        max-width: 100%;
        margin: 15px 0;
    }

    .icon-wrapper {
        font-size: 50px;
    }

    .icons-social p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .box-icon {
        margin-bottom: 20px;
    }
}

/* Animações */
@keyframes fadeInUpSection {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseTitle {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeInUpBoxes {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpBox {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/************Mapa*/


/** Mapa */
/** Mapa */
section.parallax-14 {
    font-family: 'Azo Sans', sans-serif;
    z-index: 3;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    padding: 10px 0;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
}

.section-title h3 {
    animation: fadeInDown 1s ease-out forwards;
}

.minhafont {
    color: black;
    font-family: 'AzoSans Light', sans-serif;
    font-size: 30px;
    padding-top: 20px;
}

.mapsbk {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.beneficios {
    flex: 1;
    max-width: 300px;
    position: relative;
    animation: fadeInUp 1s ease forwards;
}

.beneficios:nth-child(2) {
    animation-delay: 0.3s;
}

.beneficios:nth-child(3) {
    animation-delay: 0.6s;
}

.beneficios:nth-child(4) {
    animation-delay: 0.9s;
}

.center-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box {
    position: relative;
    padding: 20px;
    border-radius: 15px;
    background-color: #E1E1E2;
    color: #1B2D4E;
    cursor: pointer;
    text-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}

.box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.box-content {
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: max-height 0.8s ease, opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.box:hover .box-content {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.box-content p {
    margin: 10px 0;
}

.map-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.map-image {
    width: 200px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .mapsbk {
        flex-direction: column;
        align-items: center;
    }
    .box {
        max-width: 90%;
    }
    .map-container {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .map-image {
        width: 150px;
    }
}

.title-servicos {
    text-align: center;
}

.title-servicos h3 {
    color: #31475e;
    font-size: 22px;
    font-weight: normal;
}


/**Portifólio*/


section.portfolio {
    padding: 40px 0;
    background: white;
}

section.portfolio h2 {
    text-align: center;
    font-weight: bold;
    color: #31475e;
    font-size: 2em;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

section.portfolio > .container {
    max-width: 1080px;
    padding: 20px 0;
    background-color: #f7f7f7;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: fadeInScale 1s ease;
}

.empresas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 0 10px;
    margin: 20px 0;
    animation: fadeInUp 1s ease;
}

.empresa-single {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 23%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    animation: fadeInUp 0.5s ease;
}

.empresa-single:nth-child(1) {
    animation-delay: 0.2s;
}

.empresa-single:nth-child(2) {
    animation-delay: 0.4s;
}

.empresa-single:nth-child(3) {
    animation-delay: 0.6s;
}

.empresa-single:nth-child(4) {
    animation-delay: 0.8s;
}

.empresa-single:hover {
    transform: scale(1.05); /* Efeito de zoom mais sutil */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* Sombra mais leve */
    background-color: #f1f1f1;
}

.empresa-single img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.empresa-single:hover img {
    opacity: 1;
    transform: translateY(-3px); /* Deslocamento mais suave */
}

/* Animações */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .empresa-single {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .empresa-single {
        width: 100%;
        margin-bottom: 20px;
    }
}



/*formulario*/


/* Estilização geral do formulário */
section.formulario {
    background-color: white;
    padding: 6% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-in-out;
}

section.formulario h2 {
    text-align: center;
    font-size: 30px;
    color: #31475e;
    margin: 0 0 20px;
    font-weight: bold;
    animation: fadeInDown 1s ease-out;
}

/* Estilização dos serviços */
.container-parceiro {
    max-width: 1100px;
    padding: 0 20px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.flex-servicos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.space-servico {
    flex: 1 1 calc(33.333% - 20px);
    margin: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.box-servico {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-servico-wraper {
    padding: 20px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.box-servico-wraper h2 {
    color: #1B2D4E;
    font-size: 20px;
    margin-bottom: 10px;
}

.box-servico-wraper p {
    margin: 10px 0;
    line-height: 1.4;
    color: #1B2D4E;
    font-size: 16px;
}

.box-servico-wraper a {
    display: inline-block;
    border: 1px solid #6a7c92;
    color: #6a7c92;
    font-size: 13px;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.box-servico-wraper a:hover {
    background-color: #6a7c92;
    color: #ffffff;
}

.box-servico:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Estilização do formulário */
.container-contato {
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    margin-top: 40px;
    animation: fadeInUp 1.2s ease-out;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 1.5s ease-out;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ebebeb;
    padding: 10px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    height: 40px;
}

select {
    height: 40px;
}

textarea {
    height: 120px;
    resize: vertical;
}

input[type="submit"] {
    width: 130px;
    height: 38px;
    color: #ffffff;
    background-color: #3BABD4;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
    animation: fadeInUp 2s ease-out;
}

input[type="submit"]:hover {
    background-color: #3391c7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .space-servico {
        max-width: 100%;
    }
}


/*footer*/
/* Estilização do footer */
.footer {
    background-color: #1B2D4E;
    color: #FCFDFF;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

.footer-item {
    flex: 1 1 30%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.footer-item:nth-child(2) {
    animation-delay: 0.3s;
}

.footer-item:nth-child(3) {
    animation-delay: 0.6s;
}

.footer-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    animation: slideIn 0.5s ease-out forwards;
}

.footer-item p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out forwards;
}

.footer-item a {
    color: #FCFDFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-item a:hover {
    color: #ffffff;
    transform: scale(1.05);
}

.footer-item i {
    margin-right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.footer-item a:hover i {
    transform: rotate(360deg);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: #FCFDFF;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    font-size: 14px;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-item {
        align-items: center;
        text-align: center;
        flex: 1 1 100%;
    }

    .social-icons {
        justify-content: center;
    }
}


/***********Trabalhe conosco**/


/* Estilo da section */
#job-info-section {
    position: relative;
    padding: 20px;
}

/* Estilo do balão de vaga de emprego */
.job-balloon {
    position: fixed;
    top: 15%;
    right: 30px;
    z-index: 1000;
    max-width: 350px;
    background-color: #1B2D4E; /* Cor padrão Bloko Capital */
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideInUp 0.8s ease-out forwards 1s, pulse 2s infinite; /* Animação de entrada suave */
}

/* Estilo do conteúdo do balão */
.job-balloon-content p {
    margin: 0;
    font-size: 16px;
    animation: fadeInText 1.2s ease forwards 1.2s; /* Animação de fade-in no texto */
}

/* Estilo do link */
.job-balloon-content a {
    color: #FFD700; /* Cor do link para destacar */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.job-balloon-content a:hover {
    color: #ffffff; /* Mudança de cor ao passar o mouse */
    transform: scale(1.1); /* Aumento ao passar o mouse */
}

/* Estilo do botão de fechar */
.job-balloon-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    margin-left: 15px;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1.2s ease forwards 1.2s;
    border-radius: 50%;
    padding: 5px;
    background-color: rgba(59, 171, 212, 0.2);
}

.job-balloon-close:hover {
    color: #FFD700; /* Mudança de cor ao passar o mouse */
    transform: rotate(90deg) scale(1.1); /* Animação de rotação ao passar o mouse */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Sombra ao passar o mouse */
}

/* Animações */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(27, 45, 78, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(27, 45, 78, 0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(27, 45, 78, 0.4);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .job-balloon {
        top: 10%;
        right: 10px;
        max-width: 90%;
    }

    .job-balloon-content p {
        font-size: 14px;
    }

    .job-balloon-close {
        font-size: 20px;
    }
}

/***chat***/

/* Atualizar as fontes para uma aparência mais profissional */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Estilização do botão de alternância do chat */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1B2D4E; /* Cor padrão da Bloko Capital */
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

#chat-toggle.hidden {
    display: none;
}

#chat-toggle:hover {
    background-color: #2270AA; /* Cor de hover */
    transform: translateY(-2px) scale(1.05);
}

/* Estilização do container do chat */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    max-height: 550px;
    border: 1px solid #E1E1E2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    font-family: 'Roboto', sans-serif;
    transform: translateY(100%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.chat-container.open {
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background-color: #1B2D4E; /* Cor da Bloko Capital */
    color: #ffffff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #E1E1E2;
}

/* Estilização moderna e animada para o botão de fechar (X) */
.chat-close {
    background-color: #2270AA; /* Cor do fundo do quadrado */
    color: #E1E1E2; /* Cor do X */
    font-size: 18px;
    cursor: pointer;
    border: none;
    padding: 10px;
    border-radius: 8px; /* Bordas arredondadas para um visual moderno */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.chat-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.chat-close:hover::before {
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
}

.chat-close:hover {
    background-color: #1B2D4E; /* Mudança de cor suave ao passar o mouse */
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.chat-close i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.chat-close:hover i {
    transform: rotate(-90deg);
}

.chat-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    border-bottom: 1px solid #E1E1E2;
    background-color: #F9F9F9;
    transition: padding 0.3s;
}

.chat-welcome {
    text-align: center;
    margin-bottom: 20px;
}

.chat-welcome p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.chat-welcome p:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-logo {
    width: 120px;
    margin-bottom: 15px;
    animation: pulseLogo 2s infinite;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Animações aprimoradas e detalhadas para as opções de chat */
.chat-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-option {
    background-color: #3BABD4;
    color: #ffffff;
    border: none;
    padding: 14px 18px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.chat-option:hover {
    background-color: #2270AA; /* Cor mais escura ao passar o mouse */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.chat-option i {
    transition: transform 0.4s ease, color 0.4s ease;
}

.chat-option:hover i {
    transform: scale(1.1);
    color: #ECF0F1; /* Cor clara do ícone */
}

/* Efeito de foco ao clicar nas opções */
.chat-option:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.chat-footer {
    padding: 12px;
    display: flex;
    align-items: center;
    border-top: 1px solid #E1E1E2;
    background-color: #F9F9F9;
}

#chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #E1E1E2;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#chat-input:focus {
    border-color: #3BABD4;
    outline: none;
}

#send-button {
    background-color: #1B2D4E; /* Cor da Bloko Capital */
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

#send-button i {
    margin-right: 0;
}

#send-button:hover {
    background-color: #3BABD4;
    transform: translateY(-2px);
}

/* Estilização profissional das respostas do chat */
.chat-message {
    margin: 12px 0;
    padding: 14px;
    border-radius: 8px;
    background-color: #E1E1E2; /* Cor de fundo padrão */
    color: #1B2D4E; /* Cor do texto padrão */
    font-size: 16px;
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
    transform: translateY(20px);
    opacity: 0;
    font-family: 'Roboto', sans-serif; /* Fonte mais suave */
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Diferenciação das mensagens do usuário e do operador */
.chat-message.user-message {
    background-color: #D2E9F6; /* Cor de fundo para mensagens do usuário */
    text-align: right;
    border-left: 5px solid #1B2D4E; /* Bordas para destaque */
    animation-delay: 0.3s;
}

.chat-message.operator-message {
    background-color: #F6F6F6; /* Cor de fundo para mensagens do operador */
    text-align: left;
    border-left: 5px solid #2270AA; /* Bordas para destaque */
    animation-delay: 0.5s;
}

/* Animações ao passar o mouse nas respostas */
.chat-message:hover {
    background-color: #C8D9E2;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.chat-message.user-message:hover {
    background-color: #B9D6F3;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.chat-message.operator-message:hover {
    background-color: #EAEAEA;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Estilo para o texto dentro das mensagens com animação */
.chat-message p {
    margin: 0;
    font-weight: 500;
    color: #1B2D4E;
    letter-spacing: 0.5px;
    animation: textFadeIn 0.8s ease-in-out forwards;
    transform: translateY(10px);
    opacity: 0;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de sombra no texto */
.chat-message p {
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Estilo e animação para links dentro das respostas */
.chat-message a {
    color: #2270AA;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.chat-message a:hover {
    color: #1B2D4E;
    border-bottom: 1px solid #1B2D4E;
    animation: linkHover 0.3s ease;
}

@keyframes linkHover {
    from {
        border-bottom-color: transparent;
    }
    to {
        border-bottom-color: #1B2D4E;
    }
}

@media (max-width: 600px) {
    .chat-container {
        width: calc(100% - 20px);
        right: 10px;
        bottom: 0;
        border-radius: 0;
    }

    #chat-toggle {
        width: calc(100% - 20px);
        right: 10px;
        border-radius: 12px;
    }
}
/* Estilização do botão de alternância do chat */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1B2D4E; /* Cor padrão da Bloko Capital */
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 12px; /* Bordas menos arredondadas */
    cursor: pointer;
    z-index: 1000;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: buttonBounce 2s infinite, buttonColorChange 4s infinite;
}

/* Animação de "pular" */
@keyframes buttonBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Animação de troca de cores do botão */
@keyframes buttonColorChange {
    0% {
        background-color: #1B2D4E;
        color: #ffffff;
    }
    50% {
        background-color: #2270AA;
        color: #ECF0F1;
    }
    100% {
        background-color: #1B2D4E;
        color: #ffffff;
    }
}

/* Responsividade: Estilo menor e mais à direita no mobile */
@media (max-width: 600px) {
    #chat-toggle {
        width: 120px; /* Largura menor */
        right: 5px; /* Mais para a direita */
        bottom: 20px;
        font-size: 16px;
        padding: 10px;
        animation: buttonBounceMobile 1.5s infinite, buttonColorChange 4s infinite;
    }

    @keyframes buttonBounceMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-3px);
        }
    }
}

/* ===== Ajuste fino do portfólio ===== */

/* Remove aparência de link */
.empresas a {
    text-decoration: none;
    color: inherit;
}

/* Le Parc com destaque sutil */
.empresa-single.destaque img {
    max-height: 160px; /* antes era 90px */
}

/* Mantém proporção no mobile */
@media (max-width: 768px) {
    .empresa-single.destaque img {
        max-height: 110px;
    }
}

/* Cursor mais óbvio de clique */
.empresa-single {
    cursor: pointer;
}



/* ===== Ajuste de espaçamento e largura do texto institucional ===== */

section.descricao-bloko {
    margin-top: 80px;      /* distancia da imagem de cima */
    padding-top: 40px;
    padding-bottom: 40px;
}

section.descricao-bloko .container {
    max-width: 1200px; /* antes estava estreito demais */
}


section.descricao-bloko p {
    max-width: 2220px;  /* largura real do texto */
    margin: 0 auto;
    font-size: 30px;    /* levemente maior para desktop */
    line-height: 1.7;   /* leitura confortável */
}


@media (max-width: 768px) {
    section.descricao-bloko {
        margin-top: 50px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    section.descricao-bloko p {
        font-size: 18px;
        max-width: 100%;
        padding: 0 10px;
    }
}

