/*
Theme Name: NordSud Child
Theme URI: https://nord-sud-technology.com
Description: Thème enfant fidèle au design original Nord Sud Technology Services
Author: Développeur NSTS
Template: astra
Version: 1.0.0
Text Domain: nordsud-child
*/

/* ============================================
   IMPORT GOOGLE FONTS (identiques à l'original)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,700&family=Oswald:wght@300;400;500;600;700&display=swap');

/* ============================================
   VARIABLES CSS (couleurs du site original)
   ============================================ */
:root {
    --rouge-principal: #a71642;
    --rouge-hover: #a71641;
    --rouge-clair: #ff4b64;
    --footer-bg: #28343c;
    --footer-texte: #d5dfed;
    --footer-copyright: #888e96;
    --texte-body: #3f3f40;
    --texte-titre: #111111;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
    --bordure: #e0e0e0;
}

/* ============================================
   RESET ET BASE
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: var(--texte-body);
    background-color: var(--blanc);
    margin: 0;
    padding: 0;
}

a {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: var(--rouge-clair);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--rouge-principal);
    text-decoration: none;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    color: var(--texte-titre);
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 40px;
    color: var(--texte-titre);
}

h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: var(--footer-texte);
}

h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: var(--texte-titre);
}

h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--rouge-clair);
}

h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: var(--texte-titre);
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: var(--texte-body);
    text-align: justify;
    margin-bottom: 15px;
}

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

/* ============================================
   CONTAINER
   ============================================ */
.container,
.nsts-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   HEADER
   ============================================ */
/* ============================================
   HEADER
   ============================================ */

#nsts-header {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--bordure);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Conteneur principal */
#nsts-header .nsts-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

/* Logo */
#nsts-logo img {
    max-height: 90px;
    width: auto;
}

/* Bloc droite (réseaux + menu) */
#nsts-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Réseaux sociaux AU-DESSUS du menu */
.nsts-social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.nsts-social-icons img {
    width: 26px;
    height: auto;
    transition: opacity 0.3s ease;
}

.nsts-social-icons img:hover {
    opacity: 0.7;
}

/* MENU */
#nsts-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

#nsts-nav ul li {
    position: relative;
}

#nsts-nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    padding: 8px 0;
    transition: color 0.3s ease;
}

#nsts-nav ul li a:hover,
#nsts-nav ul li.current-menu-item > a,
#nsts-nav ul li.current-menu-parent > a {
    color: var(--rouge-principal);
}


/* Sous-menu */
/* ============================================================
   PATCH SOUS-MENUS — Style inspiré FORCE-N
   À coller dans style.css, en REMPLACEMENT des blocs existants :
   "Sous-menu" et "nsts-nav ul li ul li a:hover / current-menu-item"
   NE RIEN TOUCHER D'AUTRE
   ============================================================ */

/* --- Sous-menu : conteneur --- */
#nsts-nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);      /* légère séparation avec le menu parent */
    left: 0;
    background-color: var(--blanc);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
    min-width: 230px;
    z-index: 999;
    flex-direction: column;
    gap: 0;
    border-top: 2px solid var(--rouge-principal); /* trait rouge en haut comme FORCE-N */
    border-radius: 0 0 4px 4px;
    padding: 6px 0;
}

/* --- Sous-menu : affichage au survol --- */
#nsts-nav ul li:hover > ul {
    display: flex;
}

/* --- Sous-menu : liens --- */
#nsts-nav ul li ul li a {
    display: block;
    padding: 10px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    color: #333;
    background-color: transparent;          /* PAS de fond coloré */
    border-bottom: none;                    /* supprime l'ancienne bordure entre items */
    letter-spacing: 0.5px;
    transition: color 0.25s ease, padding-left 0.25s ease;
    position: relative;
}

/* Séparateur discret entre les items (ligne fine) */
#nsts-nav ul li ul li + li a {
    border-top: 1px solid #f2f2f2;
}

/* --- Sous-menu : hover → soulignement rouge comme FORCE-N --- */
#nsts-nav ul li ul li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20px;
    width: 0;
    height: 2px;
    background-color: var(--rouge-principal);
    transition: width 0.3s ease;
}

#nsts-nav ul li ul li a:hover::after,
#nsts-nav ul li ul li.current-menu-item a::after {
    width: calc(100% - 40px); /* souligne tout le texte (hors padding) */
}

/* --- Sous-menu : hover texte → rouge, pas de fond --- */
#nsts-nav ul li ul li a:hover,
#nsts-nav ul li ul li.current-menu-item a {
    background-color: transparent !important;  /* annule l'ancien fond rouge */
    color: var(--rouge-principal);
    padding-left: 24px;                        /* léger décalage comme FORCE-N */
}
/* Menu burger mobile */
.nsts-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nsts-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--texte-titre);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   SLIDER HOMEPAGE
   ============================================ */
