/* Fichier : css/style.css */

/* --- Variables de couleurs et typographie globales --- */
:root {
    --couleur-rouge: #E30613;
    /* Un rouge dynamique, à ajuster selon votre logo exact */
    --couleur-noir: #1A1A1A;
    /* Noir profond élégant */
    --couleur-blanc: #FFFFFF;
    --police-principale: 'Montserrat', sans-serif;
    /* Police moderne et claire */
}

/* --- Reset basique pour éviter les marges par défaut des navigateurs --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--police-principale);
    /* On ajoute un espace en haut du body pour que le header fixe ne cache pas le contenu */
    padding-top: 80px;
}

/* --- Styles de l'En-tête (Header) --- */
.main-header {
    position: fixed;
    /* Rend le header fixe au scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--couleur-blanc);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1100;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    /* Largeur maximale pour les grands écrans */
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    /* Espace le logo, le menu et le bouton */
    align-items: center;
}

/* --- Logo --- */
.logo-img {
    max-height: 55px;
    /* Ajustez cette valeur selon la taille réelle de votre logo.png */
    width: auto;
    display: block;
}

/* --- Menu de Navigation --- */
.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
    /* Espace entre chaque lien du menu */
}

.nav-link {
    text-decoration: none;
    color: var(--couleur-noir);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

/* Animation au survol : ligne rouge qui s'étire en dessous */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--couleur-rouge);
    transition: width 0.3s ease;
    /* Rend l'étirement fluide */
}

.nav-link:hover {
    color: var(--couleur-rouge);
    /* Le texte devient rouge au survol */
}

.nav-link:hover::after {
    width: 100%;
    /* La ligne prend toute la largeur du mot */
}

/* --- Bouton "Nous contacter" --- */
.btn-contact {
    display: inline-block;
    background-color: var(--couleur-rouge);
    color: var(--couleur-blanc);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    /* Transition douce pour toutes les animations */
}

/* Animation du bouton au survol */
.btn-contact:hover {
    background-color: var(--couleur-noir);
    /* Passe au noir élégant */
    transform: translateY(-2px);
    /* Soulève légèrement le bouton vers le haut */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Ajoute une ombre en dessous */
}



/* --- Styles Communs et Utilitaires --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 80px 0;
}

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

.text-rouge {
    color: var(--couleur-rouge);
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--couleur-rouge);
    margin: 20px auto;
}

/* --- Boutons --- */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--couleur-rouge);
    color: var(--couleur-blanc);
}

.btn-primary:hover {
    background-color: var(--couleur-noir);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--couleur-blanc);
    border: 2px solid var(--couleur-blanc);
}

.btn-secondary:hover {
    background-color: var(--couleur-blanc);
    color: var(--couleur-noir);
    transform: translateY(-3px);
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--couleur-noir);
}

/* Chaque slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Couche fond (pour l'effet Ken Burns) */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
}

.hero-slide.active .hero-slide-bg {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/* Fond dégradé pour le slide 3 */
.slide-bg-brand {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D0A0A 55%, #E30613 100%);
}

/* Voile sombre */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

/* Contenu de la slide */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--couleur-blanc);
    max-width: 860px;
    padding: 0 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Étiquette de la slide */
.hero-label {
    display: inline-block;
    background: var(--couleur-rouge);
    color: var(--couleur-blanc);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 7px 22px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Flèches de navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: var(--couleur-blanc);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.slider-arrow:hover {
    background: var(--couleur-rouge);
    border-color: var(--couleur-rouge);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}

/* Points de navigation */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--couleur-rouge);
    border-color: var(--couleur-rouge);
    transform: scale(1.35);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8);
}

/* Barre de progression */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: var(--couleur-rouge);
    width: 0%;
}

/* --- Section Introduction --- */
.intro-section h2 {
    font-size: 32px;
    color: var(--couleur-noir);
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Section Services --- */
.services-section {
    background-color: #F9F9F9;
    /* Fond très légèrement gris pour détacher la section */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--couleur-blanc);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    /* La carte se soulève au survol */
}

