/* Définition de la charte graphique : couleurs, typos et ombres portées */
:root {
    --main-blue: #142850;
    --dark-blue: var(--main-blue);
    --primary-blue: var(--main-blue);
    
    /* Couleurs d'accent pour les call-to-action et mises en avant */
    --accent-cyan: #00C2FF;
    --accent-yellow: #FFC107;
    
    /* Overlay dégradé pour la section Hero */
    --gradient-hero: linear-gradient(135deg, rgba(20, 40, 80, 0.95) 0%, rgba(20, 40, 80, 0.8) 100%);
    
    /* Nuances de fond et de texte */
    --bg-light: #f4f7fc;
    --white: #ffffff;
    --text-dark: #1a2b4b;
    --text-grey: #5a6b8b;
    --text-light: #e6ecf5;
    
    /* Variables structurelles */
    --border-radius-card: 24px;
    --border-radius-btn: 50px;
    --shadow-soft: 0 12px 24px -10px rgba(20, 40, 80, 0.15);
    --header-height: 110px; 
}

/* Activation du scroll fluide pour l'expérience utilisateur */
html { 
    scroll-behavior: smooth; 
}

/* Reset CSS standard pour harmoniser le rendu sur tous les navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Aptos', 'Aptos Display', 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Configuration de base du document */
body {
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden; /* INDISPENSABLE : Coupe tout ce qui dépasse à droite */
    width: 100%;        /* Force la largeur à ne pas dépasser l'écran */
}

/* --- ANIMATIONS GLOBALES --- */
/* Animation d'apparition simple (fade in) */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animation d'apparition avec glissement vers le haut (fade in up) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Barre de navigation sticky : reste visible au scroll */
header {
    background: var(--white);
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
    animation: fadeIn 0.8s ease-out; /* Animation d'entrée du header */
}

/* Alignement flexible des éléments du menu */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo principal du header */
.site-logo {
    height: 85px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
    border-radius: 50%;
}

/* Liste des liens de navigation */
.nav-links { 
    list-style: none; 
    display: flex; 
    align-items: center; 
}

/* Espacement entre les items du menu */
.nav-links li { 
    margin-left: 15px; 
}

/* Style des boutons de navigation (contours arrondis) */
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid rgba(20, 40, 80, 0.15);
    border-radius: 50px;
}

/* États hover et active des liens du menu */
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: var(--main-blue);
    border-color: var(--main-blue);
    box-shadow: 0 4px 15px rgba(20, 40, 80, 0.3);
    transform: translateY(-2px);
}

/* Bouton spécifique pour la prise de contact (Cyan) */
.nav-links a.btn-contact {
    background-color: var(--accent-cyan);
    color: var(--main-blue);
    border-color: var(--accent-cyan);
    font-weight: 700;
}

/* Interaction sur le bouton contact */
.nav-links a.btn-contact:hover {
    background-color: var(--main-blue);
    color: var(--accent-cyan);
    border-color: var(--main-blue);
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.4);
}

/* --- SÉLECTEUR DE LANGUE (Drapeaux) --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre les deux drapeaux */
    margin-left: 20px;
}

/* Style général des drapeaux */
.lang-switch img {
    width: 28px; /* Taille des drapeaux (ajuste si tu veux plus gros) */
    height: auto;
    border-radius: 2px; /* Légers coins arrondis pour faire propre */
    transition: all 0.3s ease;
    display: block;
}

/* LE DRAPEAU ACTIF (Celui qu'on ne peut pas cliquer) */
.lang-switch .active-flag {
    opacity: 1;
    filter: none; /* Couleurs normales */
    cursor: default;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Petite ombre pour le relief */
}

/* LE DRAPEAU INACTIF (Le lien vers l'autre langue) */
.lang-switch a img {
    opacity: 0.5; /* Semi-transparent */
    filter: grayscale(100%); /* En noir et blanc */
    cursor: pointer;
}

/* Au survol du drapeau inactif */
.lang-switch a img:hover {
    opacity: 1; /* Devient opaque */
    filter: grayscale(0%); /* Retrouve ses couleurs */
    transform: scale(1.1); /* Grossit un peu */
}

