/**
 * Page Offres · refonte V3 #2 (charte v1.2 noir/vert/creme + Anton/Inter)
 * 2026-04-26 · scope strict .aferv-offres pour zero impact reste du site
 */

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

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

/* ── Hero ─────────────────────────────────────────────────── */
.aferv-offres__hero {
    padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 5vw, 64px);
    background: #f7f5f0;
}
.aferv-offres__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #080808;
    margin-bottom: 16px;
}
.aferv-offres__kicker::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: #01D662;
}
.aferv-offres__kicker--on-dark { color: #f7f5f0; }
.aferv-offres__title {
    font-family: 'Anton', 'Impact', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-transform: none;
    color: #080808;
    margin: 0 0 clamp(20px, 3vw, 32px) 0;
    max-width: 880px;
}
.aferv-offres__dot {
    color: #01D662;
    display: inline-block;
    font-size: 1.2em;
    line-height: 0.7;
    margin-left: 0.04em;
}
.aferv-offres__lead {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    max-width: 720px;
}

/* ── Sections offres ─────────────────────────────────────── */
.aferv-offre {
    padding: clamp(40px, 5vw, 64px) 0;
    border-top: 1px solid rgba(8, 8, 8, 0.08);
}
.aferv-offre:nth-child(odd) {
    background: #ffffff;
}
.aferv-offre__split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.aferv-offre--img-right .aferv-offre__split {
    grid-template-columns: 7fr 5fr;
}
.aferv-offre--img-right .aferv-offre__visual {
    order: 2;
}
.aferv-offre--img-right .aferv-offre__content {
    order: 1;
}

/* Visual */
.aferv-offre__visual picture,
.aferv-offre__visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 380px;
    object-fit: cover;
}

/* Content */
.aferv-offre__head {
    margin-bottom: 20px;
}
.aferv-offre__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;
    color: #080808;
    opacity: 0.7;
    margin-bottom: 6px;
    display: inline-block;
}
.aferv-offre__title {
    font-family: 'Anton', 'Impact', sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.3px;
    color: #080808;
    margin: 0 0 8px 0;
}
.aferv-offre__tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 500;
    color: #005c34;
    margin: 0;
    font-style: italic;
}
.aferv-offre__desc {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    max-width: 620px;
}

/* Liste structuree (Pour qui / Probleme / ...) */
.aferv-offre__points {
    margin: 0 0 28px 0;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(8, 8, 8, 0.08);
    display: grid;
    grid-template-columns: 110px 1fr;
    column-gap: 20px;
    row-gap: 14px;
}
.aferv-offre__points dt {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #080808;
    opacity: 0.65;
    padding-top: 2px;
}
.aferv-offre__points dd {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: #1a1a1a;
}
.aferv-offre__points dd em {
    font-style: italic;
    color: #080808;
    font-weight: 500;
}

/* CTA */
.aferv-offre__cta-wrap {
    margin: 0;
}
.aferv-offre__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    color: #080808;
    border: 1.5px solid #080808;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 160ms ease-out, color 160ms ease-out, transform 120ms ease-out;
}
.aferv-offre__cta:hover {
    background: #080808;
    color: #f7f5f0;
    transform: translateY(-1px);
}
.aferv-offre__cta:active {
    transform: translateY(0);
}

/* ── Bandeau autorite narrative (signature noire) ─────────── */
.aferv-offres__authority {
    background: #080808;
    color: #f7f5f0;
    padding: clamp(48px, 6vw, 80px) 0;
    margin-top: 0;
}
.aferv-offres__authority-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.55;
    color: #f7f5f0;
    margin: 0 0 32px 0;
    max-width: 760px;
}
.aferv-offres__authority-text strong {
    font-weight: 600;
    color: #f7f5f0;
}
.aferv-offres__authority-text a {
    color: #f7f5f0 !important;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(1, 214, 98, 0.7);
    transition: color 160ms ease-out;
}
.aferv-offres__authority-text a:hover {
    color: #01D662 !important;
    text-decoration-color: #01D662;
}
.aferv-offres__authority-cta-wrap { margin: 0; }
.aferv-offres__authority-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-offres__authority-cta:hover {
    background: #00b352;
    border-color: #00b352;
    box-shadow: 0 12px 28px rgba(1, 214, 98, 0.25);
    transform: translateY(-1px);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 860px) {
    .aferv-offre__split,
    .aferv-offre--img-right .aferv-offre__split {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .aferv-offre--img-right .aferv-offre__visual {
        order: 1;
    }
    .aferv-offre--img-right .aferv-offre__content {
        order: 2;
    }
    .aferv-offre__visual img {
        max-height: 280px;
    }
    .aferv-offre__points {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }
    .aferv-offre__points dt {
        margin-top: 12px;
    }
    .aferv-offre__points dt:first-child {
        margin-top: 0;
    }
}
