:root {
    --primary-color: #1a252f;
    --accent-color: #3498db;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.55);
    --transition-speed: 0.3s;
}

/* --- Reset et Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f4f7f6;
    overflow-x: hidden;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

/* .action englobe logo, navigation et actions */
.action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* Navigation principale */
.navigation {
    display: flex;
    gap: 20px;
}

.navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--accent-color);
    background-color: rgba(52, 152, 219, 0.1);
    font-weight: 600;
}

/* Header Actions (Langue & Panier) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Sélecteur de Langue */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background var(--transition-speed);
}

.lang-btn:hover {
    background-color: #f5f5f5;
}

.icon-globe {
    width: 18px;
    height: 18px;
}

.chevron {
    font-size: 0.6rem;
    opacity: 0.7;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 5px 0;
    width: 70px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed) ease;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-opt {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-align: center;
    transition: background var(--transition-speed);
}

.lang-opt:hover,
.lang-opt.active {
    background-color: rgba(52, 152, 219, 0.08);
    color: var(--accent-color);
    font-weight: 600;
}

/* Panier */
.card-btn {
    position: relative;
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-speed);
}

.card-btn:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
}

.icon-card {
    width: 20px;
    height: 20px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 0 0 2px white;
}

/* --- Section Hero (Page d'accueil) --- */
.hero-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    /* Hauteur de l'écran moins la hauteur du header */
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Évite les marges du reset img global si existant */
}

/* Overlay sombre pour rendre le texte lisible sur l'image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.6) 60%,
            rgba(0, 0, 0, 0.75) 100%);
    z-index: 2;
}

/* Texte par-dessus l'image */
.hero-text {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    padding: 0 20px;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    /* Commence invisible pour l'animation */
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #e0e0e0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Bouton CTA Hero */
.hero-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--accent-color);
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.35s ease;
}

.hero-cta:hover::before {
    left: 0;
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--text-light);
    border-color: white;
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
}

/* Bouton Burger Mobile */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.burger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Animation fadeInUp pour le H1 uniquement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-light);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        gap: 5px;
        z-index: 999;
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 6px;
    }

    .action {
        position: relative;
    }

    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .hero-container {
        height: 65vh;
    }
}

/* Typewriter Cursor */
.typewriter-active::after {
    content: '|';
    animation: typewriterBlink 0.75s step-end infinite;
    color: hsl(var(--secondary));
    margin-left: 4px;
    font-weight: 300;
}

@keyframes typewriterBlink {

    from,
    to {
        color: transparent
    }

    50% {
        color: hsl(var(--secondary))
    }
}

/* --- Section Nos Solutions --- */
.solutions-section {
    padding: 80px 0;
    background-color: #f9fafb;
    width: 100%;
}

.solutions-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.solution-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    text-decoration: none;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.solution-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-card-image img {
    transform: scale(1.05);
}

.solution-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.solution-card-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-gradient {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #c0b8a8, #d4c4a8);
    color: #111827;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(192, 184, 168, 0.2);
    cursor: pointer;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #b0a898, #c4b498);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(192, 184, 168, 0.35);
}

.btn-gradient:active {
    transform: translateY(0);
}

/* responsive grid */
@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Section Pourquoi Nous Choisir --- */
.choix-section {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
}

.grille-avantage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.avantage-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform var(--transition-speed) ease;
}

.avantage-card:hover {
    transform: translateY(-5px);
}

.icone-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #c0b8a8, #d4c4a8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(192, 184, 168, 0.2);
    transition: transform var(--transition-speed) ease;
}

.avantage-card:hover .icone-box {
    transform: scale(1.08);
}

.icone-box svg {
    width: 28px;
    height: 28px;
    stroke: #ffffff;
}

