/* ==========================================
    FONTS
   ========================================== */

@font-face {
    font-family: 'Avara_Bold';
    src:    url('../fonts/Bold/Avara-Bold.eot');
    src:    url('../fonts/Bold/Avara-Bold.eot?#iefix') format('embedded-opentype'),
            url('../fonts/Bold/Avara-Bold.ttf') format('truetype'),
            url('../fonts/Bold/Avara-Bold.woff') format('woff'),
            url('../fonts/Bold/Avara-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avara_Bold_Italic';
    src:    url('../fonts/BoldItalic/Avara-BoldItalic.eot');
    src:    url('../fonts/BoldItalic/Avara-BoldItalic.eot?#iefix') format('embedded-opentype'),
            url('../fonts/BoldItalic/Avara-BoldItalic.ttf') format('truetype'),
            url('../fonts/BoldItalic/Avara-BoldItalic.woff') format('woff'),
            url('../fonts/BoldItalic/Avara-BoldItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avara_Black';
    src:    url('../fonts/Black/Avara-Black.eot');
    src:    url('../fonts/Black/Avara-Black.eot?#iefix') format('embedded-opentype'),
            url('../fonts/Black/Avara-Black.ttf') format('truetype'),
            url('../fonts/Black/Avara-Black.woff') format('woff'),
            url('../fonts/Black/Avara-Black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================
   VARIABLES ET CONFIGURATION GLOBALE
   ========================================== */

:root {
    --base-title-color: #5f7aae;
    --base-text-color: #8C0303;
    --base-bg-color: #BCBF5E;
    --base-primary-post-it-color: #FDDA96;
    --base-primary-post-it-color-dark: #B19969;
    --base-secondary-post-it-color: #F9E6D8;
    --base-secondary-post-it-color-dark: #AEA197;

    --aragne-2025-title-color: #378C55;
    --aragne-2025-text-color: #31593B;
    --aragne-2025-bg-color: #A9D9BA;
    --aragne-2025-primary-post-it-color: #D4EDDD;
    --aragne-2025-primary-post-it-color-dark: #94A69B;
    --aragne-2025-secondary-post-it-color: #F9E6D8;
    --aragne-2025-secondary-post-it-color-dark: #AEA197;

    --aragne-2026-title-color: #724405;
    --aragne-2026-text-color: #8C0303;
    --aragne-2026-bg-color: #F2A172;
    --aragne-2026-primary-post-it-color: #FECAAC;
    --aragne-2026-primary-post-it-color-dark: #B28D78;
    --aragne-2026-secondary-post-it-color: #F9E6D8;
    --aragne-2026-secondary-post-it-color-dark: #AEA197;

    --tabula-rasa-title-color: #735D6D;
    --tabula-rasa-text-color: #59324F;
    --tabula-rasa-bg-color: #D0B3C9;
    --tabula-rasa-primary-post-it-color: #F6E2F1;
    --tabula-rasa-primary-post-it-color-dark: #AC9EA9;
    --tabula-rasa-secondary-post-it-color: #F2F2F2;
    --tabula-rasa-secondary-post-it-color-dark: #A9A9A9;

    --tape-gray: #dbd8be;
    --tape-edge-gray: #b7b49d;
    --transparent: rgba(255, 255, 255, 0);
    --post-it-texture-opacity: 0.25;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url('../img/05.png');
    background-size: 100%;
    background-repeat: repeat;
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: var(--base-bg-color);
    mix-blend-mode: multiply;
    z-index: 0;
    pointer-events: none;
}

header, main, footer, .container {
    position: relative;
    isolation: isolate;
}

main {
    z-index: 1;
    flex: 1;
}

header, footer, .container {
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--base-title-color);
    font-family: 'Avara_Black', sans-serif;
}

h1 {
    font-size: 30px;
    margin: 20px 0px;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: max-content;
    width: max-content;
    padding: 50px 25px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../img/title.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(2px 4px 1px rgba(0,0,0,0.3));
}

h2 {
    font-size: 20px;
    margin: 15px 0;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: max-content;
    width: max-content;
    padding: 50px 25px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../img/title.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(2px 4px 1px rgba(0,0,0,0.3));
}

p {
    color: var(--base-text-color);
    font-family: 'Avara_Bold', sans-serif;
    font-size: 13px;
    line-height: normal;
}

em {
    color: var(--base-text-color);
    font-family: 'Avara_Bold_Italic', sans-serif;
    font-size: 13px;
    line-height: normal;
}

strong {
    color: var(--base-text-color);
    font-family: 'Avara_Black', sans-serif;
    font-size: 13px;
    line-height: normal;
}

a {
    color: var(--base-text-color);
    font-family: 'Avara_Bold', sans-serif;
    font-size: 13px;
    line-height: normal;
}

a:hover {
    color: var(--base-title-color);
}

.legend {
    color: black;
    font-family: 'Avara_Bold', sans-serif;
    font-size: 9px;
    line-height: normal;
}

.legend em {
    color: black;
    font-family: 'Avara_Bold_Italic', sans-serif;
    font-size: 9px;
    line-height: normal;
}

.primary {
  --paper-color: var(--base-primary-post-it-color);
  --paper-dark: var(--base-primary-post-it-color-dark);
  --shadow-size: 1px;
}

.secondary {
  --paper-color: var(--base-secondary-post-it-color);
  --paper-dark: var(--base-secondary-post-it-color-dark);
  --shadow-size: 3px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: max-content;
    width: fit-content;
    color: var(--base-title-color);
    font-family: 'Avara_Bold', sans-serif;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    padding: 15px 50px;
    margin: 10px 0; border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url(../img/tapes/14.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    filter: drop-shadow(2px 4px 1px rgba(0,0,0,0.3));
    transition: filter 0.3s, color 0.3s;
}

.btn:hover {
    filter: drop-shadow(2px 6px 3px rgba(0,0,0,0.4));
    color: var(--base-text-color);
}

/* utilitaire pour les screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================
   LAYOUT
   ========================================== */

.container{
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.lift-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    width: 95%;
    justify-content: center;
}

.lift-container-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.images-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 95%;
}

.btn-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.membre, .artiste {
    display: flex;
    flex-direction: row-reverse;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: 50px 0;
}

.membre:nth-child(even), .artiste:nth-child(even) {
    flex-direction: row;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */

.header {
    position: relative;
    background-image: url(../img/header.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10px 0;
    filter: drop-shadow(0px 6px 1px rgba(0,0,0,0.3));
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo a {
    color: var(--base-title-color);
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu-wrapper {
    width: 100%;
    justify-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-menu li {
    position: relative;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.nav-menu li > a {
    display: inline-block;
    background-image: url(../img/tapes/14.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 10px 15px;
    filter: drop-shadow(2px 4px 1px rgba(0,0,0,0.3));
}

.nav-menu li a {
    color: var(--base-title-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--base-text-color);
}

.menu-accordeon {
    position: relative;
}

.menu-accordeon ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    width: max-content;
    padding-top: 10px;
}

.menu-accordeon li {
    padding: 5px 15px;
    width: fit-content;
}

.menu-accordeon:hover ul {
    display: block;
}

/* Menu burger pour mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--base-title-color);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background-image: url('../img/footer2.png');
    background-size: cover;
    background-repeat: repeat;
    padding-top: 80px;
    padding-bottom: 20px;
    margin-top: 50px;
}

.footer .container {
    display: grid;
    grid-template-columns: 45% 45% 10%;
    row-gap: 20px;
    justify-content: center;
}

.footer-info {
    grid-column: 1;
    grid-row: 1;
    margin: 0 auto;
}

.footer-info h3 {
    margin-bottom: 45px;
}

.footer-info p {
    margin-top: 19px;
}

.footer-social {
    grid-column: 2;
    grid-row: 1;
    margin: 0 auto;
}

.footer-social h3 {
    margin-bottom: 35px
}

.footer-social ul {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.footer-social svg {
    fill: var(--base-text-color);
}

.footer-copyright {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.footer-links{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-back-to-top {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
}

#back-to-top {
    border: none;
    position: relative;
    background: none;
    background-image: url(../img/tapes/06.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 30px 10px;
    transition: padding 0.3s;
}

#back-to-top:hover {
    padding: 40px 10px;
}

#back-to-top svg {
    transform: rotate(-90deg);
    height: auto;
    overflow: visible;
    transition: transform 0.3s;
}

#back-to-top svg path {
    stroke: var(--base-title-color);
    transition: stroke 0.3s, transform 0.3s;
}

#back-to-top:hover svg path {
    stroke: var(--base-text-color);
    transform: scaleX(1.2);
}

/* ==========================================
   POST-IT EFFECT
   ========================================== */

.post-it {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 350px;
    height: fit-content;
    max-height: 350px;
    padding: 20px;
    background-color: var(--paper-color);
}

.post-it::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../img/paper-texture.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    opacity: var(--post-it-texture-opacity);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.post-it-wrapper {
    position: relative;
    isolation: isolate;
    width: fit-content;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.post-it-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 60%;
    bottom: -5%;
    right: -2%;
    border-radius: 10px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    pointer-events: none;
    z-index: -1;
    transform: rotate(-2deg);
    filter: blur(10px);
}

.post-it p {
    position: relative;
    z-index: 1;
    margin: auto;
    line-height: normal;
}

/* ==========================================
   LIFT EFFECT
   ========================================== */

.lift {
    width: 350px;
    height: fit-content;
    align-content: center;
    justify-items: center;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    background: var(--paper-color);
}

.lift::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../img/paper-texture.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    opacity: var(--post-it-texture-opacity);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.lift-wrapper {
    position: relative;
    isolation: isolate;
    width: fit-content;
    height: fit-content;
    margin-top: 30px;
    margin-bottom: 30px;
}

.lift-wrapper::after,
.lift-wrapper::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 45%;
    height: 20%;
    bottom: 10px;
    box-shadow: 0 10px 4px black;
    transition: all 0.4s;
}

.lift-wrapper::after {
    right: 3px;
    transform: rotate(4deg);
}

.lift-wrapper::before {
    left: 3px;
    transform: rotate(-4deg);
}

.lift-wrapper:hover::after,
.lift-wrapper:hover::before {
    bottom: 15px;
    transform: rotate(0deg);
}

.lift h2, h3, h4, h5, h6{
    margin-bottom: 10px;
}

.lift p {
    position: relative;
    z-index: 1;
    margin: auto;
    line-height: normal;
}

.lift ul {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ==========================================
   LEGEND WRAPPER (légende post-it sous la photo)
   ========================================== */

.legend-wrapper {
    position: absolute;
    isolation: isolate;
    z-index: 1;
    width: fit-content;
    height: fit-content;
    left: 50%;
    transform: translateX(-50%) rotate(1deg);
    transition: transform 0.4s;
}

.legend-wrapper::after,
.legend-wrapper::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 45%;
    height: 20%;
    bottom: 10px;
    box-shadow: 0 10px 4px black;
    transition: all 0.4s;
}

.legend-wrapper::after {
    right: 3px;
    transform: rotate(4deg);
}

.legend-wrapper::before {
    left: 3px;
    transform: rotate(-4deg);
}

/*
.legend-wrapper:hover::after,
.legend-wrapper:hover::before {
    bottom: 15px;
    transform: rotate(0deg);
}
*/

.legend-wrapper .legend {
    width: 250px;
    max-width: 60vw;
    height: fit-content;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 15px;
    padding-top: 25px;
    position: relative;
    background: var(--paper-color, var(--base-secondary-post-it-color));
    text-align: center;
}

.legend-wrapper .legend::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../img/paper-texture.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    opacity: var(--post-it-texture-opacity);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

/* ==========================================
   RIPPED PAPER EFFECT
   ========================================== */

.ripped-paper-container {
    position: relative;
    width: 400px;
    margin: 40px auto;

    filter: drop-shadow(-1px 6px 3px rgba(0, 0, 0, 0.5));

    .ripped-box {
        height: auto;
        overflow: hidden;
        padding: 20px;
        background: #fff;

        clip-path: polygon(
            1% 2%,
            3.5% 0.1%,
            8.9% 2.7%,
            16.2% 1.2%,
            19.7% 0.8%,
            24.7% 2%,
            31.2% 0%,
            35.9% 2.3%,
            40.6% 0.5%,
            47.1% 1.8%,
            49.9% 1%,
            53.8% 2.5%,
            62.2% 0.4%,
            67.3% 1.2%,
            70.3% 0.3%,
            75.8% 1.4%,
            78.5% 1.7%,
            84% 2.6%,
            91.1% 0.5%,
            93.6% 2.4%,
            97.3% 0.3%,
            98.9% 6%,
            98.1% 11.4%,
            98.6% 15.5%,
            97.3% 17.8%,
            97.7% 27.4%,
            98.3% 28.5%,
            99.7% 34.1%,
            98.8% 41.9%,
            98.3% 45.7%,
            98.4% 50.9%,
            98.7% 57.4%,
            99.6% 60.4%,
            99.4% 66.6%,
            99.2% 69.5%,
            97.4% 77.1%,
            98.1% 82.3%,
            99.9% 83.5%,
            98.2% 91.5%,
            99.3% 95.3%,
            98% 98.6%,
            93.6% 97.4%,
            90.3% 98.3%,
            86.8% 98.3%,
            78.6% 98.5%,
            76.4% 99.2%,
            69.7% 99.8%,
            64.2% 99.3%,
            61.8% 99.2%,
            57.2% 98.1%,
            48.7% 98.3%,
            46.8% 99%,
            39.6% 98.9%,
            33.8% 97.3%,
            28.2% 99.4%,
            27% 98.3%,
            22.1% 98.6%,
            13.1% 97.1%,
            8.7% 99.3%,
            2.7% 97.4%,
            2% 98.2%,
            2.1% 94.3%,
            0.7% 90.5%,
            0.9% 86.3%,
            2.2% 78.2%,
            0.4% 76.7%,
            1.2% 72.1%,
            2% 64%,
            1.4% 59.8%,
            0.4% 57.3%,
            0.3% 49.1%,
            2.9% 44.7%,
            1.9% 41.3%,
            0.8% 35.7%,
            2.9% 31.3%,
            0.8% 24.9%,
            2.7% 20.5%,
            0.8% 17.4%,
            2.5% 8.6%,
            1.1% 5.5%
        );
    }
}

/* ==========================================
   SHUFFLED PAPERS EFFECT
   ========================================== */

.shuffled-papers, .shuffled-papers:before, .shuffled-papers:after  {
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.1), 1px 1px 3px rgba(0,0,0,0.2);
}

.shuffled-papers  {
  position: relative;
  width: 50%;
  padding: 2em;
  margin: 50px auto;
}

.shuffled-papers:before, .shuffled-papers:after  {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: rotateZ(2.5deg);
  -o-transform: rotate(2.5deg);
  transform: rotateZ(2.5deg);
  z-index: -1;
}

.shuffled-papers:after  {
  -webkit-transform: rotateZ(-2.5deg);
  -o-transform: rotate(-2.5deg);
  transform: rotateZ(-2.5deg);
}

.shuffled-papers h2  {
  text-align: center;
  padding: 0.2em 0;
  margin: 0;
  border-top: 1px solid #ddd;
  border-bottom: 2px solid #ddd;
}

.shuffled-papers p  {
  text-align: left;
  margin: 1,5em 0;
}

/* ==========================================
   LETTER EFFECT
   ========================================== */

.letter {
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  margin: 26px auto 0;
  max-width: 550px;
  min-height: 300px;
  padding: 24px;
  position: relative;
  width: 80%;
}
.letter:before, .letter:after {
  content: "";
  height: 98%;
  position: absolute;
  width: 100%;
  z-index: -1;
}
.letter:before {
  background: #fafafa;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  left: -5px;
  top: 4px;
  transform: rotate(-2.5deg);
}
.letter:after {
  background: #f6f6f6;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  right: -3px;
  top: 1px;
  transform: rotate(1.4deg);
}

/* ==========================================
   IMAGE EFFECT
   ========================================== */

/* wrapper — contexte de positionnement */
.photo-wrap {
    position: relative;
    display: block;
    width: fit-content;
    height: fit-content;
    margin-top: 3%;
    margin-bottom: 3%;
    margin-left: 3%;
    margin-right: 3%;
}

/* photo principale — ombre qui suit la forme */
.photo-main {
    position: relative;
    display: block;
    max-width: 65vw;
    height: auto;
    z-index: 2;
}

/* décors — positionnés par-dessus, pas interactifs */
.decor {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 3;
}

.pin {
    width: 10% !important;
    max-width: 50px !important;
    height: auto;
    z-index: 3;
}

/* placement scotch centré en haut */
.decor-tape-top {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-2deg);
}

/* placement scotch centré en bas */
.decor-tape-bottom {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%) rotate(2deg);
}

/* placement scotch centré à gauche */
.decor-tape-left {
    height: 30%;
    max-height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    top: 50%;
    left: 0;
    transform: translateX(-50%) translateY(-50%) rotate(-2deg);
}

/* placement scotch centré à droite */
.decor-tape-right {
    height: 30%;
    max-height: 200px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    top: 50%;
    right: 0;
    transform: translateX(50%) translateY(-50%) rotate(2deg);
}

/* placement scotch en haut à gauche */
.decor-tape-top-left {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    top: 2%;
    left: 2%;
    transform: translateX(-50%) translateY(-50%) rotate(-47deg);
}

/* placement scotch en haut à droite */
.decor-tape-top-right {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    top: 2%;
    right: 2%;
    transform: translateX(50%) translateY(-50%) rotate(47deg);
}

/* placement scotch en bas à gauche */
.decor-tape-bottom-left {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    bottom: 2%;
    left: 2%;
    transform: translateX(-50%) translateY(50%) rotate(47deg);
}

/* placement scotch en bas à droite */
.decor-tape-bottom-right {
    width: 30%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    bottom: 2%;
    right: 2%;
    transform: translateX(50%) translateY(50%) rotate(-47deg);
}

/* évite que la légende chevauche l'élément suivant */
.photo-wrap:has(.legend-wrapper) {
    margin-bottom: 8%;
}

/* classe de bordures blanches utilitaires */
.white-border {
    border: 10px solid white;
}

/* classes de rotation utilitaires */
.rotate-left  { transform: rotate(-3deg); }
.rotate-right { transform: rotate(2deg); }
.rotate-none  { transform: rotate(0deg); }

/* classes de shadows utilitaires */
.shadow-none  { filter: drop-shadow(0px 0px 0px rgba(0,0,0,0)); }
.shadow-top   { filter: drop-shadow(0px -6px 8px rgba(0,0,0,0.85)); }
.shadow-bottom{ filter: drop-shadow(0px 6px 8px rgba(0,0,0,0.85)); }
.shadow-left  { filter: drop-shadow(-6px 0px 8px rgba(0,0,0,0.85)); }
.shadow-right { filter: drop-shadow(6px 0px 8px rgba(0,0,0,0.85)); }
.shadow-top-left     { filter: drop-shadow(-6px -6px 8px rgba(0,0,0,0.85)); }
.shadow-top-right    { filter: drop-shadow(6px -6px 8px rgba(0,0,0,0.85)); }
.shadow-bottom-left  { filter: drop-shadow(-6px 6px 8px rgba(0,0,0,0.85)); }
.shadow-bottom-right { filter: drop-shadow(6px 6px 8px rgba(0,0,0,0.85)); }

/* ==========================================
   VIDEO
   ========================================== */

video {
    display: block;
    width: 800px;
    height: auto;
    max-height: 600px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.video-wrapper {
    position: relative;
    width: 800px;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    aspect-ratio: 16 / 9;
    margin: 50px auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media screen and (max-width: 1320px) {

    .container {
        width: 100%;
        max-width: 924px;
        margin: 0 auto;
    }

    .menu-accordeon ul {
        position: static;
        width: auto;
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 0px;
    }

    .menu-accordeon:hover ul {
        display: flex;
    }

    .menu-accordeon li {
        padding: 0px 10px;
    }
}

@media screen and (max-width: 1024px) {

    .container {
        width: 100%;
        max-width: 688px;
        margin: 0 auto;
    }

    video {
        width: 600px;
        max-height: 500px;
    }
}

@media screen and (max-width: 788px) {
    
    .container {
        width: 100%;
        max-width: 385px;
        margin: 0 auto;
    }

    .navbar .container {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .nav-menu-wrapper.open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .menu-accordeon ul {
        position: static;
        display: none;
        padding-top: 10px;
        text-align: center;
    }

    .menu-accordeon:hover ul {
        display: none; /* le hover ne marche pas au tactile */
    }

    .menu-accordeon.open ul {
        display: block;
    }

    .footer .container {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .footer-info, .footer-social, .footer-copyright, .footer-back-to-top {
        grid-column: 1;
        grid-row: auto;
        margin: 0 auto;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 10px;
        margin-top: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social ul {
        gap: 30px;
    }

    video {
        width: 300px;
        max-height: 400px;
    }
}

@media screen and (max-width: 525px) {

    .container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    h1, h2 {
        max-width: 250px;
    }

    .lift {
        width: 250px;
    }

    .btn {
        max-width: 250px;
        flex-wrap: wrap;
        font-size: 16px;
    }

    video {
        width: 250px;
        max-height: 300px;
    }
}