/* ════════════════════════════════════════
   A PROPOS — styles spécifiques
   (s'appuie sur les variables et resets
    déclarés dans home.css)
   ════════════════════════════════════════ */

/* ── HERO MOSAIC ─────────────────────────── */
.apropos-hero {
    padding: 150px 80px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.apropos-mosaic {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 480px;
}

.mosaic-large {
    grid-row: 1 / 3;
    border-radius: 40px;
    overflow: hidden;
}

.mosaic-top,
.mosaic-bottom {
    border-radius: 40px;
    overflow: hidden;
}

.mosaic-large img,
.mosaic-top img,
.mosaic-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}

.mosaic-large:hover img,
.mosaic-top:hover img,
.mosaic-bottom:hover img {
    transform: scale(1.04);
}

/* Emplacement réservé pour la 3e photo lifestyle */
.mosaic-bottom--placeholder {
    background: linear-gradient(135deg, var(--lavender) 0%, #c9a8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mosaic-bottom--placeholder::after {
    content: 'noly';
    font-family: var(--font);
    font-size: 48px;
    font-weight: 900;
    color: rgba(255,255,255,.35);
    text-transform: lowercase;
    letter-spacing: .04em;
}

/* ── INTRO ───────────────────────────────── */
.apropos-intro {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px 16px;
    text-align: center;
}

.apropos-title {
    font-size: 46px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.06;
    margin-bottom: 18px;
    color: var(--navy);
}

.apropos-sub {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(48, 48, 68, .45);
}

/* ── TEAM ────────────────────────────────── */
.apropos-team {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 80px 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.team-card {
    background: white;
    border-radius: 44px;
    padding: 52px 52px 44px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 150px auto;
    column-gap: 28px;
}

.team-photo {
    width: 146px;
    height: 150px;
    border-radius: 35%;
    overflow: hidden;
    margin-bottom: 0;
    background: var(--lavender);
    flex-shrink: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.team-header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Avatar CSS quand la vraie photo n'est pas encore disponible */
.team-photo--avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--purple) 100%);
}

.team-initials {
    font-size: 44px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: var(--font);
    user-select: none;
}

.team-name {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: 8px;
    letter-spacing: .02em;
}

.team-role {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--navy);
    margin-bottom: 0;
}

.team-bio {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
    color: var(--navy);
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 28px;
}

/* ── DUO SECTION ─────────────────────────── */
.duo-section {
    background: var(--lavender);
    padding: 72px 80px;
}

.duo-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.duo-title {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    margin-bottom: 40px;
    line-height: 1.08;
}

.duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.duo-p {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, .92);
    line-height: 1.68;
}

/* ── FAQ ─────────────────────────────────── */
.faq-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px 100px;
}

.faq-card {
    background: white;
    border-radius: 54px;
    padding: 64px 80px;
}

.faq-title {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 44px;
    color: var(--navy);
}

.faq-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: faq;
}

.faq-item {
    counter-increment: faq;
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 22px;
    align-items: start;
    padding: 0;
    border-bottom: 1px solid rgba(48, 48, 68, .08);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-num {
    grid-column: 1;
    grid-row: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--lavender);
    min-width: 22px;
    padding: 28px 0;
    align-self: start;
}

.faq-q {
    grid-column: 2;
    grid-row: 1;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--navy);
    margin: 0;
    padding: 26px 0;
    cursor: pointer;
    user-select: none;
    transition: color .25s ease, transform .25s ease;
}

.faq-q strong {
    font-weight: 800;
}

.faq-q:hover,
.faq-item.is-open .faq-q {
    color: var(--lavender);
}

.faq-q:hover {
    transform: translateX(4px);
}

.faq-toggle {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(48, 48, 68, .06);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, background .25s ease, color .25s ease;
    pointer-events: none;
    flex-shrink: 0;
}

.faq-toggle svg {
    width: 16px;
    height: 16px;
    display: block;
}

.faq-q:hover ~ .faq-toggle,
.faq-item.is-open .faq-toggle {
    background: var(--lavender);
    color: white;
}

.faq-item.is-open .faq-toggle {
    transform: rotate(180deg);
}

.faq-r {
    grid-column: 2 / span 2;
    grid-row: 2;
    font-size: 16px;
    line-height: 1.65;
    color: var(--navy);
    margin: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
    padding: 0 0;
}

.faq-item.is-open .faq-r {
    max-height: 800px;
    opacity: 1;
    padding: 0 0 26px;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Hero mosaïque ── */
    .apropos-hero {
        padding: 96px 16px 0;
    }

    .apropos-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 140px 140px;
        gap: 12px;
        height: auto;
    }

    .mosaic-large {
        grid-row: auto;
        border-radius: 24px;
    }

    .mosaic-top,
    .mosaic-bottom {
        border-radius: 24px;
    }

    .mosaic-bottom--placeholder::after {
        font-size: 32px;
    }

    /* ── Intro ── */
    .apropos-intro {
        padding: 40px 16px 12px;
    }

    .apropos-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .apropos-sub {
        font-size: 13px;
    }

    /* ── Team ── */
    .apropos-team {
        padding: 32px 16px 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-card {
        padding: 28px 24px;
        border-radius: 28px;
        grid-template-rows: 100px auto;
    }

    .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-initials {
        font-size: 30px;
    }

    .team-name {
        font-size: 18px;
    }

    .team-role {
        font-size: 11px;
    }

    .team-bio {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 20px;
    }

    /* ── Duo ── */
    .duo-section {
        padding: 40px 24px;
    }

    .duo-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .duo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .duo-p {
        font-size: 14px;
        line-height: 1.55;
    }

    /* ── FAQ ── */
    .faq-section {
        padding: 32px 16px 48px;
    }

    .faq-card {
        padding: 28px 24px;
        border-radius: 28px;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .faq-item {
        gap: 14px;
        padding: 18px 0;
    }

    .faq-q {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {

    .apropos-title {
        font-size: 22px;
    }

    .team-card {
        padding: 24px 20px;
    }

    .faq-card {
        padding: 22px 18px;
    }
}
