/* Variables */
:root {
    --primary-pink: #d64370;
    --primary-green: #4a9d5f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fafafa;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-inner p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

section {
    padding: 4rem 1rem;
    scroll-margin-top: 80px;
    /* Offset for sticky header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.section-title.center {
    text-align: center;
}

.highlight {
    color: var(--white);
    background-color: var(--primary-pink);
    padding: 0 0.5rem;
    display: inline-block;
    transform: skew(-5deg);
}

.highlight-green {
    color: var(--white);
    background-color: var(--primary-green);
    padding: 0 0.5rem;
    display: inline-block;
    transform: skew(-5deg);
}

.highlight-white {
    color: var(--primary-pink);
    background-color: var(--white);
    padding: 0 0.5rem;
    display: inline-block;
    transform: skew(-5deg);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-pink);
    color: var(--white);
    border: 2px solid var(--primary-pink);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-pink);
}

/* Header / Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    text-align: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
}

.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo avec image à gauche du texte */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-image {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

.mobile-menu-btn {
    display: none;
}

.hero-content {
    z-index: 2;
    padding: 0 1rem;
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--primary-pink);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .logo-image {
        height: 2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}



.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
}

.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

.mobile-menu-btn {
    display: none;
}

.hero-content {
    z-index: 2;
    padding: 0 1rem;
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--primary-pink);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Section 1: Tête de Liste - Grille 2x2 */

/* ========================================
   SECTION 1 : TÊTE DE LISTE - ANIMATIONS
   ======================================== */

/* Animation d'apparition progressive des paragraphes */
.fade-in-paragraph {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-paragraph.delay-1 {
    animation-delay: 0.2s;
}

.fade-in-paragraph.delay-2 {
    animation-delay: 0.4s;
}

.fade-in-paragraph.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pull-quote (citation mise en avant) avec animation */
.pull-quote {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-pink);
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary-pink);
    font-style: italic;
    position: relative;
    transition: all 0.4s ease;
    cursor: default;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pull-quote::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.2;
    font-family: Georgia, serif;
    transition: all 0.3s ease;
}

.pull-quote:hover {
    padding-left: 2rem;
    transform: translateX(5px);
    color: #b83359;
}

.pull-quote:hover::before {
    opacity: 0.4;
    left: -15px;
}

/* Pull-quote avec fond coloré */
.pull-quote.highlight-quote {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), rgba(255, 255, 255, 1));
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.pull-quote.highlight-quote::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.pull-quote.highlight-quote:hover::after {
    left: 100%;
}

.pull-quote.highlight-quote:hover {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.15), rgba(255, 255, 255, 1));
    box-shadow: 0 5px 20px rgba(214, 67, 112, 0.2);
}

/* Texte avec emphase (encadré) */
.text-emphasis {
    font-weight: 600;
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), rgba(255, 255, 255, 1));
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-pink);
    margin-top: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.text-emphasis::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--primary-pink);
    transition: height 0.4s ease;
}

.text-emphasis:hover {
    padding-left: 1.5rem;
    box-shadow: 0 5px 20px rgba(214, 67, 112, 0.15);
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.12), rgba(255, 255, 255, 1));
}

.text-emphasis:hover::before {
    height: 100%;
}

/* Icône d'emphase */
.emphasis-icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.text-emphasis:hover .emphasis-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Animation du HR (ligne de séparation) */
.animated-hr {
    margin: 2rem 0 2rem 0;
    border: none;
    border-top: 2px solid var(--primary-pink);
    opacity: 0.3;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.animated-hr::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary-pink);
    animation: slideHr 2s ease infinite;
}

@keyframes slideHr {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Section résumé des actions */
.action-summary {
    background: white;
    border: 2px solid var(--primary-pink);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.action-summary:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px rgba(214, 67, 112, 0.2);
    transform: translateY(-3px);
}

.action-summary:hover::before {
    transform: scaleX(1);
}

.action-summary h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.action-summary:hover h4 {
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Liste de projets stylisée */
.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 2rem;
    line-height: 1.6;
    font-size: 0.98rem;
    transition: all 0.3s ease;
}

.project-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-pink);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.project-list li:hover {
    padding-left: 2.5rem;
    font-weight: 600;
    color: var(--primary-pink);
}

.project-list li:hover::before {
    opacity: 1;
    transform: translateX(5px);
    color: var(--primary-green);
}

