/* --- About Us Page (New Z-Theme Design) --- */
.about-page {
    width: 100%;
    margin-top: var(--header-height, 80px);
    background-color: var(--white, #ffffff);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

[data-theme="dark"] .about-page {
    background-color: var(--bg-primary, #111827);
}

.z-theme {
    --z-cyan: #2d544a;
    --z-cyan-hover: #224039;
    --z-dark-blue: #111111;
    --z-gray-text: #1f2937;
    --z-light-bg: #f8fbff;
}

[data-theme="dark"] .z-theme {
    --z-dark-blue: #ffffff;
    --z-gray-text: #9ca3af;
    --z-light-bg: rgba(0, 194, 197, 0.03);
}

.z-section {
    padding: 0 24px;
    width: 100%;
}

.pt-100 {
    padding-top: 52px;
}

.pb-100 {
    padding-bottom: 52px;
}

.py-60 {
    padding-top: 36px;
    padding-bottom: 36px;
}

.mt-100 {
    margin-top: 52px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

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

.z-flex {
    display: flex;
    flex-wrap: wrap;
}

.z-flex-1 {
    flex: 1;
    min-width: 320px;
}

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

.z-gap-large {
    gap: 80px;
}

/* --- Pill Badges --- */
.z-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.z-bg-cyan {
    background-color: var(--z-cyan);
    color: #ffffff;
}

/* --- Typography --- */
.z-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--z-dark-blue);
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
}

[data-theme="dark"] .title-timeline {
    color: #ffffff !important;
}

.text-cyan {
    color: var(--z-cyan);
}

.z-desc {
    font-size: 1.125rem;
    color: var(--z-gray-text);
    line-height: 1.8;
}

/* --- Intersecting Images --- */
.z-images-intersect {
    position: relative;
    width: 500px;
    height: 500px;
    flex-shrink: 0;
    margin-top: -40px;
}

.z-circle-img {
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 10px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .z-circle-img {
    border-color: var(--bg-primary, #111827);
}

.circle-1 {
    width: 380px;
    height: 380px;
    top: 0;
    left: 0;
    z-index: 1;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 20px;
    right: 0;
    z-index: 2;
    border-color: #ffffff;
}

[data-theme="dark"] .circle-2 {
    border-color: var(--bg-primary, #111827);
}

.z-float-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background-color: var(--z-cyan);
    border-radius: 50%;
    border: 8px solid #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 194, 197, 0.3);
}

[data-theme="dark"] .z-float-badge {
    border-color: var(--bg-primary, #111827);
}

.z-badge-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.z-badge-sub {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Grid Features --- */
.z-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.z-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--z-light-bg);
    padding: 24px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.z-feature-item:hover {
    transform: translateY(-5px);
}

.z-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.z-icon-lg {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
}

.z-feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--z-dark-blue);
    margin-bottom: 8px;
}

.z-feature-desc {
    font-size: 0.9rem;
    color: var(--z-gray-text);
    line-height: 1.6;
}

/* --- Button --- */
.z-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.z-button:hover {
    background-color: var(--z-cyan-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.z-btn-icon {
    font-size: 0.875rem;
}

/* --- Rounded Rectangle Image --- */
.z-image-rect-wrapper {
    flex: 1;
    min-width: 320px;
    height: 500px;
    margin: 0 24px;
}

.z-rect-img {
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- Vertical Features --- */
.z-features-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.z-feat-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .z-feat-box {
    background: var(--bg-secondary, #1f2937);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.z-feat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.z-feat-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--z-dark-blue);
    margin-bottom: 12px;
}

.z-feat-desc {
    font-size: 0.95rem;
    color: var(--z-gray-text);
    line-height: 1.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .z-gap-large {
        gap: 40px;
    }

    .z-feature-grid {
        grid-template-columns: 1fr;
    }

    .z-image-rect-wrapper {
        margin: 40px 0;
    }
}

@media (max-width: 768px) {
    .z-images-intersect {
        width: 100%;
        height: auto;
        min-height: 400px;
        margin-bottom: 40px;
    }

    .circle-1 {
        width: 80%;
        height: 0;
        padding-bottom: 80%;
    }

    .circle-2 {
        width: 60%;
        height: 0;
        padding-bottom: 60%;
    }

    .z-float-badge {
        width: 120px;
        height: 120px;
    }

    .z-badge-num {
        font-size: 1.75rem;
    }

    .z-badge-sub {
        font-size: 0.75rem;
    }

    .z-title {
        font-size: 2rem;
    }
}

/* --- Timeline Component (Retained & Adjusted) --- */
.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 1;
}

.bg-cyan {
    background-color: var(--z-cyan);
}

.timeline-events {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-event {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.timeline-event.active,
.timeline-event:hover {
    opacity: 1;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid;
    margin: 15px auto 24px;
    transition: all 0.3s;
}

.border-cyan {
    border-color: var(--z-cyan);
}

.border-none {
    border: none;
    box-shadow: 0 0 0 4px rgba(0, 194, 197, 0.2);
    transform: scale(1.2);
}

[data-theme="dark"] .timeline-dot {
    background-color: var(--bg-primary, #111827);
}

[data-theme="dark"] .timeline-event.active .timeline-dot {
    background-color: var(--z-cyan);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--z-gray-text);
    margin-bottom: 12px;
}

.timeline-event.active .timeline-year {
    color: var(--z-cyan);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--z-gray-text);
    line-height: 1.6;
}

.z-bg-light-gray {
    background-color: var(--z-light-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .z-bg-light-gray {
    border-color: rgba(255, 255, 255, 0.05);
}

/* ── Dark mode — textos brancos ──────────────────────────────── */
.z-title-mission {
    color: #111111;
}

[data-theme="dark"] .z-title-mission,
[data-theme="dark"] .z-badge-num,
[data-theme="dark"] .z-badge-sub,
[data-theme="dark"] .timeline-year,
[data-theme="dark"] .timeline-desc,
[data-theme="dark"] .z-desc,
[data-theme="dark"] .z-feature-desc,
[data-theme="dark"] .z-feat-desc {
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .timeline-line {
        display: none;
    }

    .timeline-events {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-event {
        opacity: 1;
    }

    .timeline-dot {
        margin: 0 auto 16px;
        background-color: var(--z-cyan);
        border: none;
    }
}