/* Header Styles */
.header-default {
    position: fixed;footer
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.header-default.header-hidden {
    transform: translateY(-100%);
}

.header-default .navbar {
    padding: 16px 0;
}

.header-default .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-default .navbar .navbar-brand img {
    max-height: 40px;
    width: auto;
}

.header-default .navbar .navbar-center {
    flex: 1;
    margin: 0 32px;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li {
    position: relative;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li a:hover {
    color: #000f85;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li.current-menu-item > a {
    color: #000f85;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li .sub-menu li a {
    display: block;
    padding: 8px 16px;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li .sub-menu li a:hover {
    background: #f8f9fa;
}

.header-default .navbar .navbar-center .primary-menu-wrapper .navbar-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-default .navbar .navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-default .navbar .navbar-right .search-field {
    position: relative;
}

.header-default .navbar .navbar-right .search-field .modern-search-form {
    display: flex;
    align-items: center;
}

.header-default .navbar .navbar-right .search-field .modern-search-form input[type="search"] {
    padding: 8px 32px 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s;
}

.header-default .navbar .navbar-right .search-field .modern-search-form input[type="search"]:focus {
    width: 300px;
    border-color: #000f85;
    box-shadow: 0 0 0 3px rgba(45, 129, 247, 0.1);
}

.header-default .navbar .navbar-right .search-field .modern-search-form .search-icon {
    position: absolute;
    right: 16px;
    color: #5B6B79;
    pointer-events: none;
}

.header-default .navbar .navbar-right .cart-wrapper {
    position: relative;
}

.header-default .navbar .navbar-right .cart-wrapper .cart-icon {
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.header-default .navbar .navbar-right .cart-wrapper .cart-icon:hover {
    color: #000f85;
}

.header-default .navbar .navbar-right .cart-wrapper .cart-icon .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000f85;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 12px;
    padding: 2px;
}

.cart-count.hidden {
    display: none;
}



.header-default .navbar .navbar-right .user-menu .dropdown {
    position: relative;
}

.header-default .navbar .navbar-right .user-menu .dropdown .user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.header-default .navbar .navbar-right .user-menu .dropdown .user-menu-toggle .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.header-default .navbar .navbar-right .user-menu .dropdown .user-menu-toggle .user-name {
    color: #333;
    font-weight: 500;
}

.header-default .navbar .navbar-right .user-menu .dropdown .user-menu-toggle i {
    color: #5B6B79;
    transition: transform 0.3s;
}

.header-default .navbar .navbar-right .user-menu .dropdown .user-menu-toggle:hover {
    background: #f8f9fa;
    border-radius: 4px;
}

.header-default .navbar .navbar-right .user-menu .dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.header-default .navbar .navbar-right .user-menu .dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-default .navbar .navbar-right .user-menu .dropdown .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.header-default .navbar .navbar-right .user-menu .dropdown .dropdown-menu .dropdown-item i {
    color: #5B6B79;
}

.header-default .navbar .navbar-right .user-menu .dropdown .dropdown-menu .dropdown-item:hover {
    background: #f8f9fa;
    color: #000f85;
}

.header-default .navbar .navbar-right .user-menu .dropdown .dropdown-menu .dropdown-item:hover i {
    color: #000f85;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons {
    display: flex;
    gap: 8px;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons .btn i {
    font-size: 18px;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons .btn.btn-outline-primary {
    border: 1px solid #000f85;
    color: #000f85;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons .btn.btn-outline-primary:hover {
    background: #000f85;
    color: #fff;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons .btn.btn-primary {
    background: #000f85;
    color: #fff;
}

.header-default .navbar .navbar-right .user-menu .auth-buttons .btn.btn-primary:hover {
    background: #1a62c4;
}

.header-default .navbar .navbar-right .navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
}

.header-default .navbar .navbar-right .navbar-toggler:hover {
    color: #000f85;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    padding: 16px;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu .mobile-menu-header {
    margin-bottom: 24px;
}

.mobile-menu .mobile-menu-header .mobile-search .modern-search-form {
    position: relative;
}

.mobile-menu .mobile-menu-header .mobile-search .modern-search-form input[type="search"] {
    width: 100%;
    padding: 16px 32px 16px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
}

.mobile-menu .mobile-menu-header .mobile-search .modern-search-form .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5B6B79;
}

.mobile-menu .mobile-menu-content .mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu .mobile-menu-content .mobile-nav li {
    margin-bottom: 8px;
}

.mobile-menu .mobile-menu-content .mobile-nav li a {
    display: block;
    padding: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu .mobile-menu-content .mobile-nav li a:hover {
    background: #f8f9fa;
    color: #000f85;
}

.mobile-menu .mobile-menu-content .mobile-nav li.current-menu-item > a {
    background: #000f85;
    color: #fff;
}

.mobile-menu .mobile-menu-content .mobile-nav li .sub-menu {
    list-style: none;
    margin: 8px 0 0 16px;
    padding: 0;
}

.mobile-menu .mobile-menu-content .mobile-nav li .sub-menu li {
    margin-bottom: 4px;
}

.mobile-menu .mobile-menu-content .mobile-nav li .sub-menu li a {
    padding: 4px 8px;
    font-size: 14px;
}

/* Bottom Navigation Menu */
/* Styles existants */
.bottom-nav {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.bottom-nav-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 5px;
}

.bottom-nav-link i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

/* Media query pour afficher le menu sur mobile */
@media screen and (max-width: 991px) {
    .bottom-nav {
        display: block;
    }
    
    /* Ajouter un padding en bas du body pour éviter que le contenu soit caché par le menu */
    body {
        padding-bottom: 70px;
    }
}

/* Styles pour le menu single course */
.single-course-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 98%;
}

.single-course-menu .bottom-nav-item {
    flex: 0 0 auto;
}

.single-course-menu .full-width {
    flex: 1;
}

.single-course-menu .course-price {
    flex: 0 0 40%;
}

.single-course-menu .enroll-btn {
    flex: 0 0 55%;
}

/* Styles pour les prix */
.course-price-amount {
    font-weight: bold;
    font-size: 1.1rem;
    color: #000f85;
}

/* Style pour le prix initial */
.original-price {
    color: #666;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.continue-learning-btn,
.enroll-button {
    display: block;
    padding: 10px 20px;
    background-color: #000f85;
    color: white !important;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.89rem;
}

.continue-learning-btn:hover,
.enroll-button:hover {
    background-color: #000c6b;
}




/* Media Queries */
@media (max-width: 1200px) {
    .header-default .navbar .navbar-center {
        display: none;
    }

    .header-default .navbar .navbar-right .navbar-toggler {
        display: block;
    }

    .header-default .navbar .navbar-right .search-field {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-default .navbar .navbar-right .user-menu .auth-buttons .btn span {
        display: none;
    }

    .header-default .navbar .navbar-right .user-menu .dropdown .user-menu-toggle .user-name {
        display: none;
    }

    .bottom-nav {
        display: block; /* Show only on mobile */
    }
    
    /* Add padding to main content to prevent overlap with fixed bottom nav */
    body {
        padding-bottom: 70px;
    }
}

/* Ajustement pour le contenu principal */
body {
    padding-top: 60px;
}

/* État du menu mobile */
body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-right: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2D3748;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4A5568;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    max-width: 500px;
    margin-left: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #4A5568;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #000f85;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #4A5568;
    line-height: 1.6;
}

/* Popular Courses Section */
.popular-courses-section {
    padding: 80px 0;
    background: #f8fafc;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.course-card {
    background: #ffffff;
    border-radius: var(--rounded-lg) !important;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    border-radius: var(--rounded-lg) !important;
}

.course-image {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--rounded-lg) !important;
}

.course-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rounded-lg) !important;
}


.course-img-container {
    border-radius: var(--rounded-lg) !important;
}

.course-info {
    border-radius: var(--rounded-lg)!important;
}

.course-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    border-radius: var(--rounded-lg) !important;
}

.course-category {
    background: rgba(45, 129, 247, 0.9);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.course-content h3 a {
    color: #2D3748;
    text-decoration: none;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #4A5568;
    font-size: 0.9rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #000f85 0%, #1a56db 100%);
    color: #ffffff;
}

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

.statistic-item {
    padding: 20px;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.statistic-label {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.testimonial-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    font-size: 2rem;
    color: #000f85;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-content p {
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #2D3748;
    margin: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: #4A5568;
}



/* Tutor Custom Styles */
/* Override Tutor LMS Course Styles */
.tutor-courses-wrap,
.tutor-courses-loop-wrap,
.tutor-course-loop-wrap {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Reset Tutor default course card styles */
.tutor-course-loop-wrap .tutor-course-loop-header,
.tutor-course-loop-wrap .tutor-course-loop-content,
.tutor-course-loop-wrap .tutor-course-loop-footer {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
}

/* Override course grid layout */
.tutor-courses-wrap .tutor-course-loop-wrap {
    width: 100% !important;
    margin: 0 !important;
    background-color: var(--white) !important;
    border-radius: var(--rounded-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
    position: relative !important;
    display: block !important;
    text-decoration: none !important;
}

.tutor-courses-wrap .tutor-course-loop-wrap:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Course image styling */
.tutor-course-loop-wrap .tutor-course-thumbnail {
    height: 180px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tutor-course-loop-wrap .tutor-course-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: var(--transition) !important;
}

.tutor-course-loop-wrap:hover .tutor-course-thumbnail img {
    transform: scale(1.05) !important;
}

/* Course content styling */
.tutor-course-loop-wrap .tutor-course-loop-content {
    padding: 1.5rem !important;
}

.tutor-course-loop-wrap .tutor-course-loop-title {
    margin-bottom: 0.75rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.tutor-course-loop-wrap .tutor-course-loop-title a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Course meta information */
.tutor-course-loop-wrap .tutor-course-loop-meta {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
}

.tutor-course-loop-wrap .tutor-course-loop-author {
    color: var(--text-light) !important;
}

.tutor-course-loop-wrap .tutor-course-loop-price {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

/* Course rating */
.tutor-course-loop-wrap .tutor-course-loop-rating {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.tutor-course-loop-wrap .tutor-star-rating-group {
    color: var(--accent-color) !important;
    font-size: 0.9rem !important;
}

.tutor-course-loop-wrap .tutor-star-rating-group .tutor-icon-star-full {
    color: var(--accent-color) !important;
}

.tutor-course-loop-wrap .tutor-star-rating-count {
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
    margin-left: 0.25rem !important;
}

/* Course footer */
.tutor-course-loop-wrap .tutor-course-loop-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 1rem !important;
    border-top: 1px solid var(--gray-light) !important;
}

.tutor-course-loop-wrap .tutor-course-loop-level,
.tutor-course-loop-wrap .tutor-course-loop-duration {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
}

/* Badge styling */
.tutor-course-loop-wrap .tutor-course-loop-level {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background-color: var(--accent-color) !important;
    color: var(--text-color) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: var(--rounded-full) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    z-index: 1 !important;
}

/* Archive page grid */
.tutor-courses-wrap.tutor-courses-layout-list,
.tutor-courses-wrap.tutor-courses-layout-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Single course page elements */
.single-courses .tutor-course-details-wrap {
    background-color: var(--white) !important;
    border-radius: var(--rounded-md) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
}

header.tutor-course-details-header {
    box-shadow: none;
    position: relative !important;
    z-index: 1 !important;
}

.single-courses .site-content {
    padding: 0 !important;
}

.courses {
    background-color: var(--white) !important;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .tutor-courses-wrap.tutor-courses-layout-list,
    .tutor-courses-wrap.tutor-courses-layout-grid {
        grid-template-columns: 1fr !important;
    }
    
    .tutor-course-loop-wrap .tutor-course-loop-content {
        padding: 1rem !important;
    }
    
    .tutor-course-loop-wrap .tutor-course-thumbnail {
        height: 160px !important;
    }
}

/* Remove default Tutor margins and paddings that conflict */
.tutor-courses-wrap * {
    box-sizing: border-box !important;
}

/* Ensure our custom styles take precedence */
.courses .course-grid .course-card {
    background-color: var(--white) !important;
    border-radius: var(--rounded-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
    position: relative !important;
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

.courses .course-grid .course-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-lg) !important;
    text-decoration: none !important;
    color: inherit !important;
}



/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float 6s ease-in-out infinite reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .counter {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #000f85;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1a56db;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: #000f85;
    border: 2px solid #000f85;
}

.btn-outline-primary:hover {
    background: #000f85;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-light {
    background: #ffffff;
    color: #000f85;
}

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

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}




/* Tutor Custom Price Styles */
.course-price {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.15rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    line-height: 1 !important;
    font-size: 1.1rem;
}

.course-price .price-amount,
.course-price .currency-symbol {
    display: inline !important;
    vertical-align: baseline !important;
}

/* Alternative si vous utilisez toujours get_price_html() */
.course-price .amount,
.course-price .woocommerce-Price-currencySymbol {
    display: inline !important;
    vertical-align: baseline !important;
}

.price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.price-wrapper > * {
    display: inline !important;
    vertical-align: baseline !important;
}

.price-wrapper ins {
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--primary-color);
    order: 2; /* Met le prix promo à droite */
}

.price-wrapper del {
    opacity: 0.6;
    font-size: 0.9rem;
    color: var(--text-light);
    order: 1; /* Met l'ancien prix à gauche */
}

.price-wrapper .woocommerce-Price-currencySymbol {
    font-size: 0.9em;
    margin-right: 0.1em;
}

/* Pour les prix normaux (sans promo) */
.price-wrapper .amount {
    font-size: 1.1rem;
}

/* Style pour le pied de carte de cours */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

/* Style pour l'affichage des lecons */
.course-lessons {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Animation au survol */
.course-card:hover .course-lessons i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Flèche */
.course-footer .fa-arrow-right {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.course-card:hover .course-footer .fa-arrow-right {
    transform: translateX(3px);
    color: var(--primary-color);
}





















    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        /* ==========================================================================
   #GLOBAL VARIABLES
   ========================================================================== */
:root {
    /* Couleurs principales */
    --primary-color: #000F85;
    --primary-light: #2A3AA8;
    --accent-color: #FFD700;
    --accent-dark: #E5C100;
    
    /* Couleurs système */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    --accent-50: #fffbeb;
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --accent-700: #b45309;
    --accent-800: #92400e;
    --accent-900: #78350f;
    
    /* Couleurs fonctionnelles */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #f8fafc;
    
    --surface-primary: #ffffff;
    --surface-secondary: #f8fafc;
    --surface-tertiary: #f1f5f9;
    
    --success-color: #10B981;
    --error-color: #EF4444;
    
    
    /* Couleurs de texte */
    --text-color: #2C3E50;
    --text-light: #5A6A7F;
    
    /* Arrière-plans */
    --background-color: #F8FAFC;
    --white: #FFFFFF;
    --gray-light: #EFF2F5;
    --gray-medium: #D1D9E6;
    
    /* Shadows et élévations */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Rayons de bordure */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Système de spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typographie fluide */
    --text-xs: clamp(0.75rem, 0.95vw, 0.875rem);
    --text-sm: clamp(0.875rem, 1.1vw, 1rem);
    --text-base: clamp(1rem, 1.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.4vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.6vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 2vw, 2rem);
    --text-3xl: clamp(2rem, 2.5vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 3.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 4.5vw, 4.5rem);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Breakpoints */
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    --bp-2xl: 1536px;
}

/* ==========================================================================
   #BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ==========================================================================
   #TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   #LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3rem, 6vw, 6rem) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: var(--rounded-full);
}

/* ==========================================================================
   #BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--rounded-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  white-space: nowrap;
}

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

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

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-color);
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.btn-icon {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==========================================================================
   #HERO SECTION
   ========================================================================== */
/* Reset et base */
.hero-modern {
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 0 0;
    min-height: 100vh;
    min-height: 100dvh; /* Support moderne des viewports */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--primary-50) 100%);
}

/* Background animé */
.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-200), var(--accent-200));
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-100), var(--primary-100));
    bottom: 20%;
    left: -10%;
    animation-delay: -4s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-300), var(--accent-300));
    top: 60%;
    right: -5%;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translate(10px, -15px) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-10px, -10px) rotate(180deg);
        opacity: 0.4;
    }
    75% { 
        transform: translate(-15px, 10px) rotate(270deg);
        opacity: 0.7;
    }
}

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

