@charset "UTF-8";
/*
Theme Name: La Salle de Sport
Author: Inspired by Literatur Theme
Description: Modern cinema workshop website with dynamic typography
Version: 2.0
*/

/* Typography Faces - System fonts fallbacks for GT-Alpina style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');


/* Empêcher les barres de défilement horizontales sur tout le site */
html, body {
    overflow-x: hidden !important;
}

/* Force pour tous les éléments potentiellement problématiques */
* {
    box-sizing: border-box !important;
}

/* Empêcher tout débordement horizontal */
body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* Correction pour les conteneurs principaux */
#pageContent, .container, main {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Cacher complètement les barres de défilement tout en gardant la fonctionnalité */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
    display: none !important;
}

::-webkit-scrollbar-thumb {
    background: transparent !important;
}

::-webkit-scrollbar-track {
    background: transparent !important;
}

/* Firefox */
* {
    scrollbar-width: none !important;
    scrollbar-color: transparent transparent !important;
}

html, body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important; /* Internet Explorer 10+ */
}

/* Pour tous les éléments qui peuvent avoir des barres de défilement */
body, html, div, section, article, main, aside, nav, header, footer {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body::-webkit-scrollbar, 
html::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
}

/* Force absolue pour cacher toutes les barres de défilement - à mettre à la fin pour priorité */
html {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Partners/Soutiens Styling */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* News/Actualités Styling - Style de la copie 5 */
.news-list {
    background-color: #fff;
    padding: 0;
}

/* Liens participants dans les actualités */
.news-participants {
    margin-top: 6px;
    font-size: 0.65rem;
    color: #666;
    font-family: 'Ibarra Real Nova', serif;
    font-style: normal;
    line-height: 1.2;
}

/* Style identique à .participant-meta - règle ultra spécifique */
.news-item .news-participants .news-participants-link {
    font-family: 'Ibarra Real Nova', serif !important;
    font-size: 0.7rem !important;
    color: #666 !important;
    margin-top: 0.25rem;
    line-height: 1.2 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.2s ease;
    margin-left: 2px;
    display: inline !important;
    text-transform: none !important;
}

.news-item .news-participants .news-participants-link:hover {
    color: #333 !important;
    text-decoration: underline !important;
}

.news-participants-arrow {
    color: #999;
    margin-right: 2px;
    font-size: 0.65rem;
    font-family: 'Ibarra Real Nova', serif;
}

/* Section actualités dans les pages participants */
.participant-news-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.participant-news-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
}

.participant-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Actualités liées - Deux blocs séparés */
.participant-news-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.participant-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.participant-news-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.participant-news-title a {
    color: #000;
    text-decoration: none;
}

.participant-news-title a:hover {
    text-decoration: underline;
}

.participant-news-resume {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    color: #333;
}

.participant-news-date-bottom {
    font-family: 'Ibarra Real Nova', serif;
    font-size: 0.65rem;
    color: #666;
    text-align: left;
    font-style: italic;
}

.participant-news-item:last-child {
    border-bottom: none;
}

