@import url('https://fonts.googleapis.com/css?family=Nunito');



body {

    font: normal 1rem Nunito;

    margin: 0;

    background-color: aliceblue;

}



/* ============================================
   Navigation Bar - Design Moderne
   ============================================ */

.navbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 90px;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(10px);

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);

    margin: 0;

    padding: 0 40px;

    z-index: 1000;

    transition: all 0.3s ease;

    border-bottom: 2px solid;

}





.navbar img {

    height: 70px;

    width: auto;

    transition: transform 0.3s ease;

}



.navbar img:hover {

    transform: scale(1.05);

}



.navbar > li {

    list-style: none;

    position: relative;

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

}



.navbar > li:first-child {

    flex: 0 0 auto;

    justify-content: flex-start;

    margin-right: auto;

    position: relative;

}



.navbar > li:first-child::after {

    content: '';

    position: absolute;

    right: -20px;

    top: 50%;

    transform: translateY(-50%);

    width: 1px;

    height: 40px;

    background: linear-gradient(to bottom, transparent, rgba(117, 122, 118, 0.3), transparent);

}



.navbar > div {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

}



.navbar > div:not(:last-child)::after {

    content: '';

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    width: 1px;

    height: 40px;

    background: linear-gradient(to bottom, transparent, rgba(117, 122, 118, 0.3), transparent);

}



.navbar > div > li {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

}



.navbar .mpc a,

.navbar .coaching a,

.navbar .therapie a,

.navbar .autre a {

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    height: 50px;

    padding: 0 20px;

    border-radius: 12px;

    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    font-size: 0.95rem;

    font-weight: 600;

    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    position: relative;

    white-space: nowrap;

}



.navbar .mpc a {

    color: rgb(0, 153, 32);

}



.navbar .coaching a {

    color: rgb(43, 80, 142);

}



.navbar .therapie a {

    color: rgb(255, 119, 51);

}



.navbar .autre a {

    color: rgb(117, 122, 118);

}



.navbar .mpc a:hover,

.navbar .coaching a:hover,

.navbar .therapie a:hover,

.navbar .autre a:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}



.navbar .mpc a:hover {

    background: rgba(0, 153, 32, 0.1);

    color: rgb(0, 153, 32);

}



.navbar .coaching a:hover {

    background: rgba(43, 80, 142, 0.1);

    color: rgb(43, 80, 142);

}



.navbar .therapie a:hover {

    background: rgba(255, 119, 51, 0.1);

    color: rgb(255, 119, 51);

}



.navbar .autre a:hover {

    background: rgba(117, 122, 118, 0.1);

    color: rgb(117, 122, 118);

}



/* Dropdown Menus - Style Moderne */
.navbar .mpc li ul,
.navbar .coaching li ul,
.navbar .therapie li ul,
.navbar .autre li ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear;
    z-index: 1001;
    pointer-events: none;
}

.navbar .mpc li:hover ul,
.navbar .coaching li:hover ul,
.navbar .therapie li:hover ul,
.navbar .autre li:hover ul,
.navbar .mpc li ul:hover,
.navbar .coaching li ul:hover,
.navbar .therapie li ul:hover,
.navbar .autre li ul:hover {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease 0s, visibility 0s linear 0s;
    pointer-events: auto;
    animation: fadeInDown 0.3s ease forwards;
}

.navbar .mpc li ul li,
.navbar .coaching li ul li,
.navbar .therapie li ul li,
.navbar .autre li ul li {
    background-color: transparent;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar .mpc li ul li a,
.navbar .coaching li ul li a,
.navbar .therapie li ul li a,
.navbar .autre li ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 0.9rem;
    height: auto;
    min-height: 48px;
    padding: 12px 20px;
    margin: 2px 8px;
    border-radius: 10px;
    text-align: left;
    transition: all 0.2s ease;
    white-space: normal;
    line-height: 1.4;
}





/* Hover effects pour les items du dropdown */
.navbar .mpc li ul li a:hover {
    color: white;
    background-color: rgb(0, 153, 32);
    transform: translateX(4px);
}

.navbar .coaching li ul li a:hover {
    color: white;
    background-color: rgb(43, 80, 142);
    transform: translateX(4px);
}

.navbar .therapie li ul li a:hover {
    color: white;
    background-color: rgb(255, 119, 51);
    transform: translateX(4px);
}