.service-img-box {
    height: 250px;
    overflow: hidden;
    background-color: #333;
    /* Couleur de secours si l'image ne charge pas */
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
    /* L'image zoome légèrement au survol */
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--couleur-noir);
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.link-arrow {
    color: var(--couleur-rouge);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

.link-arrow:hover {
    color: var(--couleur-noir);
}

/* --- Section Points Forts --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: var(--couleur-noir);
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* --- Bannière de fin (CTA) --- */
.cta-section {
    background-color: var(--couleur-rouge);
    color: var(--couleur-blanc);
    padding: 70px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-white {
    background-color: var(--couleur-blanc);
    color: var(--couleur-rouge);
}

.btn-white:hover {
    background-color: var(--couleur-noir);
    color: var(--couleur-blanc);
}

/* --- Styles du Pied de Page (Footer) --- */
.main-footer {
    background-color: var(--couleur-noir);
    color: var(--couleur-blanc);
    padding: 60px 0 0 0;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #CCC;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--couleur-rouge);
}

.footer-links,
.footer-contact-info {
    list-style: none;
}

.footer-links li,
.footer-contact-info li {
    margin-bottom: 15px;
    color: #CCC;
}

.footer-links a,
.footer-contact-info a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact-info a:hover {
    color: var(--couleur-rouge);
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 14px;
}

/* --- Responsive Design --- */

@media (max-width: 992px) {
    .header-container {
        padding: 0 15px;
    }

    .nav-list {
        gap: 20px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }

    .main-header {
        height: auto;
        padding: 0;
        display: block; /* Fix: prevents flex vertical centering bug when height is auto */
    }

    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 12px 15px;
        position: relative;
    }

    /* Header-action desktop buttons: hide on mobile, catalogue added via JS to nav */
    .header-action {
        display: none !important;
    }

    .main-nav {
        flex: 0 0 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: var(--couleur-blanc);
        border-top: 1px solid #F0F0F0;
    }

    .main-nav.nav-open {
        max-height: 600px;
    }
    
    .hamburger-btn {
        display: flex !important;
        position: absolute !important;
        right: 15px;
        top: 20px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        min-width: unset;
        margin: 0;
        padding: 8px 0;
    }

    .nav-link {
        display: block;
        padding: 13px 20px;
        border-bottom: 1px solid #F5F5F5;
        font-size: 15px;
    }

    .logo-img {
        max-height: 45px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .hero-slider {
        height: 78vh;
        min-height: 480px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .hero-label {
        font-size: 10px;
        padding: 5px 14px;
        letter-spacing: 2px;
    }

    .intro-section h2 {
        font-size: 26px;
    }

    .intro-text {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-section h2 {
        font-size: 26px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}

/* Accessibilité: style focus */
a:focus,
button:focus {
    outline: 2px dashed var(--couleur-rouge);
    outline-offset: 3px;
}

/* ===================================================
   NOUVEAUX STYLES — AMÉLIORATIONS
   =================================================== */

/* --- Bouton Hamburger --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    z-index: 999; /* Ensure it stays above other elements */
    position: relative; /* Needed for z-index to take effect */
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--couleur-noir);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Lien actif dans la navigation --- */
.nav-link.active {
    color: var(--couleur-rouge) !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Items CTA dans le menu mobile */
.nav-cta-item {
    background-color: #f9f9f9;
}

.nav-cta-catalogue {
    color: var(--couleur-noir) !important;
    font-weight: 700 !important;
}

.nav-cta-contact {
    background-color: var(--couleur-rouge);
    color: white !important;
    text-align: center;
    margin: 10px 20px;
    border-radius: 4px;
    border-bottom: none !important;
}

body.lock-scroll {
    overflow: hidden;
}

/* --- Bannière des sous-pages --- */
.page-banner {
    background: linear-gradient(135deg, var(--couleur-noir) 0%, #2D2D2D 100%);
    color: var(--couleur-blanc);
    padding: 60px 0;
    text-align: center;
    border-bottom: 4px solid var(--couleur-rouge);
}

.page-banner h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-banner h1 span {
    color: var(--couleur-rouge);
}

.page-banner p {
    font-size: 17px;
    color: #CCC;
    margin: 0;
}

/* --- Bouton WhatsApp flottant --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.65);
}

/* --- Bouton retour en haut --- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 44px;
    height: 44px;
    background-color: var(--couleur-rouge);
    color: var(--couleur-blanc);
    border: none;
    border-radius: 4px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--couleur-noir);
    transform: translateY(-3px);
}

/* --- Page À Propos --- */
.about-intro p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 17px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.mv-card {
    background: #F9F9F9;
    border-left: 4px solid var(--couleur-rouge);
    border-radius: 6px;
    padding: 30px;
}

.mv-card h3 {
    font-size: 22px;
    color: var(--couleur-rouge);
    margin-bottom: 15px;
}

.mv-card p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.mv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv-card ul li {
    padding: 9px 0;
    color: #555;
    font-size: 16px;
    border-bottom: 1px solid #E8E8E8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-card ul li:last-child {
    border-bottom: none;
}

.mv-card ul li::before {
    content: '\2714';
    color: var(--couleur-rouge);
    font-weight: 700;
    flex-shrink: 0;
}

.points-forts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.point-fort-item {
    background: var(--couleur-blanc);
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-left: 3px solid var(--couleur-rouge);
}

.point-fort-item .pf-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.point-fort-item p {
    color: #444;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.clientele-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.clientele-item {
    background: var(--couleur-blanc);
    border-radius: 8px;
    padding: 22px 15px;
    text-align: center;
    font-weight: 600;
    color: var(--couleur-noir);
    font-size: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.clientele-item .cli-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.section-bg-light {
    background: #F9F9F9;
}

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

.pourquoi-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* --- Pages Imprimerie & Communication --- */
.service-category {
    margin-bottom: 55px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
}

.service-category-icon {
    width: 50px;
    height: 50px;
    background-color: var(--couleur-rouge);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.service-category-header h3 {
    font-size: 24px;
    color: var(--couleur-noir);
    margin: 0;
}

.service-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.service-item-tag {
    background: #F9F9F9;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid var(--couleur-rouge);
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-item-tag:hover {
    background: #EDEDED;
    transform: translateX(3px);
}

.service-item-tag::before {
    content: '\2192';
    color: var(--couleur-rouge);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Page Réalisations --- */
.gallery-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--couleur-rouge);
    background: none;
    color: var(--couleur-rouge);
    border-radius: 30px;
    font-family: var(--police-principale);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--couleur-rouge);
    color: var(--couleur-blanc);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    background: var(--couleur-blanc);
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-img-box {
    height: 220px;
    background: linear-gradient(135deg, #E30613 0%, #1A1A1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    font-size: 52px;
    opacity: 0.35;
}

.gallery-info {
    padding: 18px;
}

.gallery-info h4 {
    font-size: 16px;
    color: var(--couleur-noir);
    margin-bottom: 5px;
}

.gallery-info span {
    font-size: 12px;
    color: var(--couleur-rouge);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* --- Section Stats (chiffres clés) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 55px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
}

.stat-item {
    background: var(--couleur-blanc);
    padding: 35px 20px;
    text-align: center;
    border-right: 1px solid #F0F0F0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--couleur-rouge);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--couleur-rouge);
    line-height: 1;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--couleur-blanc);
}

.stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Section Processus --- */
.process-section {
    background: #F9F9F9;
}

.process-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 55px;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 35px 25px;
    background: var(--couleur-blanc);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.11);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--couleur-rouge);
    color: var(--couleur-blanc);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 5px 18px rgba(227, 6, 19, 0.35);
}

.process-step h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--couleur-noir);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

.process-connector {
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--couleur-rouge), #FF6B7A);
    align-self: center;
    margin-top: -30px;
    opacity: 0.5;
    position: relative;
    z-index: 0;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #FF6B7A;
}

/* --- CTA double boutons --- */
.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-secondary-light {
    background-color: transparent;
    color: var(--couleur-blanc);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary-light:hover {
    background-color: var(--couleur-blanc);
    color: var(--couleur-rouge);
    border-color: var(--couleur-blanc);
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .page-banner p {
        font-size: 15px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .back-to-top {
        bottom: 83px;
        right: 22px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .service-items-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 32px;
    }

    .process-grid {
        flex-direction: column;
        gap: 20px;
    }

    .process-connector {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
}

/* ===================================================
   ANIMATIONS
   =================================================== */

/* --- Header : rétrécissement au scroll --- */
.main-header {
    transition: height 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.main-header.scrolled {
    height: 62px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.13);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .main-header.scrolled {
        height: auto;
    }
}

.main-header.scrolled .logo-img {
    max-height: 42px;
    transition: max-height 0.35s ease;
}

/* --- Divider : reveal animé --- */
.divider {
    transform-origin: center;
    transform: scaleX(0);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.divider.visible {
    transform: scaleX(1);
}

/* --- Feature items : hover enrichi --- */
.feature-item {
    padding: 30px 20px;
    border-radius: 12px;
    border-top: 3px solid transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    background: var(--couleur-blanc);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
    border-top-color: var(--couleur-rouge);
    transform: translateY(-6px);
}

.feature-icon {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.3) rotate(-8deg);
}

/* --- Service cards : accent top border au hover --- */
.service-card {
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    border-top-color: var(--couleur-rouge);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

/* --- CTA : pulse sur le bouton principal --- */
@keyframes pulseRouge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }

    60% {
        box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
    }
}

.cta-section .btn-primary {
    animation: pulseRouge 2.8s ease infinite;
}

/* --- Chiffres clés : pop quand compteur terminé --- */
@keyframes statPop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

.stat-number.counted {
    animation: statPop 0.4s ease-out;
}

/* --- Process : numéro bounce au hover --- */
.process-step:hover .process-number {
    animation: statPop 0.4s ease-out;
}

/* --- Hero label : flottement subtil --- */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

.hero-slide.active .hero-label {
    animation: heroFloat 3s ease-in-out infinite 1s;
}

/* --- Boutons : effet ripple au clic --- */
.btn-primary,
.btn-secondary,
.btn-contact {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.btn-contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn-primary:active::after,
.btn-secondary:active::after,
.btn-contact:active::after {
    opacity: 1;
}

/* ===================================================
   SERVICES ZIGZAG — PAGE D'ACCUEIL
   =================================================== */

.services-section {
    background-color: #F8F8F6;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

.services-zigzag {
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin-top: 70px;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 70px;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

/* --- Texte --- */
.sb-text {
    flex: 1;
}

.sb-number {
    display: block;
    font-size: 72px;
    font-weight: 800;
    color: rgba(227, 6, 19, 0.07);
    line-height: 1;
    margin-bottom: -8px;
    letter-spacing: -3px;
}

.sb-tag {
    display: inline-block;
    background: rgba(227, 6, 19, 0.09);
    color: var(--couleur-rouge);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.sb-text h3 {
    font-size: 30px;
    font-weight: 800;
    color: var(--couleur-noir);
    margin-bottom: 18px;
    line-height: 1.2;
}

.sb-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 28px;
}

/* --- Lien animé avec flèche --- */
.sb-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--couleur-rouge);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    border-bottom: 2px solid var(--couleur-rouge);
    padding-bottom: 4px;
    transition: gap 0.35s ease, letter-spacing 0.35s ease;
}

.sb-link::after {
    content: '\2192';
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sb-link:hover {
    gap: 10px;
    letter-spacing: 1.8px;
}

.sb-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* --- Image --- */
.sb-image {
    flex: 0 0 48%;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
    min-height: 360px;
}

.sb-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    filter: saturate(0.7) brightness(0.92);
    transition: filter 0.6s ease, transform 0.6s ease;
    will-change: transform;
}

.service-block:hover .sb-img {
    filter: saturate(1.05) brightness(1);
}

/* --- Responsive zigzag --- */
@media (max-width: 900px) {
    .services-zigzag {
        gap: 55px;
        margin-top: 45px;
    }

    .service-block,
    .service-block.reverse {
        flex-direction: column;
        gap: 28px;
    }

    .sb-image {
        flex: none;
        width: 100%;
        min-height: auto;
    }

    .sb-img {
        height: 250px;
    }

    .sb-number {
        font-size: 48px;
    }

    .sb-text h3 {
        font-size: 24px;
    }

    .sb-text p {
        font-size: 15px;
    }
}

/* ====================================================
   BOUTON CATALOGUE — HEADER DARK
   ==================================================== */
.header-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-catalogue {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 11px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-catalogue svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-catalogue:hover {
    background-color: #2D2D2D;
    border-color: var(--couleur-rouge);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-catalogue:hover svg {
    transform: translateY(2px);
}

@media (max-width: 1100px) {
    .btn-catalogue {
        padding: 9px 14px;
        font-size: 12px;
    }

    .btn-catalogue .cat-label {
        display: none;
    }
}

/* ====================================================
   SECTION SERVICES DARK — PREMIUM CARDS REDESIGN
   ==================================================== */

/* Supprime l'ancien style zigzag sur index (remplacé) */
.services-dark-section {
    background: #0D0D0D;
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
}

/* Grille de points en fond */
.services-dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Lueur rouge décorative en haut à droite */
.services-dark-section::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.services-dark-section .container {
    position: relative;
    z-index: 1;
}

/* En-tête de la section dark */
.svc-header {
    text-align: center;
    margin-bottom: 64px;
}

.svc-header .svc-pill {
    display: inline-block;
    background: rgba(227, 6, 19, 0.15);
    color: var(--couleur-rouge);
    border: 1px solid rgba(227, 6, 19, 0.35);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 20px;
    margin-bottom: 20px;
}

.svc-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.15;
}

.svc-header h2 span {
    color: var(--couleur-rouge);
}

.svc-header p {
    font-size: 17px;
    color: #FFFFFF;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Séparateur animé */
.svc-divider {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--couleur-rouge), #FF6B7A);
    margin: 18px auto 0;
    border-radius: 2px;
    transition: width 1s ease 0.3s;
}

.svc-divider.animated {
    width: 70px;
}

/* Grille 2×2 */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Carte individuelle */
.svc-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 36px 36px;
    overflow: hidden;
    cursor: default;
    transition: transform 0.4s cubic-bezier(.22, .68, 0, 1.2),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
    will-change: transform;
}

/* Lueur rouge au hover */
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(227, 6, 19, 0.13) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
    pointer-events: none;
}

/* Trait rouge en haut de la carte */
.svc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--couleur-rouge), #FF6B7A);
    border-radius: 16px 16px 0 0;
    transition: right 0.5s cubic-bezier(.22, .68, 0, 1.2);
}

.svc-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(227, 6, 19, 0.25);
    border-color: rgba(227, 6, 19, 0.3);
    background: rgba(255, 255, 255, 0.055);
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-card:hover::after {
    right: 0;
}

/* Numéro en filigrane */
.svc-bg-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 120px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    transition: color 0.4s ease;
}

.svc-card:hover .svc-bg-number {
    color: rgba(227, 6, 19, 0.06);
}

/* Icône hexagonale */
.svc-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.svc-hexagon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--couleur-rouge) 0%, #FF3347 100%);
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(227, 6, 19, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: svcFloat 4s ease-in-out infinite;
}

.svc-card:hover .svc-hexagon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 32px rgba(227, 6, 19, 0.55);
}

