:root {
    --primary-blue: #005891;
    --secondary-orange: #FF8200;
    --dark-bg: #121212;
    --light-text: #F5F5F5;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
}

.btn-primary {
    background-color: var(--secondary-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e67600;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(255, 130, 0, 0.25);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #004978;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 88, 145, 0.25);
}

.section-title {
    color: var(--secondary-orange);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--primary-blue);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--secondary-orange);
}

.feature-icon {
    color: var(--secondary-orange);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.pricing-card {
    background-color: rgba(255, 255, 255, 0.051);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-blue);
}

.pricing-card.popular {
    border-top: 4px solid var(--secondary-orange);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.pricing-card.popular::before {
    content: 'Populaire';
    position: absolute;
    top: -16px;
    right: 20px;
    background-color: var(--secondary-orange);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--secondary-orange);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(255, 130, 0, 0.2);
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem;
    border-radius: 0.375rem;
    width: 100%;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--secondary-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.25);
}

/* Logo animation */
.logo-container {
    position: relative;
    display: inline-block;
}

.logo-gear {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Module badge */
.module-badge {
    background-color: rgba(0, 88, 145, 0.2);
    color: var(--light-text);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 88, 145, 0.5);
}

/* Counter animation */
.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-orange);
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1rem;
    color: var(--light-text);
    opacity: 0.8;
}

/* FAQ accordion */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-top: 1rem;
    display: none;
}

.faq-active .faq-answer {
    display: block;
}

/* Navigation */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--secondary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 30px;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 1000;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--secondary-orange);
    padding-left: 0.5rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1556741533-6e6a62bd8b49?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--orange);
    border: 4px solid var(--blue);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::after {
    right: -10px;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(0, 90, 141, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--blue);
}

.timeline-right .timeline-content {
    border-left: none;
    border-right: 4px solid var(--orange);
}

.team-member {
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.team-member:hover img {
    filter: grayscale(0%);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--blue);
    color: white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--orange);
    transform: translateY(-3px);
}

.value-card {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(242, 101, 34, 0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--orange);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .timeline-left::after,
    .timeline-right::after {
        left: 21px;
    }
    
    .timeline-right .timeline-content {
        border-right: none;
        border-left: 4px solid var(--orange);
    }
}

.impact-stat {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
}

.impact-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    max-width: 200px;
}

.section-divider {
    height: 4px;
    width: 70px;
    margin: 15px 0;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 2px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

/* Styles spécifiques pour mobile */
@media (max-width: 768px) {
    #carousel {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        overflow: hidden;
    }
    
    #carousel img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        height: auto;
    }
    
    #carousel-prev,
    #carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}