.navbar .autre li ul li a:hover {
    color: white;
    background-color: rgb(117, 122, 118);
    transform: translateX(4px);
}

/* Animation pour le dropdown */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* Design moderne de bibliothèque pour la page Ressources */
.ressource-hero-container {
    min-height: calc(100vh - 120px);
    padding: 120px 40px 60px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

.ressource-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(117, 122, 118, 0.2);
}

.ressource-quote-line {
    margin: 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: rgb(117, 122, 118);
    text-align: center;
    line-height: 1.6;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.3px;
}

.ressource-library {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.ressource-pile {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ressource-book {
    position: relative;
    width: 100%;
    height: 140px;
    display: flex;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    overflow: visible;
}

/* Extension de la couleur de la tranche jusqu'aux traits horizontaux - traits supérieurs */
.ressource-book-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(190, 30, 30);
    z-index: 5;
}

.ressource-book-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(220, 120, 50);
    z-index: 5;
}

.ressource-book-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(0, 130, 30);
    z-index: 5;
}

.ressource-book-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(35, 65, 125);
    z-index: 5;
}

.ressource-book-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(230, 200, 30);
    z-index: 5;
}

.ressource-book-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(130, 80, 180);
    z-index: 5;
}

.ressource-book-7::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(230, 80, 130);
    z-index: 5;
}

.ressource-book-8::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(80, 160, 180);
    z-index: 5;
}

/* Extension de la couleur de la tranche jusqu'aux traits horizontaux - traits inférieurs */
.ressource-book-1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(190, 30, 30);
    z-index: 5;
}

.ressource-book-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(220, 120, 50);
    z-index: 5;
}

.ressource-book-3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(0, 130, 30);
    z-index: 5;
}

.ressource-book-4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(35, 65, 125);
    z-index: 5;
}

.ressource-book-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(230, 200, 30);
    z-index: 5;
}

.ressource-book-6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(130, 80, 180);
    z-index: 5;
}

.ressource-book-7::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(230, 80, 130);
    z-index: 5;
}

.ressource-book-8::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 154px;
    height: 5px;
    background: rgb(80, 160, 180);
    z-index: 5;
}

.ressource-book:hover {
    transform: translateX(20px) translateY(-2px);
    z-index: 10;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

/* Pages visibles de face - beige avec courbes arrondies en haut et en bas */
.ressource-book-pages {
    width: 150px;
    flex-shrink: 0;
    background: 
        linear-gradient(to bottom, #faf8f3 0%, #f5f5dc 30%, #f0f0e0 50%, #f5f5dc 70%, #faf8f3 100%),
        linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, transparent 5%, transparent 95%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 8px 12px 12px 8px;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 3px solid transparent;
}

/* Traits fins horizontaux sur les pages (lignes de texte) */
.ressource-book-pages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        rgba(0, 0, 0, 0.08) 0.5px,
        transparent 8px,
        rgba(0, 0, 0, 0.08) 8.5px,
        transparent 16px
    );
    pointer-events: none;
    z-index: 1;
}

.ressource-book-pages::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.2) 2%, transparent 4%),
        linear-gradient(to right, transparent 96%, rgba(0, 0, 0, 0.1) 98%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    border-radius: 8px 12px 12px 8px;
    z-index: 1;
}

/* Extensions des traits horizontaux vers la gauche */
.ressource-book-1 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(190, 30, 30);
    z-index: 11;
}

.ressource-book-1 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(190, 30, 30);
    z-index: 11;
}

.ressource-book-2 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(220, 120, 50);
    z-index: 11;
}

.ressource-book-2 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(220, 120, 50);
    z-index: 11;
}

.ressource-book-3 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(0, 130, 30);
    z-index: 11;
}

.ressource-book-3 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(0, 130, 30);
    z-index: 11;
}

.ressource-book-4 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(35, 65, 125);
    z-index: 11;
}

.ressource-book-4 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(35, 65, 125);
    z-index: 11;
}

.ressource-book-5 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(230, 200, 30);
    z-index: 11;
}

.ressource-book-5 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(230, 200, 30);
    z-index: 11;
}

.ressource-book-6 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(130, 80, 180);
    z-index: 11;
}

.ressource-book-6 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(130, 80, 180);
    z-index: 11;
}

.ressource-book-7 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(230, 80, 130);
    z-index: 11;
}

