/*********************************
/* 1. ESTRUTURA GERAL E RESET
/*********************************/
/* --- SEÇÃO PRINCIPAL (HEADER/HERO) --- */

/* Estilo para a Div que contém o texto e o botão */
.main-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Alinha o texto à esquerda */
    gap: 2rem; /* Espaçamento entre os blocos (texto e botão) */
    width: 50vw;
    height: 45rem; /* Garantido pela .container */
    z-index: 10; /* Para garantir que fique acima da imagem de fundo */
}

/* Estilo para o Bloco de Texto */
.info-text span {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary-color); /* #1fd119 */
    text-transform: uppercase;
}

.info-text h1 {
    font-size: 5rem; /* Tamanho grande do título */
    font-weight: 800;
    color: var(--text-primary-color); /* #1fd119 */
    margin-bottom: 2rem;
}

.info-text p {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-secundary-color); /* #fff */
    line-height: 1.6;
}

/* Estilo para o Botão do WhatsApp */
.wp-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

#whatsapp {
    background-color: #25d366; /* Cor verde do WhatsApp */
    color: var(--text-alternative-color); /* Texto escuro */
    font-size: 1.6rem;
    font-weight: 700;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px; /* Borda arredondada */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#whatsapp:hover {
    background-color: #128c7e; /* Cor ligeiramente mais escura no hover */
    color: var(--text-secundary-color);
}

.wp-button img {
    height: 3rem; /* Ajuste o tamanho da seta/ícone */
}

/* Estilo para a Imagem de Logo */
.logo-img {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinha o G mais para a direita */
    width: 50vw;
    height: 100%;
}

.logo-img img {
    max-width: 100%;
    height: auto;
    opacity: 0.3; /* Transparência para o efeito de fundo */
    transform: scale(1.2); /* Aumenta um pouco para parecer maior que a div */
}

/* Estilos Gerais (Body e Layout Base) */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 140px; /* Compensa o cabeçalho fixo */
}

