*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    background-color: #f4f4f6;
    margin: 0;
    min-height: 100%;
    padding: 0;
}

body {
    color: #333;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
    text-align: right;
}

main {
    background-color: #f4f4f6;
    margin: 0;
    min-height: 100vh;
    padding: 35px;
    width: 100%;
}

section,
.page-index,
.contenu {
    background-color: transparent;
}

h1,
h2 {
    color: #8c6553;
    font-weight: 500;
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin: 34px 0 20px;
}

h2 {
    border-bottom: 2px solid #d0eeef;
    font-size: 1.7rem;
    margin: 50px 0 30px;
    padding-bottom: 12px;
}

.partage-reseaux {
    direction: rtl;
    margin: 0 auto;
    padding: 20px 16px 10px;
    text-align: center;
}

.partage-reseaux h2 {
    border-bottom: none;
    font-size: 1.3rem;
    margin: 0 0 12px;
    padding-bottom: 0;
}

.partage-liens {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.partage-liens a {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    width: 36px;
}

.partage-liens svg {
    display: block;
    fill: #8c6553;
    height: 24px;
    width: 24px;
}

.partage-liens a:hover svg,
.partage-liens a:focus svg {
    fill: #a47864;
}

.menu-float {
    display: flex;
    justify-content: center;
    margin: 0 auto 34px;
    position: relative;
    width: 100%;
    z-index: 20;
}

.menu-button {
    position: relative;
}

.menu-button.menu-global {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
}

.menu-button.menu-global > button {
    align-self: center;
    background-color: #8c6553;
    border: 2px solid #8c6553;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    min-width: 180px;
    padding: 10px 22px;
    width: auto;
}

.menu-button.menu-global > button:hover,
.menu-button.menu-global > button:focus {
    background-color: #fff;
    color: #8c6553;
}

.menu-button.menu-global .menu-global-dropdown {
    align-self: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    direction: rtl;
    display: none;
    gap: 24px;
    left: auto;
    margin: 12px auto 0;
    max-width: calc(100vw - 36px);
    min-width: 0;
    padding: 0;
    position: static;
    right: auto;
    transform: none;
    width: min(720px, calc(100vw - 36px));
    z-index: 30;
}

.menu-button.menu-global .menu-global-dropdown[aria-hidden="false"] {
    align-items: flex-start;
    display: flex;
    justify-content: center;
}

.menu-section {
    flex: 1 1 160px;
    min-width: 160px;
    text-align: center;
}

.menu-titre {
    border-bottom: 1px solid #d0eeef;
    color: #8c6553;
    font-weight: bold;
    margin: 0 0 10px;
    padding-bottom: 6px;
    text-align: center;
}

.menu-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-liste li {
    margin: 0;
    padding: 0;
}

.menu-liste a {
    color: #333;
    display: block;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.menu-liste a:hover,
.menu-liste a:focus,
.menu-liste a[aria-current="page"] {
    background-color: #f0e5e1;
    color: #8c6553;
}

.titre-oeuvre {
    margin: 30px auto 10px;
    text-align: center;
}

.titre-principal {
    color: #8c6553;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-align: center;
}

.site-complet {
    margin: 0 auto 36px;
    text-align: center;
}

.site-complet a {
    color: #8c6553;
    font-weight: bold;
    text-decoration: none;
}

.site-complet a:hover,
.site-complet a:focus {
    text-decoration: underline;
}

.section-inner {
    margin: 0 auto;
    max-width: 950px;
    text-align: right;
}

.section-inner p {
    margin: 0 auto 1.4rem;
    max-width: 850px;
    text-align: right;
}

.section-inner p:first-child {
    margin-top: 60px;
}

.centered-text {
    text-align: center;
}

.visu {
    display: block;
    margin: 2rem auto;
    text-align: center;
}

.visu-img {
    cursor: zoom-in;
    display: inline-block;
    height: auto;
    max-width: 720px;
    transition: all 0.25s ease;
    width: 40%;
}

.visu-img.is-zoomed {
    cursor: zoom-out;
    max-width: none;
    width: min(95vw, 1200px);
}

footer {
    background-color: #a47864;
    color: #fff;
    font-size: 0.85rem;
    margin-top: 45px;
    min-height: 42px;
    padding: 12px 0;
    text-align: center;
}

footer a {
    color: inherit;
}

@media (max-width: 760px) {
    main {
        padding: 25px 18px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .titre-principal {
        font-size: 1.55rem;
    }

    .menu-button.menu-global {
        max-width: none;
        width: 100%;
    }

    .menu-button.menu-global > button {
        max-width: 280px;
        width: 100%;
    }

    .menu-button.menu-global .menu-global-dropdown {
        max-width: none;
        width: 100%;
    }

    .menu-button.menu-global .menu-global-dropdown[aria-hidden="false"] {
        display: block;
    }

    .menu-section {
        margin-bottom: 18px;
        min-width: 0;
        width: 100%;
    }

    .section-inner p {
        max-width: 100%;
    }

    .visu-img {
        width: 80%;
    }

    .visu-img.is-zoomed {
        width: 95vw;
    }
}

html[dir="rtl"] .menu-titre {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0;
}

html[dir="rtl"] .menu-liste a {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.7;
    padding: 10px 14px;
}

html[lang="ar"] .menu-liste a,
html[lang="fa"] .menu-liste a {
    font-family: Tahoma, Arial, sans-serif;
}

html[lang="he"] .menu-liste a {
    font-family: Arial, Tahoma, sans-serif;
}

@media (max-width: 760px) {
    html[dir="rtl"] .menu-titre {
        font-size: 1.25rem;
    }

    html[dir="rtl"] .menu-liste a {
        font-size: 1.18rem;
        line-height: 1.8;
        padding: 11px 12px;
    }
}