/* ==========================================================================
   Variables et réinitialisation
   ========================================================================== */
   :root {
    /* Palette de couleurs */
    --primary-color: #38633B;
    --primary-dark: #3a6b38;
    --primary-light: #6ea96c;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-100: #f9f9f9;
    --gray-200: #f5f5f5;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    
    /* Typographie */
    --font-family: 'Montserrat', sans-serif;
    --font-size-base: 16px;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Radius */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 20px;
    --radius-rounded: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--gray-100);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Layout et conteneurs
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: auto ;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Boutons et composants interactifs
   ========================================================================== */
.btn {
    display: inline-block;
    font-weight: var(--font-weight-medium);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--gray-800);
    border-color: var(--gray-800);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-link .arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
    margin-left: var(--spacing-xs);
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover .arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Header et navigation
   ========================================================================== */
   header {
    background-color: var(--light-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    margin-bottom: 0; /* Assurer qu'il n'y a pas de margin-bottom */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
  }

.main-nav {
    display: flex;
    height: 100%;
}

.main-nav li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav li a {
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-lg);
    color: var(--dark-color);
    font-weight: var(--font-weight-medium);
    height: 100%;
    transition: color var(--transition-fast);
    position: relative;
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.main-nav li a:hover,
.main-nav li a.active {
    color: var(--primary-color);
}

.main-nav li a:hover::after,
.main-nav li a.active::after {
    width: 100%;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--light-color) !important;
    border-radius: var(--radius-md);
    margin-left: var(--spacing-md);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
}



/* Sous-menu */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: white;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
    height: auto;
}

