/* ===== ESTILOS DA PÁGINA SOBRE ===== */

/* Page Banner - Sobre */
.page-banner {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* About Detail Section - Atualizada */
.about-detail {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
}

/* About Grid - Atualizado */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-story {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.about-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-story h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
}

.about-story h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-story p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.about-main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(193, 72, 8, 0.1), rgba(1, 40, 64, 0.1));
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.about-main-image:hover::before {
    opacity: 1;
}

.about-main-image img {
    width: 100%;
    height: 770px;
    object-fit: cover;
    transition: var(--transition);
}

.about-main-image:hover img {
    transform: scale(1.05);
}

/* Mission Values Section - Atualizada */
.mission-values {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mission-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Mission Vision Grid - Atualizado */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission-vision-grid .value-item {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mission-vision-grid .value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.mission-vision-grid .value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
}

.mission-vision-grid .value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-vision-grid .value-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.mission-vision-grid .value-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Values Section - Atualizada */
.values-section h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
    color: white;
}

.values-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), white);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.value-item:hover i {
    transform: scale(1.1);
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.value-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Diferenciais Section - Atualizada */
.diferenciais {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.diferenciais::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.diferenciais h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
}

.diferenciais h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.diferencial-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.diferencial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: var(--transition);
}

.diferencial-item:hover::before {
    transform: scaleY(1);
}

.diferencial-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.85) 100%);
}

.diferencial-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.diferencial-item:hover .diferencial-icon {
    transform: scale(1.1) rotate(5deg);
}

.diferencial-content h4 {
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.diferencial-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Animações para a página Sobre */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeitos de entrada para as seções */
.about-story,
.mission-values,
.diferenciais {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animações para os banners */
.page-banner h1.animate-in {
    animation: slideInDown 0.8s ease-out;
}

.page-banner p.animate-in {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

/* Keyframes para as animações */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Se quiser adicionar um delay diferente para o parágrafo */
.page-banner p.animate-in {
    animation-delay: 0.3s;
}

/* Responsividade para a página Sobre */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-main-image img {
        height: 400px;
    }

    .mission-values,
    .diferenciais {
        padding: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.2rem;
    }

    .page-banner p {
        font-size: 1.1rem;
    }

    .about-story {
        padding: 2rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .diferencial-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .diferencial-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-banner {
        padding: 120px 0 60px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .about-detail {
        padding: 60px 0;
    }

    .mission-values,
    .diferenciais {
        padding: 1.5rem;
    }

    .value-item {
        padding: 2rem 1.5rem;
    }
}