/* Animation au scroll (optionnel, nécessite JavaScript) */
.animated-text {
    transition: all 0.3s ease;
}

/* Effet hover global sur les colonnes de texte */
.grid-item.text-col {
    transition: all 0.3s ease;
}

.grid-item.text-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(214, 67, 112, 0.15);
}

/* Animation d'entrée des grid-items (au chargement) */
.grid-item {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.grid-item:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-item:nth-child(2) {
    animation-delay: 0.2s;
}

.grid-item:nth-child(3) {
    animation-delay: 0.3s;
}

.grid-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive : désactiver certaines animations sur mobile */
@media (max-width: 768px) {
    .pull-quote:hover {
        transform: translateX(0);
    }

    .text-emphasis:hover {
        transform: translateX(0);
    }

    .action-summary:hover {
        transform: translateY(0);
    }

    .grid-item.text-col:hover {
        transform: translateY(0);
    }
}


/* Pull-quote (citation mise en avant) */
.pull-quote {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-pink);
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary-pink);
    font-style: italic;
    position: relative;
}

.pull-quote::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.pull-quote.highlight-quote {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.05), rgba(255, 255, 255, 1));
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 4px;
}

.text-emphasis {
    font-weight: 600;
    color: var(--text-dark);
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), transparent);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.grid-layout-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 3rem;
    margin-top: 3rem;
}

.grid-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.grid-item.photo-col,
.grid-item.video-col {
    justify-content: center;
    align-items: center;
}

.grid-item.text-col {
    justify-content: flex-start;
    align-items: stretch;
}

.grid-item .bio-text {
    width: 100%;
}

.grid-item .bio-text p {
    margin: 0;
}

.grid-item .photo-wrapper,
.grid-item .instagram-wrapper,
.grid-item .video-responsive {
    width: 100%;
    max-width: 450px;
}

.grid-item.full-width-video {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    padding: 3rem 2rem;
}

.video-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

.grid-item.full-width-video .video-responsive {
    max-width: 100%; /* Occupe toute la largeur disponible */
    margin: 0 auto; /* Centrage */
}

.video-responsive {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-responsive iframe,
.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}




/* Anciens styles pour split-layout (conservés pour compatibilité) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.photo-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.photo-wrapper img {
    position: relative;
    z-index: 2;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.photo-accent {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-pink);
    z-index: 1;
}

/* Video wrapper pour vidéos YouTube (16:9) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Instagram wrapper pour vidéos portrait */
.instagram-wrapper {
    position: relative;
    max-width: 540px;
    margin: 0 auto 2rem;
}

.instagram-wrapper .instagram-media {
    margin: 0 auto !important;
}

.bio-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

.bio-text hr {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid var(--primary-pink);
    opacity: 0.3;
}

/* Section 2: Candidats */
.bg-light {
    background-color: #f4f4f4;
}

.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.candidate-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.candidate-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(214, 67, 112, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image:hover .card-overlay {
    opacity: 1;
}

.btn-icon {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--white);
    color: var(--primary-pink);
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--primary-pink);
}

.card-info .desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Section 3: Programme (Accordion) */
.accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
}

.accordion-header {
    background: linear-gradient(90deg, #f8f8f8, #ffffff);
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s ease;
    border-left: 5px solid transparent;
}

.accordion-item:nth-child(1) .accordion-header {
    border-left-color: #d64370;
}

.accordion-item:nth-child(2) .accordion-header {
    border-left-color: #e85d8a;
}

.accordion-item:nth-child(3) .accordion-header {
    border-left-color: #6fb583;
}

.accordion-item:nth-child(4) .accordion-header {
    border-left-color: #5aaa72;
}

.accordion-item:nth-child(5) .accordion-header {
    border-left-color: #4a9d5f;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-header h3 {
    font-weight: 700;
    flex: 1;
    font-size: 1.3rem;
}

.toggle-icon {
    font-weight: 300;
    font-size: 2rem;
    line-height: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.content-inner {
    padding: 2rem;
    background: var(--white);
}

/* Titres avec flèches → (sous-titres thématiques) */
.content-inner h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    cursor: pointer;
}

.content-inner h4:first-of-type {
    margin-top: 0;
}

/* Effet hover sur les titres h4 */
.content-inner h4:hover {
    transform: translateX(8px);
    font-weight: 800;
}

/* Soulignement décoratif au hover des h4 */
.content-inner h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.4s ease;
}