.ressource-book-7 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(230, 80, 130);
    z-index: 11;
}

.ressource-book-8 .ressource-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(80, 160, 180);
    z-index: 11;
}

.ressource-book-8 .ressource-book::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 5px;
    background: rgb(80, 160, 180);
    z-index: 11;
}

.ressource-book-spine-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ressource-book-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    order: 2;
}

.ressource-book:hover .ressource-book-icon {
    transform: scale(1.15) rotate(-5deg);
}

.ressource-book-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.ressource-book:hover .ressource-book-icon img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transform: scale(1.1);
}

.ressource-book-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    padding: 0 16px;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    white-space: normal;
    word-wrap: break-word;
    flex: 1;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tranche du livre (spine) - très réaliste à droite */
.ressource-book-spine {
    width: 360px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        5px 0 15px rgba(0, 0, 0, 0.5),
        2px 0 8px rgba(0, 0, 0, 0.3),
        inset -3px 0 8px rgba(0, 0, 0, 0.4),
        inset 3px 0 5px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border-right: 4px solid rgba(0, 0, 0, 0.6);
    border-left: none;
    border-top: none;
    border-bottom: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: visible;
}

.ressource-book-spine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.1) 5%),
        linear-gradient(to right, transparent 95%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    z-index: 2;
}

.ressource-book-spine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: calc(100% + 150px);
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.ressource-book-spine-band {
    display: none;
}

.ressource-book-spine-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.4) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0, 0, 0, 0.1) 100%
    );
    border-radius: 2px;
}

/* Couleurs différentes pour chaque tranche de livre - très réalistes avec textures */
.ressource-book-1 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(210, 50, 50) 0%, 
            rgb(190, 30, 30) 15%, 
            rgb(180, 20, 20) 30%,
            rgb(175, 15, 15) 50%,
            rgb(180, 20, 20) 70%,
            rgb(190, 30, 30) 85%,
            rgb(210, 50, 50) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-2 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(240, 140, 70) 0%, 
            rgb(220, 120, 50) 15%, 
            rgb(210, 110, 40) 30%,
            rgb(205, 105, 35) 50%,
            rgb(210, 110, 40) 70%,
            rgb(220, 120, 50) 85%,
            rgb(240, 140, 70) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-3 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(10, 150, 40) 0%, 
            rgb(0, 130, 30) 15%, 
            rgb(0, 120, 20) 30%,
            rgb(0, 115, 15) 50%,
            rgb(0, 120, 20) 70%,
            rgb(0, 130, 30) 85%,
            rgb(10, 150, 40) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-4 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(50, 85, 145) 0%, 
            rgb(35, 65, 125) 15%, 
            rgb(25, 55, 115) 30%,
            rgb(20, 50, 110) 50%,
            rgb(25, 55, 115) 70%,
            rgb(35, 65, 125) 85%,
            rgb(50, 85, 145) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-5 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(250, 220, 50) 0%, 
            rgb(230, 200, 30) 15%, 
            rgb(220, 190, 20) 30%,
            rgb(215, 185, 15) 50%,
            rgb(220, 190, 20) 70%,
            rgb(230, 200, 30) 85%,
            rgb(250, 220, 50) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-6 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(150, 100, 200) 0%, 
            rgb(130, 80, 180) 15%, 
            rgb(120, 70, 170) 30%,
            rgb(115, 65, 165) 50%,
            rgb(120, 70, 170) 70%,
            rgb(130, 80, 180) 85%,
            rgb(150, 100, 200) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-7 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(250, 100, 150) 0%, 
            rgb(230, 80, 130) 15%, 
            rgb(220, 70, 120) 30%,
            rgb(215, 65, 115) 50%,
            rgb(220, 70, 120) 70%,
            rgb(230, 80, 130) 85%,
            rgb(250, 100, 150) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

.ressource-book-8 .ressource-book-spine {
    background: 
        linear-gradient(to bottom, 
            rgb(100, 180, 200) 0%, 
            rgb(80, 160, 180) 15%, 
            rgb(70, 150, 170) 30%,
            rgb(65, 145, 165) 50%,
            rgb(70, 150, 170) 70%,
            rgb(80, 160, 180) 85%,
            rgb(100, 180, 200) 100%
        ),
        linear-gradient(to right, transparent 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2) 100%);
}

