/* =========================================================
   FORMULAIRE CONTACT REUTILISABLE basalt_
   ========================================================= */

.BasaltContactForm {
    width: 100%;
    max-width: 960px;
    margin: 45px auto 0;
    padding: 42px;

    background: #ffffff;
    color: #1d1d1b;

    border-radius: 18px;
    border-top: 5px solid #03AC7C;

    box-shadow: 0 16px 42px rgba(0,0,0,0.16);

    text-align: left;
}

.BasaltContactForm *,
.BasaltContactForm *::before,
.BasaltContactForm *::after {
    box-sizing: border-box;
}

.BasaltContactFormHeader {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.BasaltContactFormKicker {
    margin-bottom: 12px;

    color: #03AC7C;

    text-transform: uppercase;
    letter-spacing: 2px;

    font-size: 0.8rem;
    font-weight: 700;
}

.BasaltContactFormHeader h3 {
    margin: 0 0 16px;

    color: #1e1e1e;

    font-family: IBMPlexMono-Bold, sans-serif;
    font-size: 1.8rem;
    line-height: 1.25;
}

.BasaltContactFormHeader p {
    color: #1d1d1b;
}

.BasaltFormGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.BasaltFormField {
    margin-bottom: 22px;
}

.BasaltFormField label {
    display: block;
    margin-bottom: 8px;

    color: #1e1e1e;

    font-weight: 700;
    font-size: 0.92rem;
}

.BasaltFormField input,
.BasaltFormField select,
.BasaltFormField textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #cfcfcf;
    border-radius: 8px;

    background: #f6f3ed;
    color: #1d1d1b;

    font-family: inherit;
    font-size: 1rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.BasaltFormField textarea {
    resize: vertical;
    min-height: 130px;
}

.BasaltFormField input:focus,
.BasaltFormField select:focus,
.BasaltFormField textarea:focus {
    outline: none;

    border-color: #03AC7C;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(3,172,124,0.12);
}

.BasaltFormConsent {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 4px 0 28px;

    font-size: 0.86rem;
    line-height: 1.55;
}

.BasaltFormConsent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.BasaltFormConsent a {
    color: #014040;
    font-weight: 700;
}

.BasaltFormActions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.BasaltFormSubmit {
    appearance: none;

    border: 0;
    border-radius: 8px;

    padding: 15px 28px;

    background: #03AC7C;
    color: #ffffff;

    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.BasaltFormSubmit:hover {
    background: #014040;
    transform: translateY(-2px);
}

.BasaltFormSubmit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.BasaltFormRequired {
    color: #666666;
    font-size: 0.8rem;
}

.BasaltFormResult {
    display: none;

    margin-top: 25px;
    padding: 16px 18px;

    border-radius: 8px;

    font-size: 0.92rem;
    font-weight: 600;
}

.BasaltFormResultSuccess {
    display: block;

    background: rgba(3,172,124,0.12);
    border: 1px solid rgba(3,172,124,0.35);

    color: #014040;
}

.BasaltFormResultError {
    display: block;

    background: rgba(180,40,40,0.08);
    border: 1px solid rgba(180,40,40,0.25);

    color: #7d1d1d;
}

/* Honeypot anti-spam */

.BasaltFormHoney {
    position: absolute !important;
    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .BasaltContactForm {
        margin-top: 34px;
        padding: 28px 22px;

        border-radius: 14px;
    }

    .BasaltContactFormHeader h3 {
        font-size: 1.45rem;
    }

    .BasaltFormGrid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .BasaltFormActions {
        align-items: stretch;
        flex-direction: column;
    }

    .BasaltFormSubmit {
        width: 100%;
    }
}