.participant-news-date {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participant-news-title {
    color: #000;
    font-weight: 400;
    line-height: 1.3;
}

/* Styles news supprimés - voir plus bas dans le fichier pour éviter duplications */

/* === CLASSES CSS UNIFIÉES POUR SUPPRIMER TOUS LES STYLES INLINE === */

/* UTILITAIRES GÉNÉRAUX */
.hidden { display: none !important; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.text-center { text-align: center; }
.text-strong { font-weight: 500; }

/* INDICATEUR DE PAGE COMPLETEMENT FIXE */
.page-indicator-container {
    position: fixed;
    top: 60px;
    left: calc(50% + 30px);
    z-index: 100;
    pointer-events: none;
}

.page-indicator {
    font-size: 0.65rem;
    color: #666;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 3px;
    pointer-events: auto;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
    text-align: left;
    line-height: 1.2;
    white-space: normal; /* Permet les <br> mais pas les retours automatiques par débordement */
    overflow: visible;
}

.page-indicator:hover {
    opacity: 1;
    color: #333;
}

/* Classe pour les titres principaux de pages (accueil, programmes, téléchargements) */
.page-header {
    /* Style identique à page-title */
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.5rem !important;
    color: #000 !important;
    margin: 0 0 0.5rem 0 !important;
}

/* ESPACEMENTS STANDARDS */
.mb-05 { margin-bottom: 0.5rem !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-15 { margin-bottom: 1.5rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-25 { margin-bottom: 2.5rem !important; }
.mt-05 { margin-top: 0.5rem !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-15 { margin-top: 1.5rem !important; }
.mt-2 { margin-top: 2rem !important; }

/* FORMULAIRES */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.newsletter-input {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #000;
    background-color: #fff;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem;
    outline: none;
    border-radius: 0;
}

.newsletter-button {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    outline: none;
    border-radius: 0;
}

.newsletter-message {
    font-size: 14px;
    margin-top: 5px;
}

/* HEADER NEWS */
.news-page-header {
    background: #FF495A !important;
    border-top: 1px solid #000;
    border-bottom: 2px solid #000;
    padding: 3px 8px !important;
}

.page-sommaire.news-page-header {
    background: #FF495A !important;
    padding: 3px 8px !important;
}

.news-page-header .search-container {
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    width: 100% !important;
    flex: none !important;
}

.news-page-header .search-container .newsletter-form {
    gap: 0.3rem !important;
    padding: 0 !important;
}

.news-page-header .search-container input {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
    margin: 0 !important;
}

.news-page-header .search-container button {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
    margin: 0 !important;
}

.news-page-header .search-container .sidebar-social {
    padding: 0.2rem 0 0.3rem 0 !important;
    font-size: 0.7rem !important;
    margin: 0 !important;
}

/* Fallbacks plus spécifiques */
.news-page-header .newsletter-form {
    gap: 0.15rem !important;
}

.news-page-header .newsletter-input {
    padding: 3px 6px !important;
    font-size: 0.7rem !important;
}

.news-page-header .newsletter-button {
    padding: 3px 6px !important;
    font-size: 0.7rem !important;
}

.news-page-header .sidebar-social {
    padding: 0.05rem 0 !important;
    font-size: 0.65rem !important;
    margin: 0 !important;
}

/* IFRAME CACHÉS */
.hidden-iframe {
    display: none;
}

/* TYPOGRAPHIE PAGES */
.page-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: #000;
}


.section-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.section-title-spaced {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.5rem 0 1rem 0;
}

.text-content {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #444;
    font-weight: 300;
}

.text-content:last-child {
    margin-bottom: 0;
}

.text-content-last {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: #444;
    font-weight: 300;
}

/* LAYOUT CARDS */
.card-padding {
    padding: 1.5rem;
}

/* LISTES */
.text-list {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #444;
    font-weight: 300;
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.text-list li {
    margin-bottom: 0.5rem;
}

/* TEXTE EMPHASÉ */
.text-emphasis {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #444;
    font-weight: 500;
}

.text-list-last {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #444;
    font-weight: 300;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
}

/* SECTIONS SPÉCIALES */
.section-title-green {
    color: #50FF93;
}

.text-white {
    color: #fff;
}

.center-container {
    text-align: center;
    margin-top: 2rem;
}

/* MESSAGES DE CANDIDATURE */
.candidature-message {
    padding: 15px 20px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #50FF93;
    background: transparent;
    line-height: 1.5;
    margin: 15px 0;
    display: none;
}

/* POPUPS */
.popup-success {
    display: none;
    position: fixed;
    top: 20px;
    right: calc(75% + 20px);
    background-color: #50FF93;
    color: #000;
    padding: 20px 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 300;
    z-index: 9999;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: opacity 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Neutralise le style .color-section pour qu'il s'aligne avec le formulaire */
.color-section.form-aligned {
  margin: 2rem 0 !important;
  width: 100% !important;
  margin-left: 0 !important;
  border: none !important;
}

/* BOUTONS D'APPEL À L'ACTION */
.cta-button {
    background-color: #50FF93;
    color: #000;
    border: 1px solid #50FF93;
    padding: 12px 32px;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    border-radius: 0;
}

.cta-button:hover {
    background-color: #000;
    color: #50FF93;
    border-color: #000;
}

.cta-button-disabled {
    background-color: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.cta-button-disabled:hover {
    background-color: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
}

/* SECTIONS DE COULEUR */
.color-section {
    padding: 2rem;
    margin: 2rem 0;
}

.color-section.black {
    background-color: #000;
    color: #fff;
}

.color-section.black h2 {
    color: #50FF93 !important;
}

.color-section.black p {
    color: #fff !important;
}

/* MESSAGES DE CANDIDATURE */
.candidature-message {
    padding: 15px 20px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: #50FF93;
    background: transparent;
    line-height: 1.5;
    margin: 15px 0;
    display: none;
}

/* === SYSTÈME TYPOGRAPHIQUE UNIFIÉ === */
/* Basé sur le design parfait de la page Programme Long */

/* Titre principal de page */
.page-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.5rem !important;
    color: #000 !important;
    margin: 0 0 0.5rem 0 !important;
}

/* Titre de section principal (h1) - même style que page-header */
.title-section, h1.page-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.5rem !important;
    color: #000 !important;
    margin: 0 0 0.5rem 0 !important;
}

/* Description sous le titre */
.page-description {
    font-family: 'Ibarra Real Nova', serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 2.5rem !important;
    color: #444 !important;
    font-weight: 300 !important;
}

/* Titres de cartes (headers) */
.card-header h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin: 0 !important;
}

/* Contenu de cartes - paragraphes */
.card-content p {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: #444 !important;
    font-weight: 300 !important;
    margin-bottom: 1rem !important;
}

.card-content p:last-child {
    margin-bottom: 0 !important;
}

/* Sous-titres dans les cartes */
.card-content h2,
.card-content h3 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin: 1.5rem 0 1rem 0 !important;
}

/* Listes dans les cartes */
.card-content ul {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: #444 !important;
    font-weight: 300 !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.card-content li {
    margin-bottom: 0.5rem !important;
}

/* Navigation et boutons retour */
.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.discrete-back-btn {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    text-decoration: none !important;
    font-weight: 300 !important;
}

.discrete-back-btn:hover {
    color: #000 !important;
}

/* Espacement uniforme des sections */
.card-section {
    margin-bottom: 2rem !important;
}

.card-section:last-child {
    margin-bottom: 0 !important;
}

.card-content {
    padding: 1.5rem !important;
}

/* Featured News Circle */
.featured-news-circle {
    position: fixed;
    top: 80px; /* En dessous du header */
    right: 32%; /* Plus à gauche, peut déborder sur la colonne verte */
    width: 200px; /* Taille originale desktop */
    height: 200px; /* Taille originale desktop */
    background: linear-gradient(135deg, #000 0%, #222 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center; /* Centrage vertical amélioré */
    justify-content: center;
    text-align: center;
    padding: 25px; /* Padding original desktop */
    box-sizing: border-box;
    z-index: 99; /* Z-index original desktop */
    font-family: 'Inter', sans-serif;
    font-size: 13px; /* Taille originale desktop */
    font-weight: 400;
    line-height: 1.3;
    animation: pulse 3s infinite;
    box-shadow: 0 6px 25px rgba(80, 255, 147, 0.15);
    border: 2px solid #50FF93; /* Utilise le vert accent du projet */
    cursor: grab;
    text-decoration: none;
    transition: all 0.3s ease;
    user-select: none; /* Prevent text selection during drag */
}

.featured-news-circle:hover {
    transform: scale(1.03);
    border-color: #fef35a; /* Change vers le jaune accent au hover */
    box-shadow: 0 8px 35px rgba(254, 243, 90, 0.25);
}

.featured-news-circle:active,
.featured-news-circle.dragging {
    cursor: grabbing;
    transform: scale(1.01);
}

.circle-content {
    display: block;
    max-width: 150px; /* Limite pour éviter débordement */
    overflow: hidden;
    text-overflow: ellipsis;
}

.circle-content .title {
    font-family: 'Inter', sans-serif;
    font-weight: 700; /* Plus bold pour plus d'impact */
    font-size: 14px; /* Légèrement plus grand */
    line-height: 1.2;
    margin-bottom: 12px; /* Plus d'espace */
    color: #fff;
    letter-spacing: 0.02em; /* Espacement subtil des lettres */
    text-transform: capitalize; /* Mise en forme élégante */
}

.circle-content .summary {
    font-family: 'Ibarra Real Nova', serif; /* Font serif pour contraste élégant */
    font-size: 15px;
    font-style: italic; /* Italique pour différenciation */
    color: #ccc;
    line-height: 1.4; /* Ligne plus aérée */
    opacity: 1; /* Légèrement transparent pour hiérarchie */
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(80, 255, 147, 0.15);
        border-color: #50FF93;
    }
    50% { 
        transform: scale(1.02); /* Animation plus subtile */
        box-shadow: 0 8px 30px rgba(80, 255, 147, 0.3);
        border-color: #50FF93;
    }
}

@keyframes circleAppear {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes circleDisappear {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(0);
        opacity: 0;
    }
}

.featured-news-circle.appearing {
    animation: circleAppear 0.5s ease-out forwards;
}

.featured-news-circle.disappearing {
    animation: circleDisappear 0.3s ease-in forwards;
}

@media (max-width: 1400px) {
    .featured-news-circle {
        width: 180px; /* Taille originale */
        height: 180px; /* Taille originale */
        right: 25%;
        padding: 22px; /* Padding original */
    }
    
    .circle-content .title {
        font-size: 13px; /* Taille originale */
    }
    
    .circle-content .summary {
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .featured-news-circle {
        width: 150px; /* Taille originale */
        height: 150px; /* Taille originale */
        right: 15%;
        padding: 20px; /* Padding original */
    }
    
    .circle-content {
        max-width: 110px; /* Taille originale */
    }
    
    .circle-content .title {
        font-size: 12px; /* Taille originale */
        margin-bottom: 10px;
    }
    
    .circle-content .summary {
        font-size: 10px; /* Taille originale */
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    /* Espacement spécial pour les titres principaux sur mobile */
    .page-header {
        margin-top: 3rem !important; /* Plus d'espace au-dessus sur mobile */
        margin-bottom: 2rem !important;
    }
    
    .featured-news-circle {
        width: 216px; /* 180px * 1.2 = Plus gros de 20% sur mobile */
        height: 216px; /* 180px * 1.2 = Plus gros de 20% sur mobile */
        right: 8%;
        padding: 29px; /* 24px * 1.2 */
        top: 70px;
        z-index: 100; /* En dessous des overlays mobiles (z-index 200) */
    }
    
    .circle-content {
        max-width: 156px; /* 130px * 1.2 */
    }
    
    .circle-content .title {
        font-size: 14px; /* 12px * 1.2 */
        margin-bottom: 10px; /* 8px * 1.2 */
        font-weight: 600;
    }
    
    .circle-content .summary {
        font-size: 13px; /* 9px * 1.2 pour lisibilité */
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .featured-news-circle {
        width: 168px; /* 140px * 1.2 = Plus gros de 20% sur très petit mobile */
        height: 168px; /* 140px * 1.2 = Plus gros de 20% sur très petit mobile */
        right: 5%;
        top: 60px;
        padding: 22px; /* 18px * 1.2 */
        z-index: 100; /* En dessous des overlays mobiles */
    }
    
    .circle-content {
        max-width: 120px; /* 100px * 1.2 */
    }
    
    .circle-content .title {
        font-size: 13px; /* 11px * 1.2 pour lisibilité */
        margin-bottom: 10px; /* 8px * 1.2 */
    }
    
    .circle-content .summary {
        font-size: 12px; /* 8px * 1.2 */
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .featured-news-ticker {
        width: 100%;
        font-size: 12px;
        padding: 6px 1rem;
    }
}

/* Handwriting-style font class */
.handwriting {
    font-family: 'Ibarra Real Nova', serif;
    font-size: 1.05em;
    color: #333;
    font-weight: 500;
}

/* Styles pour les pages de participants */
.participant-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.participant-page header {
    margin-bottom: 40px;
    border-bottom: 2px solid #50FF93;
    padding-bottom: 20px;
}

.participant-page h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5em;
    margin: 0 0 10px 0;
    color: #000;
    letter-spacing: -0.02em;
}

.programme-info {
    font-size: 1.1em;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.participant-page main {
    margin-bottom: 40px;
}

.project-section, .bio-section {
    margin-bottom: 30px;
}

.participant-page h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.4em;
    color: #000;
    margin: 30px 0 15px 0;
    border-left: 4px solid #50FF93;
    padding-left: 15px;
}

.participant-page h3 {
    font-family: 'Ibarra Real Nova', serif;
    font-weight: 600;
    font-size: 1.3em;
    color: #333;
    margin: 20px 0 10px 0;
    font-style: italic;
}

.participant-page p {
    margin: 15px 0;
    font-size: 1em;
    text-align: justify;
}

.pitch {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #fef35a;
    font-style: italic;
    margin: 20px 0;
}

/* Styles pour les collaborateurs */
.collaborators {
    margin: 15px 0 20px 0;
    padding: 12px 15px;
    background: #e8f5e8;
    border-radius: 6px;
    border-left: 3px solid #50FF93;
}

.collaborators-info {
    margin: 0;
    font-size: 0.95em;
    color: #2d6a2d;
    font-weight: 500;
}

.collaborator-link {
    color: #1a5d1a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.collaborator-link:hover {
    color: #0d4b0d;
    border-bottom-color: #50FF93;
    text-decoration: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    padding: 10px 20px;
    border: 2px solid #007cba;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #007cba;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .participant-page {
        padding: 20px 15px;
    }
    
    .participant-page h1 {
        font-size: 2em;
    }
    
    .participant-page p {
        text-align: left;
    }
}

/* Reset and Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-size: 16px; /* Base desktop */
    background-color: #fff;
    transition: background-color 0.125s ease-in-out;
}

/* Agrandir légèrement sur mobile pour meilleure lisibilité */
@media (max-width: 768px) {
    html, body {
        font-size: 20px; /* +25% sur mobile - compromis entre lisibilité et encombrement */
    }
}

@media (min-width: 1400px) {
    html, body {
        font-size: 18px; /* Desktop large */
    }
}

::-moz-selection {
    background: black;
    color: #fff;
}

::selection {
    background: black;
    color: #fff;
}


/* Vertical Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px; /* Ajusté pour équilibre */
    width: 300px; /* Équilibre optimal */
    height: 100vh;
    background-color: #fff;
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid #000;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
}

/* Ajustements mobile pour sidebar */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 80vw; /* 80% de l'écran mobile */
        left: -80vw;
    }
    
    /* Cacher le bouton sidebar sur mobile - le menu burger suffit */
    .sidebar-toggle {
        display: none;
    }
    
    /* Assurer que sidebar active fonctionne sur mobile */
    .sidebar-menu.active {
        left: 0 !important;
    }
}

.sidebar-menu.active {
    left: 0 !important;
}

.sidebar-toggle {
    position: fixed;
    top: 50%;
    left: 0;
    width: 20px;
    height: 60px;
    background-color: #fff;
    border: 1px solid #000;
    border-left: none;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: #fef35a;
}

.sidebar-toggle::after {
    content: "▶";
    color: #000;
    font-size: 12px;
    transition: all 0.3s ease;
}

.sidebar-toggle.active::after {
    content: "◀";
}

.sidebar-content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-section {
    color: #000;
    border-bottom: 1px solid #000;
}

.sidebar-section:last-child {
    border-bottom: 1px solid #000;
}

.sidebar-section h3 {
    position: sticky;
    padding: 10px 8px;
    margin-bottom: -1px;
    top: 0px;
    background: #FF495A;
    z-index: 6;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    display: flex;
    font-size: 0.75em;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    margin: 0;
}

.sidebar-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

.sidebar-section ul li {
    padding: 0.6em 8px;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.sidebar-section ul li:last-child {
    border-bottom: 1px solid #000;
}

.sidebar-section ul li:hover {
    background: #fef35a;
}

.sidebar-section ul li a {
    color: #000;
    text-decoration: none;
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sidebar-section ul li:hover > a:before {
    content: "→ ";
}

/* Newsletter Section in Sidebar */
.sidebar-newsletter {
    background-color: #FF495A;
    padding: 0;
    margin: 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.sidebar-newsletter h3 {
    color: #000;
    border-top-color: #000;
    border-bottom-color: #000;
    background-color: #FF495A;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 8px;
    margin: 0.4rem 0;
}

.sidebar-newsletter-form input[type="email"] {
    padding: 4px 12px;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    outline: none;
    border-radius: 0;
    margin: 0;
}

.sidebar-newsletter-form input[type="email"]:focus {
    background-color: #fef35a;
}

.sidebar-newsletter-form button {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 4px 8px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.75rem;
    margin: 0;
    border-radius: 0;
}

.sidebar-newsletter-form button:hover {
    background-color: #fef35a;
    color: #000;
}

.sidebar-social {
    padding: 0.4rem 8px 0.6rem;
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    color: #000;
    margin: 0;
}

.sidebar-social a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

.sidebar-social a:hover {
    text-decoration: underline;
}

/* Simple Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 1.5rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Extension de la ligne jusqu'à la colonne verte exactement */
.top-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 35%;
    height: 1px;
    background-color: #000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    height: 30px;
    width: auto;
}

.nav-brand a {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    border-bottom: none;
    padding: 0;
}

.nav-links li:hover {
    background-color: transparent;
    padding-left: 0;
    border-bottom: none;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: #000;
}


.nav-lang {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
}

.nav-lang a {
    text-transform: lowercase;
    margin: 0 0.25rem;
    color: #000;
    text-decoration: none;
}


/* Main Layout */
body {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    padding-top: 0;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow-x: hidden;
}

/* Three Column Layout */
.left-container {
    width: 65%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    padding-top: 0;
    z-index: 90;
    position: relative;
}

/* Nouvelle colonne de scénario */
.scenario-column {
    width: 5%;
    height: 100vh;
    position: fixed;
    right: 30%;
    top: 0;
    background-color: #50FF93;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    overflow: hidden;
    z-index: 50;
}

.right-container {
    width: 15%;
    height: 100vh;
    position: fixed;
    right: 15%;
    top: 0;
    overflow-y: auto;
    border-left: 1px solid #000;
    background-color: #fff;
    z-index: 10;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
}

.news-container {
    width: 15%;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    overflow-y: auto;
    border-left: 1px solid #000;
    background-color: #fff;
    z-index: 10;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 12rem 2rem 3rem;
    background-color: #fff;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 2rem;
    flex: 1;
}

.container:first-child {
    margin-top: 1rem;
}

main {
    width: 100%;
}

/* Menu burger dans le header */
.nav-menu-burger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    margin-left: 1rem;
}

/* Ancien menu burger dans la colonne verte (maintenant supprimé) */
.scenario-menu-burger {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

/* Styles pour le menu burger dans le header */
.nav-menu-burger::before,
.nav-menu-burger::after,
.nav-menu-burger {
    transition: all 0.3s ease;
}

/* Animation de rotation quand le menu est actif */
.nav-menu-burger.active {
    transform: rotate(-90deg);
}

.nav-menu-burger::before {
    content: '';
    width: 14px;
    height: 2px;
    background-color: rgba(0,0,0,0.8);
}

.nav-menu-burger::after {
    content: '';
    width: 14px;
    height: 2px;
    background-color: rgba(0,0,0,0.8);
}

.nav-menu-burger .middle-bar {
    width: 14px;
    height: 2px;
    background-color: rgba(0,0,0,0.8);
}

/* Styles pour l'ancien menu burger (maintenant inutilisés) */
.scenario-menu-burger::before,
.scenario-menu-burger::after,
.scenario-menu-burger {
    transition: all 0.3s ease;
}

.scenario-menu-burger::before {
    content: '';
    width: 14px;
    height: 2px;
    background-color: rgba(0,0,0,0.7);
}

.scenario-menu-burger::after {
    content: '';
    width: 14px;
    height: 2px;
    background-color: rgba(0,0,0,0.7);
}

.scenario-menu-burger .middle-bar {
    width: 14px;
    height: 2px;
    background-color: rgba(0,0,0,0.7);
}

.instagram-link {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: rgba(0,0,0,0.6);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    cursor: pointer;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.instagram-link:hover {
    opacity: 0.7;
}

.scenario-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: top left;
    white-space: nowrap;
    font-family: 'Ibarra Real Nova', serif;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #000;
    animation: scrollScenario 60s linear infinite;
    padding: 20px 0;
    width: 100vh;
}

@keyframes scrollScenario {
    0% {
        top: 100%;
    }
    100% {
        top: -50%;
    }
}


.container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 14rem 2rem 3rem; /* Ajusté pour les menus 17% */
    background-color: #fff;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 2rem;
    flex: 1;
}

.container:first-child {
    margin-top: 1rem;
}

main {
    width: 100%;
}

/* Typography */
h1 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin: 1.5rem 0 1rem;
    color: #000;
    text-align: left;
}

h2 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 1.5rem 0 0.5rem;
    color: #000;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

h3 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 1rem 0 0.5rem;
    color: #000;
}

h4 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 1rem 0 0.5rem;
    color: #000;
}

