/* ===========================
   CUBE CSS - About Sections
   =========================== */

/* COMPOSITION: Layout and spacing structure */

.about, .about-intro {
    padding: var(--space-3xl) 0;
}

.about-content, .about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.approche-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* UTILITY: Image sizing and typography resets */

.about-image, .about-intro-image {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img, .about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3, .about-intro-text h2 {
    margin-bottom: var(--space-lg);
}

.about-text h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

.about-text h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}
.about-text p, .about-intro-text p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-intro-text p {
    max-width: 62ch;
    font-size: 1.05rem;
    line-height: 1.9;
    text-wrap: pretty;
    hyphens: auto;
    white-space: pre-line;
}

.about-intro-text p:first-of-type {
    padding-top: var(--space-xs);
}

.about-intro-text p:last-of-type {
    margin-bottom: 0;
}

/* BLOCK: Benefits list component */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
}

.benefits-list li {
    padding: var(--space-xs) 0 var(--space-xs) var(--space-2xl);
    position: relative;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--color-primary);
    font-weight: bold;
}

/* EXCEPTION: About intro background and responsive */

.about-intro {
    background: linear-gradient(135deg, rgba(155, 139, 109, 0.05) 0%, rgba(196, 167, 158, 0.05) 100%);
}

/* EXCEPTION - Tablet */
@media (max-width: 1024px) {
    .about, .about-intro {
        padding: var(--space-2xl) 0;
    }

    .about-content, .about-intro-content {
        gap: var(--space-2xl);
    }

    .about-image, .about-intro-image {
        height: 350px;
    }
}

/* EXCEPTION - Mobile */
@media (max-width: 768px) {
    .about, .about-intro {
        padding: var(--space-2xl) 0;
    }

    .about-intro-image {
        max-width: 250px;
        margin: 0 auto var(--space-lg);
        aspect-ratio: 1 / 1;
    }

    .about-content, .about-intro-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image, .about-intro-image {
        height: 300px;
    }

    .about-intro-text h2 {
        font-size: var(--text-2xl);
    }

    .about-text h3, .about-intro-text h2 {
        margin-bottom: var(--space-md);
    }

    .benefits-list li {
        padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
    }

    .approche-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

        .about-image {
        display: none;
    }
}

/* EXCEPTION - Small mobile */
@media (max-width: 480px) {
    .about, .about-intro {
        padding: var(--space-xl) 0;
    }

    .about-content, .about-intro-content {
        gap: var(--space-xl);
    }

    .about-intro-image {
        max-width: 250px;
        margin: 0 auto var(--space-lg);
        aspect-ratio: 1 / 1;
    }

    .about-image, .about-intro-image {
        height: 250px;
    }

    .about-text p, .about-intro-text p {
        margin-bottom: var(--space-sm);
        font-size: 14px;
    }

    .about-intro-text p {
        max-width: none;
        font-size: 14px;
        line-height: 1.85;
    }

    .about-text h3, .about-intro-text h2 {
        font-size: var(--text-lg);
    }

        .about-image {
        display: none;
    }
}