.submenu li a {
    padding: var(--spacing-md) var(--spacing-lg);
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid var(--gray-200);
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a::after {
    display: none;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    margin-left: var(--spacing-sm);
    transition: background-color var(--transition-fast);
    position: relative;
}

.header-actions a:hover {
    background-color: var(--gray-200);
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background-color: var(--light-color);
        flex-direction: column;
        transition: height var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .main-nav.active {
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .main-nav li {
        width: 100%;
        height: auto;
    }
    
    .main-nav li a {
        padding: var(--spacing-md) var(--spacing-lg);
        justify-content: flex-start;
    }
    
    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .has-submenu.active .submenu {
        max-height: 500px;
    }
    
    .submenu li a {
        padding-left: var(--spacing-xl);
    }
}

/* ==========================================================================
   Hero section avec slider
   ========================================================================== */
/* ==========================================================================
   Hero section avec slider
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 0; /* Supprimer tout margin-top */
    padding-top: 0; /* Supprimer tout padding-top */
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease; /* Utilisation d'une valeur directe au lieu de var */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff; /* Utilisation d'une valeur directe au lieu de var */
    max-width: 600px;
    padding: 0 2rem; /* Utilisation d'une valeur directe au lieu de var */
    margin-left: 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 700; /* Utilisation d'une valeur directe au lieu de var */
    line-height: 1.2;
    margin-bottom: 2rem; /* Utilisation d'une valeur directe au lieu de var */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.slide-content h1 span {
    color: #a5d6a7; /* Vert clair - remplacez par votre couleur primaire claire */
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem; /* Utilisation d'une valeur directe au lieu de var */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem; /* Utilisation d'une valeur directe au lieu de var */
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color:var(--primary-color); /* Vert - remplacez par votre couleur primaire */
    color: white;
}

.btn-primary:hover {
    background-color:var( --primary-dark); /* Vert foncé - remplacez par votre couleur primaire foncée */
}

.btn-outline {
    border: 2px solid var(--primary-color); /* Vert - remplacez par votre couleur primaire */
    color: white;
}

.btn-outline:hover {
    background-color:var(--primary-color); /* Vert - remplacez par votre couleur primaire */
    color: white;
}

.slider-controls {
    position: absolute;
    bottom: 2.5rem; /* Utilisation d'une valeur directe au lieu de var */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.prev-slide, .next-slide {
    background-color: rgba(255,255,255,0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Utilisation d'une valeur directe au lieu de var */
    cursor: pointer;
    color: #fff; /* Utilisation d'une valeur directe au lieu de var */
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease; /* Utilisation d'une valeur directe au lieu de var */
}

.prev-slide:hover, .next-slide:hover {
    background-color: #4CAF50; /* Vert - remplacez par votre couleur primaire */
}

.slider-dots {
    display: flex;
    gap: 0.5rem; /* Utilisation d'une valeur directe au lieu de var */
    margin: 0 1rem; /* Utilisation d'une valeur directe au lieu de var */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%; /* Utilisation d'une valeur directe au lieu de var */
    background-color: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease; /* Utilisation d'une valeur directe au lieu de var */
}

.dot.active, .dot:hover {
    background-color: #fff; /* Utilisation d'une valeur directe au lieu de var */
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        margin-left: 5%;
        max-width: 90%;
        text-align: center;
        align-items: center;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
/* ==========================================================================
   Catégories de produits
   ========================================================================== */
.categories {
    background-color: var(--light-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.category-card {
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    color: var(--dark-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-content {
    padding: var(--spacing-lg);
    background-color: var(--light-color);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.category-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

/* ==========================================================================
   Produits en vedette
   ========================================================================== */
.featured-products {
    background-color: var(--gray-200);
    position: relative;
    padding: var(--spacing-md);
}

.products-slider {
    position: relative;
    margin: 0 -10px;
    overflow: hidden;
}

.products-track {
    display: flex;
    flex-wrap: nowrap; /* Permet aux éléments de passer à la ligne */
    gap: var(--spacing-md);
    transition: transform var(--transition-normal);
    padding: var(--spacing-xs);
    justify-content: center;
}

.product-card {
    flex: 0 0 calc(25% - var(--spacing-md));
    min-width: 280px;
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    margin-bottom: var(--spacing-md); /* Espacement vertical entre les cartes */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.new {
    background-color: var(--success-color);
    color: white;
}

.product-badge.promo {
    background-color: var(--danger-color);
    color: white;
}

.product-badge.bestseller {
    background-color: var(--accent-color);
    color: white;
}

.product-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.product-card:hover .product-actions {
    transform: translateY(0);
    opacity: 1;
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    border: none;
    background-color: white;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.product-actions button:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-info {
    padding: var(--spacing-lg);
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.product-info h3 a {
    color: var(--dark-color);
    transition: color var(--transition-fast);
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.product-rating .stars {
    color: var(--accent-color);
    margin-right: var(--spacing-xs);
}

.product-rating .count {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.current-price {
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.old-price {
    color: var(--gray-500);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.products-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
    gap: var(--spacing-md);
}

.prev-product, .next-product {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--gray-300);
    background-color: var(--light-color);
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.prev-product:hover, .next-product:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.view-all-wrapper {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Media Queries améliorées pour un affichage en colonnes */
@media (max-width: 1200px) {
    .products-track {
        justify-content: center;
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - var(--spacing-md));
    }
}

@media (max-width: 992px) {
    .products-track {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .product-card {
        flex: 0 0 calc(50% - var(--spacing-md));
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .products-track {
        flex-direction: column;
        align-items: center;
    }
    
    .product-card {
        flex: 0 0 calc(100% - var(--spacing-md));
        max-width: 480px;
        width: 100%;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-actions {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .featured-products {
        padding: var(--spacing-sm);
    }
    
    .products-track {
        gap: var(--spacing-sm);
        padding: var(--spacing-xs) 0;
    }
    
    .product-card {
        margin-bottom: var(--spacing-md);
        min-width: unset;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: var(--spacing-md);
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
}
/* ==========================================================================
   Section avantages
   ========================================================================== */
.advantages {
    background-color: var(--light-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.advantage-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.advantage-icon {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.advantage-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ==========================================================================
   Section process
   ========================================================================== */
.process {
    background-color: var(--gray-100);
    background-size: 50px 100%;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: var(--gray-300);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: var(--radius-rounded);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.step-icon img {
    max-width: 50px;
    max-height: 50px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
    max-width: 200px;
}

.cta-wrapper {
    text-align: center;
    margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .process-steps::before {
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 2px;
        height: auto;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .step-number {
        margin-right: var(--spacing-md);
        margin-bottom: 0;
    }
    
    .step-icon {
        margin-right: var(--spacing-md);
        margin-bottom: 0;
    }
    
    .process-step-content {
        flex: 1;
    }
}

/* ==========================================================================
   Section témoignages
   ========================================================================== */
   .testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    margin: 0 -15px;
    padding: var(--spacing-md) 0;
}

.testimonial-card {
    flex: 0 0 33.333%;
    padding: 0 15px;
    opacity: 0.7;
    transition: all var(--transition-normal);
    transform: scale(0.9);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-inner {
    background-color: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.testimonial-inner::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: serif;
    font-weight: bold;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-rounded);
    overflow: hidden;
    margin-right: var(--spacing-md);
    border: 3px solid var(--light-color);
    box-shadow: var(--shadow-sm);
}

.author-info h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
    gap: var(--spacing-sm);
}

.testimonial-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-rounded);
    background-color: var(--gray-300);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.testimonial-nav-dot.active, 
.testimonial-nav-dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonials-arrows {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
    gap: var(--spacing-md);
}

.prev-testimonial,
.next-testimonial {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--gray-300);
    background-color: var(--light-color);
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .testimonial-inner {
        padding: var(--spacing-lg);
    }
}
/* ==========================================================================
   Section Partenaires 
   ========================================================================== */
   .partners {
    background-color: var(--gray-100);
    padding: var(--spacing-xl) 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.partner {
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.partner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner img {
    max-width: 60%;
    max-height: 80%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-normal), opacity var(--transition-normal);
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .partner {
        height: 100px;
    }
}

/* ==========================================================================
   Section Newsletter
   ========================================================================== */
.newsletter {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.newsletter p {
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    font-weight: var(--font-weight-bold);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.newsletter-form button:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.privacy-note {
    opacity: 0.8;
    font-size: 0.9rem;
}

.privacy-note a {
    color: var(--light-color);
    text-decoration: underline;
}

.privacy-note a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding-top: var(--spacing-xl);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    max-height: 50px;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-rounded);
    color: var(--light-color);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-400);
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
    padding: var(--spacing-xs) 0;
}

.footer-links a:hover {
    color: var(--light-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: var(--light-color);
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}
 /* Newsletter Styles */
    .newsletter {
        background-color: #f8f9fa;
        padding: 70px 0;
    }
    
    .newsletter-content {
        max-width: 650px;
        margin: 0 auto;
        text-align: center;
    }
    
    .newsletter-content h2 {
        margin-bottom: 15px;
        color: #333;
        font-weight: 600;
    }
    
    .newsletter-content p {
        margin-bottom: 30px;
        color: #666;
    }
    
    .newsletter-form {
        display: flex;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .newsletter-form input[type="email"] {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 4px 0 0 4px;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
    }
    
    .newsletter-form .btn {
        border-radius: 0 4px 4px 0;
        padding: 12px 25px;
        font-weight: 500;
    }
    
    .privacy-note {
        margin-top: 15px;
        color: #888;
    }
    
    .privacy-note a {
        color: #4CAF50;
        text-decoration: underline;
    }
    
    /* Cookie Consent Styles */
    .cookie-banner {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: bottom 0.5s ease;
        padding: 20px;
    }
    
    .cookie-banner.show {
        bottom: 0;
    }
    
    .cookie-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .cookie-text {
        flex: 1;
        min-width: 300px;
        padding-right: 30px;
    }
    
    .cookie-text h3 {
        margin-bottom: 10px;
        font-size: 18px;
        font-weight: 600;
    }
    
    .cookie-text p {
        margin-bottom: 0;
        font-size: 14px;
        color: #666;
    }
    
    .cookie-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }
    
    .cookie-buttons .btn {
        margin: 5px;
        min-width: 120px;
    }
    
    /* Cookie Modal Styles */
    .cookie-modal {
        display: none;
        position: fixed;
        z-index: 1001;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
    }
    
    .cookie-modal.show {
        display: block;
    }
    
    .cookie-modal-content {
        position: relative;
        background-color: #fff;
        margin: 10% auto;
        padding: 0;
        border-radius: 8px;
        width: 90%;
        max-width: 700px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    
    .cookie-modal-header {
        padding: 20px 25px;
        background-color: #f8f9fa;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .cookie-modal-header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
    }
    
    .close-modal {
        font-size: 28px;
        font-weight: bold;
        color: #888;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .cookie-modal-body {
        padding: 25px;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .cookie-option {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .cookie-option:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .cookie-option-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .cookie-option-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
    }
    
    .cookie-option p {
        margin: 0;
        font-size: 14px;
        color: #666;
    }
    
    .cookie-modal-footer {
        padding: 15px 25px;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
        text-align: right;
    }
    
    /* Switch Toggle */
    .switch {
        position: relative;
        display: inline-block;
        width: 48px;
        height: 24px;
    }
    
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
    }
    
    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }
    
    input:checked + .slider {
        background-color: #4CAF50;
    }
    
    input:focus + .slider {
        box-shadow: 0 0 1px #4CAF50;
    }
    
    input:checked + .slider:before {
        transform: translateX(24px);
    }
    
    .slider.round {
        border-radius: 24px;
    }
    
    .slider.round:before {
        border-radius: 50%;
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
        .cookie-content {
            flex-direction: column;
        }
        
        .cookie-text {
            padding-right: 0;
            margin-bottom: 15px;
        }
        
        .newsletter-form {
            flex-direction: column;
        }
        
        .newsletter-form input[type="email"] {
            border-radius: 4px;
            margin-bottom: 10px;
        }
        
        .newsletter-form .btn {
            border-radius: 4px;
            width: 100%;
        }
        
        .cookie-modal-content {
            margin: 15% auto;
            width: 95%;
        }
    }