p {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

/* Links */
a {
    color: #000;
    text-decoration: none;
}

/* Lists */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E3E3E3;
    transition: background-color 0.25s ease;
}

ul li:hover {
    background-color: #F7F7F7;
    padding-left: 1rem;
}

ul li a {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Sections */
section {
    margin-bottom: 5rem;
    position: relative;
}

section:not(:last-child)::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #E3E3E3;
    margin-top: 3rem;
}

/* Aside Styling */
aside {
    position: relative;
    background-color: #000;
    color: #fff;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 1px solid #000;
}

aside h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 2rem;
}

aside ul li {
    border-bottom: 1px solid #333;
    padding: 0.75rem 0;
}

aside ul li:hover {
    background-color: #333;
    padding-left: 1rem;
}

aside ul li a {
    color: #fff;
    font-family: "JetBrains Mono", monospace;
    font-weight: 300;
    text-transform: none;
    letter-spacing: normal;
}

aside ul li a:hover {
    color: #50FF93;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 800px;
    margin: 2rem 0;
}

label {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

input[type="email"] {
    width: 100%;
    font-family: "JetBrains Mono", monospace;
    font-size: 1rem;
    color: #000;
    border: none;
    border-bottom: 2px solid #000;
    background-color: #F7F7F7;
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.25s ease;
}

input[type="email"]:focus {
    border-bottom-color: #50FF93;
}

button {
    width: 40%;
    background-color: #50FF93;
    border: none;
    padding: 0.75rem 2rem;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: #000;
    color: #50FF93;
}

/* News Bar */
.news-bar {
    position: relative;
    background-color: #FF495A;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #000;
}

.news-bar h2 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-bar ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-bar ul li {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 0.5rem 0;
}

.news-bar ul li:hover {
    background-color: rgba(0,0,0,0.1);
    padding-left: 1rem;
}

.news-bar ul li a {
    color: #000;
    font-family: "JetBrains Mono", monospace;
    font-weight: 300;
    text-transform: uppercase;
}

/* Logos Section */
.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

/* Team Layout for Qui sommes-nous */
.team-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.team-section {
    min-height: 0;
    grid-column: span 2;
}

.bureau-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

.bureau-section {
    padding: 0.6em 8px;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
}

.bureau-section:last-child {
    border-bottom: 1px solid #000;
}

.bureau-section h4 {
    font-size: 0.7rem;
    color: #666;
    margin: 0 0 0.2rem 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bureau-section p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.2;
}

.intervenants-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

.intervenant-section {
    padding: 0.6em 8px;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
}

.intervenant-section:last-child {
    border-bottom: 1px solid #000;
}

.intervenant-section p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.2;
}

