/* ============================================= */
/* PROGRAMME.CSS - Styles spécifiques aux pages  */
/* du menu Programme (index, planning, carte, activite) */
/* ============================================= */

/* Variables pour les couleurs (complément des variables Bootstrap) */
:root {
    --oif-blue: #0055A4;
    --oif-blue-light: #2E7DDB;
    --oif-blue-dark: #003366;
    --oif-purple: #7B1FA2;
    --oif-purple-light: #9C27B0;
    --oif-pink: #C2185B;
    --oif-pink-light: #E91E63;
    --eco-green: #2E7D32;
    --eco-teal: #00897B;
    --text-on-dark: #FFFFFF;
    --text-on-dark-secondary: rgba(255, 255, 255, 0.9);
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --text-secondary: #495057;
    --text-light: #868E96;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
}




/* Animations spécifiques */
.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.animate-slideInLeft {
    animation: slideInLeft 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.animate-slideInRight {
    animation: slideInRight 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateX(30px);
}

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

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

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

/* ============================================= */
/* SECTIONS COMMUNES */
/* ============================================= */

/* Section de base */
.section {
    padding: 80px 0;
    position: relative;
}

/* Section avec thème spécifique */
.theme-section {
    background-color: var(--white);
}

.bassin-section {
    background-color: var(--light-bg);
    position: relative;
}

.bassin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--oif-blue), var(--eco-green));
}

.objectives-section {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.05), rgba(46, 125, 50, 0.05));
}

.competition-section {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.05), rgba(194, 24, 91, 0.05));
}

.countdown-section {
    background: linear-gradient(135deg, var(--oif-blue-dark), var(--oif-blue));
    color: var(--white);
    text-align: center;
}

/* En-têtes de section */
.section-header {
    margin-bottom: 60px;
}

.section-header .lead {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-top: 1rem;
}

/* ============================================= */
/* COMPOSANTS COMMUNS */
/* ============================================= */

/* Cartes thématiques */
.theme-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.theme-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--white);
    font-size: 2rem;
}

.theme-content {
    flex: 1;
}

.theme-content h3 {
    color: var(--oif-blue);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.theme-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Features */
.theme-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 85, 164, 0.05);
    border-radius: 8px;
}

.feature-item i {
    color: var(--eco-green);
    font-size: 1.1rem;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Timeline */
.timeline-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--oif-blue), var(--oif-pink));
    transform: translateX(-50%);
}

.timeline-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--light-gray);
    position: relative;
    width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
}

.timeline-header {
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    color: var(--white);
    padding: 20px 25px;
}

.timeline-day {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.timeline-date {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.timeline-content {
    padding: 25px;
}

.timeline-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 85, 164, 0.05);
    border-radius: 8px;
}

.detail-item i {
    color: var(--oif-pink);
    font-size: 1.1rem;
}

.timeline-outcome {
    padding: 15px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 8px;
    color: var(--eco-green);
    font-size: 0.95rem;
    border-left: 4px solid var(--eco-green);
}

.timeline-outcome strong {
    color: var(--oif-blue-dark);
}

/* Grille d'objectifs */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.objective-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--oif-blue-light);
}

.objective-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
}

.objective-card h3 {
    color: var(--oif-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.objective-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Méthodologie Steps */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.methodology-step {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.methodology-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--oif-blue-light);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 85, 164, 0.3);
}

.step-content h3 {
    color: var(--oif-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Grille de sous-pages */
.subpages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.subpage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.subpage-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subpage-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 auto 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.subpage-card:hover .subpage-icon {
    background: var(--oif-pink);
    transform: scale(1.1);
}

.subpage-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.subpage-card .btn-outline {
    color: var(--white);
    border-color: var(--white);
    padding: 8px 20px;
    font-weight: 500;
}

.subpage-card .btn-outline:hover {
    background: var(--white);
    color: var(--oif-blue);
}

/* CTA de compétition */
.competition-cta {
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.competition-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.competition-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.deadline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.95rem;
}

.deadline i {
    color: var(--oif-pink-light);
}

/* ============================================= */
/* PAGE PLANNING DÉTAILLÉ */
/* ============================================= */

/* Navigation entre jours */
.day-navigation {
    margin-bottom: 40px;
}

.day-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.day-tab {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
    font-weight: 600;
    color: var(--text-secondary);
}

.day-tab:hover {
    border-color: var(--oif-blue-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.day-tab.active {
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    color: var(--white);
    border-color: var(--oif-blue);
    box-shadow: 0 5px 15px rgba(0, 85, 164, 0.3);
}

.day-tab small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 400;
}

/* Planning par jour */
.day-schedule {
    display: none;
    animation: fadeIn 0.5s ease;
}

.day-schedule.active {
    display: block;
}

.schedule-header {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.1), rgba(194, 24, 91, 0.1));
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--oif-blue);
}

