﻿/* --- Suas regras CSS anteriores (mantenha-as) --- */
:root {
    --azul-primario: #004a8d;
    --amarelo-destaque: #f39c12;
    --vermelho-titulos: #c0392b;
    --cinza-texto: #4a4a4a;
    --sombra-leve: 0 4px 15px rgba(0,0,0,0.08);
}

.sobre-empresa {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
    color: var(--cinza-texto);
}

/* Intro */
.intro-section {
    text-align: center;
    border-left: 5px solid var(--azul-primario);
    padding-left: 30px;
    margin-bottom: 60px;
}

.texto-principal {
    font-size: 1.2rem;
    color: var(--azul-primario);
    line-height: 1.8;
    font-style: italic;
    max-width: 900px;
}

/* MVV Cards */
.mvv-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 60px;
}

.mvv-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--sombra-leve);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

    .mvv-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #fdfdfd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-circle img {
        width: 80%;
        height: auto;
        object-fit: contain;
    }

.mvv-card h3 {
    color: var(--amarelo-destaque);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

/* Grid Inferior */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.premios-box h4, .revista-box h4 {
    color: var(--vermelho-titulos);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Badges Anos */
.anos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 20px;
}

    .anos-list span {
        background: #f1f1f1;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: bold;
        color: #555;
    }

/* --- NOVAS REGRAS E CORREÇÕES --- */

/* 1. Alinhando as imagens da revista lado a lado */
#galeriaAcit {
    display: flex;
    justify-content: start; /* Alinha à esquerda; use 'center' se preferir centralizado */
    gap: 20px; /* Espaço entre as imagens */
    margin-top: 20px;
    flex-wrap: nowrap; /* Impede que as imagens quebrem de linha em telas menores */
}

.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    flex: 0 0 auto; /* Impede que o container cresça ou encolha */
}

.img-zoomable {
    width: auto; /* Deixa a largura automática */
    height: 200px; /* Define uma altura fixa para alinhar, ajuste conforme necessário */
    border: 3px solid #fff;
    box-shadow: var(--sombra-leve);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block; /* Remove espaços extras abaixo da imagem */
}

.img-container:hover .img-zoomable {
    transform: scale(1.05); /* Pequeno efeito de zoom no hover da miniatura */
}

.zoom-hint {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
    padding: 8px 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; /* Garante que o clique passe para a imagem */
}

.img-container:hover .zoom-hint {
    opacity: 1;
}

/* 2. Correção do Modal para Zoom controlado */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.4s ease;
    overflow: auto; /* Permite rolar se a imagem ainda for maior que a tela */
}

.modal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 5px; /* Espaço de respiro nas bordas */
}

.modal-content {
    display: block;
    max-width: 100%; /* Garante que a imagem caiba na largura da tela */
    max-height: 99vh; /* Garante que a imagem caiba na altura da tela (vh = view height) */
    width: auto;
    height: auto; /* Mantém a proporção da imagem */
    border-radius: 4px;
    border: 5px solid white;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: 0.3s;
}

    .close:hover {
        color: var(--amarelo-destaque);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
