/* ==========================================
   Site Officiel de Jean-Lucien Bussa
   Style CSS Principal
   ========================================== */

/* Variables CSS */
:root {
    --primary-color: #052749;
    --primary-color-rgb: 5, 39, 73;
    --secondary-color: #d4af37;
    --accent-color: #28a745;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0;
    position: relative;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.hero-navbar {
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50px;
    padding: 0.8rem 3rem 0.8rem 3rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    overflow: visible;
}

/* Navbar fixe pour les autres pages */
.hero-navbar[style*="fixed"] {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: white !important;
    border-radius: 50px !important;
    padding: 0.8rem 3rem 0.8rem 3rem !important;
    box-shadow: var(--shadow-lg) !important;
    z-index: 1000 !important;
    border: 2px solid var(--primary-color) !important;
    overflow: visible !important;
}

.hero-navbar[style*="fixed"] .hero-nav-link {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.hero-navbar[style*="fixed"] .hero-nav-link:hover,
.hero-navbar[style*="fixed"] .hero-nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero sections for other pages */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 22, 40, 0.84);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.page-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.page-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background: var(--secondary-color);
}

.page-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive styles for page hero */
@media (max-width: 1200px) {
    .page-hero-title {
        font-size: 2.5rem;
    }
    .page-hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
        margin-top: 60px;
    }
    .page-hero-title {
        font-size: 2rem;
    }
    .page-hero-subtitle {
        font-size: 1rem;
    }
    .page-hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 35vh;
        min-height: 250px;
    }
    .page-hero-title {
        font-size: 1.5rem;
    }
    .page-hero-subtitle {
        font-size: 0.9rem;
    }
}

.hero-nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-nav-left,
.hero-nav-right {
    display: flex;
    gap: 1.5rem;
}

.hero-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-nav-logo img {
    height: 120px;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    margin: -20px 0;
}

.hero-nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hero-nav-logo img:hover {
    transform: scale(1.05);
}

.hero-nav-logo h2 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    white-space: nowrap;
}

.hero-nav-logo h2 span {
    color: var(--secondary-color);
}

.hero-nav-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    white-space: nowrap;
}

.hero-nav-link:hover {
    color: var(--secondary-color);
    background: rgba(1, 64, 123, 0.1);
}

.hero-nav-link.active {
    color: var(--secondary-color);
    background: rgba(1, 64, 123, 0.15);
    font-weight: 700;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 23, 43, 0.84);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 55%;
    padding-left: 18rem;
    margin-top: 15vh;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease;
    text-transform: uppercase;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30%;
    height: 3px;
    background: var(--secondary-color);
}