main {
    flex-grow: 1; /* Garante que o conteúdo principal ocupe o espaço restante */
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Classes de navegação e destaque de Seção */
.page-section {
    display: none;
}

.active-section {
    display: block;
}

.section {
    padding: 40px;
    background-color: #f7f7f7;
    margin-bottom: 0;
}

.section h2 {
    color: #0052cc;
    text-align: center;
    margin-bottom: 30px;
}

.section p {
    line-height: 1.7;
}

.destaque-azul {
    color: #0052cc;
    font-weight: bold;
}

/* Títulos de Seção Especiais (Serviços e Portfólio) */
.titulo-nossos-servicos,
.titulo-portfolio {
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 30px;
    color: #0052cc;
}

.titulo-nossos-servicos span,
.titulo-portfolio span {
    color: #000000;
}

.content-wrapper h2.destaque-azul {
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
}


/*********************************
/* 2. LAYOUT: HEADER (CABEÇALHO) E NAVEGAÇÃO
/*********************************/

/* Cabeçalho */
header {
    background-color: #415169;
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Deixa o cabeçalho fixo no topo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Logo */
.logo-container {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 5px;
}

.logo img {
    height: 78px;
    display: block;
}

/* Navegação */
nav {
    flex-grow: 1;
    text-align: center;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

nav li {
    padding: 0 15px;
    margin: 0;
    border-right: 1px solid #ffffff;
}

nav li:last-child {
    border-right: none;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5em;
    white-space: nowrap;
    transition: transform 0.2s ease-in-out;
    display: inline-block;
}

nav a:hover,
nav a:active {
    transform: scale(1.1);
}

/* Esconde o botão de login (por regra específica) */
#open-login-modal {
    display: none !important;
}


/*********************************
/* 3. LAYOUT: FOOTER (RODAPÉ)
/*********************************/

footer {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.footer-content a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-content a:hover {
    color: #e0e0e0;
}

.footer-logo {
    height: 40px;
    margin-left: 20px;
    vertical-align: middle;
}


/*********************************
/* 4. COMPONENTES E UTILITÁRIOS (BOTÕES ESPECÍFICOS)
/*********************************/

/* Botões de Redes Sociais/Contato */
.whatsapp-button {
    background-color: #25d366;
    color: #ffffff;
}

.whatsapp-button:hover {
    background-color: #1da851;
    transform: scale(1.02);
}

.linkedin-button {
    background-color: #0077b5;
    color: #ffffff;
}

.linkedin-button:hover {
    background-color: #005688;
    transform: scale(1.02);
}

/* Botões de Item (Parceiro/Portfólio) */
.btn-parceiro,
.btn-portfolio {
    display: inline-block;
    background-color: #0052cc;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    margin-top: auto;
}

.btn-parceiro:hover,
.btn-portfolio:hover {
    background-color: #003b99;
    transform: scale(1.02);
}


/*********************************
/* 5. MODAL DE AUTENTICAÇÃO
/*********************************/

.auth-modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.auth-modal-content {
    background-color: #f7f7f7;
    margin: auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-btn {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
}

/* Abas */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #dddddd;
}

.auth-tab-btn {
    flex: 1;
    background-color: #e0e0e0;
    color: #555555;
    padding: 15px 20px;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease,
        border-bottom 0.3s ease;
}

.auth-tab-btn:hover {
    background-color: #d0d0d0;
}

.auth-tab-btn.active {
    background-color: #ffffff;
    color: #0052cc;
    border-bottom: 3px solid #0052cc;
}

/* Formulário */
.auth-form-section {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
}

.auth-form-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2em;
    color: #0052cc;
    text-align: center;
}

.auth-form-section form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.auth-form-section label {
    margin-bottom: 8px;
    font-weight: bold;
    text-align: left;
    color: #333333;
}

.auth-form-section input {
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    font-size: 1em;
    width: calc(100% - 24px);
}

.auth-form-section button {
    background-color: #0052cc;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    margin-top: 15px;
    width: 100%;
}

.auth-form-section button:hover {
    background-color: #003b99;
    transform: scale(1.01);
}

.form-link {
    margin-top: 25px;
    font-size: 0.95em;
    color: #555555;
}

.form-link a {
    color: #0052cc;
    text-decoration: none;
    font-weight: bold;
}

.form-link a:hover {
    text-decoration: underline;
}


/*********************************
/* 6. SEÇÃO HERO E SUB-PAGE HERO
/*********************************/

/* Animação para o título e subtítulo */
@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* Container para o texto acima do carrossel */
.hero-text-container {
    width: 100%;
    background-color: #ffffff;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0052cc;
    text-shadow: none;
    font-size: 3em;
    position: static;
    transform: translateY(20px);
    opacity: 0;
    width: auto;
    max-width: none;
    animation: slideUpFadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero p {
    font-size: 2em;
    font-style: italic;
    color: #333333;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFadeIn 1s ease-out forwards;
    animation-delay: 0.7s;
    margin-bottom: 0;
    position: static;
    text-shadow: none;
    width: auto;
    max-width: none;
}

/* Sub-página Hero */
.hero-subpage {
    background-color: #0052cc;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-subpage h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero-subpage p {
    font-size: 1.5em;
    opacity: 1;
    transform: translateY(0);
    animation: none;
}


/*********************************
/* 7. SEÇÃO CARROSSEL PRINCIPAL
/*********************************/

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background-color: #e0e0e0;
}

.carousel-slide {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1.8em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #0052cc;
    transform: scale(1.2);
}


/*********************************
/* 8. SEÇÃO QUEM SOMOS
/*********************************/

#quem-somos-main {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    background-color: #f7f7f7;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.quem-somos-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 100%;
    width: 100%;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.quem-somos-hero-image {
    flex: 1 1 45%;
    max-width: 45%;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
}

.quem-somos-hero-image img {
    width: 100%;
    height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.proposito-geral {
    padding: 25px 30px;
    text-align: center;
    flex: 1 1 50%;
    max-width: 50%;
    width: 100%;
    background-color: #e6eefa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.proposito-geral p {
    text-align: justify;
    text-align-last: left;
    line-height: 1.7;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 0.95em;
    color: #444444;
}

.quem-somos-conteudo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.conteudo-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
    box-sizing: border-box;
    min-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conteudo-item h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    color: #0052cc;
    font-size: 1.5em;
}

.conteudo-item p {
    text-align: justify;
    text-align-last: left;
    line-height: 1.7;
    color: #444444;
    font-size: 0.95em;
}


/*********************************
/* 9. SEÇÃO MVV (MISSÃO, VISÃO E VALORES)
/*********************************/

#mvv-secao {
    background-color: #0052cc;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin-bottom: 20px;

    /* INÍCIO DA MUDANÇA: FORÇA LARGURA TOTAL DO VIEWPORT */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    /* FIM DA MUDANÇA */
}

#mvv-secao .mvv-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 0;
    margin-bottom: 0;
    align-items: flex-start;
    padding-top: 0;
    border-top: none;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

.mvv-right-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1 1 auto;
    max-width: 450px;
    min-width: 300px;
}