/* Section Hero : Background image avec overlay dégradé */
.hero {
    position: relative;
    background: var(--gradient-hero), url('img/hero-tech.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 55px 20px 180px;
    text-align: center;
    border-bottom-left-radius: 50% 100px;
    border-bottom-right-radius: 50% 100px;
    margin-bottom: 60px;
    /* Animation d'entrée douce */
    animation: fadeIn 1s ease-out;
}

/* Conteneur centré pour le texte du Hero */
.hero-content { 
    max-width: 900px; 
    margin: 0 auto; 
    /* Animation qui vient du bas */
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Logo blanc intégré dans la bannière */
.hero-logo {
    height: 50px; 
    width: auto;
    margin-bottom: 30px;
    display: inline-block;
    opacity: 1;
    /* Animation pop */
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Titre principal H1 */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

/* Slogan sous le titre */
.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.9s backwards;
}

/* Groupe de boutons d'action */
.hero-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
    animation: fadeInUp 0.8s ease-out 1.1s backwards;
}

/* Styles communs pour les boutons */
.btn { 
    padding: 15px 35px; 
    border-radius: var(--border-radius-btn); 
    font-weight: 700; 
    font-size: 1rem; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
}

/* Styles communs pour les boutons */
.btn {
    padding: 15px 35px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

/* Bouton fond blanc */
.btn-white { 
    background: var(--white); 
    color: var(--main-blue);
    box-shadow: 0 10px 20px -10px rgba(255,255,255,0.5); 
}

/* Interaction bouton blanc */
.btn-white:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px -10px rgba(255,255,255,0.7); 
}

/* Bouton transparent avec bordure */
.btn-outline { 
    background: transparent; 
    color: var(--white); 
    border: 2px solid rgba(255,255,255,0.5); 
}

/* Interaction bouton transparent */
.btn-outline:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: var(--white); 
}

/* Indicateur de scroll animé (cercle bas de page) */
.scroll-down {
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 60px; 
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; 
    border: 2px solid var(--accent-yellow);
    display: flex; justify-content: center; align-items: center;
    color: var(--accent-yellow);
    text-decoration: none; animation: bounce 2s infinite;
    transition: all 0.3s ease; cursor: pointer; z-index: 10;
}

/* Effet hover sur l'indicateur */
.scroll-down:hover { 
    background: rgba(255, 193, 7, 0.2);
    transform: translateX(-50%) scale(1.1); 
}

/* Flèche jaune (chevron) */
.chevron { 
    width: 20px; height: 20px; 
    border-bottom: 4px solid var(--accent-yellow);
    border-right: 4px solid var(--accent-yellow);
    transform: rotate(45deg); display: block; margin-top: -5px; 
}

/* Animation de rebond pour le scroll */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Conteneur principal de contenu */
.container { 
    max-width: 1400px; 
    margin: 0 auto 80px; 
    padding: 0 20px; 
}

/* Gestion du décalage d'ancre à cause du header sticky */
#contenu-principal { 
    scroll-margin-top: 140px; 
}

/* Headers de sections centrés */
.section-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

/* Typographie des titres H2 */
.section-header h2 { 
    font-size: 2.5rem; 
    color: var(--text-dark); 
    font-weight: 800; 
    margin-bottom: 10px; 
}

/* Span pour mettre en valeur du texte en bleu */
.text-highlight { 
    color: var(--main-blue); 
}

/* Sous-titres des sections */
.section-header p { 
    color: var(--text-grey); 
    font-size: 1.1rem; 
}

/* Cards de contenu génériques (fond blanc) */
.content-card { 
    background: var(--white); 
    padding: 50px; 
    border-radius: var(--border-radius-card); 
    box-shadow: var(--shadow-soft); 
    /* Transition douce au survol */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(20, 40, 80, 0.2);
}


/* Titres H3 dans les cards */
.content-card h3 { 
    color: var(--main-blue); 
    margin-bottom: 20px; 
}

/* Styles paragraphes page À Propos */
.about-text p { 
    font-size: 1.25rem; 
    line-height: 1.8; 
    margin-bottom: 35px; 
    color: var(--text-dark); 
}

/* Suppression marge dernier élément */
.about-text p:last-child { 
    margin-bottom: 0; 
}