.avantage-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.avantage-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* responsive grid pour grille-avantage */
@media (min-width: 640px) {
    .grille-avantage {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grille-avantage {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* --- Section Avis Clients --- */
.reviews-section {
    padding: 80px 0;
    background-color: #f9fafb;
    width: 100%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 40px;
}

.review-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 8px -6px rgba(0, 0, 0, 0.04);
}

.review-rating {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.star-filled {
    color: #f59e0b;
    /* Orange/Yellow filled star */
    margin-right: 2px;
}

.star-empty {
    color: #d1d5db;
    /* Grey empty star */
    margin-right: 2px;
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

.review-author {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.review-details {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Formulaire de Soumission d'Avis */
.share-review-container {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    max-width: 800px;
    margin: 0 auto;
}

.share-review-container h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(192, 184, 168, 0.15);
    padding-bottom: 10px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #111827;
    background-color: #ffffff;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #c0b8a8;
    box-shadow: 0 0 0 3px rgba(192, 184, 168, 0.2);
    outline: none;
}

/* Sélecteur d'étoiles interactif */
.star-rating-selector {
    display: flex;
    gap: 8px;
}

.star-input {
    font-size: 1.8rem;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.15s, transform 0.15s;
}

.star-input:hover {
    transform: scale(1.15);
}

.star-input.active {
    color: #f59e0b;
}

.star-input.hover {
    color: #fbbf24;
}

/* Bouton Envoyer */
.btn-submit-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #c0b8a8, #d4c4a8);
    color: #111827;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(192, 184, 168, 0.2);
    margin-top: 10px;
}

.btn-submit-review:hover {
    background: linear-gradient(135deg, #b0a898, #c4b498);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(192, 184, 168, 0.35);
}

.btn-submit-review:active {
    transform: translateY(0);
}

.icon-send {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Responsive pour Grille d'Avis et Formulaire */
@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        flex-direction: row;
    }

    .form-row .form-group {
        flex: 1;
    }
}

/* ==========================================================================
   PAGE CONTENEURS - FILTRES ET GRILLE (Redesign 2026)
   ========================================================================== */

/* ======== FILTRES (NAVBORD) ======== */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 30px;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e5e7eb;
}

.filter-btn.active {
    background: linear-gradient(135deg, #c0b8a8, #d4c4a8);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(192, 184, 168, 0.4);
}

/* ======== PRODUCT CARD ======== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.product-card-image {
    display: flex;
    width: 100%;
    height: 250px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    background: #f9fafb;
    /* On cache la scrollbar sur les navigateurs standards pour plus d'élégance */
    scrollbar-width: thin;
    scrollbar-color: #c0b8a8 transparent;
}

/* Scrollbar personnalisée webkit (Chrome/Safari) */
.product-card-image::-webkit-scrollbar {
    height: 6px;
}

.product-card-image::-webkit-scrollbar-track {
    background: transparent;
}

.product-card-image::-webkit-scrollbar-thumb {
    background: rgba(192, 184, 168, 0.6);
    border-radius: 10px;
}

.product-card-image img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    /* Légère désactivation de l'effet de zoom si c'est un carrousel pour éviter les bugs visuels au défilement */
    /* On peut le garder sur img s'il n'y en a qu'une, ou le réduire */
    transform: scale(1.02);
}

.product-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, hsl(var(--primary)), #2a4b9c);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.3;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    color: #6b7280;
    flex-grow: 1;
}

.specs-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.specs-list li::before {
    content: "•";
    color: #c0b8a8;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #c0b8a8;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s ease;
}

.btn-add-cart:hover {
    background: #b1a99a;
}

.cart-icon {
    width: 20px;
    height: 20px;
}

/* ======== GALLERY BUTTONS (CARROUSEL) ======== */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: #c0b8a8;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* ======== FOOTER (REDESIGN BLEU MARIN) ======== */
.site-footer,
.footer-section {
    background-color: #0c183a !important;
    color: #f9fafb !important;
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff !important;
}

.site-footer p,
.site-footer a,
.site-footer li>a {
    color: #d1d5db !important;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff !important;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   NEW LAYOUT CLASSES (REPLACING INLINE STYLES)
   ========================================================================== */
.about-split {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-text,
.about-image {
    flex: 1;
    /* Ils prennent chacun 50% de la largeur */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    /* Pour garder les jolis bords arrondis */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 0 40px;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {

    /* Grids */
    .about-split {
        flex-direction: column;
        /* Empile les éléments verticalement */
    }

    .about-image {
        width: 100%;
        margin-top: 20px;
        order: 2;
        /* S'assure que l'image passe EN BAS */
    }

    .about-text {
        order: 1;
        /* S'assure que le texte reste EN HAUT */
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline fixes for Mobile */
    .timeline {
        padding-left: 20px !important;
    }

    .timeline>div:first-child {
        left: 0 !important;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-item>div:nth-child(1) {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-bottom: 5px;
        display: inline-block;
    }

    .timeline-item>div:nth-child(2) {
        left: -27px !important;
        top: 30px !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Typography Mobile Fixes */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem !important;
    }
}


/* ==========================================================================
   CART LAYOUT & TOAST (Ajouté)
   ========================================================================== */

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0c183a;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    font-size: 1rem;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    border-left: 4px solid #d4af37;
    pointer-events: none;
}

.toast-notification.show {
    bottom: 40px;
}

/* Cart Page Layout */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    gap: 20px;
    position: relative;
    border-left: 4px solid #d4af37;
}

@media (max-width: 576px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 1.2rem;
    color: #0c183a;
    margin-bottom: 8px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 1.1rem;
    color: #4b5563;
    font-weight: 500;
}

/* Actions in Cart Item */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: #4b5563;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e5e7eb;
    color: #0c183a;
}

.qty-value {
    width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.cart-item-subtotal {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0c183a;
    min-width: 90px;
    text-align: right;
}

.btn-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-remove:hover {
    background: #fee2e2;
}

.btn-remove svg {
    width: 20px;
    height: 20px;
}

/* Empty Cart State */
.empty-cart {
    background: #fff;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.empty-cart svg {
    width: 64px;
    height: 64px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 1.5rem;
    color: #0c183a;
    margin-bottom: 10px;
}

/* Cart Summary Sidebar */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    border-top: 5px solid #0c183a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #4b5563;
    font-size: 1.05rem;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}

.total-row {
    color: #0c183a;
    font-size: 1.2rem;
    font-weight: 600;
    align-items: center;
    margin-bottom: 0;
}