/* ========================================
   PAGE POSTULER (recrutement)
   Visual language mirrors /prise-de-contact
   ======================================== */

/* Page background texture */
.page-texture {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.texture-image {
    width: 100%;
    height: 100%;
    background-image: url('/images/maj/413eacfbb03b509dd7e3fa2a0b5030242f610297.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.texture-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-beige);
    mix-blend-mode: soft-light;
    opacity: 0.6;
}

/* Page wrapper */
.contact-page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 9rem 1.5rem 6rem;
}

/* Header */
.contact-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.contact-header__main {
    max-width: 720px;
}

.contact-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFC901;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-header__eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: #FFC901;
    display: inline-block;
}

.contact-header__title {
    font-family: 'PolicePrincipale2', 'PolicePrincipale', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #111;
    margin: 0 0 16px 0;
}

.contact-header__subtitle {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}

.contact-header__rdv {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 100px;
    color: #111;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.contact-header__rdv:hover {
    background: #FFC901;
    color: #111;
    border-color: #FFC901;
    transform: translateY(-1px);
}

.contact-header__rdv i {
    font-size: 14px;
}

/* Two-column layout */
.contact-two-columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-column-left {
    flex: 0 0 380px;
    max-width: 380px;
}

.contact-column-right {
    flex: 1;
    min-width: 0;
}

/* Cards (left + right share the look) */
.contact-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contact-card--sticky {
    position: sticky;
    top: 30px;
}

.contact-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.contact-card__eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: #FFC901;
    display: inline-block;
}

.contact-card h2 {
    font-family: 'PolicePrincipale2', 'PolicePrincipale', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #111;
    margin: 0 0 14px 0;
}

.contact-card p {
    color: #555;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.contact-card h3 {
    font-family: 'PolicePrincipale2', 'PolicePrincipale', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

/* Value / channel list */
.contact-channels {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.contact-channels li {
    position: relative;
    padding-left: 32px;
    color: #1a1a1a;
    font-size: 14.5px;
    line-height: 1.5;
}

.contact-channels li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFC901;
}

.contact-channels li::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 8px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(-45deg);
}

.contact-channels a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.contact-channels a:hover {
    text-decoration: underline;
}

.contact-channels strong {
    color: #111;
    font-weight: 700;
}

.contact-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 22px 0;
}

/* Form module — inherit card styling, override Bootstrap defaults inside */
.contact-form-card label {
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
    font-size: 13.5px;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14.5px;
    width: 100%;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #FFC901;
    box-shadow: 0 0 0 3px rgba(255, 201, 1, 0.18);
}

.contact-form-card .btn,
.contact-form-card button[type="submit"] {
    background: #111;
    color: #fff;
    border: 1px solid #111;
    border-radius: 100px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.contact-form-card .btn:hover,
.contact-form-card button[type="submit"]:hover {
    background: #FFC901;
    color: #111;
    border-color: #FFC901;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-page-wrapper {
        padding: 6rem 1rem 3rem;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 36px;
    }

    .contact-two-columns {
        flex-direction: column;
        gap: 28px;
    }

    .contact-column-left {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .contact-card--sticky {
        position: static;
    }
}

@media (max-width: 640px) {
    .contact-card {
        padding: 26px;
        border-radius: 14px;
    }

    .contact-card h2 {
        font-size: 1.5rem;
    }
}