@keyframes svcFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Animation décalée pour chaque carte */
.svc-card:nth-child(1) .svc-hexagon {
    animation-delay: 0s;
}

.svc-card:nth-child(2) .svc-hexagon {
    animation-delay: 0.8s;
}

.svc-card:nth-child(3) .svc-hexagon {
    animation-delay: 1.6s;
}

.svc-card:nth-child(4) .svc-hexagon {
    animation-delay: 2.4s;
}

/* Badge catégorie */
.svc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--couleur-rouge);
    margin-bottom: 10px;
}

/* Titre du service */
.svc-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.svc-card:hover h3 {
    color: #FFFFFF;
}

/* Texte descriptif */
.svc-card p {
    font-size: 14.5px;
    color: #FFFFFF;
    line-height: 1.75;
    margin-bottom: 28px;
    transition: color 0.3s ease;
}

.svc-card:hover p {
    color: #FFFFFF;
}

/* Lien "Découvrir" */
.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--couleur-rouge);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.svc-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.svc-link:hover {
    color: #FF3347;
    gap: 13px;
}

.svc-link:hover::after {
    transform: translateX(4px);
}

/* Séparateur de ligne entre icône et titre */
.svc-line {
    width: 36px;
    height: 2px;
    background: rgba(227, 6, 19, 0.4);
    margin-bottom: 16px;
    border-radius: 2px;
    transition: width 0.4s ease, background 0.4s ease;
}

