/* Campus Hall Modern - Design Époustouflant */

:root {
    --campus-primary: #007bff;
    --campus-primary-dark: #0056b3;
    --campus-secondary: #6c757d;
    --campus-accent: #00b894;
    --campus-purple: #6c5ce7;
    --campus-pink: #e84393;
    --campus-dark: #2d3436;
    --campus-light: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Hero Section */
.campus-hall-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(79, 172, 254, 0.2) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.particle-1 { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { width: 3px; height: 3px; top: 60%; left: 80%; animation-delay: 1s; }
.particle-3 { width: 5px; height: 5px; top: 30%; left: 60%; animation-delay: 2s; }
.particle-4 { width: 2px; height: 2px; top: 80%; left: 20%; animation-delay: 3s; }
.particle-5 { width: 6px; height: 6px; top: 10%; left: 90%; animation-delay: 4s; }
.particle-6 { width: 3px; height: 3px; top: 50%; left: 50%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.8; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 1; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.6; }
    75% { transform: translateY(-30px) translateX(5px); opacity: 0.9; }
}

/* Grid Layout */
.campus-hall-modern__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Intro Section */
.campus-hall-modern__intro {
    color: white;
    grid-column: 1;
    min-width: 0; /* Permet au contenu de ne pas déborder */
}

/* Cards Section */
.campus-hall-modern__cards {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: stretch;
    width: 256px;
    position: sticky;
    top: 2rem;
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.campus-hall-modern__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-highlight {
    display: block;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.campus-hall-modern__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

/* Stats Container - Conteneur scrollable pour mobile */
.stats-container {
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
}

/* Stats Responsive */
.stats-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.stats-responsive::-webkit-scrollbar {
    height: 4px;
}

.stats-responsive::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.stats-responsive::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.stat-item {
    text-align: center;
    min-width: 70px;
    max-width: 120px;
    flex-shrink: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--campus-accent);
    margin-bottom: 0.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.65rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    width: 100%;
}

.stat-label i {
    font-size: 0.75rem;
}

.stat-label span {
    font-weight: 500;
    font-size: 0.6rem;
    line-height: 1;
}

/* Avantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--advantage-color, #10b981), transparent);
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--advantage-color, #10b981);
}

.advantage-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--advantage-color, #10b981);
}

.advantage-card h4 {
    color: var(--advantage-color, #10b981);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Advantage Colors */
.advantage-green { --advantage-color: #10b981; }
.advantage-blue { --advantage-color: #3b82f6; }
.advantage-orange { --advantage-color: #f59e0b; }
.advantage-purple { --advantage-color: #a855f7; }
.advantage-red { --advantage-color: #ef4444; }
.advantage-indigo { --advantage-color: #6366f1; }
.advantage-green-dark { --advantage-color: #22c55e; }

/* Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pain-point-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pain-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, transparent);
}

.pain-point-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.pain-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.pain-point-card h3 {
    color: #f87171;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pain-point-card p {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--solution-color, #10b981), transparent);
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--solution-color, #10b981);
}

.solution-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--solution-color, #10b981);
}

.solution-card h3 {
    color: var(--solution-color, #10b981);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.solution-card p {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.green-it-features {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.green-feature {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Solution Colors */
.solution-green { --solution-color: #10b981; }
.solution-blue { --solution-color: #3b82f6; }
.solution-orange { --solution-color: #f59e0b; }
.solution-purple { --solution-color: #a855f7; }
.solution-red { --solution-color: #ef4444; }
.solution-indigo { --solution-color: #6366f1; }
.solution-green-dark { --solution-color: #22c55e; }

/* Modern Buttons */
.campus-hall-modern__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-modern {
    position: relative;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-hero {
    background: linear-gradient(135deg, var(--campus-accent) 0%, #00cec9 100%);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.4);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover .btn-ripple {
    width: 300px;
    height: 300px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

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

.hall-card-modern {
    width: 256px;
    min-width: 256px;
    max-width: 256px;
    height: auto;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .campus-hall-modern__cards {
        justify-content: center;
    }
    
    .hall-card-modern {
        flex: 1 1 250px;
        min-width: 250px;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hall-card-modern {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 1.25rem;
    }
}

.hall-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--campus-primary) 0%, var(--campus-purple) 100%);
    border-radius: 1rem;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hall-card-modern:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hall-card-modern:hover .card-glow {
    opacity: 1;
}

.hall-card-modern h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hall-card-modern p {
    opacity: 0.9;
    line-height: 1.5;
}

.card-hover-effect {
    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.6s ease;
}

.hall-card-modern:hover .card-hover-effect {
    left: 100%;
}

/* Card Animations */
.card-1 { animation-delay: 0.1s; }
.card-2 { animation-delay: 0.2s; }
.card-3 { animation-delay: 0.3s; }
.card-4 { animation-delay: 0.4s; }

/* Fade In Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-up-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.animate-fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.animate-fade-in-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.animate-fade-in-up-delay-4 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease 0.5s forwards;
}

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

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

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Featured Parcours Section Enhancements */
.featured-parcours-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--campus-accent) 0%, #00cec9 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--campus-primary) 0%, var(--campus-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Parcours Cards Modern */
.parcours-card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.parcours-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.parcours-card-modern:hover .card-shine {
    left: 100%;
}

.parcours-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-info-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6c757d;
}

.blocs-preview {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.bloc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.bloc-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    border: 1px solid #dee2e6;
}

.bloc-tag-more {
    background: var(--campus-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.parcours-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: var(--campus-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Button Shine Effect */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-modern:hover .btn-shine {
    left: 100%;
}

/* Pulse Animation */
.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

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

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

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-up-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Card Pattern Background */
.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.6;
    animation: patternFloat 8s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
}

/* Enhanced WCAG-compliant card headers */
.parcours-card-modern .card-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%) !important;
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.parcours-card-modern .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.parcours-card-modern .header-title {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.parcours-card-modern .header-title i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.parcours-card-modern .badge.bg-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

/* WCAG-compliant button styles */
.btn-modern-wcag {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%) !important;
    border: none;
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.btn-modern-wcag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-modern-wcag:hover::before {
    left: 100%;
}

.btn-modern-wcag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.4);
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 50%, #3182ce 100%) !important;
}

.btn-outline-primary.btn-modern-wcag {
    background: transparent !important;
    border: 2px solid #1a365d !important;
    color: #1a365d !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline-primary.btn-modern-wcag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-outline-primary.btn-modern-wcag:hover::before {
    left: 100%;
}

.btn-outline-primary.btn-modern-wcag:hover {
    background: #1a365d !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
}

/* Section titles harmonization */
.section-title-wcag {
    color: #1a365d !important;
    font-weight: 700;
    position: relative;
    margin-bottom: 2rem;
}

.section-title-wcag::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 2px;
}

/* Category pills harmonization */
.category-pill-wcag {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    border: 1px solid #cbd5e1 !important;
    color: #1a365d !important;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-pill-wcag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-pill-wcag:hover::before {
    left: 100%;
}

.category-pill-wcag:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}

.category-pill-wcag .badge.bg-primary {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%) !important;
    color: white !important;
    font-weight: 600;
}

/* Parcours icon harmonization */
.parcours-icon {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.parcours-card-modern:hover .parcours-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

/* Parcours Icon Wrapper */
.parcours-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.parcours-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--campus-primary) 0%, var(--campus-purple) 100%);
    border-radius: 1rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.parcours-card-modern:hover .parcours-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Enhanced Card Hover Effects */
.parcours-card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.parcours-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.parcours-card-modern::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.8s ease;
}

.parcours-card-modern:hover::before {
    left: 100%;
}

/* Enhanced Meta Info */
.parcours-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.meta-info-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.meta-info-item:hover {
    background: var(--campus-primary);
    color: white;
    transform: translateY(-1px);
}

/* Enhanced Bloc Tags */
.bloc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bloc-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.bloc-tag:hover {
    background: linear-gradient(135deg, var(--campus-primary) 0%, var(--campus-purple) 100%);
    color: white;
    transform: translateY(-2px);
}

.bloc-tag-more {
    background: linear-gradient(135deg, var(--campus-accent) 0%, #00cec9 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bloc-tag-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

/* Enhanced Rating */
.parcours-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars .fas {
    transition: all 0.2s ease;
}

.stars:hover .fas {
    transform: scale(1.2);
}

/* Enhanced Button */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .campus-hall-modern__grid {
        grid-template-columns: 3fr 2fr;
        gap: 2rem;
        max-width: 1200px;
    }
}

@media (max-width: 991px) {
    .campus-hall-modern__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .campus-hall-modern__intro {
        grid-column: 1;
        order: 1;
    }
    
    .campus-hall-modern__cards {
        grid-column: 1;
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        max-width: 544px; /* 2 cards de 256px + gap */
        margin: 0 auto;
        position: static; /* Désactive sticky sur mobile */
    }
    
    .hall-card-modern {
        width: 256px;
        min-width: 256px;
        max-width: 256px;
    }
    
    .campus-hall-modern__title {
        font-size: 2.5rem;
    }
    
    .title-highlight {
        font-size: 2rem;
    }
    
    .campus-hall-modern__cards {
        justify-content: center;
        gap: 1rem;
    }
    
    .stats-container {
        margin-bottom: 1.5rem;
    }
    
    .stats-bar {
        gap: 1rem;
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 60px;
        max-width: 100px;
        padding: 0.25rem;
        flex: 1 1 auto;
    }
    
    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.05rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        gap: 0.1rem;
    }
    
    .stat-label i {
        font-size: 0.65rem;
    }
    
    .stat-label span {
        font-size: 0.55rem;
    }
    
    .stats-bar {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .campus-hall-modern__title {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 1.5rem;
    }
    
    .stats-container {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .stats-bar {
        gap: 0.75rem;
        padding: 0.75rem 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 55px;
        max-width: 90px;
        padding: 0.25rem;
        flex: 1 1 auto;
    }
    
    .stat-number {
        font-size: 1rem;
        margin-bottom: 0.05rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
        gap: 0.1rem;
    }
    
    .stat-label i {
        font-size: 0.6rem;
    }
    
    .stat-label span {
        font-size: 0.5rem;
    }
    
    .campus-hall-modern__cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 256px;
        margin: 0 auto;
    }
    
    .hall-card-modern {
        width: 256px;
        min-width: 256px;
        max-width: 256px;
    }
    
    .title-highlight {
        font-size: 1.5rem;
    }
    
    .campus-hall-modern__ctas {
        justify-content: center;
    }
    
    .btn-modern {
        flex: 1;
        min-width: 120px;
    }
    
    /* Responsive Advantages */
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .advantage-card {
        padding: 1rem;
    }
    
    .advantage-icon {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .advantage-card h4 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 0.8rem;
    }
    
    /* Responsive Pain Points */
    .pain-points-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .pain-point-card {
        padding: 1rem;
    }
    
    .pain-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .pain-point-card h3 {
        font-size: 1rem;
    }
    
    .pain-point-card p {
        font-size: 0.85rem;
    }
    
    /* Responsive Solutions */
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .solution-card {
        padding: 1rem;
    }
    
    .solution-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .solution-card h3 {
        font-size: 1rem;
    }
    
    .solution-card p {
        font-size: 0.85rem;
    }
    
    .green-it-features {
        gap: 0.5rem;
    }
    
    .green-feature {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Responsive Advantages - Small Mobile */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .advantage-card {
        padding: 0.75rem;
    }
    
    .advantage-icon {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .advantage-card h4 {
        font-size: 0.95rem;
    }
    
    .advantage-card p {
        font-size: 0.8rem;
    }
    
    /* Responsive Pain Points - Small Mobile */
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .pain-point-card {
        padding: 0.75rem;
    }
    
    .pain-icon {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .pain-point-card h3 {
        font-size: 0.95rem;
    }
    
    .pain-point-card p {
        font-size: 0.8rem;
    }
    
    /* Responsive Solutions - Small Mobile */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .solution-card {
        padding: 0.75rem;
    }
    
    .solution-icon {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-card h3 {
        font-size: 0.95rem;
    }
    
    .solution-card p {
        font-size: 0.8rem;
    }
    
    .green-it-features {
        gap: 0.25rem;
    }
    
    .green-feature {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}