.clickable-name {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #50FF93;
    transition: all 0.2s ease;
}

.clickable-name:hover {
    background-color: #50FF93;
    color: #000;
    text-decoration: none;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: #fafafa;
    border-left: 3px solid #fef35a;
}

.timeline-item .year {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    min-width: 60px;
    background-color: #fef35a;
    padding: 0.3rem 0.6rem;
    text-align: center;
    border-radius: 3px;
}

.timeline-item p {
    margin: 0;
    line-height: 1.4;
}

/* Footer */
footer {
    background-color: #000;
    color: #ADADAD;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    margin-top: 5rem;
    padding: 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #50FF93;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #50FF93;
    padding-bottom: 0.5rem;
}

.footer-section h5 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 2rem 0 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.footer-section ul li:last-child {
    border-bottom: none;
}

.footer-section ul li a {
    color: #ADADAD;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: #50FF93;
    padding-left: 1rem;
}

/* Footer Contact Section */
.footer-contact p {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: #ADADAD;
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: #50FF93;
    text-decoration: underline;
}

/* Footer Newsletter */
.footer-newsletter {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #FF495A;
    border-radius: 8px;
    color: #000;
}

.footer-newsletter h5 {
    color: #000;
    margin-top: 0;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-newsletter-form input[type="email"] {
    padding: 0.75rem;
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    border-radius: 4px;
    outline: none;
}

.footer-newsletter-form input[type="email"]:focus {
    border-color: #50FF93;
}

.footer-newsletter-form button {
    background-color: #000;
    color: #50FF93;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.footer-newsletter-form button:hover {
    background-color: #50FF93;
    color: #000;
}

.footer-social {
    margin-top: 1rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    color: #000;
}

.footer-social a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.footer-social a:hover {
    color: #50FF93;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.footer-bottom p {
    margin: 0;
}

/* New Sections Styling */

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    border-bottom: 3px solid #000;
    margin-bottom: 4rem;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.5;
}

.cta-link {
    display: inline-block;
    background-color: #000;
    color: #fff !important;
    padding: 0.75rem 2rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 1rem;
}

.cta-link:hover {
    background-color: #50FF93;
    color: #000 !important;
}

/* Section Links */
.section-link {
    display: inline-block;
    border: 1px solid #000;
    color: #000 !important;
    padding: 0.5rem 1rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 1rem;
}

.section-link:hover {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
}

.program-category {
    border: 1px solid #E3E3E3;
    padding: 2rem;
    background-color: #F7F7F7;
}

.program-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 2px solid #50FF93;
    padding-bottom: 0.5rem;
}

.program-list {
    margin: 2rem 0;
}

.program-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid #E3E3E3;
    padding: 0.75rem 0;
}

.program-link {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #000 !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
    transition: all 0.25s ease;
}

.program-link:hover {
    color: #50FF93 !important;
    padding-left: 1rem;
}

/* Participants Section */
.participants-section {
    background-color: #000;
    color: #fff;
    padding: 4rem 2rem;
    margin: 4rem -2rem;
}

.participants-section h2 {
    color: #50FF93;
    text-align: center;
    margin-bottom: 2rem;
}

.participants-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #fff;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.participant-card {
    background-color: #333;
    color: #fff !important;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-family: "JetBrains Mono", monospace;
    font-weight: 300;
    font-size: 0.9rem;
    border: 1px solid #555;
    transition: all 0.25s ease;
}

.participant-card:hover {
    background-color: #50FF93;
    color: #000 !important;
    border-color: #50FF93;
    transform: translateY(-2px);
}

/* Support Section */
.support-section {
    text-align: center;
    padding: 3rem 0;
}

/* Card Style Sections */
.card-section {
    border: 2px solid #000;
    margin: 2rem 0;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    text-align: left;
}

.card-header.red {
    background-color: #FF495A;
    color: #000;
}

.card-header.green {
    background-color: #50FF93;
    color: #000;
}

.card-header.black {
    background-color: #000;
    color: #fff;
}

.card-header.yellow {
    background-color: #fef35a;
    color: #000;
}

