:root {
    --brand-primary: #1e3a8a; /* Bleu foncé du logo */
    --brand-secondary: #f97316; /* Orange du logo */
    --text-dark: #374151; /* Gris foncé pour le texte principal */
    --text-light: #6b7280; /* Gris moyen pour le texte secondaire */
    --text-white: #ffffff;
    --bg-light: #f3f4f6; /* Gris très clair pour les sections subtiles */
    --bg-dark: #111827; /* Gris foncé pour les sections à fort contraste */
    --border-color: #d1d5db;
    --transition-speed: 0.3s;
    --font-base-size: 1rem;
    --font-scale: 1.125; /* Pour une échelle de police harmonieuse */
}

#logiciels ul li {
    font-size: 0.95em;
    margin-bottom: 8px;
    display: flex; /* Permet l'alignement avec les icônes */
    align-items: center; /* Centre verticalement icône et texte */
}
#logiciels ul li i {
    margin-right: 8px; /* Espace entre icône et texte */
    font-size: 1.1em; /* Ajuste la taille de l'icône */
}

.section-padding {
    padding-top: 80px; /* Ou la valeur que vous préférez */
    padding-bottom: 80px;
}
/* Sur mobile */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* --- Échelle typographique --- */
h1 { font-size: calc(var(--font-base-size) * var(--font-scale) * var(--font-scale) * var(--font-scale) * var(--font-scale)); /* ~2.4rem */ }
h2 { font-size: calc(var(--font-base-size) * var(--font-scale) * var(--font-scale) * var(--font-scale)); /* ~2.0rem */ }
h3 { font-size: calc(var(--font-base-size) * var(--font-scale) * var(--font-scale)); /* ~1.7rem */ }
h4 { font-size: calc(var(--font-base-size) * var(--font-scale)); /* ~1.3rem */ }
h5 { font-size: var(--font-base-size); }
h6 { font-size: calc(var(--font-base-size) * 0.9); }
p, a, li, small { font-size: var(--font-base-size); }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6; /* Hauteur de ligne améliorée pour la lisibilité */
    color: var(--text-dark);
    font-size: var(--font-base-size); /* Taille de police de base */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: var(--brand-secondary);
    line-height: 1.3;
    margin-bottom: 0.75em;
}

.bloc{
  color: var(--brand-primary);
}

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

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

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--text-white);
}

.btn {
    padding: 10px 24px; /* Rembourrage légèrement réduit */
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    font-size: 0.9rem;
}

.btn-brand {
    background-color: var(--brand-primary);
    color: var(--text-white);
    border: 2px solid var(--brand-primary);
}

.btn-brand:hover {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-success { /* Utilisé pour "Tous les articles..." */
    background-color: var(--brand-secondary);
    color: var(--text-white);
    border: 2px solid var(--brand-secondary);
}

.btn-success:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.outline-light { /* Pour "commander un logiciel" */
    border: 2px solid var(--text-white);
    color: var(--text-white);
    background-color: transparent;
    font-size: 0.9rem;
}

.outline-light:hover {
    background-color: var(--text-white);
    color: var(--brand-primary);
    transform: scale(1.05);
}

/* --- Barre de navigation supérieure --- */
.top-nav {
    background-color: var(--brand-primary);
    color: var(--text-white);
    padding: 8px 0; /* Rembourrage légèrement réduit */
    font-size: 0.85em; /* Police légèrement plus petite */
}

.top-nav p {
    margin-bottom: 0;
    display: inline-block;
    margin-right: 15px; /* Espacement réduit */
}

.top-nav i {
    margin-right: 5px;
}

.top-nav .social-icons a {
    color: var(--text-white);
    margin-left: 8px; /* Espacement réduit */
    font-size: 1.1em; /* Icônes légèrement plus petites */
    transition: transform var(--transition-speed) ease;
}

.top-nav .social-icons a:hover {
    transform: scale(1.1);
    background-color: var(--brand-secondary);
}

/* --- Barre de navigation inférieure (Navbar) --- */
.navbar {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); /* Ombre plus douce */
    padding: 12px 0; /* Rembourrage légèrement réduit */
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6em; /* Logo légèrement plus petit */
    color: var(--text-dark);
}

.navbar-brand .dot {
    color: var(--brand-secondary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 8px; /* Espacement réduit */
    position: relative;
    transition: color var(--transition-speed) ease;
    font-size: 0.95rem; /* Liens de navigation légèrement plus petits */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-primary);
}

/* Effet de soulignement au survol */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px; /* Légèrement plus proche du texte */
    left: 0;
    background-color: var(--brand-primary);
    transition: width var(--transition-speed) ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* --- Slider Héro (Owl Carousel) --- */
.hero-slider .slide {
    min-height: 60vh; /* Hauteur légèrement réduite */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    position: relative;
}