.svc-card:hover .svc-line {
    width: 56px;
    background: var(--couleur-rouge);
}

/* Bouton CTA bas de section */
.svc-cta-wrap {
    text-align: center;
    margin-top: 60px;
}

.btn-svc-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 38px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s ease;
}

.btn-svc-all::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-svc-all:hover {
    background: var(--couleur-rouge);
    border-color: var(--couleur-rouge);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(227, 6, 19, 0.4);
}

.btn-svc-all:hover::after {
    transform: translateX(5px);
}

/* Shimmer effect on hover for card shine */
@keyframes shimmerSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.svc-card .svc-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 50%,
            transparent 100%);
    pointer-events: none;
}

.svc-card:hover .svc-shimmer {
    animation: shimmerSlide 0.7s ease forwards;
}

/* === RESPONSIVE DARK SERVICES === */
@media (max-width: 900px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .svc-header h2 {
        font-size: 30px;
    }

    .services-dark-section {
        padding: 60px 0 70px;
    }

    .svc-card {
        padding: 30px 24px 28px;
    }

    .svc-bg-number {
        font-size: 80px;
    }
}

@media (max-width: 480px) {
    .svc-header h2 {
        font-size: 24px;
    }

    .svc-hexagon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .svc-icon-wrap {
        width: 52px;
        height: 52px;
    }
}

/* Responsive bouton catalogue — masqué sur mobile, accessible via hamburger nav */
@media (max-width: 768px) {
    .btn-catalogue {
        display: none !important;
    }
}

/* ====================================================
   LIENS CTA DANS LE MENU MOBILE (catalogue + contact)
   ==================================================== */
.nav-cta-item {
    display: none;
    border-top: 1px solid #F0F0F0;
}

@media (max-width: 768px) {
    .nav-cta-item {
        display: list-item;
    }
}

.nav-cta-item:first-of-type {
    margin-top: 6px;
}

.nav-cta-catalogue {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--couleur-noir) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 14px 20px !important;
    background: #F6F6F6;
    transition: background 0.2s ease !important;
}