@media (min-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
  }
}

.hero-content {
  max-width: 100%;
  z-index: 2;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge d'accroche */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  border-radius: 50%;
  color: var(--text-color);
  font-size: 0.8rem;
  animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-badge span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-color);
}

.badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  animation: badgePulse 2s linear infinite;
}

@keyframes badgePulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Boutons d'actions */
.hero-buttons .btn-icon-left,
.hero-buttons .fa-school {
    margin-right: 0.5rem;
}

.btn-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--rounded-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary-new {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.btn-primary-new:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

.btn-accent-new {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent-new:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 15, 133, 0.2);
}

/* Section visuelle */
.hero-visual {
  position: relative;
  height: 600px;
  animation: slideInRight 1s ease-out 0.3s forwards;
  opacity: 0;
}

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

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-image {
  position: relative;
  width: 80%;
  height: 80%;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

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

.main-image:hover .hero-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 15, 133, 0.1), rgba(255, 215, 0, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.main-image:hover .image-overlay {
  opacity: 1;
}

/* Cards flottantes */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.card-course {
  top: 50px;
  right: -30px;
  width: 280px;
  animation-delay: 0s;
}

.card-achievement {
  bottom: 150px;
  left: -50px;
  width: 260px;
  animation-delay: 2s;
}

.card-stats {
  top: 180px;
  left: -30px;
  width: 200px;
  animation-delay: 4s;
}

.floating-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-2xl);
}

