/* ========================================
   SOBRE - Page Redesign (Modern & Clean)
   Design System compliant
   ======================================== */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Hero Section - Modern Split Layout */
.about-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 85vh;
    align-items: center;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 108, 56, 0.03));
    pointer-events: none;
}

.about-hero-content {
    max-width: 600px;
    z-index: 2;
}

.about-hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent, #606C38);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--color-accent-soft, rgba(96, 108, 56, 0.1));
    border-radius: var(--radius-full, 50px);
}

.about-hero h1 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary, #1A1A1A);
    margin-bottom: 24px;
}

.about-hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.7;
    color: var(--color-text-secondary, #4A4A4A);
    margin: 0;
}

.about-hero-image {
    display: none;
}

/* About Sections */
.about-section {
    padding: 100px 24px;
    position: relative;
}

.about-section.alt {
    background: var(--color-bg-subtle, #FAFAFA);
}

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

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

.subtitle {
    font-size: 20px;
    color: var(--color-text-secondary, #5A5A5A);
    max-width: 700px;
    margin: 16px auto 60px;
}

/* Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--color-accent, #606C38);
    margin-bottom: 32px;
    line-height: 1.2;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-primary, #2A2A2A);
    margin-bottom: 24px;
}

.about-text p strong {
    color: var(--color-accent, #606C38);
    font-weight: 600;
}

.about-image {
    border-radius: var(--radius-2xl, 24px);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    background: white;
    padding: 48px 32px;
    border-radius: var(--radius-xl, 20px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
}

.value-card h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-accent, #606C38);
    margin-bottom: 16px;
}

.value-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary, #5A5A5A);
    margin: 0;
}

/* Mission Box */
.mission-box {
    background: linear-gradient(135deg, 
        var(--color-accent-soft, #E8EDDB) 0%, 
        var(--color-accent-soft, #F0F4E8) 100%);
    padding: 80px 60px;
    border-radius: var(--radius-2xl, 24px);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid var(--color-accent, #606C38);
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 108, 56, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.mission-box h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-accent, #606C38);
    margin-bottom: 24px;
    position: relative;
}

.mission-box p {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.7;
    color: var(--color-text-primary, #2A2A2A);
    margin: 0;
    font-weight: 500;
    position: relative;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 60px;
}

.ecosystem-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-xl, 20px);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ecosystem-card:nth-child(1) { border-top-color: #e07a5f; }
.ecosystem-card:nth-child(2) { border-top-color: #00b386; }
.ecosystem-card:nth-child(3) { border-top-color: #ff6b35; }
.ecosystem-card:nth-child(4) { border-top-color: #8ba888; }

.ecosystem-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.flexa-color { color: #e07a5f; }
.essentia-color { color: #00b386; }
.contare-color { color: #ff6b35; }
.raiza-color { color: #8ba888; }

.ecosystem-card h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text-primary, #1A1A1A);
    margin-bottom: 8px;
}

.ecosystem-tagline {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-tertiary, #999);
    margin-bottom: 16px;
}

.ecosystem-card > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary, #5A5A5A);
    margin-bottom: 24px;
}

.ecosystem-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent, #606C38);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.ecosystem-link:hover {
    gap: 12px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 60px;
    text-align: center;
}

.stat-item {
    padding: 32px 24px;
}

.stat-number {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    color: var(--color-accent, #606C38);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-secondary, #5A5A5A);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, 
        var(--color-accent, #606C38) 0%, 
        var(--color-accent-strong, #4A5428) 100%);
    padding: 120px 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-section p {
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    display: inline-block;
    padding: 18px 48px;
    background: white;
    color: var(--color-accent, #606C38);
    text-decoration: none;
    border-radius: var(--radius-full, 50px);
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f9f9f9;
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        padding: 140px 60px 80px;
    }
    
    .about-hero-image {
        display: block;
    }
    
    .about-hero-image img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-2xl, 24px);
        box-shadow: var(--shadow-2xl);
    }
    
    .about-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-section {
        padding: 120px 60px;
    }
    
    .mission-box {
        padding: 100px 80px;
    }
}
