:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    color: #42666b;
    background: #fff;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding-top: 42px;
}

/* Bandeau supérieur de connexion */
.pupUp {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 48px;
    background: #2f8587;
    color: #fff;
}

.pupUp button {
    padding: 5px 12px;
    border: 0;
    border-radius: 3px;
    background: #3c999b;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
}

.pupUp button a {
    color: #fff;
    text-decoration: none;
}

.pupUp button:hover {
    background: #256f72;
}

.close {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

/* Zone de bienvenue */
.title {
    display: grid;
    min-height: 38vh;
    padding: 48px 20px;
    place-items: center;
    background: #fff;
    text-align: center;
}

.title h1 {
    width: min(100%, 950px);
    margin: 0;
    color: #2f8587;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
}

/* Contenu */
section#body {
    display: flex;
    min-height: 42vh;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

section#body article {
    display: flex;
    width: min(100%, 900px);
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

section#body article p {
    max-width: 760px;
    margin: 10px 0;
    color: #55777b;
    line-height: 1.7;
    text-align: center;
}

a {
    color: #2f8587;
    text-decoration: none;
}

a:hover {
    color: #256f72;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f2b544;
    outline-offset: 3px;
}

/* Pied de page */
.footer {
    width: 100%;
    padding: 20px;
    background: #e6f1f1;
    color: #42666b;
    line-height: 1.7;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* Affichage sur téléphone */
@media (max-width: 600px) {
    .title {
        min-height: 32vh;
        padding: 36px 18px;
    }

    section#body article {
        padding: 26px 18px;
    }

    .pupUp {
        justify-content: flex-start;
    }
}

