/* ========================================
   RAPPORT DE STAGE - LILIA TOUATI
   Design moderne et colore
   ======================================== */

/* Variables CSS */
:root {
    /* Couleurs principales vives */
    --primary: #FF6B6B;
    --primary-dark: #e85555;
    --secondary: #4ECDC4;
    --secondary-dark: #3dbdb5;
    --accent: #FFE66D;
    --purple: #A855F7;
    --purple-dark: #9333EA;
    --blue: #3B82F6;
    --blue-dark: #2563EB;
    --pink: #EC4899;
    --orange: #F97316;

    /* Neutres */
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --lighter: #F9FAFB;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #A855F7 100%);
    --gradient-timeline: linear-gradient(180deg, #A855F7, #3B82F6);
    --gradient-card: linear-gradient(135deg, #fff 0%, #f9fafb 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-color: 0 4px 20px rgba(255, 107, 107, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 10px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-hero);
    border-radius: 3px;
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: var(--space-2xl) var(--space-md);
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--space-xl);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.hero-details {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-md);
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 1rem;
    opacity: 0.85;
}

.hero-separator {
    opacity: 0.5;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    animation: bounce 2s infinite;
    margin-top: var(--space-lg);
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    bottom: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--blue);
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

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

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--space-2xl) 0;
}

.section-alt {
    background: var(--lighter);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-xl);
}

.title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-hero);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: var(--space-xl) 0 var(--space-lg);
}

/* ========================================
   CONTENT CARDS
   ======================================== */
.content-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light);
}

.content-card p {
    margin-bottom: var(--space-sm);
}

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

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-top: var(--space-md);
}

.highlight-box p {
    margin: 0;
    font-style: italic;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--blue);
    margin: var(--space-md) 0;
}

.info-box ul {
    margin: var(--space-xs) 0 0 var(--space-md);
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light);
    transition: all var(--transition-base);
    text-align: center;
}

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

.service-card:nth-child(1) { border-top: 4px solid var(--primary); }
.service-card:nth-child(2) { border-top: 4px solid var(--secondary); }
.service-card:nth-child(3) { border-top: 4px solid var(--purple); }
.service-card:nth-child(4) { border-top: 4px solid var(--blue); }
.service-card:nth-child(5) { border-top: 4px solid var(--orange); }
.service-card:nth-child(6) { border-top: 4px solid var(--pink); }

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Quote Card */
.quote-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary);
}

.quote-card blockquote {
    font-style: italic;
    color: var(--dark-light);
}

.quote-card cite {
    display: block;
    margin-top: var(--space-md);
    font-style: normal;
    font-weight: 600;
    color: var(--secondary);
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-timeline);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
}

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

.timeline-marker {
    position: absolute;
    left: -50px;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 4px solid var(--purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(1) .timeline-marker { border-color: var(--primary); }
.timeline-item:nth-child(2) .timeline-marker { border-color: var(--secondary); }
.timeline-item:nth-child(3) .timeline-marker { border-color: var(--purple); }
.timeline-item:nth-child(4) .timeline-marker { border-color: var(--blue); }
.timeline-item:nth-child(5) .timeline-marker { border-color: var(--orange); }

.day-number {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
}

.timeline-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light);
    margin-left: var(--space-sm);
}

.timeline-item:nth-child(1) .timeline-content { border-top: 4px solid var(--primary); }
.timeline-item:nth-child(2) .timeline-content { border-top: 4px solid var(--secondary); }
.timeline-item:nth-child(3) .timeline-content { border-top: 4px solid var(--purple); }
.timeline-item:nth-child(4) .timeline-content { border-top: 4px solid var(--blue); }
.timeline-item:nth-child(5) .timeline-content { border-top: 4px solid var(--orange); }

.timeline-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.timeline-location {
    display: inline-block;
    background: var(--light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.timeline-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: var(--space-md) 0 var(--space-xs);
}

.timeline-text h4:first-child {
    margin-top: 0;
}

.timeline-text p {
    margin-bottom: var(--space-sm);
    color: var(--dark-light);
}

.timeline-text ul {
    margin: var(--space-xs) 0 var(--space-sm) var(--space-lg);
    color: var(--dark-light);
}

.timeline-text li {
    margin-bottom: 4px;
}

/* ========================================
   ACTIVITY TABLE
   ======================================== */
.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.activity-table th,
.activity-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--light);
}

