/* Base Styles and Variables */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #6c5ce7;
    --gradient-start: #3a86ff;
    --gradient-end: #8338ec;
    --gradient-hover-start: #2a76ef;
    --gradient-hover-end: #7328dc;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gray-color: #f0f2f9;
    --text-color: #333333;
    --text-light: #777777;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 87rem;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 90px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--secondary-color);
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary .material-icons {
    font-size: 18px;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--gradient-hover-start), var(--gradient-hover-end));
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.btn-secondary span {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-secondary:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.1);
}

.btn-secondary:hover span {
    background: linear-gradient(to right, var(--gradient-hover-start), var(--gradient-hover-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    margin-left: auto;
}

.nav-cta {
    margin-left: 20px;
    padding: 12px 30px;
    font-size: 0.9rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links a:hover {
    background: linear-gradient(to right, rgba(58, 134, 255, 0.1), rgba(111, 85, 255, 0.1));
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240,249,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58,134,255,0.2) 0%, rgba(131,56,236,0.2) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,0,110,0.2) 0%, rgba(58,134,255,0.2) 100%);
    z-index: 0;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}

.capsule {
    display: inline-flex;
    align-items: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: #4F46E5;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
}

.capsule .material-icons {
    font-size: 18px;
    margin-right: 8px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 30px;
}

.hero-content h1 span {
    position: relative;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    z-index: -1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Styles hero-image supprimés */

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.service-card {
    background-color: transparent;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    min-width: 200px;
    flex: 1;
    border: none;
    display: flex;
    align-items: flex-start;
}

.service-card.active {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: var(--dark-color);
    border-radius: var(--border-radius);
}

.service-card.active h3 {
    color: var(--dark-color);
}

.service-card.active p {
    color: var(--text-color);
}

.service-card.active .icon {
    color: var(--dark-color);
}

.service-card:not(.active):hover {
    color: var(--text-dark);
}

.service-card:not(.active):hover h3 {
    color: var(--text-dark);
}

.service-card:not(.active):hover p {
    color: var(--text-dark);
}

.service-card:not(.active):hover .icon,
.service-card:not(.active):hover .icon .material-icons {
    color: var(--text-dark);
}

.service-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #999;
    background: none;
    height: 24px;
}

.service-card .icon .material-icons {
    font-size: 1.5rem;
}

.service-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
    color: #999;
    text-align: left;
}

.service-card p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 0;
    text-align: left;
}

/* Service Details Styles */
.service-details {
    margin-top: 20px;
}

.service-detail {
    display: none;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240,249,255,1) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-detail.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.service-detail-content {
    display: flex;
    flex-wrap: wrap;
}

.service-detail-text {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background-image: url('images/gradient.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-detail-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.service-detail-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.service-detail-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    border-radius: 2px;
}

.service-detail-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.service-detail-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.service-detail-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    line-height: 1.5;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.service-detail-image img {
    max-width: 80%;
    height: auto;
}

/* Environments Section */
.environments-section {
    margin-top: 60px;
}

.environments-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.environments-text {
    flex: 1;
}

.environments-text h3 {
    margin-bottom: 0px;
    font-size: 1.5rem;
    color: var(--text-color);
    white-space: nowrap;
}

.environments-text p {
    color: var(--text-color);
    line-height: 1.6;
}

.environments-icons {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.environment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    cursor: help;
}

.environment-icon img {
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.environment-icon:hover img {
    transform: scale(1.1);
}

/* Process Section */
.process {
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background-color: rgba(58, 134, 255, 0.2);
    z-index: 0;
}

.timeline-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px 30px 10px 30px;
    position: relative;
    box-shadow: var(--box-shadow);
    z-index: 1;
    margin-left: 80px;
}

.timeline-number {
    position: absolute;
    top: 50%;
    left: -75px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.2);
}

.timeline-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: var(--light-color);
}

/* Business Model Section */
.business-model {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.business-model-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.business-model-main {
    flex: 1;
    padding-right: 20px;
}

.business-model-main .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.business-model-main p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.business-model-main .btn {
    display: inline-flex;
    width: auto;
}

.business-model-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.model-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.model-header {
    display: inline-flex;
    align-items: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: #4F46E5;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-weight: 500;
}

.model-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.model-icon .material-icons {
    font-size: 18px;
}

.model-card h3 {
    font-size: 1rem;
    color: #4F46E5;
    margin: 0;
    font-weight: 500;
}

.model-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 10px;
}

.portfolio-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.portfolio-item {
    flex: 1;
    min-width: 300px;
    max-width: calc(33.333% - 20px);
}

.portfolio-card {
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-card img {
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-card-caption {
    padding: 15px 0;
    margin-top: 10px;
}

.portfolio-card-caption h3 {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1.3rem;
}

.portfolio-card-caption p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.portfolio-side-item {
    margin-bottom: 20px;
}

.portfolio-footer h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-choose-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 2;
}

.why-choose-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58,134,255,0.1) 0%, rgba(131,56,236,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-choose-card .icon .material-icons {
    font-size: 32px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.why-choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.why-choose-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Styles responsifs pour la section Why Choose Us */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .why-choose-card {
        padding: 25px;
    }
    
    .why-choose-card .icon {
        width: 60px;
        height: 60px;
    }
    
    .why-choose-card .icon .material-icons {
        font-size: 28px;
    }
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text .section-header {
    text-align: left;
}

.about-text p span {
    position: relative;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-text p span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, rgba(58, 134, 255, 0.2), rgba(131, 56, 236, 0.2));
    z-index: -1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

.about-image .shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58,134,255,0.1) 0%, rgba(131,56,236,0.1) 100%);
    border-radius: var(--border-radius);
    top: 60px;
    z-index: 1;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f9fafc;
}

