/* =========================================
   PÁGINA: QUEM SOMOS
   ========================================= */

.about-section {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.about-content h2 {
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-content ul {
    margin-left: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-content li {
    margin-bottom: 8px;
}

/* Estilos específicos para a página Quem Somos (Estilo Institucional) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333333;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.institucional-nav {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

/* Adiciona um gradiente escuro invisível no topo da foto do banner */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
}

.institucional-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.institucional-nav .logo .logo-text {
    color: #ffffff;
}

.institucional-menu {
    display: flex;
    gap: 30px;
}

.institucional-menu a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.institucional-menu a:hover,
.institucional-menu a.active {
    color: var(--accent-yellow);
}

.qs-hero {
    position: relative;
    min-height: 100vh;
    background-image: url('assets/produtos/galileoquemsomos.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.qs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(29, 112, 184, 0.9) 0%, rgba(29, 112, 184, 0.5) 50%, rgba(0, 177, 79, 0.2) 100%);
    z-index: 1;
}

.qs-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: 8%;
    padding-right: 20px;
    color: #ffffff;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qs-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px 0;
    max-width: 900px;
}

.qs-hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.btn-outline-yellow {
    display: inline-block;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-outline-yellow:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

.qs-solutions {
    padding: 100px 20px;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid var(--secondary-blue);
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-image-box {
    height: 400px;
    width: 100%;
    overflow: hidden;
    background-color: var(--light-blue);
}

.solution-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image-box img {
    transform: scale(1.1);
}

.solution-content {
    padding: 25px;
    text-align: center;
    flex: 1;
}

.solution-content h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.qs-features {
    padding: 100px 20px;
    background-color: var(--primary-blue);
    color: #ffffff;
}

.qs-features .section-header h2,
.qs-features .section-header p {
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: #ff8c00;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #FF8C00;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.qs-cta {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.qs-cta h1 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.qs-cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-solid-blue {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 18px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(29, 112, 184, 0.4);
}

.btn-solid-blue:hover {
    background-color: #155891;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 112, 184, 0.6);
}

@media (max-width: 992px) {

    .solutions-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qs-hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .institucional-menu {
        display: none;
    }

    .solutions-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .qs-hero-content h1 {
        font-size: 2.2rem;
    }
}

.institucional-nav .logo-text {
    color: #ffffff;
}

.institucional-nav .logo-subtext {
    color: rgba(255, 255, 255, 0.8);
}

.icon-lg {
    width: 64px;
    height: 64px;
}

.icon-md {
    width: 40px;
    height: 40px;
}

.main-footer.qs-footer {
    margin-top: 0;
}

/* =========================================
   AJUSTE DE ZOOM - IMAGEM DE NUTRIÇÃO
   ========================================= */
.img-nutricao {
    transform: scaleX(1.2) scaleY(1.3);
}

.solution-card:hover .img-nutricao {
    transform: scaleX(1.3) scaleY(1.4);
}

/* =========================================
   CARROSSEL DE FORNECEDORES (NA SEÇÃO CTA)
   ========================================= */
.tag-parceiros {
    display: inline-block;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.qs-cta p {
    margin-bottom: 50px;
}

.marquee-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background-color: transparent;
    overflow: hidden;
    position: relative;
    margin-bottom: 60px;
}

/* O "display: flex" é o que impede de empilhar verticalmente */
.marquee-track {
    display: flex;
    width: max-content;
}

/* Nova animação para a DIREITA. Como tem 17 logos, aumentei para 50s */
.marquee-track.right-scroll {
    animation: scrollRight 50s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    width: 330px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0px;
    flex-shrink: 0;
    background-color: transparent;
    overflow: hidden;
}


.partner-logo:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply;
    transform: scale(1.4);
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* A Mágica do movimento para a DIREITA */
@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}