.circular-icon {
    border-radius: 40%; 
    width: 50px; 
    height: 50px; 
    object-fit: cover; 
    margin-right: 8px; 
    vertical-align: middle; 
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Superposition légèrement plus claire */
    z-index: 1;
}

.hero-slider .slide > .container {
    position: relative;
    z-index: 2;
    text-align: center; /* Centrer le texte dans les diapositives */
}

.hero-slider .slide1 {
    background-image: url('../img/bg_banner1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px; /* Ou la hauteur que vous avez définie pour vos slides */
    display: flex; /* Pour centrer le contenu verticalement si désiré */
    align-items: center;
    justify-content: center;
  }
.hero-slider .slide2 { background-image: url('../img/bg_banner2.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;  

}
.hero-slider .slide3 { background-image: url('../img/bg_banner3.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-slider h2 {
    font-size: 2.8em; /* Taille de police ajustée */
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600; /* Poids de police légèrement plus léger */
}

.hero-slider h3 {
    font-size: 1.3em; /* Taille de police ajustée */
    margin-bottom: 8px;
    font-weight: 500;
}

.hero-slider p {
    font-size: 1em; /* Taille de police ajustée */
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Ombre portée pour améliorer la lisibilité du texte */
.hero-slider .slide h3,
.hero-slider .slide h2,
.hero-slider .slide p,
.hero-slider .slide .btn {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Ombre noire, légèrement floue */
}


/* Navigation Owl Carousel (Flèches et Points) */
.hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3) !important; /* Arrière-plan plus clair */
    color: var(--text-white) !important;
    border-radius: 50%;
    width: 40px; /* Boutons plus petits */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em !important; /* Icônes plus petites */
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.hero-slider .owl-nav button:hover {
    opacity: 1;
    background-color: var(--brand-primary) !important;
}

.hero-slider .owl-nav .owl-prev { left: 10px; }
.hero-slider .owl-nav .owl-next { right: 10px; }

.hero-slider .owl-dots .owl-dot {
    background-color: rgba(255, 255, 255, 0.4) !important; /* Points plus clairs */
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.hero-slider .owl-dots .owl-dot.active {
    background-color: var(--brand-primary) !important;
    transform: scale(1.2);
}

/* --- Section À Propos --- */
#about .dot {
    color: var(--brand-primary);
    font-weight: 700;
}

#about h1 {
    font-size: 2.2em;
}

/* --- Section Services --- */
#services .intro {
    text-align: center;
    margin-bottom: 40px; /* Marge réduite */
}

#services .intro h6 {
    color: var(--brand-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
}

#services .intro h2 {
    font-size: 2.4em; /* Taille de police ajustée */
    margin-top: 8px;
    margin-bottom: 15px;
}

#services .service {
    background-color: var(--text-white);
    padding: 25px; /* Rembourrage réduit */
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05); /* Ombre plus douce */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#services .service:hover {
    transform: translateY(-5px); /* Élévation réduite */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Ombre de survol plus douce */
    background-color: var(--brand-primary);
    color: var(--text-white);
}

#services .service:hover h5,
#services .service:hover p,
#services .service:hover i {
    color: var(--text-white);
}

#services .service i {
    font-size: 3em; /* Icônes légèrement plus petites */
    color: var(--brand-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

#services .service:hover i {
    transform: translateY(-3px);
}

#services .service h5 {
    font-size: 1.3em; /* Taille de police ajustée */
    margin-bottom: 10px;
    color: var(--text-dark);
}

#services .service p {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

#services .service p:last-child {
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    font-size: 0.85em;
}
#services .service:hover p:last-child {
    color: var(--brand-secondary);
}


/* --- Section Produits (Slider de Projets) --- */
#produits .intro {
    text-align: center;
    margin-bottom: 40px;
}

#produits .intro h6 {
    color: var(--brand-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
}

#produits .intro h2 {
    font-size: 2.4em;
    margin-top: 8px;
    margin-bottom: 15px;
}

#projects-slider .store {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

#projects-slider .store img {
    width: 100%;
    height: 250px; /* Hauteur réduite */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Styles pour la section Logiciels */
#logiciels .team-member .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ceci est la ligne qui noircit l'image au survol. */
    /* La couleur noire (0,0,0) est appliquée avec 50% d'opacité (0.5). */
    background: rgba(0, 0, 0, 0.5);
    display: flex; /* Utiliser Flexbox pour centrer le contenu */
    align-items: center; /* Centrer verticalement */
    justify-content: center; /* Centrer horizontalement */
    opacity: 0; /* L'overlay est invisible par défaut */
    transition: opacity var(--transition-speed, 0.3s) ease; /* Transition douce pour l'apparition */
}

#logiciels .team-member:hover .overlay {
    opacity: 1; /* L'overlay devient visible au survol, rendant l'image plus sombre*/
}

/* Conteneur des icônes sociales (ou dans ce cas, le bouton unique) */
#logiciels .team-member .social-icons {
    display: flex; /* Utiliser Flexbox pour gérer l'alignement si plusieurs éléments */
    gap: 10px; /* Espacement entre les éléments, si plusieurs */
}