.nav-cta-catalogue::after {
    display: none !important;
}

.nav-cta-catalogue:hover {
    background: #EDEDED !important;
}

.nav-cta-contact {
    display: block;
    background: var(--couleur-rouge) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 14px 20px !important;
    margin: 8px 14px 12px 14px;
    border-radius: 6px;
    font-size: 14px !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.nav-cta-contact::after {
    display: none !important;
}

.nav-cta-contact:hover {
    background: var(--couleur-noir) !important;
    transform: translateY(-1px);
}

/* ====================================================
   RESPONSIVE DARK CARDS
   ==================================================== */
@media (max-width: 400px) {
    .services-dark-section {
        padding: 50px 0 60px;
    }

    .svc-header {
        margin-bottom: 40px;
    }

    .svc-header h2 {
        font-size: 22px;
    }

    .svc-header p {
        font-size: 14px;
    }

    .svc-card {
        padding: 26px 18px 24px;
    }

    .svc-card h3 {
        font-size: 18px;
    }

    .svc-card p {
        font-size: 13.5px;
    }

    .svc-bg-number {
        font-size: 70px;
        top: -5px;
    }

    .btn-svc-all {
        font-size: 12px;
        padding: 12px 24px;
    }
}

@media (max-width: 768px) {
    .svc-hexagon {
        animation: svcFloatMobile 4s ease-in-out infinite;
    }
}

@keyframes svcFloatMobile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@media (hover: none) {
    .svc-card:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
    }

    .svc-card:hover::before {
        opacity: 0;
    }

    .svc-card:hover::after {
        right: 100%;
    }

    .svc-card:hover .svc-line {
        width: 36px;
        background: rgba(227, 6, 19, 0.4);
    }

    .svc-card:hover h3 {
        color: #FFFFFF;
    }

    .svc-card:hover p {
        color: rgba(255, 255, 255, 0.5);
    }

    .svc-card:hover .svc-shimmer {
        animation: none;
    }

    .svc-card:hover .svc-bg-number {
        color: rgba(255, 255, 255, 0.03);
    }
}

/* ====================================================
   AMÉLIORATION GLOBALE DU DESIGN
   ==================================================== */

html {
    scroll-behavior: smooth;
}

/* Intro section — fond subtil */
.intro-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}

/* Stats — accent au hover */
.stats-grid {
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--couleur-rouge);
    transition: width 0.3s ease;
}

.stat-item:hover::after {
    width: 50%;
}

/* Features — icône en cercle */
.features-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 6, 19, 0.06);
    border-radius: 50%;
    margin-bottom: 18px;
}

