
/* WikiMusic – Page contact. Styles isolés pour ne pas modifier le header/footer existants. */

.wm-contact {
    --wm-bg: #001225;
    --wm-line: #274576;
    --wm-text: #faf6ff;
    --wm-muted: #a7b9dc;
    --wm-purple: #b976ed;
    --wm-pink: #ff4d80;

    position: relative;
    isolation: isolate;
    min-height: 700px;
    padding: 0 0 42px;
    color: var(--wm-text);
    background:
        radial-gradient(ellipse at 72% 10%, rgba(53, 24, 108, .28), transparent 43%),
        radial-gradient(ellipse at 90% 90%, rgba(35, 15, 86, .28), transparent 40%),
        var(--wm-bg);
    font: 15px/1.55 Arial, Helvetica, sans-serif;
}

.wm-contact * {
    box-sizing: border-box;
}

.wm-contact a {
    text-decoration: none;
}

.wm-contact__inner {
    width: min(1460px, calc(100% - 80px));
    margin: auto;
}

/* Hero */

.wm-contact-hero {
    height: 246px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.wm-contact-hero__image {
    position: absolute;
    z-index: -1;
    inset: 0 -2% 0 auto;
    width: 63%;
    background: url('../assets/hibou-contact.webp') center center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%);
    mask-image: linear-gradient(to right, transparent 0%, black 22%);
}

.wm-contact-hero__copy {
    position: relative;
    z-index: 1;
    padding: 16px 0 18px 36px;
    max-width: 850px;
    text-shadow: 0 2px 12px rgba(0, 18, 37, .7);
}

.wm-contact-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    color: #d68dff;
    margin: 0 0 8px;
}

.wm-contact-hero__eyebrow i {
    font-size: 25px;
    color: #b976ed;
}

.wm-contact-hero h1 {
    margin: 0 0 8px;
    font: 700 clamp(42px, 4.2vw, 67px)/1.1 Georgia, 'Times New Roman', serif;
    letter-spacing: -1.7px;
    white-space: nowrap;
}

.wm-contact-hero h1 span {
    color: #b976ed;
}

.wm-contact-hero__copy > p:last-child {
    margin: 0;
    color: #dae2fd;
    font-size: 17px;
    line-height: 1.55;
}

/* Mise en page */

.wm-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    position: relative;
}

.wm-contact-form-card,
.wm-contact-info-card {
    background: linear-gradient(135deg, rgba(12, 29, 63, .95), rgba(3, 20, 44, .96));
    border: 1px solid #2e4e89;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .13);
    border-radius: 15px;
}

/* Formulaire */