#nsts-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}

.nsts-slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.nsts-slide {
    min-width: 100%;
    position: relative;
}

.nsts-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Navigation slider */
.nsts-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(167, 22, 66, 0.7);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.nsts-slider-arrow:hover {
    background-color: var(--rouge-principal);
}

.nsts-slider-prev { left: 10px; }
.nsts-slider-next { right: 10px; }

.nsts-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nsts-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.nsts-slider-dot.active {
    background-color: var(--blanc);
}

/* ============================================
   TITRE DE SECTION (style "ligne rouge")
   ============================================ */
.nsts-section-title {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.nsts-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: var(--rouge-principal);
    margin-left: 20px;
}

.nsts-section-title .color {
    color: var(--rouge-principal);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 36px;
}

/* ============================================
   SECTION : LA SOCIÉTÉ
   ============================================ */
#nsts-societe {
    padding: 50px 0;
    background-color: var(--blanc);
}

#nsts-societe .societe-content {
    display: grid;
    grid-template-columns: 60% 35%;
    gap: 5%;
    align-items: center;
}

#nsts-societe .societe-text p {
    text-align: justify;
    font-size: 15px;
    line-height: 24px;
    color: var(--texte-body);
}

#nsts-societe .societe-image img {
    float: right;
    max-width: 100%;
}

/* ============================================
   BANDEAU CTA (Notre Objectif)
   ============================================ */
#nsts-objectif-cta {
    padding: 50px 0;
}

#nsts-objectif-cta .nsts-container {
    background-color: #f0f4f7;
    padding: 30px;
    border-left: 6px solid var(--rouge-principal);
}


#nsts-objectif-cta .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

#nsts-objectif-cta h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--texte-titre);
}

#nsts-objectif-cta h4 .color {
    color: var(--rouge-principal);
}

#nsts-objectif-cta p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}

.btn-nsts {
    display: inline-block;
    background-color: var(--rouge-principal);
    color: var(--blanc) !important;
    padding: 10px 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border: 2px solid var(--rouge-principal);
}

.btn-nsts:hover {
    background-color: transparent;
    color: var(--rouge-principal) !important;
}

.btn-nsts.outline {
    background-color: transparent;
    color: var(--rouge-principal) !important;
    border: 2px solid var(--rouge-principal);
}

.btn-nsts.outline:hover {
    background-color: var(--rouge-principal);
    color: var(--blanc) !important;
}

/* ============================================
   SECTION : NOS SERVICES
   ============================================ */
#nsts-services {
    padding: 50px 0;
    background-color: var(--blanc);
}

#nsts-services .services-content {
    display: grid;
    grid-template-columns: 30% 65%;
    gap: 5%;
    align-items: start;
}

#nsts-services .services-text ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Ajoute un écart entre les éléments */
    width: 100%;

    margin: 0;
}

#nsts-services .services-text ul li {
    display: inline-block; /* Pour afficher les éléments sur une seule ligne */
    padding-left: 0;
    margin-bottom: 8px;
    width: 100%;

}


#nsts-services .services-text ul li .marker {
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background-color: var(--rouge-principal);
    border-radius: 2px;
}

#nsts-services hr {
    border: none;
    border-top: 1px solid var(--bordure);
    margin: 25px 0;
}

#nsts-services .services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ============================================
   SECTION : RÉFÉRENCES
   ============================================ */
#nsts-references {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.nsts-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.nsts-logos-grid .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.nsts-logos-grid .logo-item:hover {
    transform: scale(1.05);
}

.nsts-logos-grid .logo-item img {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.nsts-logos-grid .logo-item img:hover {
    filter: grayscale(0%);
}

/* ============================================
   SECTION : PARTENAIRES
   ============================================ */
#nsts-partenaires {
    padding: 50px 0;
    background-color: var(--blanc);
}

/* ============================================
   FOOTER
   ============================================ */
#nsts-footer {
    background-color: var(--footer-bg);
    color: var(--footer-texte);
    padding: 50px 0 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 20px;
}

#nsts-footer .wpcf7 textarea {
    height: 70px !important;
    min-height: 70px !important;
 width: 100% !important;
    max-width: 100% !important;
    resize: vertical !important;
}
#nsts-footer h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: var(--footer-texte);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rouge-principal);
}

#nsts-footer h5 {
    color: var(--rouge-clair);
    font-size: 13px;
    margin-bottom: 5px;
}

#nsts-footer p {
    color: var(--footer-texte);
    font-size: 13px;
    line-height: 20px;
    text-align: left;
    margin-bottom: 8px;
}