/* Process — bordure au hover */
.process-section {
    background: linear-gradient(180deg, #F4F4F4 0%, #FAFAFA 100%);
}

.process-step {
    border-top: 3px solid transparent;
}

.process-step:hover {
    border-top-color: var(--couleur-rouge);
}

/* CTA — dégradé riche */
.cta-section {
    background: linear-gradient(135deg, var(--couleur-rouge) 0%, #B5040F 60%, #8A0310 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer — flèche au hover */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -18px;
    opacity: 0;
    color: var(--couleur-rouge);
    font-weight: 700;
    transition: opacity 0.2s ease, left 0.2s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -16px;
}

.footer-links a:hover {
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Banner — dégradé premium */
.page-banner {
    background: linear-gradient(135deg, var(--couleur-noir) 0%, #222 50%, #2D0A0A 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--couleur-rouge), #FF6B7A, var(--couleur-rouge));
}

/* Sélection de texte */
::selection {
    background: rgba(227, 6, 19, 0.2);
    color: var(--couleur-noir);
}

/* Mobile polish global */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 0 0;
    }

    .footer-container {
        padding: 0 20px;
        gap: 25px;
    }

    .footer-col {
        min-width: 200px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .cta-section p {
        font-size: 15px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-item {
        padding: 22px 15px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

/* ====================================================
   PAGE DÉTAIL SERVICE — PRODUITS ZIGZAG
   ==================================================== */

.svc-detail-intro {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
}

.svc-detail-products {
    padding: 40px 0 80px;
    background: #FAFAFA;
}

/* Bloc produit (zigzag) */
.product-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    background: var(--couleur-blanc);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-block:last-child {
    margin-bottom: 0;
}

.product-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

/* Direction inversée pour le zigzag */
.product-block.reverse {
    flex-direction: row-reverse;
}

/* Zone visuelle (image + numéro) */
.product-visual {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-block:hover .product-img {
    transform: scale(1.04);
}

.product-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-block.reverse .product-number {
    left: auto;
    right: 20px;
}

/* Zone info (texte, specs, cta) */
.product-info {
    flex: 1;
    padding: 50px 50px 50px 10px;
}

.product-block.reverse .product-info {
    padding: 50px 10px 50px 50px;
}

/* Badge catégorie */
.product-badge {
    display: inline-block;
    background: rgba(227, 6, 19, 0.08);
    color: var(--couleur-rouge);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* Titre du produit */
.product-info h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--couleur-noir);
    margin-bottom: 16px;
    line-height: 1.25;
}

.product-info h3 span {
    font-weight: 600;
    color: #555;
}

/* Texte descriptif */
.product-info p {
    color: #555;
    line-height: 1.75;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Spécifications techniques */
.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    border-left: 3px solid var(--couleur-rouge);
    padding-left: 18px;
}

.product-specs li {
    color: #444;
    font-size: 13.5px;
    line-height: 1.7;
    padding: 3px 0;
    position: relative;
}

.product-specs li::before {
    content: '▸';
    color: var(--couleur-rouge);
    font-weight: 700;
    margin-right: 8px;
}

.product-specs li strong {
    color: var(--couleur-noir);
}

/* Bouton CTA */
.product-cta {
    display: inline-block;
    background: var(--couleur-rouge);
    color: var(--couleur-blanc);
    font-size: 13px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-cta:hover {
    background: var(--couleur-noir);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
}

/* ====================================================
   RESPONSIVE — PAGE DÉTAIL SERVICE
   ==================================================== */

@media (max-width: 1024px) {
    .product-block {
        gap: 40px;
    }

    .product-visual {
        flex: 0 0 42%;
        min-height: 340px;
    }

    .product-info {
        padding: 35px 35px 35px 10px;
    }

    .product-block.reverse .product-info {
        padding: 35px 10px 35px 35px;
    }

    .product-info h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .svc-detail-products {
        padding: 30px 0 50px;
    }

    .product-block,
    .product-block.reverse {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
        border-radius: 12px;
    }

    .product-visual {
        flex: none;
        width: 100%;
        min-height: 240px;
        max-height: 280px;
    }

    .product-number {
        font-size: 60px;
        top: 14px;
        left: 14px;
    }

    .product-block.reverse .product-number {
        left: 14px;
        right: auto;
    }

    .product-info,
    .product-block.reverse .product-info {
        padding: 28px 22px;
    }

    .product-info h3 {
        font-size: 20px;
    }

    .product-info p {
        font-size: 14px;
    }

    .product-specs {
        margin-bottom: 20px;
    }

    .product-specs li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-visual {
        min-height: 200px;
        max-height: 230px;
    }

    .product-info,
    .product-block.reverse .product-info {
        padding: 22px 16px;
    }

    .product-info h3 {
        font-size: 18px;
    }

    .product-cta {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}

/* ====================================================
   EFFET LÉVITATION — PAGE OFFSET & DÉTAILS
   ==================================================== */

/* Fond distinct pour la page offset */
.offset-products {
    background: linear-gradient(180deg, #F5F5F5 0%, #EEEEEE 50%, #F5F5F5 100%);
}

/* Lévitation : ombre douce qui grandit au hover */
.product-levitate .product-visual {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.product-levitate:hover .product-visual {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.product-levitate .product-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-levitate:hover .product-img {
    transform: scale(1.05);
}

/* Ligne rouge décorative sur le bord de l'image */
.product-levitate .product-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--couleur-rouge), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-levitate.reverse .product-visual::after {
    background: linear-gradient(90deg, transparent, var(--couleur-rouge));
}

.product-levitate:hover .product-visual::after {
    opacity: 1;
}

/* ====================================================
   PAGE GADGETS — GALERIE MASONRY
   ==================================================== */

.gadgets-intro {
    background: #FCFCFC;
}

.gadgets-gallery {
    padding: 20px 0 80px;
    background: #FCFCFC;
}

/* Grille Masonry CSS */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 260px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #E8E8E8;
}

/* Variantes de taille */
.masonry-tall {
    grid-row: span 2;
}

.masonry-wide {
    grid-column: span 2;
}

/* Image */
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Filtre monochrome → couleur au hover */
    filter: saturate(0.3) brightness(0.95);
    transition: filter 0.5s ease, transform 0.45s ease;
}

.masonry-item:hover img {
    filter: saturate(1) brightness(1);
    transform: scale(1.05);
}

/* Overlay label */
.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.masonry-item:hover .masonry-overlay {
    transform: translateY(0);
}

.masonry-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Bordure rouge indicatrice */
.masonry-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--couleur-rouge);
    transition: width 0.4s ease;
}

.masonry-item:hover::after {
    width: 100%;
}

/* ====================================================
   LIGHTBOX
   ==================================================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    animation: lbFadeIn 0.3s ease;
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    animation: lbZoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lbZoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--couleur-rouge);
}

/* ====================================================
   RESPONSIVE GADGETS — MASONRY
   ==================================================== */

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: 200px;
    }

    .masonry-wide {
        grid-column: span 2;
    }

    .masonry-tall {
        grid-row: span 2;
    }

    .gadgets-gallery {
        padding: 15px 0 50px;
    }

    .masonry-overlay {
        transform: translateY(0);
        padding: 12px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    }

    .masonry-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
        gap: 8px;
    }

    .masonry-wide {
        grid-column: span 1;
    }

    .masonry-tall {
        grid-row: span 1;
    }
}

/* ====================================================
   PAGE PACKAGING — THÈME SOMBRE PREMIUM
   ==================================================== */

.pkg-intro {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F0F0 100%);
}

.pkg-showcase {
    background: #1A1A1A;
    padding: 60px 0 80px;
}

/* Grille héro : 1 grande + 2 petites empilées */
.pkg-grid-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    min-height: 520px;
}

.pkg-hero-main {
    grid-row: 1 / 3;
}

/* Ligne trio : 3 colonnes égales */
.pkg-grid-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    min-height: 300px;
}

/* Carte packaging */
.pkg-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #222;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* Prêt pour le tilt JS */
    transform-style: preserve-3d;
}

.pkg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.pkg-card:hover img {
    transform: scale(1.06);
}

/* Overlay flottant (texte caché → visible au hover) */
.pkg-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pkg-card:hover .pkg-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.pkg-card-tag {
    display: inline-block;
    background: var(--couleur-rouge);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    width: fit-content;
}

.pkg-card-overlay h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pkg-card-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

/* Bordure lumineuse au hover */
.pkg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.35s ease;
    z-index: 2;
    pointer-events: none;
}

.pkg-card:hover::before {
    border-color: rgba(227, 6, 19, 0.5);
}

/* ====================================================
   RESPONSIVE PACKAGING
   ==================================================== */