.schedule-header h3 {
    color: var(--oif-blue);
    margin-bottom: 8px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-header h3 i {
    color: var(--oif-pink);
}

.day-date {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Timeline schedule */
.timeline-schedule {
    position: relative;
    padding-left: 30px;
}

.timeline-schedule::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--oif-blue-light), var(--oif-pink));
    border-radius: 50px;
}

.schedule-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
    padding: 10px 0;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 25px;
    width: 13px;
    height: 13px;
    background: var(--white);
    border-radius: 50%;
    border: 3px solid var(--oif-pink);
    z-index: 1;
}

.time-slot {
    width: 180px;
    flex-shrink: 0;
    padding-right: 20px;
    text-align: right;
}

.time {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--oif-blue);
    margin-bottom: 5px;
}

.duration {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(0, 85, 164, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
}

.activity {
    flex: 1;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--oif-blue-light);
    transition: all 0.3s ease;
}

.activity:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-header h4 {
    font-size: 1.2rem;
    color: var(--oif-blue-dark);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-registration { background: rgba(30, 136, 229, 0.1); color: var(--oif-blue-light); }
.badge-ceremony { background: rgba(123, 31, 162, 0.1); color: var(--oif-purple); }
.badge-break { background: rgba(160, 174, 192, 0.1); color: var(--medium-gray); }
.badge-workshop { background: rgba(46, 125, 50, 0.1); color: var(--eco-green); }
.badge-meal { background: rgba(233, 30, 99, 0.1); color: var(--oif-pink-light); }
.badge-field { background: rgba(0, 137, 123, 0.1); color: var(--eco-teal); }
.badge-training { background: rgba(0, 85, 164, 0.1); color: var(--oif-blue); }
.badge-networking { background: rgba(156, 39, 176, 0.1); color: var(--oif-purple-light); }
.badge-debriefing { background: rgba(194, 24, 91, 0.1); color: var(--oif-pink); }

.activity-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.activity-location {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-location i {
    color: var(--oif-pink);
}

.schedule-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.schedule-note i {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 2px;
}

.schedule-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Intervenants */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.speaker-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-gray);
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


.speaker-photo {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}

/* IMAGE PLEINE LARGEUR */
.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* couvre TOUT le conteneur */
    object-position: center top;/* 👈 protège le visage */
}


.speaker-card:hover .speaker-photo img {
    transform: scale(1.03);
    transition: transform 0.3s ease;}

.speaker-role {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.speaker-info {
    padding: 25px;
    flex: 1;
}

.speaker-info h3 {
    font-size: 1.3rem;
    color: var(--oif-blue);
    margin-bottom: 5px;
}

.speaker-title {
    color: var(--oif-pink);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.speaker-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.speaker-sessions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.session-tag {
    background: rgba(0, 85, 164, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--oif-blue);
    border-left: 3px solid var(--oif-pink);
}

/* Documents */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.document-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--oif-blue);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-size: 1.2rem;
    color: var(--oif-blue);
    margin-bottom: 10px;
}

.document-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.document-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.document-meta span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.document-meta i {
    color: var(--oif-pink);
}

/* ============================================= */
/* PAGE ACTIVITÉS */
/* ============================================= */

/* Timeline des activités */
.activities-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.activities-timeline::before {
    content: '';
    position: absolute;
    left: 110px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--oif-blue), 
        var(--eco-teal),
        var(--oif-pink),
        var(--oif-purple),
        var(--oif-blue-dark)
    );
    border-radius: 50px;
}

.activity-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    align-items: flex-start;
}

.activity-step:last-child {
    margin-bottom: 0;
}

.step-visual {
    width: 140px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 15px;
    border: 5px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oif-blue);
    font-size: 2rem;
    margin: 0 auto;
    border: 3px solid var(--oif-blue-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-content {
    flex: 1;
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--oif-blue);
    margin-left: 40px;
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 40px;
    width: 20px;
    height: 4px;
    background: var(--oif-pink);
    border-radius: 50px;
}

.step-content h3 {
    font-size: 1.6rem;
    color: var(--oif-blue);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 85, 164, 0.1);
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-item i {
    color: var(--oif-pink);
    font-size: 1.3rem;
    margin-top: 5px;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.detail-item h4 {
    font-size: 1.1rem;
    color: var(--oif-blue-dark);
    margin-bottom: 8px;
}

.detail-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Objectifs pédagogiques */
.objectives-cards {
    max-width: 1000px;
    margin: 0 auto;
}

.objective-main-card {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.1), rgba(194, 24, 91, 0.1));
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-bottom: 50px;
    border: 2px solid var(--oif-blue);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 25px;
}

