body {
    background: #cc2b5e;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #753a88, #cc2b5e);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #753a88, #cc2b5e); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin: 0;
    text-align: center;
}

/* Header principal */
.main-header {
    background: url("../Arrière_plan_haut/pexels-pixabay-220072.jpg");
    background-size: cover;
    background-position: center;
    padding: 30px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 120px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Menu de navigation */
nav.nav {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 40px;
}

nav.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

nav.nav a:hover {
    color: #cc2b5e;
}

/* Ajustement pour la section nom */
.nom {
    margin-top: 120px;
    padding: 40px 0;
}

.big-title {
    color: white;
    font-size: 80px;
    font-family: 'Sour Gummy', cursive;
    font-weight: 100;
    text-align: center;
    margin: 0;
    padding: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

section.top-page2 {
    background: url("../Arrière_plan_haut/pexels-pixabay-220072.jpg");
    background-size: cover;
    height: 30vh;
    padding: 25px;
    margin-top: 0;
    position: relative;
}

section.top-page2::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #cc2b5e);
}

section.tribu {
    margin-top: 0;
    padding: 20px 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

section.tribu::before {
    content: '🐱';
    position: absolute;
    top: 80px;
    left: 80px;
    font-size: 4em;
    opacity: 0.7;
    animation: floatCat 8s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

section.tribu::after {
    content: '🐶';
    position: absolute;
    bottom: 80px;
    right: 80px;
    font-size: 4em;
    opacity: 0.7;
    animation: floatDog 8s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

@keyframes floatCat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(15px, -15px) rotate(15deg) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes floatDog {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-15px, -15px) rotate(-15deg) scale(1.1);
        opacity: 0.9;
    }
}

div.titre_tribu {
    position: relative;
    padding: 60px 40px;
    margin: 80px auto;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

div.titre_tribu:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

div.titre_tribu h2 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

div.titre_tribu h2::before {
    content: '🐾';
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8em;
    opacity: 0.8;
    animation: bouncePaw 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

@keyframes bouncePaw {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scale(1.3) rotate(15deg);
    }
}

div.titre_tribu p {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.2em;
    text-align: justify;
    padding: 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

div.titre_tribu p:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

div.images_tribu {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

div.images_tribu:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

div.images_tribu img {
    width: 100%;
    max-width: 800px;
    height: auto;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(10%) brightness(0.98);
    position: relative;
    cursor: pointer;
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

div.images_tribu img:hover {
    transform: scale(1.03);
    filter: grayscale(0%) brightness(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

div.images_tribu::after {
    content: '🐾';
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 2.5em;
    opacity: 0.3;
    animation: floatPaw 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    section.tribu::before {
        top: 40px;
        left: 40px;
    }
    
    section.tribu::after {
        bottom: 40px;
        right: 40px;
    }
    
    div.titre_tribu h2::before {
        left: -70px;
    }
    
    div.titre_tribu {
        margin: 40px auto;
    }
    
    section.tribu {
        padding: 40px 20px;
    }
    
    div.titre_tribu h2 {
        font-size: 2.2em;
    }
    
    div.titre_tribu p {
        font-size: 1.1em;
        padding: 20px;
    }
}

section{
    margin-top: 50px;
}
section.body {
    margin: 30px auto 100px auto;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


h2 {
    color: black;
}

p {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: whitesmoke;
    padding: 0 20px;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

div.images_voyages {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 30px auto;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 20px;
}

div.images_voyagees {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    max-width: 500px;
}

div.images_voyages2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 30px auto;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 20px;
}

div.images_voyagees2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 30px auto;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 20px;
}

section.lecture, section.lecture2 {
    margin: 0;
    padding: 60px 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

section.lecture {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section.lecture2 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

div.lecture-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

div.lecture-container::before {
    content: '📚';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3.5em;
    opacity: 0.8;
    animation: floatBook 4s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

div.lecture-container::after {
    content: '✨';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 3.5em;
    opacity: 0.8;
    animation: sparkle 2s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

@media (max-width: 768px) {
    div.lecture-container {
        padding: 20px;
    }
    
    section.lecture, section.lecture2 {
        padding: 20px;
    }
}

div.images_lecture {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    margin: 30px auto;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

div.images_lecture img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(30%);
    transform-style: preserve-3d;
    position: relative;
    cursor: pointer;
}

div.images_lecture img:hover {
    transform: rotateY(180deg);
    filter: grayscale(0%) brightness(1.1);
}

div.images_lecture img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #753a88, #cc2b5e);
    border-radius: 15px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

div.images_lecture img:hover::before {
    opacity: 0.2;
}

@keyframes pageTurn {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(180deg);
    }
}

div.titre_lecture {
    position: relative;
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

div.titre_lecture:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

div.titre_lecture h2 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

div.titre_lecture h2::before {
    content: '📚';
    position: absolute;
    right: -110px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    opacity: 0.8;
    animation: bounceBook 2s ease-in-out infinite;
}

@keyframes bounceBook {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scale(1.3) rotate(15deg);
    }
}

section.dev {
    margin: 80px auto;
    padding: 60px 40px;
    max-width: 1000px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    overflow: hidden;
}

section.dev::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    20%, 100% {
        transform: translateX(100%);
    }
}

section.dev h2 {
    color: #ffffff;
    font-size: 2.8em;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

section.dev h2::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

section.dev h2:hover::before {
    transform: scaleX(1);
}

section.dev p {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.2em;
    text-align: justify;
    padding: 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #753a88;
    transition: all 0.4s ease;
}

section.dev p:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-left-color: #cc2b5e;
}

section.dev p::before {
    content: '';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    opacity: 0.7;
    background: url('../Icone/conception-reactive.png') no-repeat center/contain;
    transition: all 0.4s ease;
}

section.dev p:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2) rotate(5deg);
}

@media (max-width: 768px) {
    section.dev {
        padding: 40px 20px;
        margin: 40px 20px;
    }
    
    section.dev h2 {
        font-size: 2.2em;
    }
    
    section.dev p {
        font-size: 1.1em;
        padding: 20px;
    }
}

/* Style pour le footer */
footer.footer {
    background: url("../Arrière_plan_haut/pexels-pixabay-220072.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 400px;
    padding: 80px 0 120px 0;
    color: white;
    margin-top: 100px;
    position: relative;
}

footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.6)
    );
    backdrop-filter: blur(3px);
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    position: relative;
    z-index: 2;
}

.footer-section {
    flex: 1;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-name {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin: 15px 0;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #cc2b5e;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 24px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    margin: 12px 0;
    font-size: 16px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #cc2b5e;
}

.footer-tagline {
    margin-top: 25px;
    font-style: italic;
    line-height: 1.6;
    max-width: 300px;
}

div.images_voyages img, div.images_voyagees img, div.images_voyages2 img, div.images_voyagees2 img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(30%);
    animation: gentleFloat 8s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes gentleFloat {
    0% {
        transform: translateY(0) scale(1);
        filter: grayscale(30%) brightness(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
        filter: grayscale(20%) brightness(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
        filter: grayscale(30%) brightness(1);
    }
}

div.images_voyages img:hover, div.images_voyagees img:hover, div.images_voyages2 img:hover, div.images_voyagees2 img:hover {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

section.asso {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

section.asso::before {
    content: '❤️';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3.5em;
    opacity: 0.8;
    animation: pulseHeart 2s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

section.asso::after {
    content: '🐾';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 3.5em;
    opacity: 0.8;
    animation: floatPaw 4s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

@keyframes pulseHeart {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes floatPaw {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(10px, -10px) rotate(15deg);
        opacity: 1;
    }
}

section.asso h2 {
    color: #ffffff;
    font-size: 2.8em;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

section.asso h2::before {
    content: '🐾';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    opacity: 0.8;
    animation: bouncePaw 2s ease-in-out infinite;
}

section.asso p {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.2em;
    text-align: justify;
    padding: 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

section.asso p:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

section.asso p::before {
    content: '💝';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    opacity: 0.7;
    transition: all 0.4s ease;
}

section.asso p:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2) rotate(15deg);
}

@media (max-width: 768px) {
    section.asso {
        padding: 20px;
    }
    
    section.asso h2 {
        font-size: 2.2em;
    }
    
    section.asso p {
        font-size: 1.1em;
        padding: 20px;
    }
}

section.Voyages {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    min-height: 800px;
}

section.Voyages::before {
    content: '✈️';
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 4em;
    opacity: 0.8;
    animation: flyPlane 8s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

section.Voyages::after {
    content: '🌍';
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 3.5em;
    opacity: 0.8;
    animation: rotateGlobe 10s linear infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

@keyframes flyPlane {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(20px, -15px) rotate(10deg);
        opacity: 1;
    }
}

@keyframes rotateGlobe {
    0% {
        transform: rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

div.titre_voyage {
    position: relative;
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

div.titre_voyage:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

div.titre_voyage h2 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

div.titre_voyage h2::before {
    content: '🌍';
    position: absolute;
    right: -110px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    opacity: 0.8;
    animation: bounceGlobe 2s ease-in-out infinite;
}

@keyframes bounceGlobe {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scale(1.3) rotate(15deg);
    }
}

div.titre_voyage p {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.2em;
    text-align: justify;
    padding: 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

div.titre_voyage p:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

div.images_voyages::before {
    display: none;
}

div.images_voyages2::after {
    content: '🚗';
    position: absolute;
    bottom: 20px;
    left: 30px;
    font-size: 3.5em;
    opacity: 0.8;
    animation: driveCar 6s linear infinite;
    z-index: 10;
}

@keyframes driveCar {
    0% {
        transform: translateX(100px) rotate(0deg);
    }
    25% {
        transform: translateX(25%) rotate(-5deg);
    }
    50% {
        transform: translateX(50%) rotate(0deg);
    }
    75% {
        transform: translateX(75%) rotate(5deg);
    }
    100% {
        transform: translateX(calc(100% + 100px)) rotate(0deg);
    }
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
        padding: 0 20px;
    }
    
    .profile-section {
        padding: 30px;
    }
}

@media screen and (max-width: 992px) {
    .profile-section {
        flex-direction: column;
        padding: 25px;
    }
    
    .profile-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .profile-info {
        width: 100%;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    section.top-page2 {
        height: 25vh;
    }
    
    .container {
        margin: 20px auto;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .profile-info h2 {
        font-size: 1.8em;
    }
    
    .profile-info p {
        font-size: 0.9em;
    }
    
    .skills-grid {
        gap: 15px;
    }
    
    .skill-item {
        padding: 15px;
    }

    section.asso, section.Voyages, div.lecture-container {
        padding: 20px;
    }

    div.images_voyages, div.images_voyagees, div.images_voyagees2, div.images_voyages2 {
        flex-direction: column;
        align-items: center;
    }

    div.images_voyages img, div.images_voyagees img, div.images_voyagees2 img, div.images_voyages2 img {
        width: 100%;
        max-width: 500px;
        margin: 10px 0;
    }

    div.images_lecture {
        flex-direction: column;
        align-items: center;
    }

    div.images_lecture img {
        width: 100%;
        max-width: 500px;
        margin: 10px 0;
    }
}

@media screen and (max-width: 576px) {
    section.top-page2 {
        height: 20vh;
        padding: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .profile-section {
        padding: 15px;
    }
    
    .profile-info h2 {
        font-size: 1.5em;
    }
    
    .profile-info p {
        font-size: 0.8em;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-item {
        padding: 12px;
    }
    
    .skill-item i {
        font-size: 1.5em;
    }
}

/* Ajustements pour les très petits écrans */
@media screen and (max-width: 320px) {
    section.top-page2 {
        height: 15vh;
        padding: 10px;
    }
    
    .big-title {
        font-size: 1.2em;
    }
    
    .profile-info h2 {
        font-size: 1.3em;
    }
    
    .profile-info p {
        font-size: 0.75em;
    }
    
    .skill-item {
        padding: 10px;
    }
    
    .skill-item i {
        font-size: 1.3em;
    }
}

section.top-page2 .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 30px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

section.top-page2 .nav li {
    margin: 0 20px;
}

section.top-page2 .nav a {
    color: white;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

section.top-page2 .nav a:hover {
    color: #C9FFBF;
    transform: scale(1.1);
}

.filter-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    flex-wrap: wrap;
    padding: 10px;
}

.filter-btn {
    padding: 0.4rem 1.2rem;
    border: none;
    border-radius: 2rem;
    background: #fff;
    color: #cc2b5e;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: #cc2b5e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(204,43,94,0.15);
}

section.body, section.asso, section.Voyages, div.lecture-container {
    margin-top: 20px;
    padding: 20px;
}

.presentation {
    margin-top: 140px;
    padding: 40px 20px;
    position: relative;
}

.presentation-container {
    max-width: 1200px;
    margin: 0 auto;
}

.presentation h1 {
    color: #ffffff;
    font-size: 80px;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 100;
    position: relative;
    display: inline-block;
    font-family: 'Sour Gummy', cursive;
}


@keyframes wave {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        transform: translateY(-50%) rotate(20deg);
    }
    75% {
        transform: translateY(-50%) rotate(-20deg);
    }
}

.presentation-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.presentation-image {
    flex: 1;
    max-width: 400px;
}

.presentation-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.presentation-image img:hover {
    transform: scale(1.02);
}

.presentation-text {
    flex: 1;
}

.presentation-text p {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

@media (max-width: 768px) {
    .presentation-content {
        flex-direction: column;
        padding: 20px;
    }

    .presentation-image {
        max-width: 100%;
    }

    .presentation-text p {
        font-size: 1em;
    }
}