* {
    /* Apple system font stack with sensible fallbacks for other OS */
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: #ffff;
}

.content-wrap .inscription .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.haut-de-page {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-direction: column;
}

.haut-de-page h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.haut-de-page p {
    font-weight: 400;
    font-size: 1.2rem;
}

.inscription {
    background-color: #ffff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 60%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.inscription .bienvenue {
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.inscription p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
    align-items: left;
}

.inscription .text-rouge {
    color: #ff0000;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 15px;
}

.inscription ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.inscription li {
    text-align: left;
    font-weight: 400;
    margin-bottom: 8px;
}

.inscription a {
    color: #1a73e8;
    text-decoration: none;
}

.contact {
    background-color: #ffff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.contact .contact-title {
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #02779A;
}

.contact p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #02779A;
}

.contact .contact-phone {
    font-weight: 700;
    font-size: 1rem;
    color: #02779A;
}

/* Layout: two columns with contact on the right */
.content-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 16px;
}

.inscription {
    flex: 1 1 0;
    max-width: none;
    margin: 0;
}

.contact {
    flex: 0 0 320px; /* fixed width for the contact box on desktop */
    margin: 0;
}

@media (max-width: 800px) {
    .content-wrap {
        flex-direction: column;
        padding: 0 12px;
    }
    .contact {
        flex: none;
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }
    .inscription {
        width: 100%;
    }
}