
.contact-page {
    min-height: 65vh;
    padding: 70px 24px 90px;
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, .08),
            transparent 35%
        ),
        #f8fafc;
}

.contact-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.contact-heading {
    max-width: 650px;
    margin: 0 auto 36px;
    text-align: center;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-heading h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.contact-heading p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.contact-card {
    padding: 38px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .06);
}

.contact-card-intro {
    margin-bottom: 28px;
}

.contact-card-intro h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 23px;
    letter-spacing: -.5px;
}

.contact-card-intro p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.contact-field label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #94a3b8;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.7;
}

.contact-field small {
    color: #94a3b8;
    font-size: 12px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px 22px;
    color: #fff;
    background: #2563eb;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.contact-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.contact-submit span {
    font-size: 20px;
    line-height: 1;
}

.contact-privacy {
    margin: -8px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.contact-direct {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: #64748b;
    font-size: 14px;
}

.contact-direct a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* Anti-spam : champ invisible pour les visiteurs */
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* Indication sous le champ message */
.contact-field small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

/* Bouton d'envoi */
.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 54px;
    padding: 15px 24px;

    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 1px solid #1d4ed8;
    border-radius: 12px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;

    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .18);

    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

/* Flèche */
.contact-submit span {
    display: inline-block;
    font-size: 21px;
    font-weight: 400;
    transition: transform .2s ease;
}

/* Survol */
.contact-submit:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 9px 24px rgba(37, 99, 235, .25);
    transform: translateY(-2px);
}

.contact-submit:hover span {
    transform: translateX(4px);
}

/* Clic */
.contact-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(37, 99, 235, .18);
}

/* Navigation clavier */
.contact-submit:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

/* Mobile */
@media (max-width: 650px) {
    .contact-submit {
        min-height: 52px;
        font-size: 14px;
    }
}


@media (max-width: 650px) {
    .contact-page {
        padding: 45px 16px 60px;
    }

    .contact-card {
        padding: 24px 18px;
        border-radius: 15px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-heading p {
        font-size: 14px;
    }

    .contact-direct {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