.contact-card {
    max-width: 1500px;
    
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-card-content {
    display: flex;
    flex-wrap: wrap;
}

.contact-image-side {
    flex: 1;
    min-width: 300px;
    padding: 35px;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.contact-form-side {
    flex: 1;
    min-width: 300px;
    padding: 35px;
}

.contact-image-side img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.contact-info {
    text-align: left;
}

.contact-info .service-text h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.contact-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-benefits li .material-icons {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
    background-color: #fff;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease;
}

.form-submit button:hover {
    transform: translateY(-2px);
}

/* Success Message Styles */
.success-message {
    background-color: #f0fff4;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.success-content .material-icons {
    color: #38a169;
    font-size: 48px;
    margin-bottom: 15px;
}

.success-content h3 {
    color: #2f855a;
    margin-bottom: 10px;
}

.success-content p {
    color: #4a5568;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none;
}

@media (max-width: 992px) {
    .contact-card-content {
        flex-direction: column;
    }
    
    .contact-image-side {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .contact-image-side img {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .contact-image-side,
    .contact-form-side {
        padding: 25px;
    }
    
    .contact-image-side img {
        max-width: 100%;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: var(--gray-color);
    padding: 80px 0px;
    overflow: hidden;
}

.testimonials .container {
    max-width: 100%;
    padding: 0 20px;
    overflow: visible;
    position: relative;
}

.testimonials-ticker {
    overflow: hidden;
    width: 100%;
    background: transparent;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    animation: slide 10s linear infinite;
}

.testimonials-ticker:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* -50% car nous avons dupliqué la liste */
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-nav-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav-btn:hover {
    background-color: var(--primary-dark);
}

.testimonial-card {
    flex: 0 0 auto;
    width: 300px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    scroll-snap-align: start;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-image: url('images/gradient.webp');
    background-size: cover;
    background-position: center;
    margin-right: 0;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 15px;
}

.testimonial-rating .material-icons {
    font-size: 18px;
    margin-right: 2px;
}

.testimonial-rating .star {
    color: #FFD700;
}

.testimonial-rating .star-half {
    color: #FFD700;
}

.testimonial-rating .star-outline {
    color: #FFD700;
}

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

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
}

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

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

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

@media (max-width: 768px) {
    .testimonial-card {
        width: 85%;
        min-width: 280px;
    }
    
    .testimonials-slider {
        padding: 20px 20px;
        gap: 20px;
    }
    
    .testimonial-rating {
        margin-bottom: 10px;
    }
    
    .star, .star-half, .star-outline {
        font-size: 18px;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background-image: url('images/gradient.webp');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    padding: 50px;
    text-align: center;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.cta-card h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq {
    background-color: var(--light-color);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-question .material-icons {
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(to right, rgba(58, 134, 255, 0.1), rgba(111, 85, 255, 0.1));
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var( --light-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Pricing Hero Section */
.pricing-hero {
    padding: 180px 0 60px;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(240,249,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58,134,255,0.2) 0%, rgba(131,56,236,0.2) 100%);
    z-index: 0;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,0,110,0.2) 0%, rgba(58,134,255,0.2) 100%);
    z-index: 0;
}

.pricing-hero .container {
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.pricing-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 60px 0 80px;
    background-color: var(--light-color);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    flex: 1;
    max-width: 400px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(58,134,255,0.1) 0%, rgba(131,56,236,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pricing-icon .material-icons {
    font-size: 30px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1rem;
}

.pricing-features li .check {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 20px;
    flex-shrink: 0;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn-primary {
    justify-content: center;
    margin: 0 auto;
}

/* Responsive styles for pricing section */
@media (max-width: 992px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero p {
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 30px;
    }
    
    .pricing-cta-section {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .pricing-hero {
        padding: 150px 0 40px;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text .section-header {
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .footer-column ul {
        align-items: center;
    }
    
    /* Business Model responsive */
    .business-model-content {
        flex-direction: column;
    }
    
    .business-model-main {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .business-model-main .section-header {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Centrage des sections portfolio et business-model en mode mobile */
    .portfolio-grid {
        justify-content: center;
    }
    
    .portfolio-item {
        flex: 0 0 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Centrage de la section business-model */
    .model-card {
        max-width: 350px;
        margin: 0 auto 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* Business Model responsive for mobile */
    .business-model-main p {
        text-align: center;
    }
    
    .business-model-main .btn {
        display: flex;
        width: auto;
        margin: 0 auto;
    }
    
    .business-model-main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .business-model-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .model-card {
        width: 100%;
    }
    
    /* Masquer le bouton CTA dans le header sur mobile */
    .nav-cta {
        display: none !important;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links li a {
        font-size: 1.1rem;
        font-weight: 500;
        display: block;
        width: 100%;
    }
    
    /* Centrage des éléments sur mobile */
    .service-card, .timeline-content, .environments-text, .about-text p, .about-text h2, .about-text h3 {
        text-align: center;
    }
    
    /* Hamburger menu styling */
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Centrage des boutons sur mobile */
    .btn {
        justify-content: center;
    }
    
    /* Réorganisation des environnements sur mobile */
    .environments-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .environments-text {
        width: 100%;
    }
    
    .environments-icons {
        width: 100%;
        margin-top: 20px;
        justify-content: center;
        gap: 15px;
    }
    
    .environment-icon {
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 150px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn .material-icons {
        margin-left: 8px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px;
        text-align: center;
    }
    
    .service-card h3 {
        margin-top: 15px;
    }
    
    .service-card .material-icons {
        margin: 0 auto;
    }
    
    .timeline-item {
        padding: 20px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        text-align: center;
    }
    
    .timeline-icon {
        margin: 0 auto 15px;
    }
}