.content-inner h4:hover::after {
    width: 40px;
}

/* Animation de la couleur au hover - par section */
.accordion-item:nth-child(1) .content-inner h4:hover {
    color: #d64370;
}

.accordion-item:nth-child(2) .content-inner h4:hover {
    color: #e85d8a;
}

.accordion-item:nth-child(3) .content-inner h4:hover {
    color: #6fb583;
}

.accordion-item:nth-child(4) .content-inner h4:hover {
    color: #5aaa72;
}

.accordion-item:nth-child(5) .content-inner h4:hover {
    color: #4a9d5f;
}

/* Style spécifique pour le texte en gras highlight */
.content-inner .highlight-text {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.1), rgba(74, 157, 95, 0.1));
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-pink);
    margin: 1.5rem 0;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-inner .highlight-text::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--primary-pink);
    transition: height 0.4s ease;
}

.content-inner .highlight-text:hover {
    padding-left: 2rem;
    box-shadow: 0 3px 15px rgba(214, 67, 112, 0.1);
    transform: translateX(5px);
}

.content-inner .highlight-text:hover::before {
    height: 100%;
}

/* Couleur dynamique du highlight-text par section */
.accordion-item:nth-child(1) .content-inner .highlight-text {
    border-left-color: #d64370;
}

.accordion-item:nth-child(1) .content-inner .highlight-text::before {
    background: #d64370;
}

.accordion-item:nth-child(2) .content-inner .highlight-text {
    border-left-color: #e85d8a;
}

.accordion-item:nth-child(2) .content-inner .highlight-text::before {
    background: #e85d8a;
}

.accordion-item:nth-child(3) .content-inner .highlight-text {
    border-left-color: #6fb583;
}

.accordion-item:nth-child(3) .content-inner .highlight-text::before {
    background: #6fb583;
}

.accordion-item:nth-child(4) .content-inner .highlight-text {
    border-left-color: #5aaa72;
}

.accordion-item:nth-child(4) .content-inner .highlight-text::before {
    background: #5aaa72;
}

.accordion-item:nth-child(5) .content-inner .highlight-text {
    border-left-color: #4a9d5f;
}

.accordion-item:nth-child(5) .content-inner .highlight-text::before {
    background: #4a9d5f;
}

/* Section POUR DEMAIN / NOUS IRONS PLUS LOIN - Avec effets hover */
.measures {
    margin-top: 2rem;
    background: #fdfdfd;
    padding: 1.5rem;
    border-left: 3px solid #ccc;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Effet shine au hover */
.measures::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.measures:hover::before {
    left: 100%;
}

/* Hover global du bloc measures */
.measures:hover {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), rgba(255, 255, 255, 1));
    border-left-width: 5px;
    padding-left: 2rem;
    box-shadow: 0 5px 20px rgba(214, 67, 112, 0.15);
    transform: translateX(5px);
}

/* Couleurs de bordure par défaut (sans hover) */
.accordion-item:nth-child(1) .measures {
    border-left-color: #d64370;
}

.accordion-item:nth-child(2) .measures {
    border-left-color: #e85d8a;
}

.accordion-item:nth-child(3) .measures {
    border-left-color: #6fb583;
}

.accordion-item:nth-child(4) .measures {
    border-left-color: #5aaa72;
}

.accordion-item:nth-child(5) .measures {
    border-left-color: #4a9d5f;
}

/* Couleurs de fond au hover (par section) */
.accordion-item:nth-child(1) .measures:hover {
    border-left-color: #d64370;
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), rgba(255, 255, 255, 1));
}

.accordion-item:nth-child(2) .measures:hover {
    border-left-color: #e85d8a;
    background: linear-gradient(135deg, rgba(232, 93, 138, 0.08), rgba(255, 255, 255, 1));
}

.accordion-item:nth-child(3) .measures:hover {
    border-left-color: #6fb583;
    background: linear-gradient(135deg, rgba(111, 181, 131, 0.08), rgba(255, 255, 255, 1));
}

.accordion-item:nth-child(4) .measures:hover {
    border-left-color: #5aaa72;
    background: linear-gradient(135deg, rgba(90, 170, 114, 0.08), rgba(255, 255, 255, 1));
}

.accordion-item:nth-child(5) .measures:hover {
    border-left-color: #4a9d5f;
    background: linear-gradient(135deg, rgba(74, 157, 95, 0.08), rgba(255, 255, 255, 1));
}

