/**
 * Page Qui sommes-nous · refonte V3 selon brief verrouille
 * 2026-04-25 · charte v1.2 (noir #080808, vert #01D662, creme #f7f5f0)
 * Typographie : Anton (titres), Inter (textes)
 * Scope strict .aferv-about pour zero impact reste du site.
 */

.aferv-about {
    background: #f7f5f0;
    color: #080808;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}
.aferv-about * { box-sizing: border-box; }

.aferv-about__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
}
.aferv-about__container--narrow {
    max-width: 880px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.aferv-about__hero {
    padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
    background: #f7f5f0;
}
.aferv-about__title {
    font-family: 'Anton', 'Impact', sans-serif;
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #080808;
    margin: 0 0 clamp(28px, 4vw, 44px) 0;
    max-width: 880px;
}
.aferv-about__dot {
    color: #01D662;
    font-size: 1.2em;
    display: inline-block;
    line-height: 0.7;
    margin-left: 0.04em;
}

.aferv-about__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.aferv-chip {
    display: inline-block;
    padding: 8px 16px;
    border: 1.3px solid #080808;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #080808;
    background: transparent;
    transition: background 160ms ease-out, color 160ms ease-out;
}
.aferv-chip:hover {
    background: #080808;
    color: #f7f5f0;
}

/* ── Blocs ──────────────────────────────────────────────────── */
.aferv-about__block {
    padding: clamp(40px, 5vw, 64px) 0;
}
.aferv-about__block--agence {
    background: #f7f5f0;
}
.aferv-about__block--conviction {
    background: #ffffff;
    border-top: 1px solid rgba(8, 8, 8, 0.08);
    border-bottom: 1px solid rgba(8, 8, 8, 0.08);
}
.aferv-about__block--expertises {
    background: #f7f5f0;
}
.aferv-about__block--fondatrice {
    background: #080808;
    color: #f7f5f0;
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

/* ── Eyebrow (kicker au-dessus de chaque bloc) ─────────────── */
.aferv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #080808;
    margin-bottom: 24px;
}
.aferv-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: #01D662;
}
.aferv-eyebrow--on-dark {
    color: #f7f5f0;
}

/* Numerotation editoriale discrete (01, 02, 03, 04) */
.aferv-eyebrow__num {
    font-family: 'Inter', sans-serif;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-right: 8px;
    opacity: 0.7;
    color: inherit;
}

/* ── Textes des blocs ─────────────────────────────────────── */
.aferv-about__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.65;
    color: #080808;
    margin: 0 0 16px 0;
    max-width: 760px;
}
.aferv-about__block--fondatrice .aferv-about__text {
    color: #f7f5f0;
    opacity: 0.95;
}
.aferv-about__text--manifesto {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 400;
    line-height: 1.55;
}
.aferv-about__text--list {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 500;
}
.aferv-about__sep {
    color: #01D662;
    margin: 0 4px;
    font-weight: 600;
}
.aferv-about__text--closing {
    margin-top: 24px;
    font-style: italic;
    color: #1a1a1a;
}
.aferv-about__text--bio em {
    font-style: italic;
}

/* ── Liens internes du bloc fondatrice ─────────────────────────
 * Par defaut sur fond clair, les liens restent noirs avec souligne vert.
 * Override !important pour le bloc fondatrice (fond noir) car Kadence
 * applique a { color: var(--global-palette3) } qui ramene en noir.
 */
.aferv-about__link {
    color: #080808;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: #01D662;
    transition: color 160ms ease-out, text-decoration-color 160ms ease-out;
}
.aferv-about__link:hover {
    color: #00b352;
}

.aferv-about__block--fondatrice .aferv-about__link {
    color: #f7f5f0 !important;
    text-decoration-color: rgba(1, 214, 98, 0.7);
}
.aferv-about__block--fondatrice .aferv-about__link:hover {
    color: #01D662 !important;
    text-decoration-color: #01D662;
}
.aferv-about__block--fondatrice .aferv-about__link em {
    color: inherit !important;
    font-style: italic;
}

/* ── CTA "Découvrir son parcours →" ───────────────────────── */
.aferv-about__cta-wrap {
    margin-top: clamp(32px, 5vw, 48px);
}
.aferv-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #01D662;
    color: #080808;
    border: 1.5px solid #01D662;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 160ms ease-out, transform 120ms ease-out, box-shadow 160ms ease-out;
}
.aferv-about__cta:hover {
    background: #00b352;
    border-color: #00b352;
    color: #080808;
    box-shadow: 0 12px 28px rgba(1, 214, 98, 0.25);
    transform: translateY(-1px);
}
.aferv-about__cta:active {
    transform: translateY(0);
}
.aferv-about__cta-arrow {
    font-size: 18px;
    transition: transform 160ms ease-out;
}
.aferv-about__cta:hover .aferv-about__cta-arrow {
    transform: translateX(3px);
}

/* ── Composition 2 colonnes (blocs conviction + fondatrice) ──── */
.aferv-about__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}
.aferv-about__split--reverse {
    grid-template-columns: 5fr 7fr;
}
.aferv-about__split-visual {
    width: 100%;
}
.aferv-about__split-visual picture,
.aferv-about__split-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.aferv-about__split-visual img {
    border-radius: 4px;
}
/* Portrait fondatrice : pas de border-radius, le fond transparent
   du PNG flotte directement sur le bg noir du bloc. */
.aferv-about__split-visual--portrait {
    display: flex;
    align-items: center;
    justify-content: center;
}
.aferv-about__split-visual--portrait img {
    border-radius: 0;
    object-fit: contain;
    object-position: center center;
    width: auto;
    height: auto;
    max-height: 480px;
    max-width: 100%;
}

/* Image conviction : limiter la hauteur pour rythme magazine */
.aferv-about__block--conviction .aferv-about__split-visual img {
    max-height: 420px;
    width: auto;
    margin: 0 auto;
}
/* Texte dans la split : retire le max-width pour qu'il prenne sa colonne entiere */
.aferv-about__split-text .aferv-about__text {
    max-width: none;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .aferv-about__title {
        letter-spacing: -1px;
    }
    .aferv-chip {
        padding: 8px 14px;
        font-size: 11px;
    }
    /* Splits : empilement vertical, image au-dessus dans les 2 cas */
    .aferv-about__split,
    .aferv-about__split--reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .aferv-about__split--reverse .aferv-about__split-text {
        order: 2;
    }
    .aferv-about__split--reverse .aferv-about__split-visual {
        order: 1;
    }
    .aferv-about__split-visual--portrait img {
        max-height: 540px;
        width: auto;
    }
}