.objective-main-card h3 {
    color: var(--oif-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.objective-main-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Grid d'objectifs */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pedagogical-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--oif-blue);
    transition: all 0.3s ease;
    height: 100%;
}

.pedagogical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top-color: var(--oif-pink);
}

.pedagogical-number {
    width: 40px;
    height: 40px;
    background: var(--oif-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pedagogical-card h4 {
    font-size: 1.3rem;
    color: var(--oif-blue);
    margin-bottom: 15px;
    min-height: 60px;
}

.pedagogical-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.pedagogical-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pedagogical-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pedagogical-details i {
    color: var(--eco-green);
    margin-top: 3px;
    font-size: 0.9rem;
}

/* Méthodes d'apprentissage */
.learning-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.method-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-gray);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.method-visual {
    height: 120px;
    position: relative;
    overflow: hidden;
}

.method-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oif-blue);
    font-size: 2rem;
    z-index: 2;
}

.method-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-pink));
    opacity: 0.9;
}

.method-content {
    padding: 30px;
    flex: 1;
}

.method-content h3 {
    font-size: 1.4rem;
    color: var(--oif-blue);
    margin-bottom: 15px;
}

.method-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.method-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    background: rgba(0, 85, 164, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--oif-blue);
    font-weight: 500;
}

/* Principes pédagogiques */
.learning-principles {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid rgba(0, 85, 164, 0.1);
}