.hero-subtitle {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease 0.2s both;
    font-family: Brush Script MT;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 35%;
    height: 80%;
    z-index: 1;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
    overflow: visible;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Quote Section */
.quote-section {
    background: var(--primary-color);
    padding: 60px 0;
}

.quote-box {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Main Quote Section */
.quote-section-main {
    background: var(--primary-color);
    padding: 80px 0;
    position: relative;
}

.quote-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.quote-container .quote-icon {
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.main-quote {
    font-size: 1.8rem;
    line-height: 1.6;
    color: white;
    font-style: italic;
    margin: 0 0 2rem 0;
    font-weight: 300;
}

.quote-container .quote-author {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Statistics Section */
.statistics {
    background: white;
    padding: 60px 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Mon Parcours Section */
.biography {
    background: white;
    padding: 100px 0;
    position: relative;
    overflow: visible;
    width: 100%;
}

.parcours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    position: relative;
}

.parcours-text {
    padding: 2rem 0;
}

.parcours-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.parcours-summary {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.parcours-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.bio-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-light);
}

/* Engagement Section */
.engagement {
    padding: 0;
    background: var(--light-color);
}

.engagement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.engagement-image {
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.engagement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engagement-text {
    display: flex;
    align-items: center;
    padding: 4rem;
    background: white;
}

.engagement-inner {
    width: 100%;
}

.engagement-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.engagement-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.engagement-points {
    margin-bottom: 3rem;
}

.engagement-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.engagement-point i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.engagement-point h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.engagement-point p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Vision Section */
.vision {
    background: var(--light-color);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.vision-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

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

.vision-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vision-item p {
    color: var(--text-light);
}

/* News Section */
.news {
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-date i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.news-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    color: var(--secondary-color);
}

/* Gallery Section */
.gallery {
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    color: white;
}

.gallery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.gallery-info p {
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 40px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 63, 127, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.newsletter-input {
    display: flex;
    margin-top: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-input button {
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-input button:hover {
    background: #b8941f;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i {
    color: #e74c3c;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive Design */
@media (max-width: 992px) {
    .bio-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 20px;
        margin-top: 10vh;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-navbar {
        padding: 0.8rem 1.5rem;
    }
    
    .hero-nav-container {
        gap: 1.5rem;
    }
    
    .hero-nav-left,
    .hero-nav-right {
        gap: 1rem;
    }
    
    .hero-nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Hero mobile: use image background instead of video */
    .hero {
        background-image: url('../images/bussa.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #0527494f;
    }

    .hero-video {
        display: none;
    }

    .hero-navbar {
        top: 15vh;
        padding: 0.6rem 1rem;
        border-radius: 30px;
    }
    
    .hero-nav-container {
        gap: 1rem;
    }
    
    .hero-nav-left,
    .hero-nav-right {
        gap: 0.8rem;
    }
    
    .hero-nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero-nav-logo img {
        height: 100px;
        margin: -15px 0;
    }
    
    .hero-nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats-grid,
    .vision-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-navbar {
        top: 10vh;
        padding: 0.5rem 0.8rem;
        border-radius: 25px;
    }
    
    .hero-nav-container {
        gap: 0.8rem;
    }
    
    .hero-nav-left,
    .hero-nav-right {
        gap: 0.6rem;
    }
    
    .hero-nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .hero-nav-logo img {
        height: 80px;
        margin: -10px 0;
    }
    
    .hero-nav-logo h2 {
        font-size: 1rem;
    }
    
    .hero-content {
        margin-top: 8vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Médiathèque Section */
.mediatheque {
    background: var(--light-color);
    padding: 100px 0;
}

.mediatheque-categories {
    text-align: center;
    margin-bottom: 3rem;
}

.media-tabs {
    display: inline-flex;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.media-tab {
    padding: 0.8rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.media-tab.active,
.media-tab:hover {
    background: var(--primary-color);
    color: white;
}

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

.media-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.media-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-item:hover .media-thumbnail img {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.media-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    color: white;
    font-size: 2rem;
}

.media-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.9rem;
}

.media-info {
    padding: 1.5rem;
}

.media-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.media-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.media-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive pour Médiathèque */
/* ===== NAVBAR STANDARD ===== */
.standard-navbar {
    background: var(--primary-color);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.standard-navbar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.standard-navbar .nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.standard-navbar .nav-logo span {
    color: var(--secondary-color);
}

.standard-navbar .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.standard-navbar .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.standard-navbar .nav-link:hover,
.standard-navbar .nav-link.active {
    color: var(--secondary-color);
}

/* Responsive pour navbar standard */
@media (max-width: 768px) {
    .standard-navbar .nav-container {
        padding: 0 1rem;
    }
    
    .standard-navbar .nav-links {
        gap: 1rem;
    }
    
    .standard-navbar .nav-link {
        font-size: 0.9rem;
    }
    
    .media-tabs {
        flex-wrap: wrap;
        border-radius: 25px;
    }
    
    .media-tab {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .mediatheque-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .engagement-content {
        grid-template-columns: 1fr;
    }
    
    .engagement-text {
        padding: 2rem;
    }
    
    .engagement-title {
        font-size: 2rem;
    }
    
    .parcours-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-media {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.lightbox-info {
    padding: 2rem;
    background: white;
}

.lightbox-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lightbox-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.lightbox-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-info {
        padding: 1.5rem;
    }
    
    .lightbox-title {
        font-size: 1.3rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ===== ACCORDÉON STYLES ===== */
.accordion-container {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.accordion-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.accordion-header:hover::before {
    left: 100%;
}

.accordion-header:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateX(5px);
}

.accordion-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    flex: 1;
}

.accordion-icon {
    font-size: 1.2rem;
    transition: var(--transition);
    margin-left: 1rem;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 2rem;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    text-align: justify;
}

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

.reform-list {
    margin: 1.5rem 0;
}

.reform-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(var(--secondary-color-rgb), 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.reform-item:hover {
    background: rgba(var(--secondary-color-rgb), 0.1);
    transform: translateX(5px);
}

.reform-item i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.reform-item span {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive Design pour l'accordéon */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-title {
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.5rem;
    }
    
    .accordion-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .reform-item {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .reform-item span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .accordion-title {
        font-size: 0.95rem;
    }
    
    .accordion-icon {
        align-self: flex-end;
        margin-left: 0;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .accordion-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ===== BIOGRAPHIE MOBILE STYLES ===== */

/* Cacher le bouton hamburger sur desktop */
.mobile-nav-toggle {
    display: none;
}

/* Styles spécifiques pour la page d'accueil en mobile */
@media (max-width: 768px) {
    /* Forcer la navbar de la page d'accueil à être fixe */
    .hero .hero-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    /* S'assurer que le menu mobile s'affiche sur la page d'accueil */
    .hero .hero-nav-container.mobile-active {
        display: flex !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 768px) {
    /* Afficher le bouton hamburger sur mobile */
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Navigation mobile */
    .hero-navbar {
        top: 0 !important;
        position: fixed !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 10px 0;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    /* Navbar au scroll */
    .hero-navbar.scrolled {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    }
    
    .hero-nav-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 3rem;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-top: none;
    }
    
    .hero-nav-container.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Animation d'entrée pour les liens */
    .hero-nav-container.mobile-active .hero-nav-link {
        animation: slideInFromTop 0.5s ease forwards;
        opacity: 0;
        transform: translateY(-15px);
    }
    
    .hero-nav-container.mobile-active .hero-nav-link:nth-child(1) { animation-delay: 0.1s; }
    .hero-nav-container.mobile-active .hero-nav-link:nth-child(2) { animation-delay: 0.2s; }
    .hero-nav-container.mobile-active .hero-nav-link:nth-child(3) { animation-delay: 0.3s; }
    .hero-nav-container.mobile-active .hero-nav-link:nth-child(4) { animation-delay: 0.4s; }
    .hero-nav-container.mobile-active .hero-nav-link:nth-child(5) { animation-delay: 0.5s; }
    .hero-nav-container.mobile-active .hero-nav-link:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes slideInFromTop {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hero-nav-left,
    .hero-nav-right {
        order: 2;
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .hero-nav-logo {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .hero-nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
        min-width: 140px;
        text-align: center;
        font-weight: 500;
    }
    
    .hero-nav-link:hover {
        background: rgba(var(--primary-color-rgb), 0.1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Bouton Hamburger amélioré */
    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        height: 28px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-nav-toggle:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.05);
    }
    
    .mobile-nav-toggle span {
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .mobile-nav-toggle.active {
        background: rgba(var(--primary-color-rgb), 0.1);
    }
    
    .mobile-nav-toggle.active span {
        background: var(--primary-color);
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Cacher la navigation par défaut sur mobile */
    .hero-nav-container {
        display: none;
    }
    
    .hero-nav-container.mobile-active {
        display: flex;
    }
    
    /* Ajuster la position du logo pour le bouton hamburger */
    .hero-nav-logo {
        margin-left: 80px;
        margin-right: 80px;
        text-align: center;
    }
    
    /* Hero section mobile */
    .page-hero {
        padding: 120px 1rem 80px;
        text-align: center;
        margin-top: 80px;
    }
    
    .page-hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Section Identité mobile */
    .biography {
        padding: 60px 0 !important;
    }
    
    .bio-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
    }
    
    .bio-image {
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .bio-details {
        order: 2;
    }
    
    .bio-card {
        padding: 1.5rem !important;
    }
    
    .bio-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .bio-info-grid {
        gap: 0.8rem;
        font-size: 0.95rem;
    }
    
    .bio-info-item i {
        width: 18px !important;
        font-size: 0.9rem;
    }
    
    /* Timeline mobile */
    .timeline-container {
        margin-top: 2rem !important;
    }
    
    .timeline-period-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
    }
    
    .timeline-item {
        padding-left: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .timeline-content {
        padding: 1.2rem !important;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Cartes d'engagement mobile */
    .engagement-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .engagement-card-content {
        padding: 1.5rem !important;
    }
    
    .engagement-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .engagement-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .engagement-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-links ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .newsletter-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input input {
        width: 100%;
        text-align: center;
    }
    
    .newsletter-input button {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Navigation très petite */
    .hero-navbar {
        top: 0 !important;
        padding: 8px 0;
    }
    
    .hero-nav-container {
        padding: 2rem 1.5rem;
        left: 0;
        right: 0;
        gap: 1.5rem;
        top: 70px;
    }
    
    .hero-nav-left,
    .hero-nav-right {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        min-width: 120px;
        width: 100%;
        max-width: 200px;
    }
    
    .hero-nav-logo img {
        height: 45px !important;
    }
    
    /* Bouton hamburger très petit */
    .mobile-nav-toggle {
        width: 30px;
        height: 24px;
        left: 15px;
        padding: 6px;
    }
    
    .mobile-nav-toggle span {
        height: 2.5px;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Ajuster la position du logo pour le bouton hamburger */
    .hero-nav-logo {
        margin-left: 60px;
        margin-right: 60px;
        text-align: center;
    }
    
    /* Ajuster la position du logo pour les très petits écrans */
    .hero-nav-logo {
        margin-left: 50px;
    }
    
    /* Hero très petite */
    .page-hero {
        padding: 100px 0.5rem 60px;
    }
    
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Section identité très petite */
    .biography {
        padding: 40px 0 !important;
    }
    
    .bio-image {
        max-width: 250px;
    }
    
    .bio-card {
        padding: 1rem !important;
    }
    
    .bio-card h3 {
        font-size: 1.2rem;
    }
    
    .bio-info-grid {
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .bio-info-item i {
        width: 16px !important;
        font-size: 0.8rem;
    }
    
    /* Timeline très petite */
    .timeline-period-title {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .timeline-item {
        padding-left: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .timeline-content {
        padding: 1rem !important;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    /* Cartes très petites */
    .engagement-card-content {
        padding: 1rem !important;
    }
    
    .engagement-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .engagement-card h3 {
        font-size: 1.1rem;
    }
    
    .engagement-card p {
        font-size: 0.9rem;
    }
    
    /* Footer très petit */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .footer-links ul {
        gap: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* Améliorations spécifiques pour la biographie */
@media (max-width: 768px) {
    /* Ajuster l'espacement des sections */
    section {
        padding: 60px 0 !important;
    }
    
    /* Améliorer la lisibilité du texte */
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    /* Optimiser les grilles */
    .container > div[style*="grid"] {
        gap: 1.5rem !important;
    }
    
    /* Améliorer les cartes */
    .engagement-card > div {
        margin: 0 0.5rem;
    }
    
    /* Ajuster la timeline pour mobile */
    .timeline-vertical {
        padding-left: 0;
    }
    
    .timeline-item > div {
        margin-left: 0;
        border-radius: 8px;
    }
    
    /* Améliorer la navigation mobile */
    .hero-navbar {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .hero-nav-link {
        background: rgba(var(--primary-color-rgb), 0.1);
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .hero-nav-link:hover,
    .hero-nav-link.active {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
    
    /* Améliorer la bio-info pour mobile */
    .bio-info-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.8rem;
        background: rgba(var(--secondary-color-rgb), 0.05);
        border-radius: 8px;
        border-left: 3px solid var(--secondary-color);
    }
    
    .bio-info-item i {
        align-self: flex-start;
        margin-top: 0.2rem;
    }
    
    /* Améliorer la timeline pour mobile */
    .timeline-dot {
        left: 0.5rem !important;
    }
    
    .timeline-item {
        padding-left: 2.5rem !important;
    }
    
    /* Améliorer les cartes d'engagement pour mobile */
    .engagement-card-content {
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    .engagement-card-content:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
    
    .engagement-icon {
        transition: all 0.3s ease;
    }
    
    .engagement-card:hover .engagement-icon {
        transform: scale(1.1);
    }
}