/* Style du titre h4 dans measures */
.measures h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/* Animation du titre au hover */
.measures:hover h4 {
    transform: translateX(8px);
    letter-spacing: 1.5px;
}

/* Soulignement animé du titre */
.measures h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.4s ease;
}

.measures:hover h4::after {
    width: 100%;
}

/* Couleur du titre au hover (par section) */
.accordion-item:nth-child(1) .measures:hover h4 {
    color: #d64370;
}

.accordion-item:nth-child(2) .measures:hover h4 {
    color: #e85d8a;
}

.accordion-item:nth-child(3) .measures:hover h4 {
    color: #6fb583;
}

.accordion-item:nth-child(4) .measures:hover h4 {
    color: #5aaa72;
}

.accordion-item:nth-child(5) .measures:hover h4 {
    color: #4a9d5f;
}

/* Style des items de liste */
.measures ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animation globale des items au hover du bloc */
.measures:hover ul li {
    padding-left: 2rem;
}

/* Bullets transformés en flèches */
.measures ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: all 0.3s ease;
    opacity: 0.7;
}

/* Animation des flèches au hover */
.measures:hover ul li::before {
    opacity: 1;
    transform: translateX(5px);
}

/* Couleur des flèches (par section) */
.accordion-item:nth-child(1) .measures ul li::before {
    color: #d64370;
}

.accordion-item:nth-child(2) .measures ul li::before {
    color: #e85d8a;
}

.accordion-item:nth-child(3) .measures ul li::before {
    color: #6fb583;
}

.accordion-item:nth-child(4) .measures ul li::before {
    color: #5aaa72;
}

.accordion-item:nth-child(5) .measures ul li::before {
    color: #4a9d5f;
}

/* Hover individuel sur chaque item de liste */
.measures ul li:hover {
    font-weight: 500;
    transform: translateX(3px);
}

/* Innovative Programme Photos: "Organic Duo" */
.accordion-item[data-color="#d64370"] {
    --section-color: #d64370;
}

.accordion-item[data-color="#e85d8a"] {
    --section-color: #e85d8a;
}

.accordion-item[data-color="#6fb583"] {
    --section-color: #6fb583;
}

.accordion-item[data-color="#5aaa72"] {
    --section-color: #5aaa72;
}

.accordion-item[data-color="#4a9d5f"] {
    --section-color: #4a9d5f;
}

.programme-images {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    justify-content: center;
    padding: 1rem;
}

.programme-image-container {
    flex: 1;
    position: relative;
    height: 280px;
    z-index: 1;
}

/* The "Pastille" (colored background blob) */
.programme-image-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background-color: var(--section-color);
    opacity: 0.15;
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Asymmetric shapes */
.programme-image-container:nth-child(odd) {
    border-radius: 60px 20px 60px 20px;
}

.programme-image-container:nth-child(even) {
    border-radius: 20px 60px 20px 60px;
}

.programme-image-container:nth-child(odd)::before {
    border-radius: 60px 20px 60px 20px;
}

.programme-image-container:nth-child(even)::before {
    border-radius: 20px 60px 20px 60px;
}

.programme-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, filter 0.3s ease;
    border: 3px solid var(--white);
}

.programme-image-container:nth-child(odd) img {
    border-radius: 60px 20px 60px 20px;
}

.programme-image-container:nth-child(even) img {
    border-radius: 20px 60px 20px 60px;
}

/* Interactions */
.programme-image-container:hover img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.programme-image-container:hover::before {
    transform: translate(15px, 15px) scale(1.05);
    opacity: 0.25;
}

/* Responsive */
@media (max-width: 768px) {
    .programme-images {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }

    .programme-image-container {
        height: 220px;
    }

    .programme-image-container::before {
        right: -8px;
        bottom: -8px;
    }

    .content-inner h4:hover {
        transform: translateX(4px);
    }

    .content-inner .highlight-text:hover {
        transform: translateX(0);
        padding-left: 1.5rem;
    }

    .measures:hover {
        transform: translateX(0);
        padding-left: 1.5rem;
    }

    .measures:hover ul li {
        padding-left: 1.5rem;
    }
}


/* Section 4: Agenda (Timeline) */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--primary-pink);
    transform: translateX(-50%);
}