/* Grille pour la page Services (2 colonnes) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Cards Services spécifiques (fond bleu) */
.service-card {
    background: var(--main-blue);
    color: var(--text-light);
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Effet de levée au survol des services */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.3);
}

/* Conteneur des pictogrammes services */
.icon-box {
    height: 70px;
    width: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 194, 255, 0.15);
    border: 1px solid rgba(0, 194, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}
/* Petit effet de zoom sur l'icone au survol de la carte */
.service-card:hover .icon-box {
    transform: scale(1.1);
}

/* Traitement des images pictogrammes : forcées en blanc pur */
.icon-box img {
    width: auto;
    height: auto;
    max-width: 60%; 
    max-height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Titres services en jaune */
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-yellow);
    font-weight: 700;
}

/* Texte d'intro service */
.service-intro {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 1.1rem;
}

/* Liste à puces personnalisée services */
.service-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Items de la liste */
.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

/* Bullet points cyan personnalisés */
.service-list li::before {
    content: '•';
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Section Slider Logos Clients */
.clients-section { 
    background: var(--white); 
    padding: 60px 0; 
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02); 
    overflow: hidden; 
}

/* Masque dégradé sur les bords du slider */
.clients-slider { 
    width: 100%; 
    overflow: hidden; 
    position: relative; 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}

/* Animation de défilement continu */
.logos-track { 
    display: flex; 
    width: max-content; 
    animation: scroll 35s linear infinite; 
}
/* Petit effet d'arrêt au survol */
.logos-track:hover {
    animation-play-state: paused;
}

/* Conteneur individuel d'un logo */
.slide-item { 
    width: 180px; 
    height: 100px; 
    padding: 0 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/* Style des logos clients (gris par défaut) */
.slide-item img { 
    max-height: 85px; 
    max-width: 170px; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    filter: none; 
    opacity: 0.85; 
    transition: all 0.3s ease; 
}

/* Ajustement spécifique Canal+ */
.slide-item img[src*="Canal"] {
    max-height: 70px;
    margin: 0 25px;
}

/* Hover logos : opacité et scale */
.slide-item img:hover { 
    transform: scale(1.1); 
    opacity: 1; 
}

/* Keyframes animation scroll */
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* Mise en page Produits : Flex row */
.product-row { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    margin-bottom: 100px; 
    padding: 20px; 
}

/* Inversion pour alternance visuelle */
.product-row.reverse { 
    flex-direction: row-reverse; 
}

/* Colonne texte produit */
.product-info { 
    flex: 1; 
}

/* Titre produit avec icône */
.product-info h2 { 
    color: var(--main-blue); 
    font-size: 2.2rem; 
    margin-bottom: 10px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

/* Icône carrée dans le titre */
.product-icon { 
    background: var(--main-blue); 
    color: white; 
    width: 40px; 
    height: 40px; 
    border-radius: 8px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    transition: transform 0.3s ease;
}
/* Rotation de l'icone au survol du titre */
.product-info h2:hover .product-icon {
    transform: rotate(10deg);
}

/* Sous-titre cyan */
.product-subtitle { 
    font-weight: 600; 
    color: var(--accent-cyan); 
    font-size: 1.1rem; 
    margin-bottom: 20px; 
    display: block; 
}

/* Description produit */
.product-desc { 
    color: var(--text-grey); 
    margin-bottom: 30px; 
    font-size: 1.05rem; 
}

/* Liste caractéristiques produits */
.feature-list { 
    list-style: none; 
}

/* Items caractéristiques avec coche */
.feature-list li { 
    margin-bottom: 12px; 
    display: flex; 
    align-items: center; 
    color: var(--text-dark); 
    font-weight: 500; 
    transition: transform 0.2s ease;
}
.feature-list li:hover {
    transform: translateX(5px); /* Petit décalage vers la droite */
}

/* Coche de validation */
.feature-list li::before { 
    content: '✔'; 
    color: var(--main-blue); 
    margin-right: 10px; 
    background: rgba(20, 40, 80, 0.1); 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.8rem; 
}

/* Colonne visuelle produit */
.product-visual { 
    flex: 1.2; 
    position: relative; 
}

/* Conteneur carrousel */
.carousel { 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    overflow: hidden; 
    position: relative; 
    background: white; 
}

/* Bandeau d'images carrousel */
.carousel-images { 
    display: flex; 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Images carrousel : width 100% et interdiction de rétrécir */
.carousel-images img { 
    width: 100%; 
    display: block; 
    flex-shrink: 0;
    object-fit: contain;
}

/* Boutons de navigation carrousel */
.carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255,255,255,0.8); 
    color: var(--main-blue); 
    border: none; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    cursor: pointer; 
    font-weight: bold; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    transition: all 0.2s; 
    z-index: 10; 
}

/* Interaction boutons carrousel */
.carousel-btn:hover { 
    background: white; 
    transform: translateY(-50%) scale(1.1); 
}

/* Positionnement boutons prev/next */
.prev { left: 15px; } 
.next { right: 15px; }

/* Intégration de la démo dans le mockup ordinateur */
.video-showcase-section {
    margin: 100px 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Wrapper relatif pour le positionnement absolu de la vidéo */
.laptop-wrapper {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin-top: 40px;
}

/* Image du cadre d'ordinateur (en arrière-plan Z-1) */
.laptop-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Vidéo positionnée par-dessus le cadre (Z-2) */
.screen-video {
    position: absolute; 
    z-index: 1; 
    
    /* Coordonnées précises pour l'alignement écran */
    top: 1%;     
    left: 10%;
    width: 80%;  
    height: 90%; 
    
    object-fit: cover;
    background: #000;
    border-radius: 15px 15px 0 0;
}

/* Footer : Fond image et layout */
footer {
    background-image: url('img/background-footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 60px 5% 30px;
    position: relative;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 25px;
}

/* Styles Contact */
.contact-details p {
    margin: 12px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.contact-details a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--accent-cyan);
}

.icon {
    width: 25px;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-right: 10px;
    text-align: center;
}

/* --- LE BAS DU FOOTER (C'est ici qu'on centre le Copyright) --- */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    
    position: relative; /* Indispensable pour l'alignement */
    display: flex;
    justify-content: center; /* CENTRE le copyright */
    align-items: center;
    min-height: 60px;
}

/* Logo Ipsos : On le sort du flux pour le coller à gauche */
.ipsos-logo {
    position: absolute; /* Magie : il se place par rapport au conteneur */
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* Centré verticalement */
    
    height: 50px;
    width: auto;
    opacity: 0.9;
}

/* Copyright : Il est naturellement centré par le flexbox du parent */
.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    text-align: center;
}

