/* Charte graphique ASPA Mulhouse - Page Maintenance */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(
        circle at 50% 30%,
        #eef8ff 0%,
        #d2eafe 50%,
        #badafc 100%
    );
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.maintenance-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* =========================================
   VISUEL PRINCIPAL
   ========================================= */

.zamboni-section {
    width: 100%;
    max-width: 820px;
}

.zamboni-card {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 60, 130, 0.15);
    background: white;
    transition: transform 0.3s ease;
}

.zamboni-card:hover {
}

.zamboni-img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================
   CARTE DE MESSAGE
   ========================================= */

.message-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);

    padding: 35px 40px;

    border-radius: 24px;

    box-shadow: 0 15px 35px rgba(0, 40, 90, 0.1);

    width: 90%;
    max-width: 700px;

    margin-top: -260px;

    position: relative;
    z-index: 2;
}


/* =========================================
   TITRE
   ========================================= */

.title-script {
    font-family: 'Caveat', cursive;
    font-size: 3.2rem;
    color: #0c3866;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.sparkle {
    position: absolute;
    font-size: 1.2rem;
    animation: pulseSparkle 2s infinite ease-in-out;
}

.sp-1 {
    top: -5px;
    right: -25px;
    color: #00b4d8;
}

.sp-2 {
    bottom: 5px;
    left: -25px;
    color: #d800a6;
    animation-delay: 0.6s;
}

.sp-3 {
    top: -12px;
    left: -10px;
    color: #7209b7;
    animation-delay: 1.2s;
}

@keyframes pulseSparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}


/* =========================================
   TEXTES
   ========================================= */

.intro-text {
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 600;
}

.highlight-season {
    font-size: 1.35rem;
    font-weight: 800;

    background: linear-gradient(
        90deg,
        #0284c7 0%,
        #d800a6 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-text {
    font-size: 1.05rem;
    color: #0284c7;
    margin-top: 6px;
    font-weight: 600;
}


/* =========================================
   SÉPARATEUR
   ========================================= */

.snowflake-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 22px 0;
}

.snowflake-divider .line {
    height: 1px;
    width: 70px;

    background: linear-gradient(
        90deg,
        transparent,
        #38bdf8,
        transparent
    );
}

.snowflake-divider .snowflake {
    color: #38bdf8;
    font-size: 1.2rem;
}


/* =========================================
   CONTACT
   ========================================= */

.contact-notice {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 22px;
}


/* =========================================
   CONTACT / RÉSEAUX SOCIAUX
   ========================================= */

.contact-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}


/* Facebook */

.social-icon.facebook {
    background: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}


/* Instagram */

.social-icon.instagram {
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fdf497 5%,
        #fd5949 45%,
        #d6249f 60%,
        #285AEB 90%
    );

    box-shadow: 0 4px 12px rgba(214, 36, 159, 0.25);
}


/* YouTube */

.social-icon.youtube {
    background: #ff0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}


/* Effet au survol */

.social-icon:hover {
    transform: translateY(-2px);
}


/* =========================================
   ADRESSE EMAIL
   ========================================= */

.email-button {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: inherit;
    text-decoration: none;

    font-size: 0.95rem;
    line-height: 1.4;

    max-width: 100%;
}

.email-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.email-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.email-button:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.email-text {
    text-align: center;
    overflow-wrap: anywhere;
}


/* =========================================
   TABLETTES / PETITS ÉCRANS
   ========================================= */

@media (max-width: 900px) {

    .message-card {
        margin-top: -120px;
    }

}


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

@media (max-width: 600px) {

    body {
        padding: 8px 12px 20px;

        /* IMPORTANT :
           on évite le centrage vertical
           qui créait un grand espace
           au-dessus de la surfaceuse */
        align-items: flex-start;
    }

    .maintenance-container {
        width: 100%;
    }

    .content-wrapper {
        width: 100%;
    }

    .zamboni-section {
        width: 100%;
    }

    .zamboni-card {
        border-radius: 16px;
    }

    .message-card {
        width: 94%;

        /* Chevauchement léger sur mobile */
        margin-top: -60px;

        padding: 25px 20px;

        border-radius: 20px;
    }

    .title-script {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .highlight-season {
        font-size: 1.1rem;
    }

    .sub-text {
        font-size: 0.95rem;
    }

    .snowflake-divider {
        margin: 18px 0;
        gap: 10px;
    }

    .snowflake-divider .line {
        width: 45px;
    }

    .contact-notice {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .social-links {
        gap: 10px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 19px;
        height: 19px;
    }

    .email-button {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .email-text {
        overflow-wrap: anywhere;
    }

}


/* =========================================
   TRÈS PETITS TÉLÉPHONES
   ========================================= */

@media (max-width: 380px) {

    .message-card {
        width: 96%;

        /* Encore moins de chevauchement */
        margin-top: -40px;

        padding: 22px 15px;
    }

    .title-script {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }

    .highlight-season {
        font-size: 1rem;
    }

    .contact-notice {
        font-size: 0.8rem;
    }

    .email-button {
        font-size: 0.78rem;
    }

}