#nsts-footer a {
    color: var(--rouge-clair);
    font-size: 13px;
}

#nsts-footer a:hover {
    color: var(--blanc);
}

#nsts-footer hr {
    border-color: rgba(255,255,255,0.15);
    margin: 15px 0;
}

.nsts-footer-columns {
    display: grid;
    grid-template-columns: 42% 30% 28%;
    gap: 30px;
}

/* Formulaire de contact footer */
.nsts-footer-form input,
.nsts-footer-form textarea {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--footer-texte);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.nsts-footer-form input:focus,
.nsts-footer-form textarea:focus {
    outline: none;
    border-color: var(--rouge-principal);
}

.nsts-footer-form input::placeholder,
.nsts-footer-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

#nsts-footer .wpcf7 label {
       color: var(--blanc);

}


.nsts-footer-form textarea {
     height: 15px;   /* nouvelle taille plus petite */
    min-height: 15px;
    resize: vertical;
}

.nsts-footer-form .checkbox-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.nsts-footer-form .checkbox-rgpd label {
    color: var(--blanc);

    font-size: 12px;
    line-height: 16px;
}

.nsts-footer-form .checkbox-rgpd a {
    color: var(--rouge-clair);
    font-size: 12px;
}

.btn-envoyer {
    background-color: var(--rouge-principal);
    color: var(--blanc);
    border: none;
    padding: 10px 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-envoyer:hover {
    background-color: #8b1236;
}

/* Copyright footer */
.nsts-footer-copyright {
    margin-top: 40px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.1);
}

.nsts-footer-copyright p {
    color: var(--footer-copyright);
    font-size: 13px;
    text-align: center;
    margin: 0;
}

.nsts-footer-copyright a {
    color: var(--footer-copyright);
    font-size: 13px;
}

.nsts-footer-copyright a:hover {
    color: var(--rouge-principal);
}

/* ============================================
   PAGES INTÉRIEURES
   ============================================ */
.nsts-page-header {
    background-color: #f0f4f7;
    padding: 30px 0;
    border-bottom: 3px solid var(--rouge-principal);
    margin-bottom: 40px;
}

.nsts-page-header h1 {
    font-size: 32px;
    margin: 0;
    color: var(--texte-titre);
}

.nsts-page-header h1 span {
    color: var(--rouge-principal);
}

.nsts-breadcrumb {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.nsts-breadcrumb a {
    color: var(--texte-titre);
    font-size: 13px;
}

.nsts-breadcrumb a:hover {
    color: var(--rouge-principal);
}

.nsts-page-content {
    padding: 40px 0 60px;
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 768px) {

    /* Header */
    #nsts-header .header-main .container {
        flex-direction: column;
        gap: 15px;
    }

    /* Navigation */
    #nsts-nav {
        width: 100%;
    }

    #nsts-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--blanc);
        border-top: 2px solid var(--rouge-principal);
    }

    #nsts-nav ul.active {
        display: flex;
    }

#nsts-nav ul li ul {
    display: none;
    position: static !important;
    box-shadow: none;
    border-left: 3px solid var(--rouge-principal);
    flex-direction: column;
    width: 100%;
    min-width: 100%;
}
    .nsts-menu-toggle {
        display: block;
        align-self: flex-end;
    }

    /* Sections */
    #nsts-societe .societe-content {
        grid-template-columns: 1fr;
    }

    #nsts-objectif-cta .cta-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .nsts-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .nsts-footer-columns {
        grid-template-columns: 1fr;
    }

    /* Titres */
    h1, .nsts-section-title .color {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nsts-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Dans style.css */

/* Variables CSS pour faciliter la personnalisation */
:root {
    --color-primary: #a71642;
    --color-secondary: #1a1a1a;
    --color-accent: #ff4b64;
    --color-light: #f8f9fa;
    --color-dark: #2c3e50;
    --transition-speed: 0.3s;
    --border-radius: 12px;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-secondary);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    background: linear-gradient(135deg, #a71642 0%, #ff4b64 100%);
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,...') repeat;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Boutons stylisés */
.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* Sections communes */
section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Cards Produits */
.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.produit-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.produit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(167, 22, 66, 0.2);
    border-color: var(--color-primary);
}

.produit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a71642 0%, #ff4b64 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.produit-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 1.05rem;
}

/* Grid Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--color-light);
    transition: all var(--transition-speed) ease;
}

.service-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-card {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.animate-card.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slider Références */
.references-slider {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.reference-logo {
    flex: 0 0 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-speed) ease;
}

.reference-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.reference-logo img {
    width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .produits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 2rem;
    }
}