/* --- Bouton Play Overlay sur l'ordinateur --- */

/* Le conteneur rond bleu */
.play-overlay {
    position: absolute;
    z-index: 3; /* Au-dessus de la vidéo (qui est z-index 2) */
    
    /* Positionnement au centre de la zone écran */
    /* Le top est calculé approximativement au milieu de l'écran de l'ordi */
    top: 40%; 
    left: 50%;
    transform: translate(-50%, -50%); /* Centrage parfait */
    
    width: 80px;
    height: 80px;
    background-color: var(--accent-cyan); /* Notre bleu cyan */
    border-radius: 50%; /* Rend le carré rond */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* Curseur main */
    box-shadow: 0 10px 25px rgba(0, 194, 255, 0.4); /* Belle ombre lumineuse */
    transition: all 0.3s ease;
    opacity: 1; /* Visible par défaut */
    animation: pulseBtn 2s infinite; /* Animation de pulsation */
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 194, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 255, 0);
    }
}

/* Effet au survol du bouton */
.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1); /* Grossit légèrement */
    background-color: var(--main-blue); /* Devient bleu foncé */
    animation: none; /* Arrête la pulsation au survol */
}

/* Le triangle blanc à l'intérieur (dessiné en CSS avec des bordures) */
.play-triangle {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white; /* La couleur et la taille du triangle */
    margin-left: 5px; /* Petit décalage pour centrer visuellement le triangle */
}

/* Classe utilitaire pour cacher le bouton quand la vidéo joue */
.play-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Empêche de cliquer dessus quand il est invisible */
}

/* =========================================
   STYLE DU MENU BURGER (Les 3 barres)
   ========================================= */

/* 1. D'abord, on dessine les barres (mais on les cache par défaut pour l'ordi) */
.hamburger {
    display: none; /* Caché sur PC */
    cursor: pointer;
    z-index: 2000; /* Très haut pour être sûr qu'il est au-dessus de tout */
}

