* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #FEF7F0;
    color: #053663;
    font-family: arial, Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

    h1,
    h2,
    .navigation-principale a {
        font-family: georgia, "times new roman", serif;
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #8BB8D2;
    padding: 1rem;

}

.cadre-portrait {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    border: 5px solid white;
    border-radius: 50%;
}

.portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateY(16px) scale(1.5);
}

.navigation-principale {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.navigation-principale a {
    color: #053663;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}

.bandeau {
    min-height: 220px;
    background-image: url("asset/images/bandeau-art-fakt.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.presentation {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1rem 1rem;
}

.presentation h1 {
    text-align: center;
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #8BB8D2;
}

.presentation-contenu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.presentation-contenu p {
    margin: 0;
    line-height: 1.6;
}

.reseaux {
    margin: 0 0 1rem;
    text-align: center;
    padding: 1rem;
}

.reseaux h2 {
    margin: 0 0 1rem;
}

.liste-reseaux {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.liste-reseaux a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.liste-reseaux a:hover {
    transform: scale(1.1);
}

.liste-reseaux a:focus-visible {
    outline: 3px solid #053663;
    outline-offset: 3px;
}

.liste-reseaux img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.activites {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid #8BB8D2;
    border-bottom: 1px solid #8BB8D2;
}

.activite {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.activite h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.activite p {
    flex: 1;
    margin: 0;
    padding: 1rem;
    border: 1px solid #8BB8D2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.remerciement {
    margin: 2rem 0;
    text-align: center;
    font-family: georgia, "times new roman", serif;
    font-style: italic;
    font-weight: 700;
    color: #053663;
}

.contact {
    padding: 2rem 1rem;
    text-align: center;
}

.contact h2 {
    margin: 0 0 0.5rem;
}

.contact a {
    color: #053663;
    font-weight: 700;
}

footer {
    padding: 1.5rem 1rem;
    background-color: white;
    border-top: 1px solid #8BB8D2;
}

.liste-legale {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.liste-legale a {
    color: #053663;
    font-size: 0.875rem;
}

.retour-accueil {
    display: inline-block;
    margin: 1.5rem;
    color: #053663;
    font-weight: 700;
}

.titre-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.25rem 1.5rem;
    text-align: center;
}

.page-legale {
    max-width: 850px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
}

.page-legale section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #8BB8D2;
}

.page-legale section:first-child {
    padding-top: 0;
}

.page-legale section:last-child {
    border-bottom: none;
}

.page-legale h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.page-legale p,
.page-legale li {
    line-height: 1.7;
}

.page-legale ul {
    padding-left: 1.5rem;
}

.page-legale address {
    font-style: normal;
}

.page-legale a {
    color: #053663;
    overflow-wrap: anywhere;
}

.page-legale footer p,
footer > p {
    margin: 0 0 0.75rem;
    text-align: center;
}

@media (max-width: 700px) {
    .presentation-contenu {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .activites {
        grid-template-columns: 1fr;
    }
    .navigation-principale {
        gap: 1.5rem;
        padding: 0.75rem;
    }
    .bandeau {
        min-height: 180px;
    }
    .logo {
        width: 160px;
        height: 160px;
        padding: 0.75rem;
    }
    .presentation {
        padding: 2rem 1rem 0.75rem;
    }
    .presentation h1 {
        font-size: 1.5rem;
    }
    .cadre-portrait {
        width: 150px;
        height: 150px;
    }
    .liste-reseaux {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .retour-accueil {
    margin: 1rem;
}

.titre-page {
    font-size: 1.6rem;
    padding-bottom: 1rem;
}

.page-legale {
    padding: 0.5rem 1rem 2rem;
}

.page-legale section {
    padding: 1.25rem 0;
}
}