/* Style du bouton "Commander un Logiciel" à l'intérieur de l'overlay */
#logiciels .team-member .social-icons a {
    color: var(--text-white, #fff); /* Texte blanc */
    font-size: 1em; /* Taille de police par défaut */
    background-color: var(--brand-secondary, #ff8c00); /* Fond orange (utilisez votre couleur orange exacte si différente) */
    padding: 10px 25px; /* Rembourrage interne du bouton */
    border-radius: 50px; /* Bords arrondis pour le bouton */
    text-decoration: none; /* Supprimer le soulignement par défaut des liens */
    white-space: nowrap; /* Empêche le texte de se casser sur plusieurs lignes */
    transition: background-color var(--transition-speed, 0.3s) ease; /* Transition pour le survol */
    display: inline-block; /* Assurez-vous qu'il se comporte comme un bloc pour le padding/margin */
}

#logiciels .team-member .social-icons a:hover {
    background-color: var(--brand-primary, #007bff); /* Couleur de fond au survol (exemple : bleu) */
    color: var(--text-white, #fff); /* Texte reste blanc au survol */
}

/* Assurez-vous que le conteneur principal a une position relative pour que l'overlay fonctionne */
#logiciels .team-member {
    position: relative; /* TRÈS IMPORTANT pour l'overlay */
    /* Assurez-vous que le overflow-hidden est présent si vous voulez couper le contenu qui dépasse */
    overflow: hidden;
    border-radius: var(--border-radius, 0.25rem); /* Si vous avez des coins arrondis */
    box-shadow: var(--shadow); /* Si vous avez une ombre */
}

#logiciels .team-member img {
width: 100%;
display: block;
height: 300px; /* Hauteur réduite */
object-fit: cover;
}

/* Assurer que le texte est toujours visible, supprimer l'opacité au survol pour la superposition */
#projects-slider .store .overlay {
    position: absolute;
    bottom: 0; /* Aligner en bas */
    left: 0;
    width: 100%;
    height: auto; /* La hauteur s'adapte au contenu */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%); /* Dégradé plus prononcé */
    opacity: 1; /* Toujours visible */
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Empiler le contenu */
    align-items: center; /* Centrer horizontalement */
    justify-content: flex-end; /* Pousser le contenu vers le bas */
}


#projects-slider .store h2 {
    font-size: 1.5em;
    margin-bottom: 3px;
    color: var(--text-white);
    text-align: center; /* Assurer que le texte est centré */
}

#projects-slider .store h6 {
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-align: center; /* Assurer que le texte est centré */
}

#projects-slider .store .btn-brand {
    font-size: 0.8rem;
    padding: 8px 18px;
}

/* --- Section Avis --- */
#reviews .review {
    background-color: var(--text-white);
    padding: 30px; /* Rembourrage réduit */
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 20px;
}

#reviews .review .person {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#reviews .review .person img {
    width: 60px; /* Image plus petite */
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

#reviews .review .person h5 {
    font-size: 1.1em; /* Nom plus petit */
    margin-bottom: 3px;
    color: var(--brand-primary);
}

#reviews .review .person small {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.8em;
}

#reviews .review h3 {
    font-size: 1em; /* Texte d'avis plus petit */
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 400;
}

#reviews .review .stars {
    color: var(--brand-secondary); /* Utiliser l'orange pour les étoiles */
    margin-bottom: 10px;
    font-size: 0.9em;
}

#reviews .review .bx-bxs-quote-alt-left {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3em; /* Citation plus petite */
    color: var(--border-color);
    opacity: 0.5; /* Plus subtil */
}

/* Navigation Owl Carousel Avis (Points) */
.reviews-slider .owl-dots .owl-dot {
    background-color: var(--border-color) !important;
    width: 8px; /* Points plus petits */
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
    transition: background-color var(--transition-speed) ease;
}

.reviews-slider .owl-dots .owl-dot.active {
    background-color: var(--brand-primary) !important;
}

/* --- Section Blog --- */
#blog .intro {
    text-align: center;
    margin-bottom: 35px;
}

#blog .intro h2 {
    font-size: 2.4em;
    margin-top: 8px;
    margin-bottom: 15px;
}

#blog .blog-post {
    background-color: var(--text-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#blog .blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#blog .blog-post img {
    width: 100%;
    height: 180px; /* Hauteur réduite */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

#blog .blog-post:hover img {
    transform: scale(1.03);
}

#blog .blog-post .tag {
    display: inline-block;
    background-color: var(--brand-secondary);
    color: var(--text-white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75em;
    font-weight: 600;
    margin: 10px 0 8px 15px;
    position: relative;
    z-index: 2;
    transition: background-color var(--transition-speed) ease;
}

#blog .blog-post .tag:hover {
    background-color: var(--brand-primary);
}