/* Le dessin de chaque barre */
.hamburger div {
    width: 30px;      /* Largeur de la barre */
    height: 4px;      /* Épaisseur (un peu plus gras pour bien voir) */
    background-color: #142850; /* Bleu foncé (Code couleur en dur pour être sûr) */
    margin: 6px 0;    /* Espace entre les barres */
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* =========================================
   VERSION MOBILE (Ce qui s'active sur téléphone)
   ========================================= */
@media (max-width: 900px) {

    /* 1. On affiche le bouton Burger */
    .hamburger {
        display: block;
        position: fixed; /* On passe en fixed pour qu'il ne disparaisse pas */
        right: 25px;
        top: 35px;
        z-index: 10000;  /* Doit être ENCORE plus haut que le menu (9999) */
    }

    /* 2. Menu mobile corrigé pour apparaître au-dessus de tout */
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;               /* On le fait partir du haut de l'écran */
        height: 100vh;        /* Prend toute la hauteur du téléphone */
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Centre les liens verticalement */
        width: 100%;
        
        /* État caché : invisible et poussé à droite */
        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;           /* On ajoute une transition d'opacité en plus */
        
        transition: transform 0.4s ease-in-out, visibility 0.4s, opacity 0.4s;
        z-index: 9999;        /* Plus haut que le header pour tout couvrir */
        padding-top: 0;
    }

    /* État actif : quand on a cliqué */
    .nav-links.nav-active {
        transform: translateX(0%);
        visibility: visible;
        opacity: 1;
    }

    /* Style des liens dans le menu mobile */
    .nav-links li {
        margin: 25px 0;      /* Plus d'espace entre les liens */
        opacity: 0;          /* Petit effet d'apparition (géré par JS normalement, sinon visible direct) */
        animation: navLinkFade 0.5s ease forwards 0.3s;
    }
    
    /* Animation simple pour l'apparition des liens */
    @keyframes navLinkFade {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0); }
    }

    /* --- RESPONSIVE LAYOUT (Ajustements généraux pour le mobile) --- */
    
    header { 
        position: relative; 
        padding: 10px 5%; 
        height: 110px; 
    }
    
    nav { 
        justify-content: space-between; 
        align-items: center; 
    }
    
    .site-logo {
        height: 70px; /* Logo un peu plus petit sur mobile */
    }

    .hero h1 { 
        font-size: 2rem; 
    }
    
    .hero { 
        padding: 60px 20px 100px; 
    }

    /* On passe les grilles de services en 1 seule colonne */
    .services-grid { 
        grid-template-columns: 1fr; 
    }

    /* On empile les produits (image au-dessus ou en-dessous du texte) */
    .product-row, .product-row.reverse { 
        flex-direction: column; 
        gap: 40px; 
    }
    
    .product-visual { 
        width: 100%; 
    }

    .video-showcase-section { 
        margin: 50px 0; 
    }
    
    .laptop-wrapper { 
        width: 100%; 
    }

    /* Footer adapté au mobile */
    .footer-content { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .footer-logo-container { 
        padding-left: 0 !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-details p {
        justify-content: center;
    }

    /* --- GESTION DU BAS DE FOOTER MOBILE --- */
    .footer-bottom {
        flex-direction: column; /* On empile Ipsos et Copyright */
        gap: 20px;
        padding-bottom: 20px;
    }

    .ipsos-logo {
        position: static; /* IMPORTANT : On annule le 'absolute' du PC pour qu'il s'empile */
        transform: none;
        padding-left: 0;
        margin: 0 auto;   /* Centré */
    }

    .copyright {
        text-align: center;
    }
    
    /* Animation de la croix quand c'est ouvert */
    .toggle .line1 { transform: rotate(-45deg) translate(-8px, 8px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

/* Note sous les carousels (Disclaimer) */
.disclaimer-note {
    text-align: center;
    font-size: 0.85rem;       /* Un peu plus petit que le texte normal */
    color: var(--text-grey);  /* Gris pour être discret */
    font-style: italic;       /* Italique pour le style "note" */
    margin-top: 15px;         /* Espace entre le carrousel et la note */
    opacity: 0.8;
}