/* ============================================
   FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Jersey+20&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jersey 20', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
/* ============================================
   PAGE D'ACCUEIL (index.html)
   ============================================ */
body.home {
    background: #C8102E;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: url('https://article.eloisecoolen.fr/imports/fond.png');
    background-size: 1700px;
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* ============================================
   RESPONSIVE PAGE D'ACCUEIL
   ============================================ */
@media (max-width: 768px) {
    body.home {
        background-size: 1700px;
        background-position: center center;
        background-attachment: scroll;
        padding: 15px;
    }

    .subtitle-image {
        margin: 30px 20px 40px 20px;
    }

    .cta-button {
        font-size: 1.5em;
        padding: 15px 40px;
    }
}

@media (max-width: 480px) {
    body.home {
        background-size: cover;
        background-position: center center;
    }

    .title-main img {
        max-width: 90%;
    }

    .subtitle-image img {
        max-width: 85%;
    }
}
/* ============================================
   PAGE SECTIONS (sections.html)
   ============================================ */
body.sections {
    background: #f5e6e0;
    padding: 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

body.sections .container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    justify-content: center;
  }

.hero-image {
    width: 100%;
    max-width: 800px;
    margin-top: -500px;
    margin-bottom: -300px;
    position: relative;
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    padding: 0;
    margin-top: 260px;
    justify-items: center;
}

.section-button {
    display: inline-block;
    background: #C8102E;
    color: #f5e6e0;
    font-family: 'Jersey 20', sans-serif;
    font-size: 1.8em;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 4px solid #C8102E;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;  
}

.section-button::before {
    content: '';
    align-content: center;
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.section-button:hover::before {
    left: 100%;
}

.section-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.section-button:active {
    transform: scale(1.05);
}

/* ============================================
   BOUTONS CTA
   ============================================ */
.cta-button {
    display: inline-block;
    background: white;
    color: #C8102E;
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 30px;
    border: 4px solid white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.1), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cta-button:active {
    transform: scale(1.05);
}

/* ============================================
   BOUTON RETOUR
   ============================================ */
.back-button {
    position: fixed;
    top: 30px;
    left: 30px;
    background: #C8102E;
    color: #f5e6e0;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}
/* ============================================
   RESPONSIVE PAGE SECTIONS
   ============================================ */
@media (max-width: 768px) {
    body.sections {
        padding: 15px;
        margin:auto
    }

    body.sections .container {
        align-items: center;
    }

    .hero-image {
        margin-top: -450px;
        margin-bottom: -40px;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        padding: 0 20px 40px 20px;
        margin-top: -20px;
    }

    .section-button {
        font-size: 1.5em;
        padding: 15px 30px;
        width: 100%;
    }

    .back-button {
        top: 15px;
        left: 15px;
        padding: 10px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-image {
        margin-top: -150px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: -50px;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
}
/* ============================================
   DÉCORATIONS GIF (sections.html)
   ============================================ */
.deco-gif {
    width: 300px;
    height: auto;
    position: absolute;
    top: 110px;
    right: 20px;
    z-index: 5;
    animation: float 3s ease-in-out infinite;
}
/* Animation flottante */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   RESPONSIVE DÉCORATIONS
   ============================================ */
@media (max-width: 768px) {
    .deco-gif {
        position: static;       /* ← retour dans le flow */
        width: 160px;
        margin: 20px auto 0;    /* ← centré sous l’image */
        display: block;
        animation: none;        /* optionnel mais plus clean */
    }
}
/* ============================================
   PAGE NAVIGATION ARTICLE
   ============================================ */
body.article-nav-page {
    background: #C8102E;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.article-navigation-container {
    display: flex;
    width: 90%;
    height: 79vh;
    position: relative;
    align-items: center;
    flex-direction: row;
}

/* Sidebar gauche */
.article-sidebar {
    width: 40%;
    background: rgba(245, 230, 224, 0.95);
    padding: 30px 40px 30px 5px;
  	border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.article-main-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 2.5em;
    color: #C8102E;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: right; 
    letter-spacing: 3px;
    padding-right: 0;
}

.article-nav-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    align-items: flex-end; 
    width: 100%;
    flex: 1;
}

/* Tous les boutons avec le même style */
.nav-btn {
    display: block;
    background: transparent;
    color: #C8102E;
    font-family: 'Jersey 20', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 35px;
    border: 3px solid #C8102E;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    width: 80%;
    max-width: 400px;
    margin-right: 0;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.1), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #C8102E;
    color: #f5e6e0;
}

/* Zone de contenu principale - Image fixe */
.article-main-content {
    width: 60%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.fixed-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image-fixed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================
   RESPONSIVE NAVIGATION ARTICLE
   ============================================ */
@media (max-width: 1024px) {
    .article-navigation-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .article-sidebar {
        width: 100%;
        height: auto;
        padding: 30px 40px 50px;
        order: 2;
        justify-content: center;
    }

    .article-main-content {
        width: 100%;
        height: 500px;
        order: 1;
    }

    .article-main-title {
        padding-right: 0;
        font-size: 2.5em;
        margin-bottom: 40px;
        text-align: center;
    }

    .article-nav-buttons {
        align-items: center;
        gap: 18px;
    }

    .nav-btn {
        font-size: 1.1em;
        padding: 12px 35px;
        width: 90%;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .article-sidebar {
        padding: 30px 30px 40px;
    }

    .article-main-title {
        padding-right: 0;
        font-size: 2em;
        margin-bottom: 35px;
        text-align: center;
    }

    .article-nav-buttons {
        gap: 15px;
        align-items: center;
    }

    .nav-btn {
        font-size: 1em;
        padding: 12px 30px;
        width: 100%;
        margin-right: 0;
    }

    .article-main-content {
        height: 400px;
    }

    .hero-image-fixed {
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .article-main-title {
        font-size: 1.8em;
    }

    .nav-btn {
        font-size: 0.95em;
        padding: 10px 25px;
    }

    .article-main-content {
        height: 350px;
    }
}
/* ============================================
   PAGE CONTENU ARTICLE (article-introduction.html, etc.)
   ============================================ */
body.article-content-page {
    background: #f5e6e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.article-content-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Image gauche fixe */
.article-image-side {
    width: 35%;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.article-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contenu texte à droite */
.article-text-side {
    width: 65%;
    background: #f5e6e0;
    padding: 100px 80px 60px 80px;  /* ← Augmenté le padding horizontal */
    overflow-y: auto;
}

.article-section-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 2.5em;
    color: #C8102E;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-top: -80px;
    text-align: left;
    letter-spacing: 2px;
}

.article-text-content {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12pt;  
    line-height: 1.8;
    color: #333;
    text-align: justify;
    max-width: 100%;  
}

.article-text-content p {
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE PAGE CONTENU ARTICLE
   ============================================ */
@media (max-width: 1024px) {
    .article-content-container {
        flex-direction: column;
    }

    .article-image-side {
        width: 100%;
        height: 400px;
        position: relative;
    }

    .article-text-side {
        width: 100%;
        padding: 60px 50px 40px 50px;  /* ← Augmenté */
    }

    .article-section-title {
        font-size: 2.2em;
        margin-top: -50px;
        margin-bottom: 30px;
    }

    .article-text-content {
        font-size: 12pt;
    }
}

@media (max-width: 768px) {
    .article-image-side {
        height: 300px;
    }

    .article-text-side {
        padding: 40px 40px 30px 40px;  /* ← Augmenté */
    }

    .article-section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
        margin-top: auto;
    }

    .article-text-content {
        font-size: 11pt;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .article-image-side {
        height: 250px;
    }

    .article-text-side {
        padding: 30px 25px 20px 25px;  /* ← Augmenté */
    }

    .article-section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
        margin-top: auto;
    }

    .article-text-content {
        font-size: 10pt;
        line-height: 1.6;
    }
}
/* ============================================
   NOTES DE BAS DE PAGE
   ============================================ */
/* Référence dans le texte */
.footnote-ref {
    text-decoration: none;
    color: #C8102E;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footnote-ref sup {
    font-size: 0.8em;
    margin-left: 2px;
}

.footnote-ref:hover {
    color: #f5e6e0;
}

/* Surlignage au clic */
.footnote-ref:target,
.footnote:target {
    background-color: #C8102E;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Section des notes */
.footnotes {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #C8102E;
}

.footnotes-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 1.8em;
    color: #C8102E;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.footnote {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footnote:target {
    background-color: #C8102E;
    color: white;
}

.footnote-number {
    font-family: 'Jersey 20', sans-serif;
    font-size: 1em;
    font-weight: bold;
    color: #C8102E;
    text-decoration: none;
    min-width: 25px;
    transition: color 0.3s ease;
}

.footnote:target .footnote-number {
    color: white;
}

.footnote-text {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 11pt;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.footnote:target .footnote-text {
    color: white;
}

.external-link {
    color: #C8102E;
    text-decoration: underline;
    word-break: break-all;
}

.footnote:target .external-link {
    color: white;
}

/* ============================================
   RESPONSIVE NOTES DE BAS DE PAGE
   ============================================ */
@media (max-width: 768px) {
    .footnotes {
        margin-top: 40px;
        padding-top: 30px;
    }

    .footnotes-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .footnote {
        gap: 10px;
        padding: 8px;
    }

    .footnote-text {
        font-size: 10pt;
    }
}

@media (max-width: 480px) {
    .footnotes {
        margin-top: 30px;
        padding-top: 20px;
    }

    .footnotes-title {
        font-size: 1.3em;
    }

    .footnote-text {
        font-size: 9pt;
    }
}
/* ============================================
   PAGE HÉRITAGE (heritage.html)
   ============================================ */
body.heritage-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.heritage-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 60px 60px 60px;
    position: relative;
}

/* Titre principal (image) */
.heritage-main-title {
    text-align: center;
    margin-bottom: 0px;
}

.heritage-main-title img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -100px;
}

/* Sections avec sous-titres */
.heritage-section {
    margin-bottom: 80px;
    position: relative;
}

/* Sous-titre (image) */
.heritage-subtitle {
    margin-bottom: 30px;
}

.heritage-subtitle img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin-top: -20px;
    margin-bottom: -30px;
}

/* Contenu texte */
.heritage-text {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.heritage-text p {
    margin-bottom: 20px;
}

/* GIFs décoratifs sur les côtés */
.heritage-deco-left,
.heritage-deco-right {
    position: absolute;
    width: 120px;
    height: auto;
    z-index: 5;
    animation: floatSide 3s ease-in-out infinite;
}

.heritage-deco-left {
    left: -30px;
    top: 250px;
}

.heritage-deco-right {
    top: 150px;
    right: 100px;
}

/* Animation pour les décorations latérales */
@keyframes floatSide {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Images dans le texte */
.heritage-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.heritage-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Notes de bas de page spécifiques héritage */
.heritage-footnote {
    font-size: 10pt;
    color: #666;
    margin-top: 10px;
    padding-left: 20px;
    line-height: 1.6;
}

/* ============================================
   GIFs à côté des paragraphes
   ============================================ */

/* GIF à droite du premier paragraphe */
.heritage-section:first-of-type .heritage-para-deco {
    position: absolute;
    right: -180px;
    top: 150px;
    width: 250px;
    height: auto;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

/* GIF à gauche du deuxième paragraphe */
.heritage-section:nth-of-type(2) .heritage-para-deco {
    position: absolute;
    left: -180px;
    top: 250px;
    width: 250px;
    height: auto;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

/* Animation flottante */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   RESPONSIVE PAGE HÉRITAGE
   ============================================ */
@media (max-width: 1200px) {
    .heritage-deco-left {
        left: -30px;
        top: 250px;
        width: 100px;
    }
    
    .heritage-deco-right {
        top: 150px;
        right: 100px;
        width: 100px;
    }
    
    /* Masquer les GIFs à côté des paragraphes */
    .heritage-section:first-of-type .heritage-para-deco,
    .heritage-section:nth-of-type(2) .heritage-para-deco {
        display: none;
    }
}

@media (max-width: 1024px) {
    .heritage-container {
        padding: 0px 50px 50px 50px;
    }
    
    .heritage-deco-right {
        top: 50px;
        right: 90px;
        width: 90px;
    }
    .heritage-deco-left {
        top: 270px;
        left: 0px;
        width: 90px;
    }
}

@media (max-width: 768px) {
    .heritage-container {
        padding: 0px 40px 40px 40px;
    }
    .heritage-deco-right {
        top: 25px;
        right: 30px;
        width: 70px;
    }
    .heritage-deco-left {
        top: 190px;
        left: 0px;
        width: 70px;
    }
    
    .heritage-main-title {
        margin-bottom: -30px;
    }
    
    .heritage-main-title img {
        max-width: 400px;
        margin-bottom: -30px;
    }
    
    .heritage-subtitle img {
        max-width: 350px;
    }
    
    .heritage-section {
        margin-bottom: 0px;
    }
    
    .heritage-text {
        font-size: 11pt;
    }
    
    .heritage-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .heritage-container {
        padding: 30px 25px 25px 25px;
    }
    .heritage-deco-right {
        top: 45px;
        right: 40px;
        width: 60px;
    }
    .heritage-deco-left {
        top: 170px;
        left: -10px;
        width: 60px;
    }
    .heritage-main-title img {
        max-width: 300px;
        margin-bottom: 0px;
    }
    
    .heritage-subtitle img {
        max-width: 280px;
    }
    
    .heritage-text {
        font-size: 10pt;
        line-height: 1.6;
    }
    
    .heritage-footnote {
        font-size: 9pt;
    }
}
/* ============================================
   PAGE ÈRE (ere.html)
   ============================================ */
body.ere-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.ere-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 60px 60px 60px;
    position: relative;
}

/* Titre principal (image) */
.ere-main-title {
    text-align: center;
    margin-bottom: 0px;
}

.ere-main-title img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: -50px;
    margin-bottom: 30px;
}

/* Sections avec sous-titres */
.ere-section {
    margin-bottom: 50px;
    position: relative;
}

/* Sous-titre (image) */
.ere-subtitle {
    margin-bottom: 20px;
    margin-left:-50px
}

.ere-subtitle img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin-top: -20px;
    margin-bottom: -30px;
}

/* Contenu texte */
.ere-text {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.ere-text p {
    margin-bottom: 20px;
}

/* GIFs décoratifs sur les côtés */
.ere-deco-left,
.ere-deco-right {
    position: absolute;
    width: 150px;
    height: auto;
    z-index: 5;
    animation: floatSide 3s ease-in-out infinite;
}

.ere-deco-left {
    left: -30px;
    top: 190px;
}

.ere-deco-right {
    top: 53px;
    left: 430px;
}

/* Animation pour les décorations latérales */
@keyframes floatSide {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Images dans le texte */
.ere-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.ere-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Notes de bas de page spécifiques ère */
.ere-footnote {
    font-size: 10pt;
    color: #666;
    margin-top: 10px;
    padding-left: 20px;
    line-height: 1.6;
}

/* ============================================
   GIFs à côté des paragraphes
   ============================================ */

/* GIF à droite du premier paragraphe */
.ere-section:first-of-type .ere-para-deco {
    position: absolute;
    right: -190px;
    top: 100px;
    width: 250px;
    height: auto;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

/* GIF à gauche du deuxième paragraphe */
.ere-section:nth-of-type(2) .ere-para-deco {
    position: absolute;
    left: -190px;
    top: 90px;
    width: 250px;
    height: auto;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

/* Animation flottante */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   RESPONSIVE PAGE ÈRE
   ============================================ */
@media (max-width: 1200px) {
    /* Masquer TOUS les GIFs décoratifs */
    .ere-deco-left,
    .ere-deco-right {
        display: none;
    }
    
    /* Masquer les GIFs à côté des paragraphes */
    .ere-section:first-of-type .ere-para-deco,
    .ere-section:nth-of-type(2) .ere-para-deco {
        display: none;
    }
}

@media (max-width: 1024px) {
    .ere-container {
        padding: 0px 50px 50px 50px;
    }
}

@media (max-width: 768px) {
    .ere-container {
        padding: 0px 40px 40px 40px;
    }
    
    .ere-main-title {
        margin-bottom: -30px;
    }
    
    .ere-main-title img {
        max-width: 400px;
        margin-bottom: -30px;
    }
    
    .ere-subtitle img {
        max-width: 350px;
    }
    
    .ere-section {
        margin-bottom: 0px;
    }
    
    .ere-text {
        font-size: 11pt;
    }
    
    .ere-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .ere-container {
        padding: 30px 25px 25px 25px;
    }
    
    .ere-main-title img {
        max-width: 300px;
        margin-bottom: 0px;
    }
    
    .ere-subtitle img {
        max-width: 280px;
    }
    
    .ere-text {
        font-size: 10pt;
        line-height: 1.6;
    }
    
    .ere-footnote {
        font-size: 9pt;
    }
}
/* ============================================
   PAGE RÉSEAUX (reseaux.html)
   ============================================ */
body.reseaux-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.reseaux-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 60px 60px 60px;
    position: relative;
}

/* Titre principal (image) */
.reseaux-main-title {
    text-align: center;
    margin-bottom: 0px;
}

.reseaux-main-title img {
    max-width: 1000px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: 0px;
    margin-bottom: 0px;
}

/* Sections avec sous-titres */
.reseaux-section {
    margin-bottom: 50px;
    position: relative;
}

/* Sous-titre (image) */
.reseaux-subtitle {
    margin-bottom: 20px;
    margin-left:-50px
}

.reseaux-subtitle img {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin-top: -20px;
    margin-bottom: -30px;
}

/* Contenu texte */
.reseaux-text {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.reseaux-text p {
    margin-bottom: 20px;
}

/* GIFs décoratifs sur les côtés */
.reseaux-deco-left,
.reseaux-deco-right {
    position: absolute;
    width: 150px;
    height: auto;
    z-index: 5;
    animation: floatSide 3s ease-in-out infinite;
}

.reseaux-deco-left {
    left: -30px;
    top: 190px;
}

.reseaux-deco-right {
    top: 53px;
    left: 430px;
}

/* Animation pour les décorations latérales */
@keyframes floatSide {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Images dans le texte */
.reseaux-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.reseaux-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Notes de bas de page spécifiques réseaux */
.reseaux-footnote {
    font-size: 10pt;
    color: #666;
    margin-top: 10px;
    padding-left: 20px;
    line-height: 1.6;
}

/* ============================================
   GIFs à côté des paragraphes
   ============================================ */

/* GIF à droite du premier paragraphe */
.reseaux-section:first-of-type .reseaux-para-deco {
    position: absolute;
    right: -200px;
    top: 250px;
    width: 250px;
    height: auto;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

/* GIF à gauche du deuxième paragraphe */
.reseaux-section:nth-of-type(2) .reseaux-para-deco {
    position: absolute;
    left: -250px;
    top: 90px;
    width: 250px;
    height: auto;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

/* Animation flottante */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   RESPONSIVE PAGE RÉSEAUX
   ============================================ */
@media (max-width: 1200px) {
    /* Masquer TOUS les GIFs décoratifs */
    .reseaux-deco-left,
    .reseaux-deco-right {
        display: none;
    }
    
    /* Masquer les GIFs à côté des paragraphes */
    .reseaux-section:first-of-type .reseaux-para-deco,
    .reseaux-section:nth-of-type(2) .reseaux-para-deco {
        display: none;
    }
}

@media (max-width: 1024px) {
    .reseaux-container {
        padding: 0px 50px 50px 50px;
    }
}

@media (max-width: 768px) {
    .reseaux-container {
        padding: 0px 40px 40px 40px;
    }
    
    .reseaux-main-title {
        margin-bottom: -30px;
    }
    
    .reseaux-main-title img {
        max-width: 600px;
        margin-bottom: -30px;
        margin-left: -40px;
    }
    
    .reseaux-subtitle img {
        max-width: 350px;
        margin-left: 40px;
    }
    
    .reseaux-section {
        margin-bottom: 50px;
    }
    
    .reseaux-text {
        font-size: 11pt;
    }
    
    .reseaux-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .reseaux-container {
        padding: 30px 25px 25px 25px;
    }
    
    .reseaux-main-title img {
        max-width: 300px;
        margin-bottom: 0px;
    }
    
    .reseaux-subtitle img {
        max-width: 280px;
    }
    
    .reseaux-text {
        font-size: 10pt;
        line-height: 1.6;
    }
    
    .reseaux-footnote {
        font-size: 9pt;
    }
}
/* ============================================
   RESPONSIVE PAGE RÉSEAUX
   ============================================ */
@media (max-width: 1200px) {
    /* Masquer TOUS les GIFs décoratifs */
    .reseaux-deco-left,
    .reseaux-deco-right {
        display: none;
    }
    
    /* Masquer les GIFs à côté des paragraphes */
    .reseaux-section:first-of-type .reseaux-para-deco,
    .reseaux-section:nth-of-type(2) .reseaux-para-deco {
        display: none;
    }
}

@media (max-width: 1024px) {
    .reseaux-container {
        padding: 0px 50px 50px 50px;
    }
}

@media (max-width: 768px) {
    .reseaux-container {
        padding: 0px 40px 40px 40px;
    }
    
    .reseaux-main-title {
        margin-bottom: -30px;
    }
    
    .reseaux-main-title img {
        max-width: 600px;
        margin-bottom: -30px;
        margin-left: -40px;
    }
    
    .reseaux-subtitle img {
        max-width: 350px;
        margin-left: 40px;
    }
    
    .reseaux-section {
        margin-bottom: 50px;
    }
    
    .reseaux-text {
        font-size: 11pt;
    }
    
    .reseaux-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .reseaux-container {
        padding: 30px 25px 25px 25px;
    }
    
    .reseaux-main-title img {
        max-width: 300px;
        margin-bottom: 0px;
    }
    
    .reseaux-subtitle img {
        max-width: 280px;
    }
    
    .reseaux-text {
        font-size: 10pt;
        line-height: 1.6;
    }
    
    .reseaux-footnote {
        font-size: 9pt;
    }
}
/* ============================================
   PAGE INTERVIEW (interview.html)
   ============================================ */
body.interview-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.interview-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 60px 60px 60px;
}

/* Titre principal */
.interview-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 3em;
    color: #C8102E;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Header avec photo et intro */
.interview-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.interview-photo {
    width: 100%;
}

.interview-photo img {
    width: 70%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.interview-intro {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 10pt;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin-top: 65px;
    
}

.interview-intro a {
    color: #C8102E;
    text-decoration: underline;
    word-break: break-all;
}

.interview-intro a:hover {
    color: #8a0b1f;
}

/* Contenu des questions/réponses */
.interview-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.interview-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.interview-question,
.interview-answer {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 10pt;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

.interview-question {
    padding-left: 20px;
    border-left: 3px solid #C8102E;
}

.interview-question strong {
    color: #C8102E;
    font-weight: bold;
}

.interview-answer strong {
    color: #333;
    font-weight: bold;
}

/* ============================================
   RESPONSIVE PAGE INTERVIEW
   ============================================ */
@media (max-width: 768px) {
    .interview-container {
        padding: 60px 40px 40px 40px;
    }
    
    .interview-title {
        font-size: 2.5em;
        margin-bottom: 30px;
    }
    
    .interview-header {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .interview-photo {
        max-width: 300px;
        margin-left: 25%
    }
    
    .interview-intro {
        font-size: 9pt;
    }
    
    .interview-question,
    .interview-answer {
        font-size: 9pt;
    }
}

@media (max-width: 480px) {
    .interview-container {
        padding: 50px 25px 25px 25px;
    }
    
    .interview-title {
        font-size: 2em;
    }
    
    .interview-intro {
        font-size: 8.5pt;
        line-height: 1.5;
    }
    
    .interview-question,
    .interview-answer {
        font-size: 8.5pt;
        line-height: 1.6;
    }
    
    .interview-question {
        padding-left: 15px;
        border-left: 2px solid #C8102E;
    }
}
/* ============================================
   PAGE BIBLIOGRAPHIE (bibliographie.html)
   ============================================ */
body.biblio-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.biblio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px 60px 60px;
}

/* Titre principal */
.biblio-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 3em;
    color: #C8102E;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Container des images en quinconce */
.biblio-images-stack {
    position: relative;
    width: 100%;
    min-height: 800px;
    margin-bottom: 100px;
}

/* Images */
.biblio-image {
    width: 150px;
    border-radius: 10px;
    cursor: pointer;
    position: absolute;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Zoom + rotation au survol */
.biblio-image:hover {
    transform: scale(1.15) rotate(0deg) !important;
    z-index: 100 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 4 images à GAUCHE - réparties sur toute la hauteur */
.biblio-image:nth-child(1) { 
    top: 0; 
    left: 80px; 
    transform: rotate(-3deg); 
    z-index: 8;
}

.biblio-image:nth-child(2) { 
    top: 170px; 
    left: 10px; 
    transform: rotate(2deg); 
    z-index: 7;
}

.biblio-image:nth-child(3) { 
    top: 350px; 
    left: 100px; 
    transform: rotate(-2deg); 
    z-index: 6;
}

.biblio-image:nth-child(4) { 
    top: 500px; 
    left: 0px; 
    transform: rotate(3deg); 
    z-index: 5;
}

/* 4 images à DROITE - réparties sur toute la hauteur */
.biblio-image:nth-child(5) { 
    top: 0; 
    right: 80px; 
    transform: rotate(4deg); 
    z-index: 4;
}

.biblio-image:nth-child(6) { 
    top: 250px; 
    right: 10px; 
    transform: rotate(-3deg); 
    z-index: 3;
}

.biblio-image:nth-child(7) { 
    top: 400px; 
    right: 150px; 
    transform: rotate(2deg); 
    z-index: 2;
}

.biblio-image:nth-child(8) { 
    top: 550px; 
    right: 20px; 
    transform: rotate(-4deg); 
    z-index: 1;
}

/* Liste des références - CENTRÉE avec marge pour les images */
.biblio-list {
    margin: -930px auto;
    padding: 40px 320px;
    border-top: 3px solid #C8102E;
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.biblio-list-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 2em;
    color: #C8102E;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.biblio-references {
    list-style: none;
    padding: 0;
    margin: 0;
}

.biblio-references li {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 11pt;
    line-height: 1.8;
    color: #333;
    padding-left: 20px;
    border-left: 3px solid #C8102E;
    margin-bottom: 15px;
}

.biblio-references li em {
    font-style: italic;
    color: #666;
}

/* ============================================
   RESPONSIVE PAGE BIBLIOGRAPHIE
   ============================================ */
@media (max-width: 1200px) {
    .biblio-list {
        padding: 40px 280px;
    }
    
    .biblio-image {
        width: 200px;
    }
}

@media (max-width: 1024px) {
    .biblio-list {
        padding: 40px 240px;
    }
    
    .biblio-image {
        width: 180px;
    }
    
    .biblio-image:nth-child(1),
    .biblio-image:nth-child(2),
    .biblio-image:nth-child(3),
    .biblio-image:nth-child(4) {
        left: 10px;
    }
    
    .biblio-image:nth-child(5),
    .biblio-image:nth-child(6),
    .biblio-image:nth-child(7),
    .biblio-image:nth-child(8) {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .biblio-container {
        padding: 60px 40px 40px 40px;
    }
    
    .biblio-title {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    
    .biblio-images-stack {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        min-height: auto;
        margin-bottom: 1000px;
    }
    
    .biblio-image {
        position: static;
        width: 100%;
        transform: rotate(0deg) !important;
    }
    
    .biblio-image:hover {
        transform: scale(1.05) rotate(0deg) !important;
    }
    
    .biblio-list {
        padding: 20px 20px;
    }
    
    .biblio-list-title {
        font-size: 1.8em;
    }
    
    .biblio-references li {
        font-size: 10pt;
    }
}

@media (max-width: 480px) {
    .biblio-container {
        padding: 50px 25px 25px 25px;
    }
    
    .biblio-title {
        font-size: 2em;
    }
    
    .biblio-images-stack {
        grid-template-columns: 1fr;
    }
    
    .biblio-list {
        padding: 20px 20px;
    }
    
    .biblio-list-title {
        font-size: 1.5em;
    }
    
    .biblio-references li {
        font-size: 9pt;
        line-height: 1.6;
        padding-left: 15px;
        border-left: 2px solid #C8102E;
    }
}
/* ============================================
   PAGE ÉTUDE DE CAS (etude-cas.html)
   ============================================ */
body.case-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.case-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px 60px 60px;
}

.case-deco-gif {
    position: absolute;
    top: 6%;
    right: 450px;
    transform: translateY(-50%);
    width: 150px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-10px);
    }
}

/* Titre principal */
.case-main-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 3em;
    color: #C8102E;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Grille 2 colonnes */
.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Colonnes */
.case-column-left,
.case-column-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Images grandes */
.case-large-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-large-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Texte */
.case-column-left p,
.case-column-right p {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin: 0;
}

/* ============================================
   RESPONSIVE PAGE ÉTUDE DE CAS
   ============================================ */
@media (max-width: 1024px) {
    .case-container {
        padding: 60px 50px 50px 50px;
    }
    
    .case-grid {
        gap: 40px;
    }
    
    .case-deco-gif {
        width: 120px;
        right: 400px;
    }
}

@media (max-width: 768px) {
    .case-container {
        padding: 60px 40px 40px 40px;
    }
    
    .case-main-title {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    
    .case-deco-gif {
        display: none;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-column-left p,
    .case-column-right p {
        font-size: 11pt;
    }
}

@media (max-width: 480px) {
    .case-container {
        padding: 50px 25px 25px 25px;
    }
    
    .case-main-title {
        font-size: 2em;
    }
    
    .case-column-left,
    .case-column-right {
        gap: 20px;
    }
    
    .case-column-left p,
    .case-column-right p {
        font-size: 10pt;
        line-height: 1.6;
    }
}
/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: #C8102E;
    padding: 80px 40px 30px 40px;
    text-align: center;
    margin-top: 90px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    margin-bottom: -60px;
}

/* Logo en gros qui dépasse en haut */
.footer-logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Jersey 20', sans-serif;
    font-size: 19px;
    color: #C8102E;
    background: rgba(245, 230, 224);
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 10;
}

/* Contenu du footer */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    margin-top: -40px;
}

.footer-name,
.footer-school,
.footer-promo {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12px;
    color: #f5e6e0;
    margin: 0;
    font-weight: 500;
}

.footer-name {
    font-weight: bold;
    font-size: 19px;
}

.footer-link {
    display: inline-block;
    background: #f5e6e0;
    color: #C8102E;
    font-family: 'Jersey 20', sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-link:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */
@media (max-width: 768px) {
    .site-footer {
        padding: 70px 30px 25px 30px;
        margin-top: 80px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .footer-logo {
        font-size: 20px;
        padding: 15px 40px;
        top: -30px;
    }
    
    .footer-name {
        font-size: 20px;
    }
    
    .footer-school,
    .footer-promo {
        font-size: 15px;
    }
    
    .footer-link {
        font-size: 20px;
        padding: 8px 25px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 60px 20px 20px 20px;
        margin-top: 60px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .footer-logo {
        font-size: 20px;
        padding: 12px 30px;
        top: -25px;
        letter-spacing: 1px;
    }
    
    .footer-name {
        font-size: 15px;
    }
    
    .footer-school,
    .footer-promo {
        font-size: 12px;
    }
    
    .footer-link {
        font-size: 20px;
        padding: 8px 20px;
    }
}
/* ============================================
   BOUTONS DE NAVIGATION PAGE
   ============================================ */
.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 60px auto 80px auto;
    padding: 0 60px;
    gap: 20px;
}

.nav-arrow {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #C8102E;
    color: #f5e6e0;
    font-family: 'Jersey 20', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-arrow:hover::before {
    left: 100%;
}

.nav-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.nav-arrow:active {
    transform: scale(1.05);
}

.arrow-icon {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-text {
    font-size: 1em;
}

/* Alignement spécifique */
.nav-prev {
    margin-right: auto;
}

.nav-next {
    margin-left: auto;
}

/* Si un seul bouton (désactiver l'autre) */
.nav-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

/* ============================================
   RESPONSIVE NAVIGATION PAGE
   ============================================ */
@media (max-width: 768px) {
    .page-navigation {
        padding: 0 40px;
        margin: 40px auto 60px auto;
    }
    
    .nav-arrow {
        font-size: 1em;
        padding: 12px 25px;
    }
    
    .arrow-icon {
        font-size: 15px;
    }
    
    .nav-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-navigation {
        padding: 0 25px;
        margin: 30px auto 50px auto;
        gap: 15px;
    }
    
    .nav-arrow {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    
    .arrow-icon {
        font-size: 12px;
    }
    
    .nav-text {
        display: none;
    }
}
/* ============================================
   PAGE ABSTRACT (abstract.html)
   ============================================ */
body.abstract-page {
    background: #f5e6e0;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

.abstract-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 60px 60px 60px;
    position: relative;
    z-index: 1;
}

.abstract-title {
    font-family: 'Jersey 20', sans-serif;
    font-size: 3em;
    color: #C8102E;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.abstract-content {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 12pt;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    background: rgba(245, 230, 224, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}
/* ============================================
   IMAGES FLOTTANTES (LIMITÉES AU CONTAINER)
   ============================================ */
.floating-images {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    max-width: 1400px;
    margin: 0 auto;
    height: calc(100% - 600px);
    pointer-events: none;
    z-index: 50;
}

.floating-image {
    position: absolute;
    width: 170px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid #C8102E;
    opacity: 0.85;
    pointer-events: none;
}

/* Positionnement des images (relatives au container) */
.floating-1 {
    top: 100px;
    left: 50px;
    animation: float1 8s ease-in-out infinite;
}

.floating-2 {
    top: 150px;
    right: 50px;
    animation: float2 10s ease-in-out infinite;
}

.floating-3 {
    top: 400px;
    left: 30px;
    animation: float3 12s ease-in-out infinite;
}

.floating-4 {
    top: 500px;
    right: 40px;
    animation: float4 9s ease-in-out infinite;
}

.floating-5 {
    top: 750px;
    left: 60px;
    animation: float5 11s ease-in-out infinite;
}

.floating-6 {
    top: 850px;
    right: 55px;
    animation: float6 13s ease-in-out infinite;
}

/* Différentes animations de flottement */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -15px) rotate(3deg);
    }
    50% {
        transform: translate(0, -30px) rotate(-2deg);
    }
    75% {
        transform: translate(-20px, -15px) rotate(2deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-25px, 20px) rotate(-3deg);
    }
    66% {
        transform: translate(15px, -10px) rotate(2deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 25px) rotate(4deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    40% {
        transform: translate(-20px, -20px) rotate(-2deg);
    }
    80% {
        transform: translate(10px, 15px) rotate(3deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    30% {
        transform: translate(15px, -25px) rotate(2deg);
    }
    70% {
        transform: translate(-15px, 10px) rotate(-3deg);
    }
}

@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, 20px) rotate(-2deg);
    }
    50% {
        transform: translate(20px, -15px) rotate(3deg);
    }
    75% {
        transform: translate(-15px, 5px) rotate(1deg);
    }
}

/* ============================================
   RESPONSIVE ABSTRACT
   ============================================ */
@media (max-width: 1400px) {
    .floating-images {
        max-width: 1200px;
    }
    
    .floating-1 { left: 30px; }
    .floating-2 { right: 30px; }
    .floating-3 { left: 20px; }
    .floating-4 { right: 25px; }
    .floating-5 { left: 35px; }
    .floating-6 { right: 30px; }
}

@media (max-width: 1200px) {
    .floating-images {
        max-width: 1000px;
    }
    
    .floating-image {
        width: 120px;
    }
    
    .floating-1 { left: 10px; }
    .floating-2 { right: 10px; }
    .floating-3 { left: 5px; }
    .floating-4 { right: 8px; }
    .floating-5 { left: 12px; }
    .floating-6 { right: 10px; }
}

@media (max-width: 768px) {
    .abstract-container {
        padding: 60px 40px 40px 40px;
    }
    
    .abstract-title {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    
    .abstract-content {
        font-size: 11pt;
        padding: 30px;
    }
    
    .floating-images {
        display: none;
    }
}

@media (max-width: 480px) {
    .abstract-container {
        padding: 50px 25px 25px 25px;
    }
    
    .abstract-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .abstract-content {
        font-size: 10pt;
        line-height: 1.6;
        padding: 25px;
    }
    
}