/*-----------------------------------------------------------------------------*/
/* Variables */

:root {
    --primary-color: #3507b4;
    --primary-light: #e1f5fe;
    --primary-dark: #0d2a36;
    --secondary-color: #1f6b52;
    --dark-color: #233142;
    --light-color: #f5f9fc;
    --grey-color: #8b97a5;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(135deg, #0e0c34 0%, #4037e4 100%);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 160, 228, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(56, 211, 159, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(56, 211, 159, 0.4);
}

.btn-outline {
    background: transparent;
    color: /*lightgray;*/ var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline-demo {
    background: transparent;
    color: lightgray; /*var(--primary-color);*/
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline-demo,
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.text-gradient {
    background: var(--light-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-colored {
    background: darkblue;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    margin-left: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 160px 0 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-img img {
    /*
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    */

    max-width: 100%;
    border-radius: 0; /* <-- retire ou ajuste si tu veux des bords arrondis */
    box-shadow: none; /* <-- retire l’ombre si tu veux que ça “flotte” proprement */
    background: transparent; /* <-- au cas où */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.tag {
    background: /*lightgray;*/rgba(255, 255, 255, 0.2);
    /*color: #69061a;*/
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tag i {
    margin-right: 6px;
}

.clients {
    margin-top: 50px;
}

.clients p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.client-logos {
    display: flex;
    gap: 30px;
    align-items: center;
}

.client-logos img {
    height: 30px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.client-logos img:hover {
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.video-btn i {
    margin-right: 8px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.2rem;
    color: var(--grey-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    height: 10px;
}

.feature-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--grey-color);
    margin-bottom: 15px;
}

.feature-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.feature-card a i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.feature-card a:hover i {
    transform: translateX(5px);
}

/* Dashboard Preview Section */
.dashboard {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.dashboard-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.dashboard-content {
    flex: 1;
}

.dashboard-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.dashboard-content p {
    color: var(--grey-color);
    margin-bottom: 30px;
}

.dashboard-preview {
    flex: 1.2;
    position: relative;
}

.dashboard-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.dashboard-preview:hover .dashboard-img {
    transform: rotateY(-5deg) rotateX(5deg);
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: var(--gradient);
    top: 10%;
    left: 5%;
    filter: blur(50px);
    opacity: 0.3;
    z-index: 0;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 4px;
}

.feature-item div h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-item div p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    opacity: 0.05;
}

.benefits::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    opacity: 0.05;
}

.benefits-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
}

.benefit-card p {
    color: var(--grey-color);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-container {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    overflow: hidden;
    padding: 40px 0;
}

.swiper-slide {
    height: auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: var(--grey-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-control:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.pricing-toggle-text {
    font-weight: 500;
    margin: 0 10px;
}

.pricing-toggle-button {
    position: relative;
    width: 50px;
    height: 26px;
    background: var(--gradient);
    border-radius: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-toggle-button::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.pricing-toggle-button.active::before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: left; /* CHANGÉ DE center À left */
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.popular::before {
    content: 'Recommandé';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-type {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: left;
}

.pricing-period {
    color: var(--grey-color);
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: block;
    text-align: left;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--grey-color);
    text-align: left;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.pricing-features li.disabled {
    color: #ccc;
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: #ccc;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.demo-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;
}

.demo-content {
    flex: 1;
}

.demo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.demo-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.demo-form {
    flex: 1;
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 160, 228, 0.1);
}

.form-submit {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    background: var(--white);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}






/* Modifier le style des questions FAQ pour mieux séparer le signe et le texte */
.faq-question {
    padding: 20px 20px 20px 60px; /* Augmenter le padding-left de 50px à 60px */
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

/* Ajuster la position du signe + pour qu'il soit mieux séparé */
.faq-question::before {
    content: '+';
    font-size: 1.8rem; /* Légèrement plus grand */
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: absolute;
    left: 25px; /* Augmenter de 20px à 25px pour plus d'espace */
    top: 50%;
    transform: translateY(-50%);
    width: 20px; /* Fixer une largeur au signe */
    text-align: center; /* Centrer le signe dans sa zone */
}

/* Modifier pour le signe - */
.faq-item.active .faq-question::before {
    content: '−';
}

/* Supprimer l'ancien positionnement */
.faq-question::after {
    content: none;
}





.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: justify !important; /* Forcer la justification */
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 15px;
    max-width: 90%;
    text-align: justify !important; /* Forcer la justification */
    padding: 0 5px; /* Ajouter un peu d'espace latéral */
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px; /* Préciser le padding à droite */
    max-height: 1000px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    opacity: 0.05;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    opacity: 0.05;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-note {
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 8px;
    font-size: 1.3rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: white /*var(--primary-color)*/;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 15px;
    color: var(--white) !important; /*var(--primary-color);*/
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 20px;
}

.error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 76, 76, 0.15);
    color: #ff4c4c;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.modal-btn {
    margin-top: 20px;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-content, 
    .dashboard-preview {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .features-grid, 
    .benefits-container, 
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .demo-container {
        flex-direction: column;
    }

    .demo-content, 
    .demo-form {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links, 
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content, 
    .hero-img {
        flex: 1;
        width: 100%;
    }
    
    .feature-tags {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        margin-top: 50px;
        justify-content: center;
    }
    
    .hero-img img {
        max-width: 90%;
    }
    
    .features-grid, 
    .benefits-container, 
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
}

.mobile-nav-cta {
    margin-top: 30px;
}


/*---------------------------------------------------------*/
/* Reality Check Section - Version claire */
.reality-check {
    padding: 100px 0;
    background: var(--light-color); /* Utilise la couleur claire de votre thème */
    position: relative;
    overflow: hidden;
}

.reality-check::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.reality-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
    position: relative;
    z-index: 1;
}

.reality-card {
    flex: 1;
    min-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.reality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.reality-header {
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.reality-card.before .reality-header {
    background: linear-gradient(135deg, #f6f6f6 0%, #e9e9e9 100%);
    color: var(--dark-color);
}

.reality-card.before .reality-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.reality-card.after .reality-header {
    background: linear-gradient(135deg, #f0f5ff 0%, #e5eeff 100%);
    color: var(--dark-color);
}

.reality-card.after .reality-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #6e51ff);
}

.reality-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reality-card.before h3 i {
    color: #ff6b6b;
}

.reality-card.after h3 i {
    color: var(--primary-color);
}

.challenge-list, .solution-list {
    list-style: none;
    padding: 30px 25px;
}

.challenge-list li, .solution-list li {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.challenge-list li:last-child, .solution-list li:last-child {
    margin-bottom: 0;
}

.challenge-icon, .solution-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.challenge-icon {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.reality-card:hover .challenge-icon {
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.1);
}

.solution-icon {
    background: rgba(53, 7, 180, 0.1);
    color: var(--primary-color);
}

.reality-card:hover .solution-icon {
    background: rgba(53, 7, 180, 0.2);
    transform: scale(1.1);
}

.challenge-content, .solution-content {
    flex-grow: 1;
}

.challenge-list h4, .solution-list h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-color);
}

.challenge-list p, .solution-list p {
    font-size: 0.95rem;
    color: var(--grey-color);
}

.fas.down {
    transform: rotate(45deg);
    color: #ff6b6b;
}

.fas.up {
    transform: rotate(-45deg);
    color: var(--primary-color);
}

.reality-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 60px 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-value span {
    font-size: 1.5rem;
    vertical-align: super;
}

.stat-label {
    font-size: 1rem;
    color: var(--grey-color);
}

.reality-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    padding: 40px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e5eeff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.reality-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

@media (max-width: 992px) {
    .reality-comparison {
        flex-direction: column;
    }
    
    .reality-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .stat-item {
        min-width: 100%;
    }
}
/*-----------------------------------------------------------------------------*/


/* Ajoutez ce code à la fin de votre fichier style.css */
/*-----------------------------------------------------------------------------*/
@media (max-width: 768px) {
    /* Centrer le contenu du hero */
    .hero-content {
        text-align: center;
    }
    
    /* Réduire la taille du titre principal */
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    /* Réduire la taille du sous-titre */
    .hero p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Changer l'ordre des éléments */
    .hero-container {
        flex-direction: column;
    }
    
    /* Mettre l'image directement après le titre */
    .hero-content {
        order: 1;
    }
    
    .hero-img {
        order: 2;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    /* Réduire la taille des tags de fonctionnalités */
    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Masquer le bouton badgeuse virtuelle */
    .tag:nth-child(6) {
        display: none;
    }
    
    /* Réduire la taille des boutons CTA */
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    /* Réduire la taille du section-title */
    .section-title {
        font-size: 1.8rem;
    }
}
/*-----------------------------------------------------------------------------*/


/* Ajoutez ce code CSS pour gérer l'affichage des images en desktop et mobile */
/*-----------------------------------------------------------------------------*/

/* Par défaut, on cache l'image mobile en desktop */
.mobile-hero-img {
    display: none;
}

/* En desktop, on affiche uniquement l'image desktop */
.desktop-hero-img {
    display: flex;
    justify-content: flex-end;
    position: relative;
    flex: 1;
}

/* En mobile, on inverse l'affichage */
@media (max-width: 768px) {
    .mobile-hero-img {
        display: block;
        width: 100%;
        margin: 15px 0;
        justify-content: center;
    }
    
    .mobile-hero-img img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .desktop-hero-img {
        display: none;
    }
    
    /* Réduire l'espace entre les éléments */
    .hero {
        padding: 120px 0 80px;
    }
    
    /* Améliorer l'aspect des boutons */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        text-align: center;
    }
    
    /* Réduire la taille du texte dans les tags de fonctionnalités */
    .feature-tags {
        justify-content: center;
        margin: 20px 0;
    }
    
    /* Badgeuse virtuelle cachée en mobile */
    .badgeuse-tag {
        display: none;
    }
}
/*-----------------------------------------------------------------------------*/


/* Correctif pour s'intégrer avec le code existant */
/*-----------------------------------------------------------------------------*/
@media (max-width: 768px) {   
    /* Assure que l'image mobile est bien placée après le titre */
    .mobile-hero-img {
        display: block;
        width: 100%;
        text-align: center;
        margin: 15px auto;
    }
    
    .mobile-hero-img img {
        max-width: 85%;
        height: auto;
        margin: 0 auto;
        display: block;
        border-radius: 10px;
    }
    
    /* Centrage parfait des boutons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
        margin-top: 20px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        text-align: center;
        justify-content: center;
        margin: 0;
    }
    
    /* Ajustement du paragraphe */
    .hero p {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }
}

/* Style pour contrôler précisément les sauts de ligne du titre */

@media (max-width: 768px) {
    /* Style général du titre */
    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    
    /* Chaque ligne du titre est un bloc séparé */
    .hero h1 .title-line {
        display: block;
        margin-bottom: 2px;
    }
    
    /* Style pour le mot avec dégradé */
    .hero h1 .text-gradient {
        display: inline;
        background-clip: text;
        -webkit-background-clip: text;
    }
    
    /* Le reste des styles mobile reste inchangé */
}

/* Pour les écrans plus larges, garder le titre sur une ligne */
@media (min-width: 769px) {
    .hero h1 .title-line {
        display: inline;
    }
}


/*-------------------------------------------------------------------------------*/
/* Optimisation des textes en mode mobile pour toutes les sections */
@media (max-width: 768px) {
    /* Pour les titres de toutes les sections */
    .section-title,
    .demo-content h2,
    .faq .section-title,
    .cta-section h2 {
        font-size: 1.8rem;
        text-align: center;
        line-height: 1.3;
        margin: 0 auto 20px;
    }
    
    /* Pour tous les paragraphes en mode mobile */
    .demo-content p,
    /*.faq-answer p,*/
    .footer-about,
    .copyright,
    .cta-section p,
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
        margin: 0 auto 15px;
        max-width: 90%;
    }
    
    /* Section demo spécifiquement */
    .demo-content {
        text-align: center;
        padding: 0 10px;
    }
    
    /* Section FAQ */
    .faq-question {
        text-align: justify; /* Maintient l'alignement à gauche en mobile */
        padding: 15px 15px 15px 55px; /* Augmenter le padding-left de 45px à 55px */
        font-size: 0.95rem; /* Réduire légèrement la taille du texte */
        line-height: 1.5;
    }

    .faq-question::before {
        left: 20px; /* Ajuster la position du signe en mode mobile */
        font-size: 1.6rem; /* Taille adaptée pour mobile */
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 auto 15px;
        max-width: 90%;
        text-align: justify !important; /* Forcer la justification */
        padding: 0 5px; /* Ajouter un peu d'espace latéral */
    }

    /* Ajuster l'espacement vertical dans les questions FAQ */
    .faq-item {
        margin-bottom: 15px; /* Réduire légèrement l'espace entre les items */
    }
    
    /* Footer optimisé */
    .footer-container {
        text-align: center;
    }
    
    .footer-title {
        margin: 0 auto 20px;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* Centrage du logo footer spécifiquement en mobile */
@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        display: flex;
    }
}
/*-------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------------*/
/* Correction pour l'espace blanc latéral en mobile sans affecter le desktop */

/* Solution plus ciblée pour éviter de perturber la mise en page desktop */
@media (max-width: 768px) {
    /* Empêcher le défilement horizontal uniquement sur mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    /* S'assurer que le contenu reste dans les limites sur mobile */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    /* Correction spécifique pour la section hero */
    .hero {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-container {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* S'assurer que les images ne débordent pas */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix pour le menu mobile et les boutons */
    .mobile-hero-img {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .mobile-hero-img img {
        max-width: 85%;
        margin: 0 auto;
    }
    
    /* Centrer les boutons en mobile */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 80%;
        text-align: center;
    }
    
    /* Correction pour la section FAQ */
    .faq-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Correction pour les icônes de contact en blanc */
.footer-contact i,
footer .footer-col .footer-contact li i {
    color: var(--white) !important;
}

/* Si les icônes sont dans des liens */
.footer-contact a i,
.footer-contact li a i {
    color: var(--white) !important;
}

/* Ciblage direct */
footer .footer-container .footer-col:last-child .footer-links.footer-contact li i {
    color: var(--white) !important;
}
/*-------------------------------------------------------------------------------*/


/* Centrage uniquement du titre et sous-titre de la section tableau de bord en mobile */
/*-------------------------------------------------------------------------------*/
@media (max-width: 768px) {
    /* Centrer uniquement le titre "Un tableau de bord intuitif et complet" */
    .dashboard .dashboard-content h2 {
        text-align: center !important;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Centrer uniquement le paragraphe de description qui suit */
    .dashboard .dashboard-content p:first-of-type {
        text-align: justify !important;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    
    /* S'assurer que le texte en dégradé dans le titre reste bien visible et aligné */
    .dashboard .dashboard-content h2 .text-gradient-colored {
        display: inline-block;
        text-align: center;
    }
}
/*-------------------------------------------------------------------------------*/