#blog .blog-post .content {
    padding: 15px; /* Rembourrage réduit */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#blog .blog-post small {
    color: var(--text-light);
    font-size: 0.8em;
    margin-bottom: 8px;
    display: block;
}

#blog .blog-post h5 {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

#blog .blog-post p {
    font-size: 0.85em;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

#blog .intro .btn-success {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* --- Section Promotion Booktic --- */
#booktic-promo {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

#booktic-promo h2 {
    font-size: 2.6em;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

#booktic-promo p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#booktic-promo .btn-brand {
    font-size: 1rem;
    padding: 12px 30px;
}

.nav-item-dropdown {
    position: relative; /* Needed for positioning the dropdown menu */
    display: inline-block; /* Or block, depending on your layout */
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    /* Adjust positioning as needed */
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px; /* To match the image */
    padding: 10px;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block; /* Show on hover */
}

.dropdown-item {
    display: flex; /* To align icon and text */
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    border-radius: 4px;
    margin-bottom: 5px; /* Spacing between items */
}

.dropdown-item:hover {
    background-color: #ddd;
}

.dropdown-item img {
    width: 24px; /* Adjust icon size */
    height: 24px;
    margin-right: 10px; /* Space between icon and text */
}

/* Styles généraux pour la section milestone */
#milestone {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-background.jpg') no-repeat center center/cover; /* Exemple d'image de fond */
    color: white;
    padding: 100px 0; /* Ajustez le padding si nécessaire */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Ombre portée plus prononcée pour le texte */
}

#milestone .intro {
    padding: 20px;
}

#milestone .display-4,
#milestone .display-5 {
    font-weight: 700; /* Plus gras */
    letter-spacing: 1px;
}

#milestone .lead {
    font-size: 1.5rem; /* Taille de police plus grande pour le slogan */
    font-weight: 300;
}

#milestone .icon-large {
    font-size: 3.5rem; /* Taille de l'icône de téléphone */
    display: block; /* Pour s'assurer qu'il prend sa propre ligne */
    margin-bottom: 15px; /* Espace sous l'icône */
}

/* Bouton spécifique pour cette section */
#milestone .btn-brand {
    background-color: #007bff; /* Couleur de votre marque */
    border-color: #007bff;
    color: white;
    padding: 15px 33px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px; /* Bouton arrondi */
    transition: all 0.3s ease;
}

#milestone .btn-brand:hover {
    background-color: #0056b3; /* Effet hover */
    border-color: #0056b3;
    transform: translateY(-2px); /* Léger soulèvement */
}

/* Section Présentation du Service (service-presentation) */
#service-presentation {
    padding: 80px 0;
    background-color: #ffffff; /* Fond blanc propre */
}

#service-presentation .image-wrapper-security {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

#service-presentation .image-wrapper-security:hover {
    transform: translateY(-5px);
}

#service-presentation .security-service-image {
    width: 100%;
    height: 450px; /* Hauteur fixe pour l'image */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); /* Ombre douce pour l'image */
}

#service-presentation article {
    background-color: #f8f9fa; /* Arrière-plan légèrement grisé pour l'article */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%; /* S'assure que la carte prend toute la hauteur disponible */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#service-presentation .display-6 {
    color: #343a40;
    line-height: 1.2;
}

#service-presentation .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}

.service-points {
    margin-top: 30px;
    padding-left: 0;
    list-style: none;
}

.service-points li {
    margin-bottom: 25px;
}

.service-points li h5 {
    display: flex;
    align-items: flex-start; /* Aligner le texte du titre avec le haut de l'icône */
    margin-bottom: 8px;
    color: #343a40;
}

.service-points li i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #007bff; /* Couleur de la marque */
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
    margin-top: 2px; /* Ajustement vertical */
}

.service-points li p {
    margin-left: 38px; /* Indentation pour aligner sous le texte du titre */
    color: #666;
    line-height: 1.6;
}

/* Section "Notre Processus / Pourquoi nous choisir" */
#our-process {
    padding: 80px 0;
    background-color: #e9ecef; /* Fond légèrement plus foncé que service-presentation */
}

.process-steps {
    display: flex;
    flex-wrap: wrap; /* Permet aux étapes de passer à la ligne */
    justify-content: center; /* Centre les étapes horizontalement */
    margin-bottom: 50px;
}

.process-step {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin: 10px; /* Espace entre les blocs d'étapes */
    flex-basis: calc(33.33% - 20px); /* 3 colonnes sur desktop, ajustez si besoin */
    max-width: 200px; /* Limite la largeur de chaque étape */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.process-step .icon-circle {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 15px; /* Centre l'icône */
}

.process-step h5 {
    color: #343a40;
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.process-step small {
    color: #777;
    display: block; /* S'assure que la petite description est sur sa propre ligne */
}

/* Bouton Outline */
.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    background-color: transparent;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}


/* Section Détails du Service */
#service-details {
    padding: 80px 0;
    margin-left: 20px;
    background-color: #f8f9fa; /* Couleur de fond légère */
}