/* Contenu des cards */
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.course-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f7df1e, #f0db4f);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 1.5rem;
}

.card-title h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.card-title span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.progress-container {
  margin-top: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 4px;
  transition: width 2s ease-in-out;
}

.achievement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  border-radius: 50%;
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.achievement-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.achievement-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Badge de réussite */
.achievement-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
  animation: badgeSpin 4s linear infinite;
}

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

/* Wave Decoration */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  height: 120px;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   #GRID LAYOUTS
   ========================================================================== */
.category-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

/* ==========================================================================
   #COURSE CARDS
   ========================================================================== */
.course-card {
  background: var(--white);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
}

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

/* ==========================================================================
   #SOCIAL PROOF SECTION
   ========================================================================== */
.social-proof {
  margin-top: 2rem;
}

.proof-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-right: -10px;
}

.avatar-count {
  margin-left: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.proof-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-item {
  text-align: center;
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.stars {
  color: var(--accent-color);
}

.rating-value {
  font-weight: 600;
}

.completion-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success-color);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--gray-medium);
}

/* ==========================================================================
   #TRUST INDICATORS
   ========================================================================== */
.trust-indicators {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-avatars {
  display: flex;
  position: relative;
}

.trust-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.trust-avatars img:nth-child(1) { z-index: 3; }
.trust-avatars img:nth-child(2) { z-index: 2; transform: translateX(-10px); }
.trust-avatars img:nth-child(3) { z-index: 1; transform: translateX(-20px); }

.avatar-count {
  background: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateX(-30px);
  z-index: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-weight: 600;
}

.trust-text span {
  font-size: 0.875rem;
  color: var(--text-light);
}

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

.rating-value {
  font-weight: 600;
  color: var(--text-color);
}

/* ==========================================================================
   #FLOATING PARTICLES
   ========================================================================== */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: floatParticle 10s linear infinite;
}