.learning-principles h3 {
    color: var(--oif-blue);
    margin-bottom: 50px;
    font-size: 1.8rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.principle-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.principle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.principle-item i {
    font-size: 2.5rem;
    color: var(--oif-pink);
    margin-bottom: 20px;
    display: block;
}

.principle-item h4 {
    font-size: 1.1rem;
    color: var(--oif-blue);
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principle-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Stats activités */
.activity-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* ============================================= */
/* PAGE CARTE INTERACTIVE */
/* ============================================= */

/* Conteneur carte */
.map-container-wrapper {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid var(--light-gray);
}

/* Contrôles de la carte */
.map-controls {
    background: linear-gradient(135deg, var(--oif-blue-dark), var(--oif-blue));
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--white);
    color: var(--oif-blue);
    border-color: var(--white);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.9rem;
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.main-marker { background-color: var(--oif-blue); }
.neighborhood-marker { background-color: var(--eco-green); }
.workshop-marker { background-color: var(--oif-pink); }
.partner-marker { background-color: var(--oif-purple); }

/* Carte Leaflet */
.map-container {
    height: 500px;
    width: 100%;
    position: relative;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa, #e1e5eb);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.placeholder-content {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
}

.placeholder-content i {
    font-size: 3rem;
    color: var(--oif-blue);
    margin-bottom: 20px;
}

.placeholder-content h3 {
    color: var(--oif-blue);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.placeholder-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Marqueurs personnalisés */
.custom-marker {
    background: none;
    border: none;
}

.marker-icon {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.marker-icon i {
    color: var(--white);
    transform: rotate(45deg);
    font-size: 1rem;
}

/* Popup de la carte */
.map-popup {
    padding: 10px;
    min-width: 200px;
}

.map-popup h4 {
    color: var(--oif-blue);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.map-popup p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.popup-link {
    color: var(--oif-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.popup-link:hover {
    text-decoration: underline;
}

/* Liste mobile */
.mobile-locations-list {
    display: none;
    padding: 20px;
    background: var(--light-bg);
    border-top: 1px solid var(--light-gray);
}

.location-item-mobile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid var(--oif-blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.location-item-mobile:last-child {
    margin-bottom: 0;
}

.location-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.location-info h4 {
    font-size: 1rem;
    color: var(--oif-blue);
    margin-bottom: 5px;
}

.location-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.btn-link {
    color: var(--oif-pink);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Filtre fiches lieux */
.locations-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.location-filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-filter-btn:hover {
    border-color: var(--oif-blue-light);
    color: var(--oif-blue);
    transform: translateY(-2px);
}

.location-filter-btn.active {
    background: linear-gradient(135deg, var(--oif-blue), var(--oif-purple));
    color: var(--white);
    border-color: var(--oif-blue);
}

/* Fiches lieux */
.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--light-gray);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.location-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.05), rgba(194, 24, 91, 0.05));
    border-bottom: 1px solid var(--light-gray);
}

.location-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.main-type {
    background: rgba(0, 85, 164, 0.1);
    color: var(--oif-blue);
}

.neighborhood-type {
    background: rgba(46, 125, 50, 0.1);
    color: var(--eco-green);
}

.workshop-type {
    background: rgba(194, 24, 91, 0.1);
    color: var(--oif-pink);
}

.partner-type {
    background: rgba(123, 31, 162, 0.1);
    color: var(--oif-purple);
}

.location-header h3 {
    font-size: 1.6rem;
    color: var(--oif-blue-dark);
    margin-bottom: 15px;
}

.location-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.location-meta i {
    color: var(--oif-pink);
    margin-right: 5px;
}

.location-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    padding: 30px;
}

.location-image {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-content h4 {
    color: var(--oif-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.location-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Features */
.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 85, 164, 0.05);
    border-radius: 8px;
}

.feature i {
    color: var(--oif-pink);
    font-size: 1.1rem;
}

.feature span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Stats */
.location-stats {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--oif-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Équipements */
.location-equipment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.equipment-category {
    background: rgba(0, 85, 164, 0.05);
    padding: 15px;
    border-radius: 8px;
}

.equipment-category h6 {
    color: var(--oif-blue);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-category span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 3px 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.service {
    text-align: center;
    padding: 15px;
    background: rgba(0, 85, 164, 0.05);
    border-radius: 8px;
}

.service i {
    font-size: 1.5rem;
    color: var(--oif-pink);
    margin-bottom: 10px;
    display: block;
}

.service span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Listes */
.location-schedule,
.location-objectives,
.location-contact {
    margin-top: 25px;
}

.location-schedule h5,
.location-objectives h5,
.location-contact h5 {
    color: var(--oif-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-schedule h5 i,
.location-objectives h5 i,
.location-contact h5 i {
    color: var(--oif-pink);
}

.location-schedule ul,
.location-objectives ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-schedule li,
.location-objectives li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

.location-schedule li:last-child,
.location-objectives li:last-child {
    border-bottom: none;
}

.location-schedule strong {
    color: var(--oif-blue);
}

.location-contact p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.location-contact i {
    color: var(--oif-pink);
    margin-right: 8px;
    width: 20px;
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */

@media (max-width: 1200px) {
    .location-body {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .activities-timeline::before {
        left: 70px;
    }
    
    .step-visual {
        width: 100px;
    }
    
    .step-content {
        margin-left: 30px;
    }
    
    .location-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .map-legend {
        justify-content: center;
    }
    
    .map-container {
        height: 400px;
    }
    
    .mobile-locations-list {
        display: block;
    }
    
    .schedule-item {
        flex-direction: column;
    }
    
    .time-slot {
        width: 100%;
        text-align: left;
        padding: 0 0 15px 0;
        border-bottom: 1px solid var(--light-gray);
        margin-bottom: 15px;
    }
    
    .timeline-schedule::before {
        left: 10px;
    }
    
    .schedule-item::before {
        left: -18px;
    }
    
    .activity-step {
        flex-direction: column;
    }
    
    .step-visual {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .step-content {
        margin-left: 0;
    }
    
    .step-content::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }
    
    .map-container {
        height: 300px;
    }
    
    .locations-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .location-filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .activity-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .badge {
        align-self: flex-start;
    }
}


/* ============================================= */
/* HERO-SECTION RESPONSIVE DESIGN  */
/* ============================================= */
/* Solution ultra-responsive avec clamp() */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
}

.d-flex.align-items-center.justify-content-center {
    min-height: 100vh;
    padding: clamp(20px, 5vh, 80px) 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.position-relative.text-center.text-white.container {
    padding: clamp(15px, 3vh, 40px) clamp(10px, 3vw, 20px) !important;
}

/* Typographie responsive avec clamp() */
h1.fw-bold.mb-3 {
    font-size: clamp(1.4rem, 4vw + 1rem, 3rem) !important;
    margin-bottom: clamp(0.5rem, 1.5vh, 1.5rem) !important;
    line-height: 1.2 !important;
}

h2.mb-3 {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.8rem) !important;
    margin-bottom: clamp(0.5rem, 1vh, 1rem) !important;
    line-height: 1.3 !important;
}

p.mb-4 {
    font-size: clamp(0.85rem, 1.5vw + 0.5rem, 1.2rem) !important;
    line-height: clamp(1.4, 1.8, 1.6) !important;
    margin-bottom: clamp(1rem, 2vh, 2rem) !important;
}

/* Boutons responsive */
.d-flex.flex-wrap.justify-content-center.gap-3.mt-3 {
    margin-top: clamp(1rem, 2vh, 2rem) !important;
    gap: clamp(0.5rem, 1vw, 1rem) !important;
}

.btn-lg {
    padding: clamp(0.5rem, 1vh, 1rem) clamp(0.8rem, 2vw, 1.5rem) !important;
    font-size: clamp(0.85rem, 1vw, 1rem) !important;
}