@media (max-width: 768px) {
    .pkg-showcase {
        padding: 40px 0 50px;
    }

    .pkg-grid-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
        gap: 14px;
    }

    .pkg-hero-main {
        grid-row: auto;
        min-height: 280px;
    }

    .pkg-hero-side {
        min-height: 200px;
    }

    .pkg-grid-trio {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 14px;
    }

    .pkg-grid-trio .pkg-card {
        min-height: 220px;
    }

    .pkg-card-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 18px;
    }

    .pkg-card-overlay h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pkg-hero-main {
        min-height: 230px;
    }

    .pkg-hero-side {
        min-height: 170px;
    }

    .pkg-grid-trio .pkg-card {
        min-height: 180px;
    }

    .pkg-card-overlay {
        padding: 14px;
    }

    .pkg-card-overlay h3 {
        font-size: 14px;
    }

    .pkg-card-tag {
        font-size: 9px;
    }
}

/* ====================================================
   PAGE HUB SERVICES — 4 CATÉGORIES
   ==================================================== */

/* Shared category section */
.hub-cat {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Category header (numéro + titre) */
.hub-cat-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 50px;
}

.hub-cat-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    color: rgba(227, 6, 19, 0.12);
    flex-shrink: 0;
    margin-top: -8px;
}

.hub-cat-header h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--couleur-noir);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hub-cat-header h2 span {
    font-weight: 600;
    color: #666;
}

.hub-cat-header p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
}

/* Light text variant for dark backgrounds */
.hub-cat-header-light h2 {
    color: #FFFFFF;
}

.hub-cat-header-light h2 span {
    color: rgba(255, 255, 255, 0.6);
}

.hub-cat-header-light p {
    color: rgba(255, 255, 255, 0.55);
}

.hub-cat-header-light .hub-cat-number {
    color: rgba(227, 6, 19, 0.3);
}

/* CTA button per category */
.hub-cat-action {
    text-align: center;
    margin-top: 44px;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.hub-btn svg {
    transition: transform 0.3s ease;
}

.hub-btn:hover svg {
    transform: translateX(4px);
}

/* ====================================================
   CAT 1 — NUMÉRIQUE (fond clair)
   ==================================================== */

.hub-numerique {
    background: linear-gradient(180deg, #F8F8F8 0%, #FFFFFF 100%);
}

.hub-btn-num {
    background: var(--couleur-rouge);
    color: #FFFFFF;
}

.hub-btn-num:hover {
    background: var(--couleur-noir);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.15);
}

/* Preview cards row */
.hub-preview-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hub-preview-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.hub-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-top-color: var(--couleur-rouge);
}

.hub-preview-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hub-preview-card:hover img {
    transform: scale(1.05);
}

.hub-preview-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--couleur-noir);
    margin: 14px 0 4px;
    padding: 0 12px;
}

.hub-preview-card p {
    font-size: 13px;
    color: #888;
    padding: 0 12px 16px;
}

/* ====================================================
   CAT 2 — OFFSET (fond sombre)
   ==================================================== */

.hub-offset {
    background: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 50%, #1E1E1E 100%);
}

.hub-btn-offset {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hub-btn-offset:hover {
    background: #FFFFFF;
    color: var(--couleur-noir);
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* Offset showcase grid */
.hub-offset-showcase {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 20px;
    min-height: 380px;
}

.hub-offset-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #333;
}

.hub-offset-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hub-offset-hero:hover img {
    transform: scale(1.04);
}

.hub-offset-hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent);
}

.hub-offset-hero-label span {
    display: block;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.hub-offset-hero-label small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Side mini cards */
.hub-offset-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hub-offset-mini {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #333;
}

.hub-offset-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hub-offset-mini:hover img {
    transform: scale(1.06);
}

.hub-offset-mini span {
    position: absolute;
    bottom: 10px;
    left: 12px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ====================================================
   CAT 3 — GADGETS (fond chaud clair)
   ==================================================== */

.hub-gadgets {
    background: linear-gradient(180deg, #FDF8F5 0%, #F9F3EE 50%, #FFFFFF 100%);
}

.hub-btn-gad {
    background: var(--couleur-noir);
    color: #FFFFFF;
}

.hub-btn-gad:hover {
    background: var(--couleur-rouge);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 6, 19, 0.2);
}

/* Mosaic grid */
.hub-gadgets-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.hub-gad-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #E5E0DC;
    min-height: 200px;
}

.hub-gad-lg {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 416px;
}

.hub-gad-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.4);
    transition: filter 0.45s ease, transform 0.45s ease;
}

.hub-gad-item:hover img {
    filter: saturate(1);
    transform: scale(1.05);
}

.hub-gad-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, transparent);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.hub-gad-item:hover .hub-gad-label {
    transform: translateY(0);
}

/* ====================================================
   CAT 4 — PACKAGING (fond noir)
   ==================================================== */

.hub-packaging {
    background: #0D0D0D;
}

.hub-btn-pkg {
    background: var(--couleur-rouge);
    color: #FFFFFF;
}

.hub-btn-pkg:hover {
    background: #FFFFFF;
    color: var(--couleur-noir);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

/* Immersive 3-column */
.hub-pkg-immersive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hub-pkg-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 340px;
    background: #1A1A1A;
    cursor: pointer;
}

.hub-pkg-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hub-pkg-card:hover img {
    transform: scale(1.06);
}

.hub-pkg-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%, transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hub-pkg-card:hover .hub-pkg-overlay {
    opacity: 1;
    transform: translateY(0);
}

.hub-pkg-tag {
    display: inline-block;
    background: var(--couleur-rouge);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    width: fit-content;
}

.hub-pkg-overlay h3 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 800;
}

/* Red glow border on hover */
.hub-pkg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.35s ease;
    z-index: 2;
    pointer-events: none;
}

.hub-pkg-card:hover::before {
    border-color: rgba(227, 6, 19, 0.45);
}