/* Ajustement pour le container global de la section service-details */
#service-details .container {
    /* Le padding par défaut de Bootstrap est déjà bon, mais si vous voulez plus, vous pouvez l'augmenter */
    /* Exemple : si Bootstrap donne 15px de padding par défaut, et vous voulez 20px partout, faites : */
    /* padding-left: 20px;
       padding-right: 20px; */

    /* Ou, si vous voulez forcer un padding minimal sur les côtés pour les très petits écrans */
    padding-left: 15px !important; /* !important peut être nécessaire si une autre règle Bootstrap le surcharge */
    padding-right: 15px !important;
}

#service-details .image-wrapper {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Coins légèrement arrondis pour l'image */
}

#service-details .service-image {
    width: 100%;
    height: 400px; /* Hauteur fixe pour l'image */
    object-fit: cover; /* Assure que l'image couvre le conteneur sans distorsion */
    border-radius: 10px; /* Garde les coins arrondis */
}

#service-details article {
    background-color: white;
    padding: 43px; /* J'ai augmenté le padding de 40px à 43px pour simuler l'ajout de 3px */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

#service-details .display-6 {
    color: #343a40; /* Couleur de titre foncée */
}

#service-details .lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

.service-list {
    margin-top: 30px;
    padding-left: 0; /* Supprime le padding par défaut des listes */
}

/* Vous aviez déjà un bon espacement pour les listes. Si vous voulez que le texte DANS chaque ligne de liste ait un peu plus d'air, vous pouvez ajouter ceci: */
.service-list li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    margin-left: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    /* Optionnel : si vous voulez plus d'espace INTERNE pour chaque élément de liste */
    /* padding: 3px 0; */ /* Ajoute 3px en haut et en bas à l'intérieur de chaque ligne de liste */
}

.service-list li i {
    font-size: 1.3rem;
    margin-top: 2px;
    margin-right: 8px; /* Assure un bon espace entre l'icône et le texte */
}

.service-list strong {
    font-weight: 600; /* Rendre le texte en gras plus prononcé */
}

/* Couleurs de marque (ajustez si nécessaire) */
.text-primary {
    color: #007bff !important; /* Exemple de bleu Bootstrap */
}

.btn-brand {
    background-color: #007bff; /* Bouton standard */
    border-color: #007bff;
}

/* Section d'Impression (print-service) */
#print-service {
    padding: 80px 0; /* Espacement vertical */
    background-color: #f8f9fa; /* Arrière-plan léger */
}

/* Conteneur d'image */
#print-service .image-wrapper-print {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Ajoutez une légère transition pour le hover si vous voulez */
    transition: transform 0.3s ease-in-out;
}

#print-service .image-wrapper-print:hover {
    transform: translateY(-5px); /* Effet de soulèvement au survol */
}

#print-service .print-service-image {
    width: 100%;
    height: 450px; /* Hauteur fixe pour une uniformité visuelle */
    object-fit: cover; /* Assure que l'image couvre le conteneur sans déformer */
    border-radius: 10px;
}

/* Styles pour l'article (boîte de contenu texte) */
#print-service article {
    background-color: white;
    padding: 40px; /* Padding interne pour le texte */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Ombre plus prononcée */
    height: 100%; /* S'assure que la carte prend toute la hauteur disponible dans la colonne */
    display: flex; /* Utilisation de flexbox pour aligner le contenu */
    flex-direction: column; /* Organise le contenu en colonne */
    justify-content: center; /* Centre le contenu verticalement si l'espace le permet */
}

#print-service .display-5 {
    color: #343a40; /* Couleur sombre pour les titres */
    line-height: 1.2;
}

#print-service .lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}

/* Styles pour les points de service (liste) */
.service-points {
    margin-top: 30px;
    padding-left: 0;
    list-style: none; /* Supprime les puces par défaut */
}

.service-points li {
    margin-bottom: 25px; /* Espacement entre chaque point */
}

.service-points li h5 {
    display: flex; /* Pour aligner l'icône et le texte du titre */
    align-items: center; /* Centre verticalement */
    margin-bottom: 8px; /* Espacement entre le titre du point et son paragraphe */
    color: #343a40;
}

.service-points li i {
    font-size: 1.5rem; /* Taille des icônes de coche */
    margin-right: 10px; /* Espace entre l'icône et le texte */
    color: #007bff; /* Couleur de la marque pour les icônes */
}

.service-points li p {
    margin-left: 38px; /* Aligner le paragraphe sous le texte du titre (par rapport à l'icône) */
    color: #666;
    line-height: 1.6;
}


