/* ==========================================================================
   AMS FOCUS — CONTACT OFFICIEL
   ========================================================================== */
.ams-contact-page__main .ams-shell,
.ams-contact-exchange .ams-shell {
    padding-left: 78px;
    padding-right: 78px;
    box-sizing: border-box;
}


.ams-contact-page__main {
    position: relative;
    overflow: hidden;
    padding: 154px 0 86px;
    background:
        radial-gradient(
            circle at 83% 8%,
            rgba(8,120,255,.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f7faff 0%,
            #f3f7fc 100%
        );
}

.ams-contact-page__grid {
    display: grid;
    grid-template-columns:
        minmax(0, .92fr)
        minmax(460px, 1.08fr);
    gap: clamp(60px, 7vw, 120px);
    align-items: start;
}

.ams-contact-page__content {
    max-width: 560px;
    padding-top: 0;
}

.ams-contact-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ams-blue, #0878ff);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ams-contact-page__eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    flex: 0 0 24px;
    background: currentColor;
}

.ams-contact-page__content h1 {
    max-width: 520px;
    margin: 18px 0 0;
    color: #07182d;
    font-size: clamp(48px, 4.5vw, 68px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.ams-contact-page__content h1 strong {
    display: block;
    color: var(--ams-blue, #0878ff);
    font-weight: inherit;
}

.ams-contact-page__description {
    max-width: 520px;
    margin: 24px 0 0;
    color: #586c84;
    font-size: 16px;
    line-height: 1.72;
}

.ams-contact-page__info {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.ams-contact-page__info-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid rgba(8,120,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.82);
    box-shadow:
        0 8px 30px rgba(18,59,110,.04);
}

.ams-contact-page__info-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--ams-blue, #0878ff);
    background: rgba(8,120,255,.08);
}

.ams-contact-page__info-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ams-contact-page__info-item h2 {
    margin: 0;
    color: #0a1b35;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.ams-contact-page__info-item p {
    margin: 4px 0 0;
    color: #708197;
    font-size: 12px;
    line-height: 1.5;
}

.ams-contact-page__form-wrap {
    width: 100%;
    align-self: start;
}

.ams-contact-page__form {
    padding: 32px;
    border: 1px solid rgba(12,53,102,.08);
    border-radius: 15px;
    background: #ffffff;
    box-shadow:
        0 24px 70px rgba(10,48,95,.10),
        0 4px 14px rgba(10,48,95,.04);
}

.ams-contact-page__form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ams-contact-page__field {
    display: block;
}

.ams-contact-page__field--full {
    grid-column: 1 / -1;
}

.ams-contact-page__field > span {
    display: block;
    margin-bottom: 8px;
    color: #0a1b35;
    font-size: 11px;
    font-weight: 750;
}

.ams-contact-page__field > span b {
    color: var(--ams-blue, #0878ff);
}

.ams-contact-page__field input,
.ams-contact-page__field select,
.ams-contact-page__field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    outline: 0;
    color: #0a1b35;
    background: #f8fafc;
    font: inherit;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.ams-contact-page__field input,
.ams-contact-page__field select {
    height: 48px;
    padding: 0 13px;
}

.ams-contact-page__field textarea {
    min-height: 135px;
    padding: 13px;
    resize: vertical;
}

.ams-contact-page__field input::placeholder,
.ams-contact-page__field textarea::placeholder {
    color: #a0adbd;
}

.ams-contact-page__field input:focus,
.ams-contact-page__field select:focus,
.ams-contact-page__field textarea:focus {
    border-color: var(--ams-blue, #0878ff);
    background: #ffffff;
    box-shadow:
        0 0 0 3px rgba(8,120,255,.08);
}

.ams-contact-page__privacy {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    color: #718197;
    font-size: 11px;
    line-height: 1.5;
}

.ams-contact-page__privacy input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.ams-contact-page__submit {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 19px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background:
        linear-gradient(
            115deg,
            #0868ed,
            #0878ff 54%,
            #1595ff
        );
    box-shadow:
        0 10px 24px rgba(8,120,255,.18);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ams-contact-page__submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(8,120,255,.24);
}

/* ==========================================================================
   PREMIER ECHANGE
   ========================================================================== */

.ams-contact-exchange {
    padding: 68px 0 78px;
    background: #ffffff;
}

.ams-contact-exchange__head {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 380px);
    gap: 60px;
    align-items: end;
}

.ams-contact-exchange__head h2 {
    max-width: 720px;
    margin: 16px 0 0;
    color: #07182d;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ams-contact-exchange__head > p {
    margin: 0 0 5px;
    color: #708197;
    font-size: 13px;
    line-height: 1.6;
}

.ams-contact-exchange__steps {
    position: relative;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
}

.ams-contact-exchange__steps::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: #e6edf5;
}

.ams-contact-exchange__step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    padding-right: 40px;
}

.ams-contact-exchange__number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(8,120,255,.13);
    border-radius: 50%;
    color: var(--ams-blue, #0878ff);
    background: #f5f9ff;
    font-size: 10px;
    font-weight: 850;
}

.ams-contact-exchange__step h3 {
    margin: 1px 0 0;
    color: #0a1b35;
    font-size: 14px;
    font-weight: 800;
}

.ams-contact-exchange__step p {
    max-width: 310px;
    margin: 8px 0 0;
    color: #718197;
    font-size: 12px;
    line-height: 1.6;
}

/* ==========================================================================
   AMS FOCUS — CONTACT / PAGE HEIGHT
   ========================================================================== */

/*
 * La page Contact remplit au minimum le viewport.
 * Le footer partagé reste dans le flux normal et se place
 * naturellement en bas lorsque le contenu est plus court que l'écran.
 */
.ams-contact-page .ams-site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.ams-contact-page .ams-site > main {
    flex: 1 0 auto;
}