.event-card {
    position: relative;
    width: calc(50% - 30px);
    margin-bottom: 3rem;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(214, 67, 112, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(214, 67, 112, 0.03));
    border-left: 4px solid var(--primary-pink);
}

.event-card::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-pink);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 2px var(--primary-pink);
    transition: all 0.3s ease;
}

.event-card:hover::after {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(214, 67, 112, 0.3);
}

.event-card.left {
    margin-right: auto;
}

.event-card.left::after {
    right: -42px;
}

.event-card.right {
    margin-left: auto;
}

.event-card.right::after {
    left: -42px;
}

.event-date {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.event-card:hover .event-date {
    transform: scale(1.05);
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.event-card:hover .event-content h3 {
    color: var(--primary-pink);
}

.event-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.highlight-event {
    border: 3px solid #d64370;
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.05), rgba(74, 157, 95, 0.05));
}

.highlight-event:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(214, 67, 112, 0.4);
    border: 3px solid var(--primary-pink);
}

.highlight-event .event-date {
    background: #d64370;
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(214, 67, 112, 0.3);
}

.highlight-event .event-content h3 {
    color: #d64370;
    font-size: 1.5rem;
}

.highlight-event .event-content strong {
    color: #d64370;
}



/* Section 5: Contact */
.contact-section {
    background: linear-gradient(45deg, var(--primary-green), var(--primary-pink));
    color: var(--white);
    padding: 6rem 1rem;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    border-radius: 4px;
}

.btn-submit {
    background: var(--white);
    color: var(--primary-pink);
    width: 100%;
    border: none;
}

.btn-submit:hover {
    background: var(--primary-pink);
    color: var(--white);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-pink);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    /* Grille 2x2 devient 1 colonne sur mobile */
    .grid-layout-2x2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-item.photo-col,
    .grid-item.video-col {
        min-height: auto;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-pink);
        margin: 5px 0;
    }

    .timeline-line {
        left: 20px;
    }

    .event-card {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

    .event-card::after {
        left: -42px !important;
    }
}

/* ========================================
   PAGES LÉGALES - STYLES
   ======================================== */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
    color: var(--primary-pink);
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-pink);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(214, 67, 112, 0.3);
}

.legal-content h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary-pink);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-green);
}

/* Tableaux */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.data-table thead {
    background: var(--primary-pink);
    color: white;
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

.data-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
}

.data-table tbody tr:hover {
    background: rgba(214, 67, 112, 0.05);
}

/* Grille des droits RGPD */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), rgba(255, 255, 255, 1));
    border-left: 4px solid var(--primary-pink);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(214, 67, 112, 0.2);
}

.right-card h4 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.right-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Introduction en exergue */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    background: linear-gradient(135deg, rgba(74, 157, 95, 0.1), rgba(255, 255, 255, 1));
    padding: 1.5rem;
    border-left: 5px solid var(--primary-green);
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Date de mise à jour */
.update-date {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

/* Lien retour */
.back-link {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }
}

/* Table des matières */
.table-of-contents {
    background: linear-gradient(135deg, rgba(214, 67, 112, 0.08), rgba(255, 255, 255, 1));
    border-left: 5px solid var(--primary-pink);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.table-of-contents h3 {
    color: var(--primary-pink);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.5rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.table-of-contents a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.table-of-contents a:hover {
    color: var(--primary-pink);
    text-decoration: underline;
    padding-left: 5px;
}

/* ========================================
   IMAGE PROTECTION STYLES
   ======================================== */

/* Protected image wrapper with invisible overlay */
.protected-image-wrapper {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Enhanced card-image as protected wrapper */
.card-image {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

/* Transparent protective overlay */
.image-protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: default;
    background: transparent;
    pointer-events: auto;
}

/* Prevent image selection and dragging */
.card-image img,
.protected-image-wrapper img,
[data-protected="true"] {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

/* Performance optimization for candidate cards */
.candidate-card {
    will-change: transform;
    contain: layout style paint;
}

/* Lazy loading optimization - hide images until loaded */
.candidate-card img[loading="lazy"]:not([src]) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.candidate-card img[loading="lazy"][src] {
    opacity: 1;
}

/* Content visibility optimization for off-screen cards */
.candidate-card {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* Protection notification styles */
.image-protection-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-pink);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    max-width: 300px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .image-protection-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }

    /* Reduce will-change on mobile for better performance */
    .candidate-card {
        will-change: auto;
    }
}