/* Média queries pour l'ordre sur mobile */
@media (max-width: 991.98px) {
    #service-details .col-lg-6.order-lg-1 {
        order: 1 !important; /* Texte d'abord sur mobile */
    }
    #service-details .col-lg-6.order-lg-2 {
        order: 2 !important; /* Image après sur mobile */
    }
    #service-details .service-image {
        height: 300px; /* Hauteur plus petite sur mobile */
    }
    #milestone .display-4,
    #milestone .display-5 {
        font-size: 2.5rem; /* Ajuster la taille des titres sur mobile */
    }
    #milestone .icon-large {
        font-size: 2.5rem;
    }

      #print-service .col-lg-6.order-lg-1 {
      order: 1 !important; /* Image en premier */
    }
    #print-service .col-lg-6.order-lg-2 {
        order: 2 !important; /* Contenu texte en second */
    }
    #print-service .print-service-image {
        height: 300px; /* Hauteur réduite sur mobile */
    }
    #print-service article {
        padding: 30px; /* Moins de padding sur mobile */
    }
    .service-points li p {
        margin-left: 35px; /* Ajuster l'indentation sur mobile */
    }
    #print-service .display-5 {
        font-size: 2.2rem; /* Taille de titre ajustée sur mobile */
    }

    #service-presentation .col-lg-6.order-lg-1 {
        order: 2 !important; /* Texte après l'image sur mobile */
    }
    #service-presentation .col-lg-6.order-lg-2 {
        order: 1 !important; /* Image en premier sur mobile */
    }
    #service-presentation .security-service-image {
        height: 300px; /* Hauteur réduite sur mobile */
    }
    #service-presentation article {
        padding: 30px; /* Moins de padding sur mobile */
    }
    .service-points li p {
        margin-left: 35px;
    }
    #service-presentation .display-6 {
        font-size: 2.2rem;
    }
    .process-step {
        flex-basis: calc(50% - 20px); /* 2 colonnes sur tablettes */
    }
}


/* --- Ajustements Responsifs (Mis à jour pour les polices plus petites) --- */
@media (max-width: 992px) {
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
    .hero-slider h2 {
        font-size: 2.2em;
    }
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }
    .navbar-nav .nav-item {
        margin: 4px 0;
    }
    .navbar-brand {
        text-align: center;
        width: 100%;
    }
    #services .intro h2,
    #produits .intro h2,
    #blog .intro h2 {
        font-size: 2em;
    }
   .app-slide-item .row {
        flex-direction: column-reverse; /* Image en haut, contenu en bas sur les petits écrans */
    }
    .app-image-wrapper {
        margin-bottom: 20px;
    }
    .app-content-wrapper {
        text-align: center;
    }
    .app-title {
        font-size: 2rem;
    }
    .app-subtitle {
        font-size: 1.4rem;
    }
    .apps-slider.owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .apps-slider.owl-carousel .owl-nav button.owl-prev {
        left: 0px;
    }
    .apps-slider.owl-carousel .owl-nav button.owl-next {
        right: 0px;
    }
}

@media (max-width: 768px) {
    .hero-slider h2 {
        font-size: 1.8em;
    }
    .hero-slider p {
        font-size: 0.9em;
    }
    #services .service,
    #blog .blog-post {
        margin-bottom: 25px;
    }
    #booktic-promo {
        padding: 40px 0;
    }
    #booktic-promo h2 {
        font-size: 2em;
    }
    #booktic-promo p {
        font-size: 1em;
    }
}

/* Conteneur principal de la pagination */
.pagination {
    margin-top: 40px; /* Ajoute un peu d'espace au-dessus */
    margin-bottom: 40px; /* Ajoute un peu d'espace en dessous */
    /* Vous pouvez ajouter un padding ou une ombre si vous voulez un "bloc" distinct */
    /* background-color: #f8f9fa; */
    /* padding: 15px 20px; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.05); */
}

/* Styles pour chaque élément de pagination (page-item) */
.pagination .page-item {
    margin: 0 4px; /* Espace entre les numéros de page */
}

/* Styles pour les liens de pagination (page-link) */
.pagination .page-link {
    display: flex; /* Pour centrer le texte verticalement */
    align-items: center; /* Centrer verticalement */
    justify-content: center; /* Centrer horizontalement */
    width: 40px; /* Largeur fixe pour des cercles ou carrés uniformes */
    height: 40px; /* Hauteur fixe */
    border-radius: 50%; /* Pour des formes circulaires */
    border: 1px solid #dee2e6; /* Couleur de la bordure par défaut de Bootstrap */
    color: #007bff; /* Couleur du texte par défaut */
    font-weight: 500;
    transition: all 0.3s ease; /* Transition douce pour les hover effects */
}

/* Hover et Focus pour les liens de pagination */
.pagination .page-link:hover,
.pagination .page-link:focus {
    background-color: #e9ecef; /* Couleur de fond au survol */
    border-color: #007bff; /* Bordure plus foncée au survol */
    color: #0056b3; /* Texte plus foncé au survol */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Petite ombre pour un effet de profondeur */
}

