/* ==========================================================================
   Page: Sobre (page-sobre.php)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section--page-sobre .section-description {
    max-width: 700px;
    margin: 20px auto 40px auto;
    color: rgba(255, 255, 255, 0.7); /* Text Muted fallback */
    font-size: 1.25rem;
}

.shape-blob--hero-1 {
    top: 20%;
    left: 10%;
    width: 450px;
    height: 450px;
    opacity: 0.15;
    background: var(--primary-highlight);
}

.shape-blob--hero-2 {
    bottom: 10%;
    right: 10%;
    width: 350px;
    height: 350px;
    opacity: 0.12;
    background: var(--primary);
}

.shape-blob--hero-3 {
    right: 20%;
    top: 30%;
}

/* --------------------------------------------------------------------------
   Quem Somos Section
   -------------------------------------------------------------------------- */
.shape-blob--quem-somos {
    top: 30%;
    right: -200px;
    width: 450px;
    height: 450px;
    animation-delay: -3s;
    opacity: 0.1;
    background: var(--primary);
}

.differentiator__content {
    padding-right: 40px;
}

.quem-somos-title {
    margin-top: 10px;
    margin-bottom: 20px;
}

.about-card.glass-panel {
    padding: 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card__title {
    color: var(--primary-highlight);
    margin-bottom: 15px;
    font-family: 'Gemunu Libre', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.about-card__text {
    margin-bottom: 25px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.65); /* Equivalent to text-muted for light themes if it's light, but this section seems to be on a standard background. Wait, light bg? bg-body is #E8E6F4. Muted text is darkish grey. */
}

/* In page-sobre, the text is on #E8E6F4 */
body:not(.bg-dark-purple) .about-card__text {
    color: rgba(0, 0, 0, 0.7);
}

/* Values Tags */
.values-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.value-tag {
    background: rgba(99, 57, 216, 0.15); /* var(--primary) with opacity */
    color: var(--primary-highlight);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    cursor: default;
}

.value-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 57, 216, 0.25);
    background: rgba(99, 57, 216, 0.2);
}

/* --------------------------------------------------------------------------
   Serviços Section
   -------------------------------------------------------------------------- */
.shape-blob--services {
    top: 20%;
    left: -100px;
    width: 400px;
    height: 400px;
    opacity: 0.1;
    background: var(--primary-highlight);
}

.services-section__header .section-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
    opacity: 0.85;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.service-card {
    position: relative;
    border-radius: 16px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-card__image-wrapper {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.service-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__image-wrapper img {
    transform: scale(1.05);
}

.service-card__title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-card__description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.services-action {
    margin-top: 50px;
}

/* Service Card Lens Glare Effect */
.service-card__glare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 10;
    pointer-events: none;
    transition: all 0.75s ease;
}

.service-card:hover .service-card__glare {
    left: 200%;
}

/* --------------------------------------------------------------------------
   Processos Section
   -------------------------------------------------------------------------- */
.shape-blob--process {
    bottom: 10%;
    right: -100px;
    width: 450px;
    height: 450px;
    opacity: 0.05;
    background: var(--primary);
}

.process-section__header {
    margin-bottom: 60px;
}

.process-section__header .section-title {
    margin-top: 5px;
    margin-bottom: 15px;
}

.process-section__header .section-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-item {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.4); /* Light glassmorphism */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.process-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 40px rgba(99, 57, 216, 0.15); /* Subtle purple shadow */
}

/* Process Item Lens Glare Effect */
.process-item__glare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 10;
    pointer-events: none;
    transition: all 0.8s ease;
}

.process-item:hover .process-item__glare {
    left: 200%;
}

/* Make frame corners visible on hover for cinematic effect */
.process-item .frame-corner {
    opacity: 0;
    transition: opacity 0.5s ease;
    border-color: var(--primary); /* Use primary color for frame corners on light background */
}

.process-item:hover .frame-corner {
    opacity: 1;
}

.process-number {
    font-size: 5rem;
    font-family: 'Gemunu Libre', sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px rgba(99, 57, 216, 0.2); /* Subtle purple outline */
    position: absolute;
    top: -5px;
    right: 15px;
    font-weight: 800;
    line-height: 1;
    z-index: 1;
    transition: -webkit-text-stroke 0.5s ease, color 0.5s ease, transform 0.5s ease;
}

.process-item:hover .process-number {
    -webkit-text-stroke: 1px var(--primary-highlight);
    color: rgba(99, 57, 216, 0.1);
    transform: scale(1.1) rotate(5deg) translateY(5px);
}

.process-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Gemunu Libre', sans-serif;
    letter-spacing: 1px;
    color: var(--primary-dark); /* Dark text for light background */
    position: relative;
    z-index: 2;
}

.process-item p {
    font-size: 0.95rem;
    color: rgba(18, 11, 40, 0.7); /* Dark text for light background */
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .differentiator__content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}