.mvv-valores {
    flex: 1 1 450px;
    max-width: 450px;
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
}

.mvv-right-group .mvv-item-box {
    flex: 1 1 auto;
    width: 100%;
}

.mvv-item-box {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    min-width: 280px;
    flex: 1;
}

.mvv-item-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.5em;
    text-align: center;
    width: 100%;
    color: #0052cc;
}

.mvv-item-box p {
    font-size: 0.95em;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 0;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #444444;
}


/*********************************
/* 10. SEÇÃO NOSSOS SERVIÇOS
/*********************************/

.servicos-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
    align-items: stretch;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.servicos-item-box {
    min-width: 280px;
    max-width: 350px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 calc(33.333% - 30px);
    box-sizing: border-box;
    max-width: calc(33.333% - 30px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicos-item-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.5em;
    text-align: center;
    width: 100%;
    color: #0052cc;
}

.servicos-item-box p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #444444;
}

/* Bloco de Benefícios/Vantagens/Características */
.servicos-caracteristicas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px; /* Alinhe com o content-wrapper */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.caracteristicas-item {
    background-color: #e6eefa; /* Fundo azul claro para destaque, similar ao estilo MVV */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 30px); /* 3 colunas no desktop */
    max-width: calc(33.333% - 30px);
    box-sizing: border-box;
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Centraliza o título */
}

.caracteristicas-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.caracteristicas-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6em;
    color: #0052cc; /* Cor azul de destaque */
    text-align: center; /* Garante que o título Benefícios/Vantagens/Características esteja centralizado */
}

.caracteristicas-item p {
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0;
    color: #444444;
    text-align: justify; /* Justifica o corpo do texto */
    text-align-last: left; /* Garante que a última linha não estique */
}

/* Botões de Serviços */
.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    color: #0052cc;
    border: 2px solid #0052cc;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    flex: 1 1 auto;
    max-width: 350px;
    box-sizing: border-box;
}

.service-btn i {
    font-size: 1.3em;
    color: #0052cc;
}

.service-btn:hover {
    background-color: #0052cc;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service-btn:hover i {
    color: #ffffff;
}

.service-btn.active {
    background-color: #0052cc;
    color: #ffffff;
    border-color: #0052cc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.service-btn.active i {
    color: #ffffff;
}

/* Caixa de Descrição de Serviço */
#service-description-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 40px;
    margin: 40px auto 0 auto;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: justify;
    min-height: 100px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

#service-description-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444444;
    margin: 0;
    transition: opacity 0.4s ease-in-out;
    opacity: 0; /* Inicialmente oculto para a animação */
}

#service-description-text.visible {
    opacity: 1; /* Torna visível */
}

.service-initial-text {
    text-align: center;
    font-style: italic;
    color: #777777;
    font-size: 1.2em !important;
}


/*********************************
/* 11. SEÇÃO PORTFÓLIO E PARCEIROS
/*********************************/

.portfolio-description-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px auto;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: justify;
    box-sizing: border-box;
}

.portfolio-description-box p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #444444;
    margin: 0;
}

/* Botões de Filtro do Portfólio */
.portfolio-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #0052cc;
    border: 2px solid #0052cc;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.portfolio-btn i {
    font-size: 1.2em;
    color: #0052cc;
}

.portfolio-btn:hover {
    background-color: #0052cc;
    color: #ffffff;
    transform: translateY(-3px);
}