/* Style de la page active */
.pagination .page-item.active .page-link {
    background-color: var(--color-brand); /* Utilise votre couleur de marque principale */
    border-color: var(--color-brand); /* Bordure de la même couleur */
    color: #fff; /* Texte blanc sur fond de couleur de marque */
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Ombre plus prononcée pour la page active */
    pointer-events: none; /* Désactive les clics sur la page active */
}

/* Style des liens désactivés (précédent/suivant) */
.pagination .page-item.disabled .page-link {
    color: #6c757d; /* Couleur de texte plus claire */
    background-color: #e9ecef; /* Fond légèrement grisé */
    border-color: #dee2e6; /* Bordure grisée */
    cursor: not-allowed; /* Curseur indiquant que c'est désactivé */
    opacity: 0.7; /* Légèrement transparent */
}

/* Optionnel: pour les flèches "précédent" et "suivant" */
.pagination .page-link span[aria-hidden="true"] {
    font-size: 1.2em; /* Taille un peu plus grande pour les flèches */
}


/* Si vous avez déjà une couleur de succès pour le bouton, utilisez-la */
.btn-success {
    --bs-btn-bg: #28a745; /* La couleur de fond de votre bouton 'Tous les articles...' */
    --bs-btn-border-color: #28a745;
}

/* Assurez-vous que le --color-brand correspond à votre palette */
.pagination .page-item.active .page-link {
    background-color: #28a745; /* J'ai mis votre vert de bouton ici pour la cohérence */
    border-color: #28a745;
}

/* --- Section Carrousel Applications --- */
#apps-carousel {
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden; /* Important pour cacher les débordements des animations */
}

#apps-carousel .intro {
    margin-bottom: 50px;
}

/* Styles pour le conteneur de chaque slide */
.app-slide-item {
    padding: 30px 0; /* Espace interne pour le contenu du slide */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden; /* Empêche les images de déborder lors des animations */
    display: flex;
    align-items: center; /* Centrer verticalement le contenu et l'image */
}

.apps-slider .app-slide-item {
    height: 500px;
    display: flex;
    align-items: center;
}


/* Conteneur de l'image pour un meilleur contrôle */
.app-image-wrapper {
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* S'assurer que le wrapper prend toute la hauteur disponible */
}

/* Styles de l'image de l'application */
.app-image {
    max-width: 90%; /* Ajuste la taille de l'image */
    height: auto;
    border-radius: 10px;
    transition: transform 0.6s ease-out; /* Douce transition pour l'animation */
}

/* Contenu texte de l'application */
.app-content-wrapper {
    padding: 20px 30px;
}

.app-title {
    font-size: 2.5rem;
    color: var(--color-brand); /* Utilisez votre couleur de marque définie ailleurs ou remplacez */
    margin-bottom: 10px;
    font-weight: 700;
}

.app-subtitle {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* Styles des boutons */
.btn-brand {
    background-color: var(--color-brand); /* La couleur principale de votre marque */
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-brand);
}

.btn-brand:hover {
    background-color: transparent;
    color: var(--color-brand);
    border-color: var(--color-brand);
}

/* --- Styles de navigation Owl Carousel --- */
.apps-slider.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5) !important; /* Couleur de fond des flèches */
    color: #fff !important; /* Couleur des flèches */
    border-radius: 50%;
    transition: background-color 0.3s ease;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.apps-slider.owl-carousel .owl-nav button:hover {
    background-color: rgba(0,0,0,0.8) !important;
    opacity: 1;
}

.apps-slider.owl-carousel .owl-nav button.owl-prev {
    left: -20px; /* Positionnement à gauche */
}

.apps-slider.owl-carousel .owl-nav button.owl-next {
    right: -20px; /* Positionnement à droite */
}

/* Styles pour les points (dots) de navigation */
.apps-slider.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.apps-slider.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.apps-slider.owl-carousel .owl-dots .owl-dot.active {
    background: var(--color-brand); /* Couleur de marque pour le dot actif */
    transform: scale(1.2); /* Légèrement plus grand pour le dot actif */
}

/* Pour les animations custom de chaque slide */
.animate__animated {
    animation-duration: 1s; /* Durée de l'animation par défaut */
    animation-fill-mode: both; /* Garde l'état final de l'animation */
}

/* --- Section Choix du Service --- */
#choix-service {
    padding-top: 80px;
    padding-bottom: 80px;
}

.service-choice-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

.service-choice-card h4 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.service-choice-card i {
    font-size: 5rem; /* Ajustez la taille des icônes si besoin */
}

/* Ajustements pour la section processus quand elle est visible */
#processus-commande {
    /* Assurez-vous que le padding est cohérent avec d'autres sections */
    padding-top: 80px;
    padding-bottom: 80px;
    display: none; /* Cachée par défaut, affichée via JS */
}