.activity-table th {
    background: var(--gradient-hero);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.activity-table th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.activity-table th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}

.activity-table tr:hover td {
    background: var(--lighter);
}

.activity-table td:first-child {
    color: var(--primary);
    font-weight: 600;
}

/* Activities List */
.activities-list {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--lighter);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.activity-item:hover {
    background: var(--light);
    transform: translateX(5px);
}

.activity-icon {
    font-size: 1.5rem;
}

/* ========================================
   APPORTS SECTION
   ======================================== */
.apports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.apport-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.apport-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--gradient-hero);
    color: white;
}

.apport-icon {
    font-size: 2rem;
}

.apport-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.apport-content {
    padding: var(--space-lg);
}

.apport-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: var(--space-md) 0 var(--space-xs);
}

.apport-content h4:first-of-type {
    margin-top: var(--space-sm);
}

.apport-content ul {
    margin-left: var(--space-md);
    color: var(--dark-light);
}

.apport-content li {
    margin-bottom: 4px;
}

/* ========================================
   CONCLUSION
   ======================================== */
.conclusion-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-card p {
    font-size: 1.1rem;
    color: var(--dark-light);
    margin-bottom: var(--space-md);
}

.conclusion-highlight {
    background: var(--gradient-hero);
    color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

.conclusion-highlight p {
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    margin: 0;
}

/* ========================================
   ANNEXES
   ======================================== */
.annexe-block {
    margin-bottom: var(--space-2xl);
}

.annexe-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

/* Lexique */
.lexique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.lexique-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary);
    transition: all var(--transition-base);
}

.lexique-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.lexique-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}

.lexique-card p {
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* Remerciements */
.remerciements-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.remerciements-list {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.remerciement-item {
    padding: var(--space-md);
    background: var(--lighter);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--purple);
}

.remerciement-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
}

.remerciement-role {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: var(--space-xs);
}

.remerciement-item p {
    margin: 0;
    color: var(--dark-light);
    font-size: 0.95rem;
}

/* Interviews */
.interviews-intro {
    color: var(--gray);
    margin-bottom: var(--space-lg);
}

.interview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.interview-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--purple), var(--blue));
    color: white;
}

.interview-card:nth-child(odd) .interview-header {
    background: linear-gradient(135deg, var(--primary), var(--orange));
}

.interview-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.interview-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.interview-info span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.interview-content {
    padding: var(--space-lg);
}

.qa-item {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--light);
}

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

.qa-item .question {
    color: var(--purple);
    margin-bottom: var(--space-xs);
}

.qa-item .answer {
    color: var(--dark-light);
}

/* Photo Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.photo-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

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

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.photo-overlay span {
    color: white;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary);
    border-radius: var(--radius-full);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-caption {
    color: white;
    margin-top: var(--space-md);
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 50%;
    transition: all var(--transition-base);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: var(--space-xs);
    opacity: 0.8;
}

.footer-content p:first-child {
    font-size: 1.1rem;
    opacity: 1;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .nav-container {
        justify-content: flex-end;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition-base);
        gap: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: block;
    }

    .nav-link {
        padding: var(--space-sm) var(--space-md);
        text-align: center;
        font-size: 1rem;
        border-bottom: 1px solid var(--light);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--lighter);
    }
}

@media (max-width: 768px) {

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-details {
        font-size: 1rem;
    }

    .section-title {
        flex-direction: column;
        text-align: center;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -40px;
        width: 34px;
        height: 34px;
    }

    .day-number {
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: var(--space-md);
    }

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

    .activity-table {
        font-size: 0.8rem;
    }

    .activity-table th,
    .activity-table td {
        padding: var(--space-xs) var(--space-sm);
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

/* Print styles */
@media print {
    .navbar,
    .hero-scroll,
    .lightbox {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--space-lg);
    }

    .section {
        page-break-inside: avoid;
    }
}
