/* Variables globales */
:root {
    --primary-color: #6326c0;
    --secondary-color: #8a4fff;
    --accent-color: #ff6b6b;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.bg-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 180px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
}

.pricing-card {
    border: none;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.pricing-card:hover::before {
    transform: scaleX(1);
}

.testimonial {
    background-color: #ffffff;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.testimonial:hover {
    transform: translateX(5px);
}

.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 38, 192, 0.3);
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(99, 38, 192, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.95;
    transition: color 0.2s, opacity 0.2s;
}
.nav-link:hover, .nav-link:focus {
    color: #ffe082 !important;
    opacity: 1;
}
.nav-link.btn-connexion {
    color: var(--primary-color) !important;
    background: #fff;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(99,38,192,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-link.btn-connexion:hover, .nav-link.btn-connexion:focus {
    background: var(--secondary-color);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(99,38,192,0.15);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}
.footer-link:hover, .footer-link:focus {
    color: #ffe082;
    text-decoration: underline;
}
.social-link {
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}
.social-link:hover, .social-link:focus {
    opacity: 1;
    color: #ffe082;
}
@media (max-width: 767px) {
    footer .container {
        text-align: center;
    }
    footer .row > div {
        margin-bottom: 2rem;
    }
}

/* Features section */
.feature-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(99,38,192,0.10);
}
.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(99,38,192,0.10);
}

/* Contact section */
#contact .card {
    background: #fff;
}
#contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99,38,192,0.08);
}
#contact .form-floating > label > i {
    color: var(--primary-color);
}
.contact-link {
    color: #222;
    text-decoration: none;
    font-size: 1.08rem;
    transition: color 0.2s;
}
.contact-link:hover, .contact-link:focus {
    color: var(--primary-color);
    text-decoration: underline;
}
@media (max-width: 991px) {
    #contact .col-lg-5 {
        display: none !important;
    }
}

/* Partenaires */
.partner-logo img {
    filter: none;
    opacity:1;
    transition: filter 0.2s, opacity 0.2s, transform 0.2s;
}
.partner-logo img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.07);
}

/* Styles pour le sidebar */
.sidebar {
    width: 100%;
    background: linear-gradient(180deg, #5121a0 0%, #6d28d9 60%, #2d0b5a 100%);
    color: #fff;
    padding: 1.5rem 0 1.5rem 0;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    min-height: unset;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: none;
}
.sidebar a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.sidebar a:hover, .sidebar a:focus {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.sidebar a[style*="background"] {
    background: #3b176b !important;
    color: #fff !important;
}
.content-area {
    margin-left: 0;
    padding: 2rem 1rem;
}
footer {
    margin-left: 0;
}
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}
@media (min-width: 992px) {
    .sidebar {
        margin-bottom: 0;
        min-height: 100%;
        height: 100%;
    }
    .content-area {
        padding: 2rem 2.5rem;
    }
}
@media (max-width: 991.98px) {
    .sidebar {
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    .content-area {
        padding: 1rem 0.5rem;
    }
    .sidebar-toggle {
        display: block;
    }
}
.sidebar-toggle {
    display: none;
    margin-bottom: 1rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(99,38,192,0.12);
    cursor: pointer;
}
/* Fin des styles pour le sidebar */ 