/* ====================================================
   RESPONSIVE — HUB SERVICES
   ==================================================== */

@media (max-width: 1024px) {
    .hub-preview-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hub-offset-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .hub-gadgets-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .hub-gad-lg {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .hub-cat {
        padding: 50px 0;
    }

    .hub-cat-header {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hub-cat-number {
        font-size: 48px;
    }

    .hub-cat-header h2 {
        font-size: 22px;
    }

    .hub-cat-header p {
        font-size: 14px;
    }

    .hub-preview-row {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .hub-preview-card img {
        height: 140px;
    }

    .hub-offset-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hub-offset-hero {
        min-height: 240px;
    }

    .hub-offset-side {
        flex-direction: row;
    }

    .hub-offset-mini {
        min-height: 140px;
    }

    .hub-gadgets-mosaic {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hub-gad-lg {
        min-height: 200px;
    }

    .hub-gad-item {
        min-height: 150px;
    }

    .hub-gad-label {
        transform: translateY(0);
        padding: 10px 12px;
        font-size: 11px;
    }

    .hub-pkg-immersive {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hub-pkg-card {
        min-height: 220px;
    }

    .hub-pkg-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 16px;
    }

    .hub-cat-action {
        margin-top: 30px;
    }

    .hub-btn {
        padding: 12px 26px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hub-preview-row {
        grid-template-columns: 1fr;
    }

    .hub-preview-card img {
        height: 170px;
    }

    .hub-offset-side {
        flex-direction: column;
    }

    .hub-gadgets-mosaic {
        grid-template-columns: 1fr;
    }

    .hub-gad-lg {
        grid-column: span 1;
        min-height: 200px;
    }

    .hub-gad-item {
        min-height: 180px;
    }
}

/* ====================================================
   PAGE CONTACT
   ==================================================== */

.ct-section {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F6 100%);
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* --- Colonne Info --- */
.ct-info-col h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--couleur-noir);
    margin-bottom: 12px;
}

.ct-intro {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Carte info */
.ct-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #FFFFFF;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.ct-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 6, 19, 0.07);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--couleur-rouge);
}

.ct-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--couleur-noir);
    margin-bottom: 4px;
}

.ct-card p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.ct-card a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ct-card a:hover {
    color: var(--couleur-rouge);
}

/* --- Bouton WhatsApp inline --- */
.ct-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.ct-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

/* --- Colonne Formulaire --- */
.ct-form-wrapper {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
    border-top: 4px solid var(--couleur-rouge);
}

.ct-form-wrapper h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--couleur-noir);
    margin-bottom: 6px;
}

.ct-form-wrapper>p {
    color: #888;
    font-size: 14px;
    margin-bottom: 28px;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ct-field {
    display: flex;
    flex-direction: column;
}

.ct-field label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    padding: 13px 16px;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--couleur-noir);
    background: #FAFAFA;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--couleur-rouge);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    background: #FFFFFF;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #BBB;
}

.ct-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.ct-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Bouton submit */
.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--couleur-rouge);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-submit:hover {
    background: var(--couleur-noir);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
}

/* Message de succès */
.ct-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 30px 0;
    animation: ctSuccessFade 0.5s ease;
}

@keyframes ctSuccessFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ct-success h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--couleur-noir);
}

.ct-success p {
    color: #666;
    font-size: 14px;
    max-width: 340px;
}

/* --- WhatsApp flottant --- */
.ct-wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: ctWaPulse 2.5s ease-in-out infinite;
}

.ct-wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes ctWaPulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.15), 0 0 0 12px rgba(37, 211, 102, 0.08);
    }
}

/* ====================================================
   RESPONSIVE CONTACT
   ==================================================== */

@media (max-width: 768px) {
    .ct-section {
        padding: 40px 0 60px;
    }

    .ct-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-info-col h2 {
        font-size: 22px;
    }

    .ct-form-wrapper {
        padding: 28px 20px;
    }

    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .ct-wa-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .ct-form-wrapper {
        padding: 22px 16px;
    }

    .ct-form-wrapper h3 {
        font-size: 18px;
    }

    .ct-submit {
        width: 100%;
    }
}

/* --- Styles de la Galerie Portfolio --- */
.portfolio-section {
    padding-bottom: 80px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-color: #f0f0f0;
    aspect-ratio: 4/5;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 6, 19, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.plus-icon {
    color: white;
    font-size: 40px;
    font-weight: 300;
    border: 1px solid white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .plus-icon {
    transform: translateY(0);
}

/* --- Lightbox Moderne --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    height: 85%;
    max-width: 1200px;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.lightbox-slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.lightbox-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Boutons Lightbox */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--couleur-rouge);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--couleur-rouge);
    border-color: var(--couleur-rouge);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Responsive Galerie */
@media (max-width: 992px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox-nav { width: 50px; height: 50px; }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
}

@media (max-width: 576px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .lightbox-nav { display: none; }
    .lightbox-content { width: 100%; height: 70%; }
    .lightbox-close { top: 20px; right: 20px; font-size: 35px; }
}

/* --- Section Partenaires (Ils nous font confiance) --- */
.clients-section {
    background-color: #fdfdfd;
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.clients-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

/* Le conteneur qui défile */
.clients-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

/* Style de chaque logo */
.client-logo {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.15);
}

/* Animation de défilement infini */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7)); /* Se déplace de la largeur de la liste originale */
    }
}

/* Pause au survol du slider */
.clients-track:hover {
    animation-play-state: paused;
}

/* Responsive Partenaires */
@media (max-width: 768px) {
    .client-logo {
        width: 180px;
        padding: 0 20px;
    }
    .clients-track {
        animation: marqueeMobile 20s linear infinite;
    }
    @keyframes marqueeMobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 7)); }
    }
}