.portfolio-btn:hover i {
    color: #ffffff;
}

/* Grid e Itens de Portfólio/Parceiros */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item,
.parceiro-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(33.333% - 30px);
    box-sizing: border-box;
    max-width: calc(33.333% - 30px);
}

.portfolio-item.full-width-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.parceiro-item:hover,
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.parceiro-item img,
.portfolio-item img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
}

.parceiro-item h3,
.portfolio-item h3 {
    font-size: 1.5em;
    color: #0052cc;
    margin-bottom: 10px;
}

.parceiro-item p,
.portfolio-item p {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Carrossel de Parceiros (Scroll Horizontal) */
.parceiros-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    overflow: hidden;
    padding: 20px 0;
    box-sizing: border-box;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.parceiros-carousel-slide {
    display: flex;
    animation: scroll-parceiros 15s linear infinite;
    will-change: transform;
}

.parceiros-carousel-slide img {
    height: 80px;
    margin: 0 30px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.parceiros-carousel-slide img:hover {
    opacity: 1;
}

/* Animação de scroll */
@keyframes scroll-parceiros {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.parceiros-carousel-container:hover .parceiros-carousel-slide {
    animation-play-state: paused;
}


/*********************************
/* 12. SEÇÃO GALERIA
/*********************************/

#galeria {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.galeria-fotos {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.galeria-fotos img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#voltar-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}


/*********************************
/* 14. RESPONSIVIDADE (MEDIA QUERIES)
/*********************************/

/* Telas maiores (Desktop - Acima de 992px) */
@media (min-width: 992px) {
    .quem-somos-hero-content {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }

    .quem-somos-hero-image {
        flex: 1 1 55%;
        max-width: 55%;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        align-self: stretch;
    }

    .quem-somos-hero-image img {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .proposito-geral {
        /* AFINA A LARGURA DO TEXTO (40%) */
        flex: 1 1 40%;
        max-width: 40%;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        /* Mantém o esticamento vertical */
        align-self: stretch;
    }
}

/* Telas médias (Tablets e Largura de Conteúdo - Máx. 992px) */
@media (max-width: 992px) {
    .conteudo-item {
        flex: 1 1 calc(100% - 30px);
        max-width: calc(100% - 30px);
    }

    .servicos-item-box {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }

    /* MVV */
    #mvv-secao .mvv-container {
        flex-direction: column;
        align-items: center;
    }

    .mvv-item-box {
        flex: 1 1 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .mvv-right-group {
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .servicos-container {
        flex-direction: row;
        /* Mantém duas colunas por padrão para tablet */
    }

    /* Portfólio */
    .portfolio-description-box {
        max-width: 95%;
        padding: 25px 20px;
    }

    .content-wrapper h2.destaque-azul {
        margin-top: 30px;
    }
}

/* Telas menores (Celulares - Máx. 768px) */
@media (max-width: 768px) {
    /* Header e Navegação */
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav li {
        border-right: none;
        margin-bottom: 5px;
    }

    /* Hero */
    .hero-text-container {
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.6em;
    }

    .carousel-container {
        height: 400px;
    }

    /* Quem Somos Responsivo */
    .quem-somos-hero-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .quem-somos-hero-image {
        flex: 1 1 100%;
        max-width: 95%;
        margin: 0 auto 30px auto;
        padding: 10px;
    }

    .quem-somos-hero-image img {
        max-height: 250px;
    }

    .proposito-geral {
        flex: 1 1 100%;
        max-width: 95%;
        margin: 0 auto;
        padding: 15px 20px;
    }

    .conteudo-item {
        flex: 1 1 calc(100% - 30px);
        max-width: calc(100% - 30px);
    }

    /* Serviços */
    .servicos-container {
        flex-direction: column;
        align-items: center;
    }

    .servicos-item-box {
        max-width: 90%;
    }

    .caracteristicas-item {
        flex: 1 1 calc(100% - 40px); /* 1 coluna no mobile */
        max-width: 100%;
    }

    /* Modal */
    .auth-modal-content {
        width: 95%;
    }

    /* Footer */
    footer {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .footer-content {
        align-items: center;
        margin-bottom: 15px;
    }

    .footer-logo {
        margin-left: 0;
        margin-top: 15px;
    }

    /* Portfólio */
    .portfolio-buttons {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-btn {
        width: 90%;
        max-width: 350px;
    }

    .portfolio-description-box {
        max-width: 90%;
        padding: 20px 15px;
    }

    .portfolio-description-box p {
        font-size: 1em;
        line-height: 1.6;
    }

    .titulo-nossos-servicos,
    .titulo-portfolio {
        font-size: 2.5em;
    }

    /* Parceiros */
    .parceiros-carousel-container {
        margin: 40px auto;
    }

    .parceiros-carousel-slide img {
        height: 60px;
        margin: 0 20px;
    }
}

/* Telas extra pequenas (Smartphones - Máx. 576px) */
@media (max-width: 576px) {
    /* Hero */
    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .carousel-container {
        height: 300px;
    }

    /* Quem Somos */
    .proposito-geral {
        padding: 20px 15px;
        margin-bottom: 30px;
    }

    .proposito-geral h3 {
        font-size: 1.8em;
    }

    .proposito-geral p {
        font-size: 1em;
        padding: 0 15px;
    }

    .quem-somos-conteudo {
        gap: 20px;
        margin-bottom: 30px;
    }

    .conteudo-item {
        padding: 20px;
    }

    .conteudo-item h3 {
        font-size: 1.3em;
    }

    /* MVV / Serviços */
    .mvv-container,
    .servicos-container {
        margin-top: 30px;
        flex-direction: column;
    }

    .mvv-item-box,
    .servicos-item-box {
        max-width: 100%;
    }

    /* Portfólio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .parceiro-item,
    .portfolio-item {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subpage h1 {
        font-size: 2em;
    }

    .hero-subpage p {
        font-size: 1em;
    }

    .portfolio-description-box {
        max-width: 95%;
        padding: 15px 10px;
    }

    .titulo-nossos-servicos,
    .titulo-portfolio {
        font-size: 2em;
    }

    /* Parceiros */
    .parceiros-carousel-slide img {
        height: 50px;
        margin: 0 15px;
    }
}
/* Estilização específica para o botão iGreen Energy */
.parceiro-item .btn-parceiro, 
#igreen-energy-btn { /* Use o ID se houver um específico */
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #ffffff;
    border: none;
    padding: 8px 0px;
    border-radius: 30px; /* Botão mais arredondado/pílula */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Efeito de Hover (Passar o mouse) */
.parceiro-item .btn-parceiro:hover,
#igreen-energy-btn:hover {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
    color: #ffffff;
}

/* Efeito de Clique */
.parceiro-item .btn-parceiro:active,
#igreen-energy-btn:active {
    transform: translateY(-1px);
}
/* Adiciona o ícone de folha APENAS no botão iGreen do menu */
#igreen-energy-btn::before {
    content: "\f06c"; /* Código da folha */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Necessário para ícones sólidos aparecerem */
    margin-right: 8px; /* Espaço entre a folha e o texto */
    font-size: 1em;
}
/* Container da Barra Lateral */
.sticky-social-bar {
    position: fixed;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10000;
}

/* Estilo Base dos Ícones - Efeito Premium */
.social-icon {
    position: relative;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px); /* Efeito de vidro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #444;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tooltip (Balão de texto lateral) */
.tooltip {
    position: absolute;
    left: 70px;
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Triângulo do balão */
.tooltip::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

/* Hover Geral */
.social-icon:hover {
    transform: scale(1.15) translateX(5px);
    color: #fff;
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

/* Estilos de Cores por Marca */
.social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.social-icon.linkedin:hover {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.4);
}

.social-icon.email:hover {
    background: linear-gradient(135deg, #ff4d4d 0%, #b30000 100%);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.4);
}

/* Animação de pulso sutil no WhatsApp para chamar atenção */
.social-icon.whatsapp {
    animation: pulse-green 3s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajustes para Celular */
@media (max-width: 768px) {
    .sticky-social-bar {
        left: 10px;
        gap: 12px;
    }
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .tooltip { display: none; } /* Esconde texto no mobile para não cobrir o conteúdo */
}