/* Traits horizontaux sur les pages dans la continuité de la tranche - couleur de chaque livre */
.ressource-book-1 .ressource-book-pages {
    border-top: 5px solid rgb(190, 30, 30);
    border-bottom: 5px solid rgb(190, 30, 30);
    border-right: 3px solid rgb(190, 30, 30);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(190, 30, 30),
        -4px calc(100% + 0px) 0 0 rgb(190, 30, 30);
}

.ressource-book-2 .ressource-book-pages {
    border-top: 5px solid rgb(220, 120, 50);
    border-bottom: 5px solid rgb(220, 120, 50);
    border-right: 3px solid rgb(220, 120, 50);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(220, 120, 50),
        -4px calc(100% + 0px) 0 0 rgb(220, 120, 50);
}

.ressource-book-3 .ressource-book-pages {
    border-top: 5px solid rgb(0, 130, 30);
    border-bottom: 5px solid rgb(0, 130, 30);
    border-right: 3px solid rgb(0, 130, 30);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(0, 130, 30),
        -4px calc(100% + 0px) 0 0 rgb(0, 130, 30);
}

.ressource-book-4 .ressource-book-pages {
    border-top: 5px solid rgb(35, 65, 125);
    border-bottom: 5px solid rgb(35, 65, 125);
    border-right: 3px solid rgb(35, 65, 125);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(35, 65, 125),
        -4px calc(100% + 0px) 0 0 rgb(35, 65, 125);
}

.ressource-book-5 .ressource-book-pages {
    border-top: 5px solid rgb(230, 200, 30);
    border-bottom: 5px solid rgb(230, 200, 30);
    border-right: 3px solid rgb(230, 200, 30);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(230, 200, 30),
        -4px calc(100% + 0px) 0 0 rgb(230, 200, 30);
}

.ressource-book-6 .ressource-book-pages {
    border-top: 5px solid rgb(130, 80, 180);
    border-bottom: 5px solid rgb(130, 80, 180);
    border-right: 3px solid rgb(130, 80, 180);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(130, 80, 180),
        -4px calc(100% + 0px) 0 0 rgb(130, 80, 180);
}

.ressource-book-7 .ressource-book-pages {
    border-top: 5px solid rgb(230, 80, 130);
    border-bottom: 5px solid rgb(230, 80, 130);
    border-right: 3px solid rgb(230, 80, 130);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(230, 80, 130),
        -4px calc(100% + 0px) 0 0 rgb(230, 80, 130);
}

.ressource-book-8 .ressource-book-pages {
    border-top: 5px solid rgb(80, 160, 180);
    border-bottom: 5px solid rgb(80, 160, 180);
    border-right: 3px solid rgb(80, 160, 180);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.1),
        inset 0 -2px 5px rgba(0, 0, 0, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.25),
        -4px -5px 0 0 rgb(80, 160, 180),
        -4px calc(100% + 0px) 0 0 rgb(80, 160, 180);
}

/* Bordures top et bottom sur la tranche pour continuité avec les traits horizontaux */
.ressource-book-1 .ressource-book-spine {
    border-top: 5px solid rgb(190, 30, 30);
    border-bottom: 5px solid rgb(190, 30, 30);
}

.ressource-book-2 .ressource-book-spine {
    border-top: 5px solid rgb(220, 120, 50);
    border-bottom: 5px solid rgb(220, 120, 50);
}

.ressource-book-3 .ressource-book-spine {
    border-top: 5px solid rgb(0, 130, 30);
    border-bottom: 5px solid rgb(0, 130, 30);
}

.ressource-book-4 .ressource-book-spine {
    border-top: 5px solid rgb(35, 65, 125);
    border-bottom: 5px solid rgb(35, 65, 125);
}

.ressource-book-5 .ressource-book-spine {
    border-top: 5px solid rgb(230, 200, 30);
    border-bottom: 5px solid rgb(230, 200, 30);
}

.ressource-book-6 .ressource-book-spine {
    border-top: 5px solid rgb(130, 80, 180);
    border-bottom: 5px solid rgb(130, 80, 180);
}

.ressource-book-7 .ressource-book-spine {
    border-top: 5px solid rgb(230, 80, 130);
    border-bottom: 5px solid rgb(230, 80, 130);
}

.ressource-book-8 .ressource-book-spine {
    border-top: 5px solid rgb(80, 160, 180);
    border-bottom: 5px solid rgb(80, 160, 180);
}