.particle-1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle-2 {
  width: 12px;
  height: 12px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle-3 {
  width: 6px;
  height: 6px;
  top: 80%;
  left: 30%;
  animation-delay: 4s;
}

.particle-4 {
  width: 10px;
  height: 10px;
  top: 40%;
  left: 60%;
  animation-delay: 6s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(20px);
    opacity: 0;
  }
}


/* ==========================================================================
   #RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-modern {
        min-height: auto;
        padding: 4rem 0 2rem;
        background: linear-gradient(135deg, var(--surface-secondary) 0%, var(--primary-50) 100%);
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 2rem;
        order: 2;
    }
    
    .hero-badge {
        margin: 0 auto 1.5rem;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        animation: none;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-new {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
    }
    
    .social-proof {
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .proof-avatars {
        justify-content: center;
    }
    
    .proof-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    /* Optimisation des éléments visuels */
    .main-image {
        width: 90%;
        height: 300px;
    }
    
    .floating-card {
        transform: scale(0.8);
    }
    
    .card-course {
        right: -10px;
        top: 30px;
    }
    
    .card-achievement {
        left: -20px;
        bottom: 100px;
    }
    
    .card-stats {
        left: -10px;
        top: 150px;
    }
    
    /* Masquer certains éléments sur mobile */
    .gradient-orb.orb-3,
    .float-element.element-5 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-modern {
        padding: 3rem 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
    }
    
    .hero-visual {
        height: 320px;
    }
    
    .main-image {
        height: 250px;
    }
    
    /* Masquer les cartes flottantes sur très petits écrans */
    .floating-card {
        display: none;
    }
    
    /* Ajustement des particules */
    .float-element {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Orientation landscape pour mobiles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-modern {
        min-height: 100vh;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-layout {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
    }
    
    .hero-content {
        text-align: left;
        padding: 0;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .btn-new {
        width: auto;
    }
    
    .hero-visual {
        height: 300px;
    }
}




/* Medium devices (tablets, 769px and up) */
@media (min-width: 769px) {
    .hero-buttons {
        margin-bottom: 150px;
    }
}





/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }

  .trust-indicators {
    flex-direction: row;
    gap: 2rem;
  }

  .social-proof {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}


/* Small devices (landscape phones, 768px and down) */
@media (max-width: 768px) {
    .hero-badge {
        display: none;
    }
    
    .hero-content h1 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100% !important;
        line-height: 1.3 !important;
        font-size: 1.1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn-new {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        text-align: center;
    }
    
    /* Centre les icônes à l'intérieur des boutons */
    .hero-buttons .btn-icon-left,
    .hero-buttons .fa-school {
        margin-right: 0.5rem;
    }
    
    .hero-visual {
        display: none;
    }
}



/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-new {
    padding-top: 8rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

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

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

  /* School section layout */
  .school-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    height: 720px;
  }

  .category-grid-new {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Floating cards positioning */
  .card-course {
    right: -20px;
  }

  .card-achievement {
    left: -30px;
  }

  .card-stats {
    left: -20px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .category-grid-new {
    grid-template-columns: repeat(6, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer layout */
  .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Specific breakpoints for hero elements */
@media (max-width: 1024px) {
  .floating-card {
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  .hero-visual {
    height: 500px;
    margin-top: 3rem;
  }

  .floating-card {
    display: none; /* Hide floating cards on small screens */
  }

  .main-image {
    width: 100%;
    height: 400px;
  }
}

/* Special cases for very small devices */
@media (max-width: 400px) {
  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .btn-new {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .proof-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .stat-divider {
    display: none;
  }
}

/* Orientation-specific styles */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-new {
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-layout {
    min-height: calc(100vh - 4rem);
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image {
    /* Serve higher quality images for retina */
    background-image: url('hero-image@2x.jpg');
  }
}

/* Print styles */
@media print {
  .hero-new,
  .cta,
  .testimonials {
    page-break-after: always;
  }

  .btn-new,
  .hero-badge {
    display: none !important;
  }
}

















/* Éléments flottants */
.floating-elements {
    position: absolute;
    inset: 0;
}

.float-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    font-size: 1.25rem;
    animation: floatElement 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.element-1 { top: 15%; left: 15%; animation-delay: 0s; }
.element-2 { top: 25%; right: 25%; animation-delay: -1s; }
.element-3 { bottom: 30%; left: 20%; animation-delay: -2s; }
.element-4 { bottom: 20%; right: 15%; animation-delay: -3s; }
.element-5 { top: 50%; left: 10%; animation-delay: -4s; }

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* Container principal */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-lg);
}

/* Grid responsive */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--space-4xl);
    }
}

/* Status badge */
.status-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: var(--shadow-lg); }
    50% { box-shadow: var(--shadow-xl), 0 0 20px rgba(59, 130, 246, 0.2); }
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: badgePulse 3s linear infinite;
}

@keyframes badgePulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

.badge-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    z-index: 2;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    animation: iconRotate 4s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge-text {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.badge-count {
    background: var(--primary-600);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

/* Titres */
.hero-titles {
    margin-bottom: var(--space-3xl);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.title-line {
    display: block;
    animation: titleReveal 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

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

.title-accent {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-brand {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 90%;
    animation: subtitleFade 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

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

/* Actions CTA */
.hero-actions {
    margin-bottom: var(--space-3xl);
    animation: actionsFade 0.8s ease-out 1s forwards;
    opacity: 0;
}

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

.primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* Bouton principal */
.cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: var(--text-lg);
    text-decoration: none;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.cta-primary:hover::before {
    opacity: 1;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.cta-primary:active {
    transform: translateY(-1px);
}

.cta-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
}

.cta-icon {
    font-size: 1.25rem;
    transition: transform var(--transition-normal);
}

.cta-primary:hover .cta-icon {
    transform: translateX(3px);
}

.cta-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.cta-primary:active .cta-ripple {
    opacity: 1;
    transform: scale(1);
}

/* Bouton secondaire */
.cta-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-primary);
    color: var(--primary-600);
    padding: var(--space-lg) var(--space-2xl);
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: var(--text-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.cta-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Note d'action */
.action-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.action-note i {
    color: var(--primary-500);
}

















    :root {
        --primary-color: #000f85;
        --primary-light: #3366ff;
        --accent-color: #ffd700;
        --white: #ffffff;
        --text-color: #333333;
        --text-light: #666666;
        --gray-light: #e5e5e5;
        --rounded-lg: 12px;
        --rounded-full: 50px;
        --transition: all 0.3s ease;
    }

    .section-title {
        text-align: center;
        margin-bottom: 4rem;
    }

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

    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--accent-color);
        border-radius: var(--rounded-full);
    }

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

    .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
        text-decoration: none;
        border-radius: var(--rounded-lg);
        transition: var(--transition);
        font-weight: 600;
    }

    .btn-outline {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        background: transparent;
    }

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

    /* Categories Section - Enhanced Styles */
    .categories-new {
        background-color: var(--white);
        padding: 6rem 0;
        position: relative;
        overflow: hidden;
    }

    .categories-new::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60') no-repeat center/cover;
        opacity: 0.03;
        z-index: 0;
    }

    .category-grid-new {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        position: relative;
        z-index: 1;
    }

    .category-card-new {
        background-color: var(--white);
        border-radius: var(--rounded-lg);
        padding: 2rem 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        border: 1px solid var(--gray-light);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    }

    .category-card-new::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
        transition: var(--transition);
        opacity: 0;
    }

    .category-card-new:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 15, 133, 0.1);
        border-color: var(--primary-color);
    }

    .category-card-new:hover::before {
        opacity: 1;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, rgba(0, 15, 133, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        color: var(--primary-color);
        font-size: 1.6rem;
        transition: var(--transition);
    }

    .category-card-new:hover .category-icon {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        color: var(--white);
        transform: scale(1.1);
    }

    .category-card-new h3 {
        color: var(--text-color);
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
        transition: var(--transition);
    }

    .category-card-new p {
        color: var(--text-light);
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .category-hover {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--primary-color);
        font-weight: 600;
        opacity: 0;
        transform: translateY(10px);
        transition: var(--transition);
        margin-top: auto;
        font-size: 0.9rem;
    }

    .category-card-new:hover .category-hover {
        opacity: 1;
        transform: translateY(0);
    }

    .category-cta {
        text-align: center;
        margin-top: 4rem;
        position: relative;
        z-index: 1;
    }

    .category-cta p {
        color: var(--text-light);
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .category-grid-new {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .categories-new {
            padding: 4rem 0;
        }
        
        .category-card-new {
            padding: 1.5rem 1rem;
        }
        
        .section-title h2 {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .category-grid-new {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
    }








.school-features,
.footer-links {
    padding-left: 0 !important; /* Supprime l'espace à gauche */
    list-style-type: none !important; /* Supprime les puces (points noirs) */
}






/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- CTA Section Design --- */
.cta {
    background-color: var(--primary-color); /* Votre bleu principal */
    color: var(--white); /* Texte principal en blanc pur */
    padding: clamp(3rem, 8vw, 6rem) 0; /* Espacement flexible */
    text-align: center;
    position: relative; /* Nécessaire pour la transition à l'étape 3 */
    overflow: hidden; /* Cache les débordements de la vague */
}

.cta h2 {
    color: var(--white); /* S'assurer que le titre est bien blanc */
}

.cta p {
    color: rgba(255, 255, 255, 0.85); /* Un blanc légèrement transparent pour le sous-titre */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}





/* --- CTA Wave Separator --- */
.cta-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* --- NOUVEAU : Ajoutez cette ligne pour inverser la vague --- */
    transform: rotate(180deg);
    /* ----------------------------------------------------------- */
}

.cta-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 85px; /* Ajustez la hauteur de la vague selon vos préférences */
}






/* --- Footer Design --- */
footer {
    background-color: #0f172a !important; /* Utilise votre variable de texte la plus foncée */
    color: #cbd5e1 !important; /* Un gris clair pour une bonne lisibilité sans être agressif */
    padding-top: 4rem; /* Ajoute de l'espace en haut */
}

/* Style pour les titres et les liens dans le footer */
footer h4 {
    color: var(--white) !important; /* Titres en blanc pour ressortir */
}

footer .footer-links a {
    color: #cbd5e1 !important; /* Couleur de base pour les liens */
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: var(--accent-color) !important; /* Au survol, on utilise la couleur accentuée */
}

footer .footer-bottom {
    border-top: 1px solid #334155 !important; /* Ligne de séparation subtile */
    margin-top: 2rem;
    padding-top: 2rem;
}

