/* Nouveaux styles pour les boutons de packaging si vous voulez une couleur différente */
.product-card .btn-outline-success {
    border-color: var(--color-brand-success, #28a745); /* Utiliser une variable pour le vert par défaut de Bootstrap */
    color: var(--color-brand-success, #28a745);
}

.product-card .btn-outline-success:hover {
    background-color: var(--color-brand-success, #28a745);
    color: #fff;
}

/* Définition de variables de couleur si non déjà existantes */
:root {
    --color-brand: #007bff; /* Bleu Bootstrap par défaut, ou votre couleur principale */
    --color-brand-dark: #0056b3;
    --color-brand-success: #28a745; /* Vert pour le packaging */
}

/* --- Section Bannière Packaging --- */
#hero-packaging {
    min-height: 500px; /* Ou la hauteur que vous souhaitez */
    background: url('../img/packaging-hero-bg.jpg') no-repeat center center; /* Remplacez par une image de fond pertinente */
    background-size: cover;
    position: relative;
    color: #fff;
}

#hero-packaging .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay sombre pour le contraste */
    z-index: 0;
}

#hero-packaging h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero-packaging p {
    font-size: 1.3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Utiliser la couleur .btn-success de Bootstrap pour le bouton principal du packaging */
#hero-packaging .btn-success {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#hero-packaging .btn-success:hover {
    background-color: var(--bs-success-dark, #1e7e34); /* Une nuance de vert plus foncée */
    border-color: var(--bs-success-dark, #1e7e34);
    transform: translateY(-3px);
}

/* --- Section Principale du Processus de Commande pour le Packaging --- */
#processus-commande-packaging {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Indicateur d'étapes pour le packaging (utilisant des IDs spécifiques) */
.progress-steps {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    background-color: #e9ecef;
    border-radius: 10px;
    padding: 15px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-steps .step {
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
    margin: 0 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.progress-steps .step.active {
    background-color: var(--bs-success); /* Vert Bootstrap */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* Cartes produits - styles partagés mais avec une couleur de bouton spécifique */
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    border-color: var(--bs-success); /* Bordure verte au survol */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-card.selected-product {
    border: 2px solid var(--bs-success); /* Bordure verte pour la sélection */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.product-card img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 15px;
}

/* Style de bouton spécifique aux produits de packaging */
.product-card .btn-outline-success {
    border-color: var(--bs-success);
    color: var(--bs-success);
}

.product-card .btn-outline-success:hover {
    background-color: var(--bs-success);
    color: #fff;
}

/* Aperçu du produit (mock-up) pour le packaging */
.product-viewer {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#packaging-mockup {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

.mockup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.mockup-overlay .design-preview {
    max-width: 60%; /* Ajustez selon les besoins */
    max-height: 60%;
    object-fit: contain;
    opacity: 0.8;
}

.mockup-overlay .text-overlay {
    position: absolute;
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.7);
    padding: 5px;
    pointer-events: none;
}

/* Carte récapitulative */
.summary-card {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

/* --- Section Pourquoi Choisir Mistertic Packaging --- */
#why-mistertic-packaging {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #fff;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-box i {
    font-size: 4rem;
    color: var(--bs-success); /* Utiliser le vert Bootstrap pour les icônes */
    margin-bottom: 15px;
}

/* --- Section FAQ pour le Packaging --- */
#faq-packaging {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

/* Media Queries pour le responsive */
@media (max-width: 767px) {
    #hero-packaging h1 {
        font-size: 2.5rem;
    }
    #hero-packaging p {
        font-size: 1rem;
    }
    .progress-steps {
        flex-direction: column;
    }
    .progress-steps .step {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .product-viewer {
        min-height: 250px;
    }
}

/* Variables de couleur Bootstrap (assurez-vous qu'elles sont définies dans votre CSS principal si ce n'est pas déjà fait) */
:root {
    --bs-primary: #007bff; /* Exemple de couleur primaire Bootstrap par défaut */
    --bs-success: #28a745; /* Vert succès de Bootstrap */
    --bs-success-dark: #1e7e34; /* Vert plus foncé pour le survol */
    /* Ajoutez d'autres variables de couleur Bootstrap si nécessaire */
}


@media (max-width: 576px) {
    .top-nav {
        text-align: center;
    }
    .top-nav p {
        display: block;
        margin-right: 0;
        margin-bottom: 3px;
    }
    .hero-slider .owl-nav button {
        width: 30px;
        height: 30px;
        font-size: 1.2em !important;
    }
    .hero-slider .owl-nav .owl-prev { left: 5px; }
    .hero-slider .owl-nav .owl-next { right: 5px; }

    .process-step {
        flex-basis: calc(100% - 20px); /* 1 colonne sur petits mobiles */
        max-width: 300px;
    }
    #milestone .display-4,
    #milestone .display-5 {
        font-size: 2.5rem; /* Ajuster la taille des titres sur mobile */
    }
    #milestone .icon-large {
        font-size: 2.5rem;
    }
}