.card-header h2 {
    margin: 0;
    color: inherit;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Assurer la visibilité du texte dans les headers noirs */
.card-header.black h2 {
    color: #fff !important;
}

.card-content {
    padding: 2rem;
    background-color: #fff;
}

.card-content h2 {
    margin-top: 0;
}

/* Full Width Card Sections */
.color-section {
    margin: 2rem -2rem;
    border: 2px solid #000;
    overflow: hidden;
    width: calc(100% + 4rem);
    margin-left: -2rem;
}

.color-section.red {
    background-color: #FF495A;
    color: #000;
}

.color-section.green {
    background-color: #50FF93;
    color: #000;
}

.color-section.black {
    background-color: #000;
    color: #fff;
}

.form-aligned {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.color-section.yellow {
    background-color: #fef35a;
    color: #000;
}

.color-section {
    padding: 2rem;
}

.color-section h1,
.color-section h2,
.color-section h3 {
    color: inherit;
    margin-top: 0;
}

.color-section a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.color-section a:hover {
    opacity: 0.8;
}

/* Full Width Sections */
.full-width {
    margin: 2rem -2rem;
    padding: 4rem 2rem;
}

/* Split Sections */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 2rem -2rem;
}

.split-left {
    background-color: #000;
    color: #fff;
    padding: 3rem 2rem;
}

.split-right {
    background-color: #50FF93;
    color: #000;
    padding: 3rem 2rem;
}

.split-left h2,
.split-left h3,
.split-right h2,
.split-right h3 {
    color: inherit;
    margin-top: 0;
}

/* Quote Sections */
.quote-section {
    background-color: #FF495A;
    margin: 3rem -2rem;
    padding: 2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: #000;
}

.quote-section::before {
    content: "«";
    font-size: 3rem;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.quote-section::after {
    content: "»";
    font-size: 3rem;
    line-height: 1;
    display: block;
    margin-top: 1rem;
}

/* Feature Lists */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    background-color: #000;
    color: #50FF93;
    padding: 2rem 1rem;
    text-align: center;
    border: 2px solid #50FF93;
}

.feature-item h4 {
    color: #50FF93;
    margin: 0 0 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Program Cards */
.program-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.program-card {
    border: 2px solid #000;
    overflow: hidden;
}

.program-card-header {
    background-color: #fef35a;
    padding: 1.5rem;
    text-align: center;
}

.program-card-header h3 {
    margin: 0;
    color: #000;
    font-size: 1.2rem;
}

.program-card-content {
    padding: 2rem 1.5rem;
    background-color: #fff;
}

.program-card.featured .program-card-header {
    background-color: #FF495A;
}

.program-card.advanced .program-card-header {
    background-color: #50FF93;
}

/* Hero Variants */
.hero-minimal {
    text-align: left;
    padding: 2rem 0;
    border-bottom: none;
    margin-bottom: 2rem;
}

.hero-colored {
    background-color: #000;
    color: #50FF93;
    text-align: center;
    padding: 4rem 2rem;
    margin: 0 -2rem 3rem;
}

.hero-colored h1 {
    color: #50FF93;
    font-size: 4rem;
}

.hero-colored .hero-description {
    color: #fff;
    font-size: 1.1rem;
}

/* Interactive Elements */
.highlight-box {
    background-color: #fef35a;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #000;
}

.highlight-box.red {
    background-color: #FF495A;
    color: #000;
}

.highlight-box.green {
    background-color: #50FF93;
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
    }
    
    .program-cards {
        grid-template-columns: 1fr;
    }
    
    .color-section {
        margin: 2rem -1rem;
        padding: 2rem 1rem;
    }
}

/* Cacher les éléments mobile sur desktop */
.mobile-overlay, .mobile-overlay-backdrop, .mobile-header-bar {
    display: none;
}

/* Media query pour desktop - s'assurer que les colonnes ont les bonnes largeurs */
@media (min-width: 769px) {
    .right-container {
        width: 15% !important;
        right: 15% !important;
        display: block !important;
    }
    
    .news-container {
        width: 15% !important;
        right: 0 !important;
        display: block !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Fix sidebar spacing issues on mobile */
    .sidebar-section ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .sidebar-section ul li {
        margin: 0 !important;
        padding: 0.6em 8px !important;
    }
    
    /* Corriger définitivement les espaces dans les sections sidebar */
    .sidebar-section {
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 0.5px solid #000 !important; /* Noir et plus fin */
    }
    
    .sidebar-section:last-child {
        border-bottom: 0.5px solid #000 !important;
    }
    
    .sidebar-section h3 {
        margin: 0 !important;
        padding: 5px 8px !important;
        border-bottom: 0.5px solid #000 !important; /* Noir et plus fin */
        border-top: 0.5px solid #000 !important; /* Noir et plus fin */
    }
    
    .sidebar-section ul {
        border-top: 0.5px solid #000 !important; /* Noir et plus fin */
    }
    
    .sidebar-section ul li {
        border-bottom: 0.5px solid #000 !important; /* Noir et plus fin */
    }
    
    .sidebar-section ul li:last-child {
        border-bottom: 0.5px solid #000 !important;
    }
    
    /* Cacher popup newsletter sur mobile */
    #popup-success,
    #popup-success-de {
        display: none !important;
    }
    
    body {
        flex-direction: column;
        height: auto;
        padding-top: 0;
        overflow-x: hidden; /* Empêcher le débordement horizontal */
    }
    
    /* Forcer tous les conteneurs à respecter la largeur de l'écran */
    * {
        box-sizing: border-box;
    }
    
    .container,
    .left-container {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Correction des débordements de texte mobile */
    .card-content,
    .card-content p,
    .card-content h1,
    .card-content h2,
    .card-content h3,
    .card-content li {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Assurer des marges correctes sur mobile */
    .card-section,
    .card-content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Corriger spécifiquement les longs mots allemands */
    .handwriting,
    .handwriting p,
    p.handwriting {
        word-break: break-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -ms-hyphens: auto !important;
    }
    
    /* Swiss Design Mobile - Titres harmonisés et réduits */
    h1, .card-content h1 {
        font-family: "Inter", sans-serif !important;
        font-weight: 600 !important;
        font-size: 1.4rem !important; /* Garder la taille originale */
        line-height: 1.2 !important;
        letter-spacing: 0.02em !important; /* Augmenter l'interlettrage pour éviter l'effet condensé */
        margin: 1rem 0 !important;
        color: #000 !important;
        text-transform: none !important;
    }
    
    h2, .card-content h2, .card-header h2 {
        font-family: "Inter", sans-serif !important;
        font-weight: 500 !important;
        font-size: 0.75rem !important; /* Taille réduite pour headers */
        line-height: 1.3 !important;
        letter-spacing: 0.08em !important;
        margin: 0 !important;
        color: #000 !important;
        text-transform: uppercase !important;
    }
    
    h3, .card-content h3 {
        font-family: "Inter", sans-serif !important;
        font-weight: 500 !important;
        font-size: 0.9rem !important; /* Taille intermédiaire */
        line-height: 1.3 !important;
        letter-spacing: 0.02em !important;
        margin: 0.8rem 0 0.4rem 0 !important;
        color: #000 !important;
        text-transform: none !important;
    }
    
    h4, .card-content h4 {
        font-family: "Inter", sans-serif !important;
        font-weight: 500 !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0.6rem 0 0.3rem 0 !important;
        color: #000 !important;
        text-transform: none !important;
    }
    
    /* Headers de cartes mobile - augmenter le padding pour plus d'espace coloré */
    .card-header {
        padding: 1rem 1.5rem !important; /* Padding plus généreux comme sur desktop */
        margin: 0 !important;
        border-radius: 0 !important; /* Assurer que les coins touchent */
        min-height: auto !important; /* Hauteur automatique selon le contenu */
    }
    
    .card-header h2 {
        font-size: 0.9rem !important; /* Taille plus cohérente avec le texte */
        font-weight: 600 !important;
        letter-spacing: 0.06em !important;
        white-space: normal !important; /* Permettre les retours à la ligne si nécessaire */
        overflow: visible !important;
        text-overflow: initial !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    
    /* Correction marges blanches */
    .card-section {
        margin-bottom: 1rem !important;
        overflow: hidden !important;
        padding: 0 !important; /* Pas de padding sur la card-section elle-même */
    }
    
    .card-content {
        padding: 1rem !important;
        margin: 0 !important;
    }
    
    /* S'assurer que tous les types de headers touchent les bords */
    .card-header.green,
    .card-header.red, 
    .card-header.yellow,
    .card-header.black {
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
    
    /* Grille soutiens mobile - 4 éléments par ligne */
    .partners-grid {
        gap: 10px !important; /* Réduire l'espace entre les éléments */
    }
    
    .partner-logo {
        flex: 0 0 calc(25% - 8px) !important; /* 4 éléments par ligne avec gap */
        max-width: calc(25% - 8px) !important;
        min-width: calc(25% - 8px) !important;
    }
    
    .partner-logo img {
        max-width: 100% !important;
        max-height: 40px !important; /* Réduire la hauteur pour s'adapter */
    }
    
    /* Plus d'espacement dans les sections programmes de l'accueil */
    .card-content h2 {
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .card-content .section-link {
        display: inline-block;
        margin-bottom: 1.5rem !important;
    }
    
    /* Header mobile amélioré */
    .top-nav {
        padding: 15px 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid #000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 150;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-brand {
        gap: 8px;
        flex: 1;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .nav-links {
        display: none; /* Caché sur mobile - accessible via sidebar */
    }
    
    /* Mobile: Bouton langue simplifié - afficher seulement l'autre langue */
    .nav-lang {
        width: 30px;
        height: 30px;
        border: 1px solid #000;
        display: flex;
        background: #fff;
        position: relative;
    }
    
    /* Menu burger sur mobile - garder visible et animation */
    .nav-menu-burger {
        margin-left: 0.5rem;
        width: 20px;
        height: 20px;
    }
    
    /* Animation de rotation sur mobile aussi */
    .nav-menu-burger.active {
        transform: rotate(-90deg);
    }
    
    /* Animation identique au desktop - seulement rotation 90° */
    
    .nav-lang a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem !important; /* Important pour override le font-size: 0 du parent */
        font-weight: 600;
        text-transform: uppercase;
        color: #000;
        text-decoration: none;
        transition: all 0.2s ease;
        letter-spacing: 0.05em;
    }
    
    .nav-lang a:hover,
    .nav-lang a:focus,
    .nav-lang a:active {
        background-color: transparent;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Cacher le séparateur "|" sur mobile */
    .nav-lang {
        font-size: 0; /* Cache le "|" */
    }
    
    /* Version française : masquer FR (langue actuelle), garder seulement DE visible */
    body:not([data-lang="de"]) .nav-lang a[href="/"] {
        display: none !important;
    }
    
    /* Version allemande : masquer DE (langue actuelle), garder seulement FR visible */  
    body[data-lang="de"] .nav-lang a[href="/de/"] {
        display: none !important;
    }
    
    .left-container {
        width: 100%;
        position: relative;
        order: 1;
        margin-top: 100px; /* Espace pour le header (50px) + barre mobile (50px) */
    }
    
    /* Le contenu principal doit commencer sous la barre mobile */
    body {
        padding-top: 100px; /* Header 50px + barre mobile 50px */
    }
    
    /* Réajuster le container pour éviter le double espacement */
    .left-container {
        margin-top: 0; /* Supprimer le margin-top car body a déjà le padding */
    }
    
    /* Ajuster la position du page-indicator pour qu'il soit sous la barre mobile */
    .page-indicator-container {
        top: 110px; /* Header 50px + barre mobile 50px + espace 10px */
    }
    
    /* Ajouter plus d'espace en haut du contenu des pages pour les boutons de navigation */
    .left-container .container {
        padding-top: 5rem; /* Encore plus d'espace pour les boutons retour et flex-between */
    }
    
    /* Ajuster l'espacement des éléments flex-between (boutons de navigation) */
    .flex-between {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Appliquer le même style que le titre du header aux titres du sidebar */
    .sidebar-section h3 {
        font-family: 'Inter', sans-serif !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        font-size: 0.8rem !important; /* Même taille que .nav-brand span */
    }
    
    /* Décaler tous les boutons discrete-back-btn vers le bas en mobile */
    .discrete-back-btn {
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Cacher les colonnes droites et scenario sur mobile - elles seront accessible via overlay */
    .right-container,
    .news-container,
    .scenario-column {
        display: none;
    }
    
    /* Cacher la newsletter dans la colonne actualités en mobile uniquement */
    .mobile-overlay .news-page-header {
        display: none !important;
    }
    
    /* Overlay pour les colonnes mobiles - glisse depuis le bas */
    .mobile-overlay {
        position: fixed;
        top: 100px; /* Position exacte sous header + barre mobile */
        bottom: 100vh; /* Caché en bas, complètement hors écran */
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - 100px); /* Hauteur moins header et barre */
        background-color: #fff;
        border-top: 2px solid #000;
        transition: bottom 0.4s ease;
        z-index: 200;
        overflow-y: auto;
        display: none;
        /* Fix Safari iOS */
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0); /* Force hardware acceleration */
    }
    
    .mobile-overlay.active {
        bottom: 0; /* Glisse vers le haut depuis le bas */
        display: block;
        /* S'assurer qu'il ne dépasse jamais le top calculé */
        max-height: calc(100vh - 100px);
        min-height: calc(100vh - 100px);
    }
    
    .mobile-overlay-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 199;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-overlay-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Nouvelle barre mobile sous le header */
    .mobile-header-bar {
        display: flex !important; /* Force l'affichage sur mobile */
        width: 100%;
        position: fixed;
        top: 50px; /* Juste après le header qui fait 50px de haut */
        left: 0;
        right: 0;
        z-index: 99;
        border-bottom: 1px solid #000;
        margin: 0;
        box-sizing: border-box;
    }
    
    .mobile-header-btn {
        flex: 1;
        height: 50px;
        border: none;
        border-right: 1px solid #000;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        font-family: 'Ibarra Real Nova', serif;
        font-size: 14px;
        font-weight: 400;
        text-transform: lowercase;
        margin: 0;
        padding: 0;
    }
    
    .mobile-header-btn:last-child {
        border-right: none;
    }
    
    .mobile-header-btn.participants {
        background-color: #fef35a !important;
        color: #000;
    }
    
    .mobile-header-btn.news {
        background-color: #FF495A !important;
        color: #000;
    }
    
    /* S'assurer que le contenu span occupe toute la hauteur */
    .mobile-header-btn span {
        display: block;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
    }
    
    .mobile-header-btn:hover {
        opacity: 0.8;
    }
    
    .mobile-header-btn.active {
        opacity: 0.9;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .mobile-overlay-content {
        padding: 0;
    }
    
    .container {
        width: 100%;
        padding: 2rem 1rem;
        margin-bottom: 2rem;
        margin: 0;
    }
    
    .left-container .container {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 3rem;
        line-height: 0.9;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .main-nav {
        padding: 1rem;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Dropdown removed */
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .participants-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .participants-section {
        padding: 3rem 1rem;
        margin: 3rem -1rem;
    }
    
    .news-bar ul {
        flex-direction: column;
    }
    
    aside {
        padding: 2rem 1rem;
    }
    
    form {
        max-width: 100%;
    }
    
    button {
        width: 100%;
    }
    
    /* Mobile adjustments for right column */
    .page-sommaire {
        position: sticky;
        top: 5rem;
        z-index: 20;
    }
    
    .option-scroller {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .option-wrapper {
        width: 200px;
        flex-shrink: 0;
    }
    
    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        padding: 3rem 1rem 2rem;
    }
    
    .footer-newsletter {
        padding: 1.5rem;
    }
}

/* =============================================================================
   FORMS STYLES (fusionnés depuis forms.css)
   ============================================================================= */

/* Styles pour les formulaires dynamiques - harmonisés avec le design du site */

/* Le formulaire utilise maintenant la structure card-section existante du site */

/* Styles spécifiques aux formulaires dans les card-content */
.card-content form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-item label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #000;
  font-size: 0.85rem; /* Harmonisé avec le design du site */
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.form-item input,
.form-item textarea,
.form-item select {
  padding: 0.75rem; /* Réduit le padding pour harmoniser */
  border: 1px solid #000;
  border-radius: 0;
  font-size: 0.85rem; /* Harmonisé avec les labels et le site */
  font-family: 'Inter', sans-serif;
  background: white;
  transition: all 0.2s ease;
}

/* Uniformiser les tailles dans les select et options */
.form-item select option {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

/* Uniformiser les placeholders */
.form-item input::placeholder,
.form-item textarea::placeholder {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: #666;
  opacity: 0.8;
}

/* Style pour l'astérisque des champs obligatoires */
.form-item label .required-asterisk {
  color: #dc3545;
  font-weight: bold;
}

.form-item input:focus,
.form-item textarea:focus,
.form-item select:focus {
  outline: none;
  border-color: #50FF93;
  box-shadow: 0 0 0 2px rgba(80, 255, 147, 0.1);
}

.form-item textarea {
  resize: vertical;
  min-height: 100px;
}

.form-item .help {
  color: #666;
  font-size: 0.75rem; /* Légèrement plus petit pour l'aide */
  margin-top: 0.25rem;
}

.form-item .char-count {
  text-align: right;
  color: #666;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.submit-item {
  margin-top: 0.5rem;
  text-align: center;
}

.submit-btn {
  background-color: #50FF93;
  color: #000;
  border: 1px solid #50FF93;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-size: 0.85rem; /* Harmonisé avec le design du site */
  border-radius: 0;
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #000;
  color: #50FF93;
  border-color: #000;
}

.submit-btn:disabled {
  background-color: #ccc;
  color: #666;
  border-color: #ccc;
  cursor: not-allowed;
}

.success-message {
  background: #50FF93;
  color: #000;
  padding: 1.5rem 2rem;
  border-radius: 0;
  border: 2px solid #000;
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.candidature-message {
  background: transparent;
  color: #50FF93;
  padding: 15px 20px;
  border-radius: 0;
  border: none;
  margin: 15px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

.deadline-display {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  margin: 15px 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #000;
}

.deadline-display.loading {
  background: #666;
  color: #fff;
  border-color: #666;
  font-family: 'JetBrains Mono', monospace;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #000;
  padding: 0.5rem 0;
}

.form-section-header {
  margin: 2rem 0 1.5rem 0;
  padding: 1rem 2rem;
  background-color: #fef35a;
  border: 2px solid #000;
  border-radius: 0;
}

.form-section-header h3 {
  margin: 0;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Responsive design pour les formulaires */
@media (max-width: 768px) {
  .form-item input,
  .form-item textarea,
  .form-item select {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .form-item label {
    font-size: 0.8rem;
  }
  
  .submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .success-message,
  .candidature-message {
    padding: 1rem;
    font-size: 0.8rem;
    margin-top: 1rem;
  }
  
  .form-section-header {
    padding: 0.75rem 1rem;
    margin: 1rem 0 1rem 0;
  }
  
  .form-section-header h3 {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
    body {
        padding-top: 4rem; /* Ajusté pour font-size +25% */
    }
    
    .container {
        width: 98%; /* Plus d'espace disponible avec texte moins gros */
        padding: 1.1rem 0.55rem; /* Proportionnel à +25% */
    }
    
    /* Ajustements pour compenser l'augmentation modérée de font-size */
    .left-container .container {
        padding: 1.1rem 0.55rem; /* Cohérent avec .container */
    }
    
    /* Paddings des sections équilibrés */
    .card-section {
        margin-bottom: 0.8rem; /* Réduit */
    }
    
    .card-content {
        padding: 0.8rem; /* Réduit */
    }
    
    /* Headers ajustés - avec font-size 20px, plus modéré */
    h1 {
        font-size: 1.4rem; /* Garder la taille originale */
        line-height: 1.2;
        letter-spacing: 0.02em; /* Augmenter l'interlettrage */
    }
    
    h2 {
        font-size: 1.0rem; /* Avec base 20px = 20px effectif */
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.3rem; /* Équilibré */
        text-align: center;
    }
    
    /* Header mobile bien proportionné */
    .top-nav {
        padding: 0.8rem 0.6rem; /* Ajusté pour font-size +25% */
        min-height: 2.5rem; /* Hauteur plus compacte */
    }
    
    .nav-brand span {
        font-size: 0.8rem; /* Réduit le titre un peu plus */
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
    }
    
    .nav-links a {
        font-size: 0.9rem; /* Réduit les boutons langue */
        padding: 0.5rem 0.6rem; /* Espacement plus compact */
        min-width: 40px; /* Taille tactile ajustée */
        min-height: 40px; /* Taille tactile ajustée */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Améliorer le centrage du bouton langue */
    .nav-lang {
        width: 40px !important; /* Ajusté à la nouvelle taille tactile */
        height: 40px !important;
        border: 1px solid #000;
        display: flex;
        background: #fff;
    }
    
    .nav-lang a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem !important; /* Cohérent avec les autres boutons */
        font-weight: 500;
        color: #000;
        text-decoration: none;
        transition: all 0.2s ease;
        letter-spacing: 0.05em;
        line-height: 1; /* Améliore le centrage vertical */
    }
    
    /* Logo réduit */
    .logo {
        height: 1.4rem !important; /* Plus petit */
        width: auto !important;
    }
    
    /* Menu burger ajusté */
    .nav-menu-burger {
        width: 28px !important;
        height: 28px !important;
        gap: 3px !important;
    }
    
    .nav-menu-burger::before,
    .nav-menu-burger::after,
    .nav-menu-burger .middle-bar {
        width: 18px !important;
        height: 2.5px !important;
    }
}

/* Animations and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

/* Interactive Elements */
.interactive-highlight {
    position: relative;
    display: inline-block;
}

.interactive-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #50FF93;
    transition: width 0.3s ease;
}

.interactive-highlight:hover::after {
    width: 100%;
}

/* Right Column Participants Styling */

/* Sticky Search Header */
.page-sommaire {
    position: sticky;
    padding: 5px 8px;
    margin-bottom: -1px;
    top: 0px;
    background: white;
    z-index: 6;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    display: flex;
    font-size: 0.75em;
    justify-content: space-between;
}

.search-container {
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #000;
    background-color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    outline: none;
    border-radius: 0;
}

.search-container input:focus {
    background-color: #fef35a;
}

/* Filters Section */
.filters-selector-wrapper {
    border-bottom: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

.option-scroller {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.option-wrapper {
    width: 100%;
    margin-top: -1px;
}

.option-select {
    position: relative;
    display: block;
    border-right: 1px solid white;
    background-color: #fef35a;
    z-index: 10;
    margin-top: 1px;
    border-bottom: 1px solid #000;
}

.option-select:hover {
    background-color: #f1f1f1;
    color: black;
}

.option-select:hover select {
    color: black;
}

.option-select:hover:after {
    background: #dad6d6;
    color: black;
}

.option-select.active {
    background-color: #fef35a;
    color: black;
}

.option-select.active select {
    color: black;
}

.option-select.active:after {
    background: #fff89d;
    color: black;
}

.option-select:after {
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 100%;
    line-height: 45px;
    content: '↓';
    text-align: center;
    color: #6c6d5a;
    font-size: 18px;
    background: #fff89d;
    z-index: -1;
    font-weight: normal;
    vertical-align: middle;
}

.option-select select {
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    margin: 0;
    display: block;
    width: 100%;
    padding: 0.8em 0.6rem;
    color: black;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    line-height: 1em;
    font-size: 0.75rem;
}

/* Participants List */
.participants-list {
    background-color: #fff;
}

.membres {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

.membre {
    padding: 0.6em 8px;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.membre:last-child {
    border-bottom: 1px solid #000;
}

.membre:hover {
    background: #fef35a;
}

.membre a {
    border-bottom: 1px solid transparent;
    color: #000;
    text-decoration: none;
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.2;
}

.membre:hover > a:before {
    content: "→ ";
}

.participant-meta {
    font-family: 'Ibarra Real Nova', serif;
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.25rem;
    line-height: 1.2;
}

/* Hidden participants (for filtering) */
.membre.hidden {
    display: none;
}

/* News Column Styling */
.news-header {
    position: sticky;
    padding: 10px 8px;
    margin-bottom: -1px;
    top: 0px;
    background: white;
    z-index: 6;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    display: flex;
    font-size: 0.75em;
    justify-content: center;
}

.news-header h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem; /* Taille originale desktop */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    margin: 0;
}

.news-header .handwriting {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
}

.news-list {
    background-color: #fff;
    padding: 0;
}

.news-items {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

.news-item {
    padding: 0.8em 8px;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.news-item:last-child {
    border-bottom: 1px solid #000;
}

.news-item:hover {
    background: #FF495A;
}

.news-item a, .news-item h4 {
    color: #000 !important;
    text-decoration: none !important;
    display: block !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    text-transform: uppercase !important; /* Titres en majuscules */
}

.news-item:hover > a:before,
.news-item:hover > h4:before {
    content: "→ ";
}

/* Dates des actualités - règle spécifique pour surcharger */
.news-item .news-date {
    font-family: 'Ibarra Real Nova', serif !important;
    font-size: 0.65rem !important;
    color: #666 !important;
    margin-top: 0.25rem;
    line-height: 1.2 !important;
    text-transform: none !important;
    display: block !important;
}

/* Selection highlighting */
::selection {
    color: black;
    background-color: #fef35a;
}

::-moz-selection {
    color: grey;
    background-color: #fef35ade;
}

/* Shell elements */
.shell {
    position: absolute;
    width: 80px;
    height: 50px;
    border-radius: 50% 50% 50% 50%/60% 60% 40% 40%;
    /* use site palette: yellow → red → green */
    background: radial-gradient(circle at 30% 30%, #fef35a, #FF495A, #50FF93);
    box-shadow: inset -5px -5px 10px rgba(0,0,0,0.3);
    cursor: grab;
    z-index: 1000;
}
.shell.dragging {
    cursor: grabbing;
}
/* Banner-style pitch animations */
@keyframes serpent {
    0%   { transform: translateX(100vw) translateY(0); }
    25%  { transform: translateX(75vw)  translateY(-10vh); }
    50%  { transform: translateX(50vw)  translateY(0); }
    75%  { transform: translateX(25vw)  translateY(10vh); }
    100% { transform: translateX(-100%) translateY(0); }
}
.pitch {
    position: absolute;
    left: 0;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    animation: serpent var(--pitch-duration) linear infinite;
}

/* ===== BOUTONS RETOUR DISCRETS ===== */
.discrete-back-btn {
    display: inline-block;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.discrete-back-btn:hover {
    color: #000;
    padding-left: 0.5rem;
}

.back-btn-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.back-btn-black {
    color: #000;
    text-decoration: none;
}

/* BREADCRUMBS ET NAVIGATION PARTICIPANTS */
.breadcrumb-nav {
    padding: 1rem;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: #333;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #666;
}

.participant-nav {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.nav-btn-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.nav-btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 1rem;
}

.participant-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    text-align: center;
}

/* Réduire le bouton vision actuel */
.back-link {
    font-size: 0.8em !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
}

/* ===== CALENDRIERS DYNAMIQUES ===== */
/* Neutraliser les effets hover sur les dates des calendriers */
.card-content ul li:hover {
    background-color: transparent !important;
    padding-left: 0 !important;
    cursor: default !important;
    transform: none !important;
}

.card-content ul li {
    cursor: default !important;
    transition: none !important;
}

/* ===== SYSTEME DOUBLE VITRINE ===== */
/* Styles pour plusieurs cercles d'actualités en vitrine */
.featured-news-circle.multiple {
    width: 200px; /* Garder la taille originale même quand multiples */
    height: 200px;
}

.featured-news-circle.multiple.position-0 {
    right: 40%; /* Premier cercle plus à droite */
    top: 80px;
}

.featured-news-circle.multiple.position-1 {
    right: 20%; /* Deuxième cercle un peu plus à droite */
    top: 140px; /* Légèrement décalé en bas */
}

/* Ajustements responsive pour multiples cercles */
@media (max-width: 1400px) {
    .featured-news-circle.multiple {
        width: 180px; /* Taille originale responsive */
        height: 180px;
    }
    
    .featured-news-circle.multiple.position-0 {
        right: 35%;
    }
    
    .featured-news-circle.multiple.position-1 {
        right: 12%;
        top: 130px;
    }
}

@media (max-width: 1200px) {
    .featured-news-circle.multiple {
        width: 150px; /* Taille originale responsive */
        height: 150px;
    }
    
    .featured-news-circle.multiple.position-0 {
        right: 30%;
    }
    
    .featured-news-circle.multiple.position-1 {
        right: 8%;
        top: 120px;
    }
}

@media (max-width: 768px) {
    .featured-news-circle.multiple {
        width: 216px; /* 180px * 1.2 = Taille agrandie mobile */
        height: 216px;
    }
    
    .featured-news-circle.multiple.position-0 {
        right: 55%;
        top: 70px;
    }
    
    .featured-news-circle.multiple.position-1 {
        right: 5%;
        top: 300px; /* Ajusté pour la plus petite taille */
    }
}

@media (max-width: 480px) {
    .featured-news-circle.multiple {
        width: 168px; /* 140px * 1.2 = Taille agrandie petit mobile */
        height: 168px;
    }
    
    .featured-news-circle.multiple.position-0 {
        right: 55%;
        top: 60px;
    }
    
    .featured-news-circle.multiple.position-1 {
        right: 5%;
        top: 250px; /* Ajusté pour la plus petite taille */
    }
}

/* ===== FORM BUILDER STYLES ===== */
.form-content {
  background-color: #fff !important;
  border-top: 1px solid #000;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Admin preview styles - more compact */
.admin-preview .form-content {
  max-width: 600px !important;
  margin: 0 auto !important;
  padding: 15px !important;
  border: 1px solid #e9ecef !important;
  border-radius: 4px !important;
  background: #fafafa !important;
}

.admin-preview .form-item {
  padding: 0.5em 8px !important;
  margin: 0 0 4px 0 !important;
}

.admin-preview .form-item label {
  font-size: 0.8rem !important;
  margin-bottom: 0.3rem !important;
}

.admin-preview .form-item input,
.admin-preview .form-item textarea,
.admin-preview .form-item select {
  padding: 4px 6px !important;
  font-size: 0.8rem !important;
}

.admin-preview .form-section-header {
  padding: 0.4em 8px !important;
  margin: 8px 0 4px 0 !important;
}

.admin-preview .form-section-header h3 {
  font-size: 0.75rem !important;
}

.form-item {
  padding: 0.8em 8px;
  box-sizing: border-box;
  transition: background-color 0.25s ease;
  width: 100%;
  margin: 0 0 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.form-item:hover {
  background: #fef35a;
}

.form-item label {
  color: #000 !important;
  text-decoration: none !important;
  display: block !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 300 !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.25rem !important;
  text-transform: none !important;
  width: 100% !important;
  max-width: none !important;
}

.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
.form-item input[type="url"],
.form-item input[type="number"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #000;
  background-color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  margin-top: 0.25rem;
}

.form-item input[type="text"]:focus,
.form-item input[type="email"]:focus,
.form-item input[type="tel"]:focus,
.form-item input[type="url"]:focus,
.form-item input[type="number"]:focus {
  background-color: #fef35a;
}

.form-item textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #000;
  background-color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  margin-top: 0.25rem;
  min-height: 60px;
  resize: vertical;
  line-height: 1.5;
}

.form-item textarea:focus {
  background-color: #fef35a;
}

.form-item select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #000;
  background-color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  margin-top: 0.25rem;
}

.form-item select:focus {
  background-color: #fef35a;
}

/* Radio buttons */
.form-item .radio-group {
  margin-top: 0.5rem;
}

.form-item .radio-label {
  display: block;
  margin-bottom: 0.25rem;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: #000;
  font-weight: 300;
}

.form-item .radio-label input[type="radio"] {
  margin-right: 0.5rem;
  transform: scale(0.8);
}

/* Checkbox groups */
.form-item .checkbox-group {
  margin-top: 0.5rem;
}

.form-item .checkbox-label {
  display: block;
  margin-bottom: 0.25rem;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: #000;
  font-weight: 300;
}

.form-item .checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(0.8);
}

/* File inputs */
.form-item input[type="file"] {
  width: calc(100% - 16px);
  padding: 6px 8px;
  border: 1px solid #000;
  background-color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Help text */
.form-item .help {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #666;
  margin-top: 0.25rem;
  line-height: 1.4;
  display: block;
}

/* Character count */
.form-item .char-count {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #666;
  margin-top: 0.25rem;
  line-height: 1.5;
  text-align: right;
}

/* Submit button */
.submit-item {
  padding: 0.8em 8px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.25s ease;
  text-align: center;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 8px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.85rem;
  width: auto;
  display: inline-block;
  margin-right: 10px;
}

.submit-btn:hover {
  background-color: #50FF93;
  color: #000;
}

/* Section headers */
.form-section-header {
  padding: 0.6em 8px;
  border-bottom: 1px solid #000;
  box-sizing: border-box;
  background: #FF495A;
  width: 100%;
  margin: 10px 0 8px 0;
}

.form-section-header h3 {
  font-size: 0.85rem;
  color: #000;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Inter", sans-serif;
}

/* Success message */
.candidature-message {
  padding: 15px 20px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #50FF93;
  background: transparent;
  line-height: 1.5;
  margin: 15px 0;
}

/* Style simple pour messages de candidature - texte vert sur fond noir */
.candidature-status-simple {
  padding: 15px 20px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #50FF93;
  background: transparent !important;
  line-height: 1.5;
  margin: 15px 0;
}

/* Force transparent background for all candidature messages */
.candidature-message,
.candidature-status,
.candidature-status-simple {
  background: transparent !important;
  color: #50FF93 !important;
}

/* Custom spacing utilities */
.form-item.spacing-small { padding: 0.4em 8px; }
.form-item.spacing-large { padding: 1.2em 8px; }
.form-item.spacing-none { padding: 0 8px; }

/* Custom background utilities */
.form-item.bg-light { background-color: #f8f9fa; }
.form-item.bg-yellow { background-color: #fef35a; }
.form-item.bg-green { background-color: #50FF93; }
.form-item.bg-red { background-color: #FF495A; }

/* === FORMULAIRES DYNAMIQUES === */
/* Styles fusionnés depuis forms.css pour éviter les conflits et améliorer les performances */

/* Le formulaire utilise maintenant la structure card-section existante du site */

/* Styles spécifiques aux formulaires dans les card-content */
.card-content form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-item label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #000;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.form-item input,
.form-item textarea,
.form-item select {
  padding: 0.75rem;
  border: 1px solid #000;
  border-radius: 0;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  background: white;
  transition: all 0.2s ease;
}

/* Uniformiser les tailles dans les select et options */
.form-item select option {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

/* Uniformiser les placeholders */
.form-item input::placeholder,
.form-item textarea::placeholder {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: #666;
  opacity: 0.8;
}

/* Style pour l'astérisque des champs obligatoires */
.form-item label .required-asterisk {
  color: #dc3545;
  font-weight: bold;
}

.form-item input:focus,
.form-item textarea:focus,
.form-item select:focus {
  outline: none;
  border-color: #50FF93;
  box-shadow: 0 0 0 2px rgba(80, 255, 147, 0.1);
}

.form-item textarea {
  resize: vertical;
  min-height: 100px;
}

.form-item .help {
  color: #666;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.form-item .char-count {
  text-align: right;
  color: #666;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.submit-item {
  margin-top: 0.5rem;
  text-align: center;
}

.submit-btn {
  background-color: #50FF93;
  color: #000;
  border: 1px solid #50FF93;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-size: 0.85rem;
  border-radius: 0;
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #000;
  color: #50FF93;
  border-color: #000;
}

.submit-btn:disabled {
  background-color: #ccc;
  color: #666;
  border-color: #ccc;
  cursor: not-allowed;
}

.success-message {
  background: #50FF93;
  color: #000;
  padding: 1.5rem 2rem;
  border-radius: 0;
  border: 2px solid #000;
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #000;
  padding: 0.5rem 0;
}

.form-section-header {
  margin: 2rem 0 1.5rem 0;
  padding: 1rem 2rem;
  background-color: #fef35a;
  border: 2px solid #000;
  border-radius: 0;
}

.form-section-header h3 {
  margin: 0;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Responsive design pour les formulaires */
@media (max-width: 768px) {
  .form-item input,
  .form-item textarea,
  .form-item select {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .form-item label {
    font-size: 0.8rem;
  }
  
  .submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .success-message,
  .candidature-message {
    padding: 1rem;
    font-size: 0.8rem;
    margin-top: 1rem;
  }
  
  .form-section-header {
    padding: 0.75rem 1rem;
    margin: 1rem 0 1rem 0;
  }
  
  .form-section-header h3 {
    font-size: 0.8rem;
  }
}

/* Autres styles déjà existants */
@media (max-width: 768px) {
  .form-item {
    padding: 0.6em 8px;
  }
  
  .form-item input[type="text"],
  .form-item input[type="email"],
  .form-item input[type="tel"],
  .form-item input[type="url"],
  .form-item input[type="number"],
  .form-item textarea {
    font-size: 16px; /* Évite le zoom sur iOS */
  }
}

/* MESSAGE DE SUCCÈS */
.success-message {
  margin-top: 1.5rem;
  text-align: center;
  color: #28a745;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  font-weight: 500;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Zone d'affichage des participants - respecter le design du site */
.participant-display-zone {
  padding: 2rem 14rem 2rem 3rem; /* Cohérent avec .container */
  flex: 1;
}

/* Sur mobile, adapter le padding - cohérent avec .container */
@media (max-width: 768px) {
  .participant-display-zone {
    padding: 1.1rem 0.55rem; /* Même padding que .container mobile ajusté */
  }
}

/* Séparateur entre les actualités des participants */
.participant-news-separator {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
  width: 100%;
}

/* Affichage des programmes participants - style Ibarra noir sur blanc */
.participant-programmes {
  font-family: 'Ibarra Real Nova', serif;
  font-size: 1.1rem;
  color: #000;
  background: #fff;
  padding: 1rem 0;
  margin: 1.5rem 0;
  text-align: left;
  line-height: 1.4;
}

/* Sous-titre programme dans les projets */
.project-programme {
  font-family: 'Ibarra Real Nova', serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #000;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* Nouvelle structure pour les actualités bilingues */
.participant-news-date-header {
  font-family: 'Ibarra Real Nova', serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 0.05em;
}

.participant-news-langs-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.participant-news-lang {
  flex: 1;
  position: relative;
}

.participant-news-lang-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #999;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.participant-news-content {
  /* Le contenu des actualités */
}

.participant-news-lang-separator {
  width: 1px;
  background-color: #ddd;
  flex-shrink: 0;
  align-self: stretch;
  margin: 0.5rem 0;
}

/* Sur mobile, passer en colonne */
@media (max-width: 768px) {
  .participant-news-langs-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .participant-news-lang-separator {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 0;
  }
  
  /* Adapter l'affichage des programmes sur mobile */
  .participant-programmes {
    font-size: 1rem;
    padding: 0.8rem 0;
    margin: 1rem 0;
  }
  
  .project-programme {
    font-size: 0.75rem;
  }
}

/* PRIORITÉ ABSOLUE - Masquage des barres de défilement - À LA FIN DU CSS */
html, body, * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
}

::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}