/* Décalages naturels entre les livres */
.ressource-book-1 {
    margin-left: 0px;
}

.ressource-book-2 {
    margin-left: 8px;
}

.ressource-book-3 {
    margin-left: -5px;
}

.ressource-book-4 {
    margin-left: 12px;
}

.ressource-book-5 {
    margin-left: -3px;
}

.ressource-book-6 {
    margin-left: 10px;
}

.ressource-book-7 {
    margin-left: -7px;
}

.ressource-book-8 {
    margin-left: 6px;
}

/* Responsive design */
@media (max-width: 800px) {
    .ressource-library {
        max-width: 600px;
    }
    
    .ressource-book {
        height: 110px;
    }
    
    .ressource-book-pages {
        width: 120px;
    }
    
    .ressource-book-spine {
        width: 280px;
    }
    
    .ressource-book-spine::before {
        left: -120px;
    }
    
    .ressource-book-spine::after {
        left: -120px;
        width: calc(100% + 120px);
    }
    
    .ressource-book-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 0;
    }
    
    .ressource-book-title {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .ressource-library {
        max-width: 90%;
    }
    
    .ressource-book {
        height: 95px;
    }
    
    .ressource-book-pages {
        width: 100px;
    }
    
    .ressource-book-spine {
        width: 240px;
    }
    
    .ressource-book-spine::before {
        left: -100px;
    }
    
    .ressource-book-spine::after {
        left: -100px;
        width: calc(100% + 100px);
    }
    
    .ressource-book-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 0;
    }
    
    .ressource-book-title {
        font-size: 13px;
        padding: 0 10px;
    }
}

/* Anciens styles conservés pour compatibilité */
.redirection {
    display: grid;
    padding-right: 5%;
    padding-top: 7.5%;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 10px;
}



.redirection a {

    text-decoration: none;

    text-justify: center;

    color: white;

    background-color: rgb(117, 122, 118);

}



.box1 { 

    grid-area: 1 / 1 / 5 / 2;

    text-decoration: none;

    text-justify: center;

    color: rgb(117, 122, 118);

}



.box2 { 

    grid-area: 1 / 2 / 2 / 3;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}



.box3 { 

    grid-area: 1 / 3 / 2 / 4;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}



.box4 { 

    grid-area: 2 / 2 / 3 / 3;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

    

}



.box5 { 

    grid-area: 2 / 3 / 3 / 4;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}



.box6 { 

    grid-area: 3 / 2 / 4 / 3;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}



.box7 { 

    grid-area: 3 / 3 / 4 / 4;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}

.box8 { 

    grid-area: 4 / 2 / 5 / 3;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}

.box9 { 

    grid-area: 4 / 3 / 5 / 4;

    background-color: rgb(117, 122, 118);

    border-radius: 40px;

    padding-left: 5%;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    grid-template-rows: 1fr;

    grid-column-gap: 0px;

    grid-row-gap: 0px;

}



.logo { 

    grid-area: 1 / 1 / 2 / 2;

}

.texte_rubrique { 

    grid-area: 1 / 2 / 2 / 6; 

    padding-top: 13%;

}



h1 {

    margin-left: 30%;

    color: rgb(117, 122, 118);

    font-family: Arial, Helvetica, sans-serif;

}



h2 {

    margin-left: 5%;

    color: rgb(117, 122, 118);

    font-family: Arial, Helvetica, sans-serif;

}



p {

    text-align: justify;

    margin-left: 10%;

    margin-right: 10%;

    color: rgb(0, 0, 0);

    font-family: Arial, Helvetica, sans-serif;

}



.liste {

    left: 5%;

    text-align: justify;

    margin-left: 10%;

    margin-right: 10%;

    color: rgb(0, 0, 0);

    font-family: Arial, Helvetica, sans-serif;

}



.tab {

    margin-left: 4em;

}



/* .texte est maintenant géré dans style_responsive.css pour un rendu moderne unifié */

/* ============================================
   Carousel AVEC Humour - Centré avec boutons navigation
   ============================================ */

.humour-carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem 0;
    position: relative;
}