.wm-contact-form-card {
    padding: 24px 38px 20px;
    border-color: #9856ef;
    box-shadow:
        0 0 22px rgba(132, 56, 237, .24),
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

.wm-contact-card-heading {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

/* Icônes */

.wm-contact-icon {
    width: 59px;
    height: 59px;
    flex: 0 0 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3455a2;
    border-radius: 14px;
    color: #e3eaff;
    background: linear-gradient(140deg, #163975, #071d49);
}

.wm-contact-icon i {
    font-size: 27px;
}

.wm-contact-icon--purple {
    background: linear-gradient(130deg, #7724b9, #27128a);
    border-color: #7542bd;
    box-shadow: 0 0 20px #6b2cbc33;
}

.wm-contact-icon--blue {
    background: linear-gradient(140deg, #144088, #071b45);
}

/* Titres */

.wm-contact-card-heading h2,
.wm-contact-info-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 5px;
}

.wm-contact-card-heading h2 {
    font-size: 25px;
}

.wm-contact-card-heading p {
    color: #afc3e7;
    font-size: 15px;
    margin: 0;
}

/* Champs du formulaire */

.wm-contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.wm-contact-field {
    min-width: 0;
}

.wm-contact-field--full {
    grid-column: 1 / -1;
}

.wm-contact-field label {
    display: block;
    margin-bottom: 10px;
    font: 700 14px Georgia, serif;
    color: #fff;
}

.wm-contact-field label span {
    color: #ff5a88;
}

.wm-contact-input {
    height: 46px;
    position: relative;
    border-radius: 10px;
    display: flex;
    align-items: center;
    border: 1px solid #355587;
    background: linear-gradient(135deg, #0d2547, #0b1d3c);
    transition: border-color .2s, box-shadow .2s;
}

.wm-contact-input > i:first-child {
    position: absolute;
    left: 15px;
    color: #a4bbe9;
    font-size: 18px;
    pointer-events: none;
}

.wm-contact-input input,
.wm-contact-input select,
.wm-contact-input textarea {
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #e7efff;
    padding: 0 14px 0 10px;
    font: 14px Arial, Helvetica, sans-serif;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.wm-contact-input input::placeholder,
.wm-contact-input textarea::placeholder {
    color: #a6bae0;
    opacity: 1;
}

.wm-contact-input:focus-within {
    border-color: #b97cff;
    box-shadow: 0 0 0 3px rgba(181, 100, 254, .18);
}

.wm-contact-input select {
    cursor: pointer;
    padding-right: 42px;
}

.wm-contact-input select option {
    background: #102246;
    color: #fff;
}

.wm-contact-select-arrow {
    position: absolute;
    right: 14px;
    color: #adc2e3;
    pointer-events: none;
}

/* Champ message */

.wm-contact-input--message {
    height: 116px;
    align-items: flex-start;
}

.wm-contact-input--message > i:first-child {
    top: 14px;
}

.wm-contact-input textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.5;
    padding-top: 13px;
    padding-bottom: 25px;
}

.wm-contact-counter {
    position: absolute;
    bottom: 9px;
    right: 12px;
    font-size: 11px;
    color: #9dafda;
    pointer-events: none;
}

/* Bas du formulaire */

.wm-contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 19px;
}

.wm-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
    min-height: 51px;
    padding: 0 23px;
    color: white;
    background: linear-gradient(100deg, #ff5989, #a53bfd);
    border: 1px solid #f07dff;
    border-radius: 35px;
    font: 700 14px Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 5px 24px #d42ce13d;
    transition: transform .2s, filter .2s;
}

.wm-contact-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.13);
}

.wm-contact-submit i {
    font-size: 18px;
}

.wm-contact-privacy {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #a6bce1;
    margin: 0;
    line-height: 1.4;
}

.wm-contact-privacy i {
    font-size: 20px;
}

/* Colonne des informations */

.wm-contact-aside {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 12px;
    min-width: 0;
}

.wm-contact-info-card--wide {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 133px;
    padding: 17px 16px;
}

.wm-contact-info-card h3 {
    font-size: 19px;
}

.wm-contact-info-card p {
    margin: 4px 0 5px;
    color: #aebfe1;
    font-size: 14px;
    line-height: 1.55;
}

.wm-contact-info-card__content {
    min-width: 0;
    flex: 1;
}

.wm-contact-info-card__content > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cb7bff;
    font-weight: 700;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.wm-contact-info-card__content > a i {
    font-size: 17px;
}

.wm-contact-info-card__content > a:hover {
    color: #ff79b2;
}

/* Délais de réponse */

.wm-contact-time {
    border: 1px solid #7943ae;
    background: #32165075;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 30px;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.2;
    color: #d28fff;
}

.wm-contact-time > i {
    font-size: 21px;
}

.wm-contact-time strong {
    display: block;
    font-size: 15px;
    color: #de9cff;
    margin-top: 3px;
}

/* Petites cartes */

.wm-contact-aside__bottom {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 12px;
    min-height: 0;
}

.wm-contact-small-card {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.wm-contact-small-card__head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.wm-contact-small-card .wm-contact-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
}

.wm-contact-small-card .wm-contact-icon i {
    font-size: 24px;
}

.wm-contact-small-card h3 {
    font-size: 17px;
}

.wm-contact-small-card p {
    font-size: 12px;
    line-height: 1.5;
    margin: 5px 0 0;
}

/* Bouton FAQ */

.wm-contact-outline-button {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 25px;
    padding: 0 15px;
    border: 1px solid #7946ae;
    background: #3e215354;
    color: #e59aff;
    font-weight: 700;
    font-size: 13px;
}

.wm-contact-outline-button:hover {
    background: #5c2d7966;
}

/* Réseaux sociaux */

.wm-contact-socials {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
}

.wm-contact-socials a {
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #304d9e;
    font-size: 21px;
    font-weight: 700;
    border: 2px solid #4463a0;
    box-shadow: 0 0 12px #4c46f16b;
}

.wm-contact-socials a:nth-child(1) {
    background: linear-gradient(45deg, #fcb045, #d42b9b);
}

.wm-contact-socials a:nth-child(2) {
    background: #10131e;
}

.wm-contact-socials a:nth-child(4) {
    background: #e61c30;
}

.wm-contact-socials a:nth-child(5) {
    background: #5865f2;
}

.wm-contact-socials a:nth-child(6) {
    background: #121526;
}

.wm-contact-socials a:hover {
    transform: translateY(-2px);
}

/* Responsive : tablettes et petits écrans */

@media (max-width: 1180px) {

    .wm-contact__inner {
        width: min(100% - 42px, 1100px);
    }

    .wm-contact-layout {
        grid-template-columns: 1fr;
    }

    .wm-contact-hero {
        height: 250px;
    }

    .wm-contact-hero__image {
        width: 70%;
    }

    .wm-contact-aside__bottom {
        grid-template-columns: 1fr 1fr;
    }

    .wm-contact-hero__copy {
        padding-left: 6px;
    }

    .wm-contact-info-card--wide {
        min-height: 115px;
    }
}

/* Responsive : mobiles */

@media (max-width: 700px) {

    .wm-contact {
        padding-bottom: 30px;
    }

    .wm-contact__inner {
        width: calc(100% - 28px);
    }

    .wm-contact-hero {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
    }

    .wm-contact-hero__copy {
        order: 0;
        padding: 28px 4px 12px;
    }

    .wm-contact-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .wm-contact-hero h1 {
        font-size: clamp(35px, 8vw, 52px);
        white-space: normal;
        letter-spacing: -.8px;
    }

    .wm-contact-hero__copy > p:last-child {
        font-size: 14px;
    }

    .wm-desktop-only {
        display: none;
    }

    .wm-contact-hero__image {
        order: 1;
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 900 / 272;
        background-position: center;
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%);
        mask-image: linear-gradient(to right, transparent, black 10%);
    }

    .wm-contact-layout {
        gap: 15px;
    }

    .wm-contact-form-card {
        padding: 20px 17px;
    }

    .wm-contact-card-heading {
        gap: 12px;
        align-items: flex-start;
    }

    .wm-contact-card-heading h2 {
        font-size: 22px;
    }

    .wm-contact-card-heading p {
        font-size: 13px;
    }

    .wm-contact-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .wm-contact-icon i {
        font-size: 22px;
    }

    .wm-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wm-contact-form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .wm-contact-submit {
        justify-content: center;
    }

    .wm-contact-privacy {
        align-self: center;
        text-align: left;
    }

    .wm-contact-info-card--wide {
        flex-wrap: wrap;
        gap: 12px;
    }

    .wm-contact-info-card__content {
        flex: 1 1 200px;
    }

    .wm-contact-time {
        margin-left: auto;
    }

    .wm-contact-aside__bottom {
        grid-template-columns: 1fr;
    }

    .wm-contact-small-card {
        min-height: 135px;
    }

    .wm-contact-socials {
        justify-content: flex-start;
        gap: 12px;
    }
}

/* Responsive : très petits mobiles */

@media (max-width: 380px) {

    .wm-contact-info-card--wide {
        padding: 14px 12px;
    }

    .wm-contact-info-card__content > a {
        font-size: 12px;
    }

    .wm-contact-hero h1 {
        font-size: 34px;
    }
}

.wm-contact-input svg
{
    margin-left: 15px;
}

.wm-contact-input--message svg 
{
    margin-top: 10px;
}