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

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

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

/* ── Hero ─────────────────────────────────────────────────── */
.aferv-contact__hero {
    padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
    background: #f7f5f0;
}
.aferv-contact__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-contact__kicker::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: #01D662;
}
.aferv-contact__title {
    font-family: 'Anton', 'Impact', sans-serif;
    font-size: clamp(34px, 4.5vw, 60px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.4px;
    text-transform: none;
    color: #080808;
    margin: 0 0 clamp(20px, 3vw, 32px) 0;
    max-width: 880px;
}
.aferv-contact__dot {
    color: #01D662;
    display: inline-block;
    font-size: 1.2em;
    line-height: 0.7;
    margin-left: 0.04em;
}
.aferv-contact__lead {
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    max-width: 720px;
}

/* ── Bloc principal 2 colonnes ────────────────────────────── */
.aferv-contact__main {
    padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
    background: #ffffff;
    border-top: 1px solid rgba(8, 8, 8, 0.08);
}
.aferv-contact__split {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}

/* ── Colonne infos ────────────────────────────────────────── */
.aferv-contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.aferv-contact__info-block {
    display: block;
}
.aferv-contact__info-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #080808;
    opacity: 0.65;
    margin-bottom: 6px;
}
.aferv-contact__info-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #080808;
    margin: 0;
}
.aferv-contact__info-link {
    color: #080808;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: #01D662;
    transition: color 160ms ease-out;
    word-break: break-word;
}
.aferv-contact__info-link:hover { color: #00b352; }

/* ── Formulaire ───────────────────────────────────────────── */
.aferv-contact__form-wrap {
    background: #f7f5f0;
    padding: clamp(28px, 3.5vw, 48px);
    border-radius: 4px;
}
.aferv-contact__alert {
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}
.aferv-contact__alert--success {
    background: #01D662;
    color: #080808;
    border-left: 3px solid #00b352;
}
.aferv-contact__alert--error {
    background: #ffeeee;
    color: #6b0000;
    border-left: 3px solid #c80000;
}

.aferv-contact__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.aferv-contact__form-row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.aferv-contact__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.aferv-contact__field label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #080808;
    text-transform: uppercase;
}
.aferv-contact__req {
    color: #01D662;
    font-weight: 700;
    margin-left: 2px;
}
.aferv-contact__field input[type="text"],
.aferv-contact__field input[type="email"],
.aferv-contact__field select,
.aferv-contact__field textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #080808;
    background: #ffffff;
    border: 1.5px solid rgba(8, 8, 8, 0.15);
    border-radius: 4px;
    transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.aferv-contact__field input:focus,
.aferv-contact__field select:focus,
.aferv-contact__field textarea:focus {
    outline: none;
    border-color: #01D662;
    box-shadow: 0 0 0 3px rgba(1, 214, 98, 0.15);
}
.aferv-contact__field textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
}
.aferv-contact__field--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-transform: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #1a1a1a;
    letter-spacing: 0;
    cursor: pointer;
}
.aferv-contact__field--checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #01D662;
    flex-shrink: 0;
}
.aferv-contact__field--checkbox a {
    color: #080808;
    text-decoration: underline;
    text-decoration-color: #01D662;
}

.aferv-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: 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;
    cursor: pointer;
    transition: background 160ms ease-out, transform 120ms ease-out, box-shadow 160ms ease-out;
    margin-top: 8px;
    align-self: flex-start;
}
.aferv-contact__submit:hover {
    background: #00b352;
    border-color: #00b352;
    box-shadow: 0 12px 28px rgba(1, 214, 98, 0.25);
    transform: translateY(-1px);
}
.aferv-contact__submit:active { transform: translateY(0); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 860px) {
    .aferv-contact__split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .aferv-contact__form-row--two {
        grid-template-columns: 1fr;
    }
}