.humour-carousel {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.humour-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.humour-carousel .item img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.humour-carousel .item img:hover {
    transform: scale(1.02);
}

/* Boutons de navigation personnalisés */
.humour-carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.humour-carousel-wrapper .owl-nav button {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(117, 122, 118, 0.3) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 0 !important;
    padding: 0 !important;
}

.humour-carousel-wrapper .owl-nav button:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(117, 122, 118, 0.6) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.humour-carousel-wrapper .owl-nav button:focus {
    outline: 3px solid rgba(117, 122, 118, 0.5);
    outline-offset: 2px;
}

.humour-carousel-wrapper .owl-nav button.owl-prev {
    left: -70px;
    position: absolute;
}

.humour-carousel-wrapper .owl-nav button.owl-next {
    right: -70px;
    position: absolute;
}

.humour-nav-arrow {
    font-size: 32px;
    font-weight: 700;
    color: rgb(117, 122, 118);
    line-height: 1;
    display: block;
}

.humour-carousel-wrapper .owl-nav button:hover .humour-nav-arrow {
    color: rgb(60, 60, 60);
}

/* Responsive */
@media (max-width: 900px) {
    .humour-carousel-wrapper .owl-nav button {
        width: 45px;
        height: 45px;
    }
    
    .humour-nav-arrow {
        font-size: 28px;
    }
    
    .humour-carousel-wrapper .owl-nav button.owl-prev {
        left: -60px;
    }
    
    .humour-carousel-wrapper .owl-nav button.owl-next {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .humour-carousel-wrapper {
        margin: 1.5rem 0;
    }
    
    .humour-carousel {
        max-width: 90%;
    }
    
    .humour-carousel .item img {
        max-width: 100%;
    }
    
    .humour-carousel-wrapper .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .humour-nav-arrow {
        font-size: 24px;
    }
    
    .humour-carousel-wrapper .owl-nav button.owl-prev {
        left: -50px;
    }
    
    .humour-carousel-wrapper .owl-nav button.owl-next {
        right: -50px;
    }
}

@media (max-width: 600px) {
    .humour-carousel-wrapper .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .humour-carousel-wrapper .owl-nav button.owl-next {
        right: 10px;
    }
}

/* ============================================
   Accordéon Témoignages - Design Moderne
   ============================================ */

.temoignages-accordion {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.temoignage-item {
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.temoignage-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.temoignage-item.is-open {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.temoignage-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(40, 40, 40);
    transition: background-color 0.2s ease, color 0.2s ease;
    outline: none;
}

.temoignage-header:hover {
    background: rgba(255, 255, 255, 0.5);
    color: rgb(30, 30, 30);
}

.temoignage-header:focus {
    outline: 3px solid rgba(117, 122, 118, 0.6);
    outline-offset: -3px;
    background: rgba(255, 255, 255, 0.65);
}

.temoignage-header:active {
    background: rgba(255, 255, 255, 0.7);
}

.temoignage-title {
    flex: 1;
    line-height: 1.4;
    padding-right: 16px;
}

.temoignage-chevron {
    font-size: 0.9rem;
    color: rgba(117, 122, 118, 0.8);
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.temoignage-item.is-open .temoignage-chevron {
    color: rgb(117, 122, 118);
}

.temoignage-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.3);
}

.temoignage-item.is-open .temoignage-content {
    padding: 0 24px 24px 24px;
}

.temoignage-content p {
    margin: 0;
    padding-top: 16px;
    line-height: 1.85;
    color: rgb(50, 50, 50);
    font-size: 1rem;
    text-align: justify;
}

.temoignage-content p i {
    font-style: italic;
    color: rgb(117, 122, 118);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .temoignage-header {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .temoignage-title {
        padding-right: 12px;
    }

    .temoignage-content {
        padding: 0 20px;
    }

    .temoignage-item.is-open .temoignage-content {
        padding: 0 20px 20px 20px;
    }

    .temoignage-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .temoignages-accordion {
        gap: 0.75rem;
    }

    .temoignage-item {
        border-radius: 10px;
    }

    .temoignage-header {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .temoignage-title {
        padding-right: 10px;
    }

    .temoignage-chevron {
        font-size: 0.8rem;
        width: 18px;
    }

    .temoignage-content {
        padding: 0 16px;
    }

    .temoignage-item.is-open .temoignage-content {
        padding: 0 16px 16px 16px;
    }

    .temoignage-content p {
        font-size: 0.9rem;
        line-height: 1.75;
    }
}

/* Respecter prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .temoignage-item,
    .temoignage-header,
    .temoignage-chevron,
    .temoignage-content {
        transition: none !important;
    }
}