/* =========================================
   ÉCHELLE GLOBALE DU SITE
   ========================================= */
html {
    /* Par défaut, la taille est de 16px (100%) */
    /* On la passe à 14px pour tout réduire d'environ 12% */
    font-size: 14px; 
}

/* =========================================
   MENU RESPONSIVE (MOBILE & TABLETTE)
   ========================================= */

/* Par défaut (Desktop) : on cache le bouton hamburger */
.mobile-menu-btn {
    display: none;
}

/* À partir de 1024px et moins (Tablettes et Mobiles) */
@media (max-width: 1024px) {

    /* 1. Afficher le bouton Hamburger */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
        margin-left: auto; /* Pousse le bouton à droite */
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background-color: var(--c-dark);
        border-radius: 2px;
        transition: all 0.3s linear;
    }

    /* Animation du bouton quand ouvert */
    .mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    /* 2. Modifier la navigation pour qu'elle devienne un panneau déroulant */
    header nav {
        position: absolute;
        top: 100%; /* Juste en dessous du header */
        left: 0;
        width: 100%;
        background-color: white;
        border-top: 1px solid var(--c-slate-200);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        
        /* Caché par défaut */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        z-index: 1001;
    }

    /* Quand la classe 'open' est ajoutée via JS */
    header nav.open {
        max-height: 500px; /* Valeur arbitraire suffisante pour tout le menu */
    }

    /* 3. Style de la liste en colonne */
    header nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        margin: 0;
        width: 100%;
    }

    header nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--c-slate-100);
    }
    
    header nav ul li:last-child {
        border-bottom: none;
    }

    /* Ajustement spécifique pour le menu langue sur mobile */
    .lang-menu {
        justify-content: center;
        margin-left: 0;
    }
    
    /* Le dropdown langue s'ouvre vers le bas, centré */
    .lang-dropdown {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    /* 1. On change l'orientation du conteneur de langue */
    .lang-menu {
        flex-direction: column;
        padding: 10px 0;
        width: 100%;
        border-bottom: none; /* Pas de ligne en bas pour le dernier élément */
    }

    /* 2. On CACHE le bouton "déclencheur" (celui avec la flèche) sur mobile */
    /* Car cliquer pour ouvrir est une étape inutile sur mobile */
    .lang-menu .lang-btn {
        display: none;
    }

    /* 3. On FORCE l'affichage de la liste (au lieu qu'elle soit cachée) */
    .lang-menu .lang-dropdown {
        display: flex !important; /* Force l'affichage sans survol */
        flex-direction: row;      /* Les langues côte à côte */
        justify-content: center;  /* Centrées */
        gap: 15px;                /* Espace entre les boutons */
		
		/* AJOUT IMPORTANT POUR LE MULTI-LANGUE : */
        flex-wrap: wrap;         /* Permet de passer à la ligne si besoin */        
        
		/* On annule le positionnement "absolu" pour qu'il prenne sa place dans le flux */
        position: static; 
        width: 100%;
        
        /* On retire le style "carte" (ombres, bordures) pour un look plus plat */
        box-shadow: none;
        border: none;
        padding: 10px 0;
        opacity: 1;
        transform: none;
        animation: none;
    }

    /* 4. On style les liens (FR / EN) pour qu'ils ressemblent à des boutons tactiles */
    .lang-item {
        background-color: var(--c-slate-100);
        border-radius: 20px; /* Forme de pilule */
        padding: 10px 20px;
        border: 1px solid var(--c-slate-200);
    }
    
    /* Petit effet visuel pour montrer que c'est cliquable */
    .lang-item:active {
        background-color: var(--c-blue-100);
        border-color: var(--c-primary);
    }	
}

/* =========================================
   CSS POUR LA STRUCTURE
   ========================================= */

body { font-family: sans-serif; line-height: 1.6; margin: 0; color: #333; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 20px; }
.btn { padding: 10px 20px; background-color: #0056b3; color: white; text-decoration: none; border-radius: 5px; display: inline-block; margin-top: 20px; }
.btn-secondary { background-color: transparent; border: 2px solid #0056b3; color: #0056b3; margin-left: 10px; }
.btn:hover { background-color: #004494; }
h1, h2, h3, h4 { color: #0056b3; }
/* ul { padding-left: 20px; }
li { margin-bottom: 10px; } */

/* Header & Nav */
header { background: #f4f4f4; padding: 15px 0; border-bottom: 1px solid #ddd; }
nav ul { padding: 0; list-style: none; display: flex; justify-content: flex-end; }
nav ul li { margin-left: 25px; font-weight: bold; }
nav ul li a { text-decoration: none; color: #333; }
.logo { font-size: 24px; font-weight: bold; color: #0056b3; float: left; }

/* Minimalist Page Header */
.page-header-mini { text-align: center; padding: 50px 0 30px; }
.page-header-mini h1 { font-size: 2.5em; margin-bottom: 10px; }
.page-header-mini p { font-size: 1.2em; color: #666; max-width: 700px; margin: auto; }

/* Specific Page Header */
.page-header { background-color: #0056b3; color: white; padding: 60px 0; text-align: center; }
.page-header h1 { color: white; margin: 0; font-size: 3em; }
.page-header p { font-size: 1.3em; max-width: 800px; margin: 20px auto 0; opacity: 0.9; }

/* Hero Section */
.hero { background: linear-gradient(rgba(0,86,179,0.8), rgba(0,86,179,0.8)), url('placeholder-image-flux-donnees.jpg'); background-size: cover; color: white; padding: 100px 0; text-align: center; }
.hero h1 { font-size: 3.5em; margin-bottom: 10px; color: white; }
.hero p { font-size: 1.5em; max-width: 800px; margin: auto; }

/* Section Pivot (2 colonnes) */
.pivot-section { padding: 60px 0; background-color: #f9f9f9; }
.flex-row { display: flex; gap: 40px; margin-top: 40px; }
.col-half { flex: 1; padding: 30px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.col-half h3 { color: #d9534f; } /* Rouge pour le problème */
.col-half.solution h3 { color: #0056b3; } /* Bleu pour la solution */

/* Section Guichet Unique (3 colonnes) */
.solutions-section { padding: 60px 0; text-align: center; }
.solutions-grid { display: flex; gap: 30px; margin-top: 40px; }
.solution-card { flex: 1; padding: 25px; border: 1px solid #eee; border-radius: 8px; }
.solution-card h3 { color: #0056b3; margin-top: 15px; }
.icon-placeholder { font-size: 40px; color: #ccc; display: block; margin-bottom: 15px; }

/* MAIN SOLUTIONS GRID SECTION */
.solutions-grid-section { padding: 80px 0; }
.solutions-main-grid { display: flex; gap: 30px; margin-top: 50px; }
.solution-pillar { flex: 1; border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: transform 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.solution-pillar:hover { transform: translateY(-5px); border-color: #0056b3; }
.pillar-header { padding: 25px; background: #0056b3; color: white; text-align: center; }
.pillar-header h3 { margin: 0; color: white; font-size: 1.4em; }
.pillar-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.pillar-body p { color: #555; font-weight: bold; margin-bottom: 20px; }
.pillar-body ul { flex-grow: 1; } /* Pushes button down */

/* MAIN CONTACT SECTION (2 Columns) */
.contact-section { padding: 40px 0 80px; }
.contact-flex-container { display: flex; gap: 50px; align-items: flex-start; }

/* LEFT COLUMN: FORM */
.form-column { flex: 3; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); border-top: 5px solid #0056b3; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: bold; color: #555; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1em; box-sizing: border-box; } 
.form-textarea { resize: vertical; height: 120px; }
.form-select { background-color: #fdfdfd; }

/* RIGHT COLUMN: INFO & REASSURANCE */
.info-column { flex: 2; padding: 20px 0; }
.info-box { background: white; padding: 30px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 30px; }
.info-box h3 { margin-top: 0; }
.contact-details p { margin-bottom: 10px; display: flex; align-items: center; }
.contact-icon { margin-right: 15px; font-size: 1.2em; color: #0056b3; }

/* Philosophy Intro Section */
.philosophy-intro { padding: 50px 0; text-align: center; max-width: 900px; margin: auto; }
.philosophy-intro p { font-size: 1.2em; color: #555; }

/* PROCESS SECTION (Page Core) */
.process-section { padding: 60px 0; background-color: #f9f9f9; }
.process-step { display: flex; gap: 15px; margin-bottom: 20px; }
.step-badge { background: #eef6fc; color: #0056b3; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; flex-shrink: 0; }
.process-steps { display: flex; gap: 20px; margin-top: 50px; justify-content: space-between; align-items: flex-start; }
.step-card { background: white; padding: 30px; border-radius: 8px; flex: 1; box-shadow: 0 5px 15px rgba(0,0,0,0.08); position: relative; border-top: 5px solid #ccc; }

/* Specific colors per step */
.step-1 { border-color: #0056b3; } /* Blue tech */
.step-2 { border-color: #d9534f; } /* Red/Orange Human */
.step-3 { border-color: #5cb85c; } /* Green Result */

.step-card h3 { margin-top: 10px; }
.step-number { font-size: 1.5em; font-weight: bold; color: #999; display: block; margin-bottom: 10px; }

/* Transition arrows */
.step-arrow { font-size: 40px; color: #ccc; align-self: center; padding-top: 30px; }

/* "Human Added Value" Section */
.human-value-section { padding: 80px 0; }
.value-grid { display: flex; gap: 40px; margin-top: 40px; }
.value-col { flex: 1; }
.value-item { display: flex; gap: 15px; margin-bottom: 30px; align-items: flex-start; }
.value-icon { background: #eef6fc; color: #0056b3; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; flex-shrink: 0; }

/* "UNIFIED ENGINE" SECTION (Visual Diagram) */
.engine-section { padding: 60px 0; background-color: #f0f4f8; text-align: center; }
.engine-diagram { display: flex; align-items: center; justify-content: center; margin-top: 40px; gap: 20px; flex-wrap: wrap; }
.engine-box { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 2px solid #ddd; flex: 1; max-width: 300px; min-height: 180px; display: flex; flex-direction: column; justify-content: center; }
.engine-center { border-color: #0056b3; background: #eef6fc; transform: scale(1.05); z-index: 2; } /* Blue heart */
.engine-box h3 { margin-top: 0; font-size: 1.2em; }
.engine-box p { font-size: 0.9em; color: #666; margin-bottom: 0; }
.engine-arrow { font-size: 30px; color: #0056b3; font-weight: bold; }
.engine-outputs { display: flex; flex-direction: column; gap: 15px; }
.output-box { background: white; padding: 15px; border-radius: 5px; border: 1px solid #ddd; font-weight: bold; color: #0056b3; }

/* SEGMENTATION SECTION (Choice) */
.segmentation-section { padding: 60px 0; text-align: center; background-color: #f9f9f9; }
.segmentation-grid { display: flex; gap: 30px; margin-top: 40px; justify-content: center; }
.segment-card { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); flex: 1; max-width: 450px; border-top: 5px solid #0056b3; transition: transform 0.3s; cursor: pointer; }
.segment-card:hover { transform: translateY(-5px); }
.segment-icon { font-size: 50px; color: #0056b3; margin-bottom: 20px; display: block; }
.segment-card h2 { margin-top: 0; }

/* DETAILED PROFILE SECTIONS */
.profile-detail-section { padding: 80px 0; border-bottom: 1px solid #eee; }
.profile-detail-section:nth-child(even) { background-color: #f0f4f8; } /* Alternating background colors */

.pain-gain-grid { display: flex; gap: 50px; margin-top: 40px; align-items: flex-start; }
.pain-col { flex: 1; padding-right: 30px; border-right: 1px solid #ddd; }
.gain-col { flex: 1; padding-left: 20px; }

.pain-col h3 { color: #d9534f; display: flex; align-items: center; } /* Red for pain */
.pain-col h3::before { content: '⚠️'; margin-right: 10px; font-size: 0.8em; }
.gain-col h3 { color: #5cb85c; display: flex; align-items: center; } /* Green for gain */
.gain-col h3::before { content: '✅'; margin-right: 10px; font-size: 0.8em; }

.pain-list li { color: #666; font-style: italic; }
.gain-list li { font-weight: bold; color: #333; }

/* Footer */
footer { background: #333; color: white; padding: 40px 0; text-align: center; margin-top: 60px; }
footer h3 { color: white; margin-block-start: 0px; }
footer nav { color: white; }
footer nav ul { padding: 0; list-style: none; display: flex; justify-content: flex-end; }
footer nav ul li { margin-left: 25px; font-weight: bold; }
footer nav ul li A { text-decoration: none; color: white; }

/* Liens */
A       {color : #33507D; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-style: normal; line-height: normal; text-decoration: none;}
A:hover {color : #FF9900; font-family: Arial, Helvetica, sans-serif; font-weight: bold; text-decoration: none;}
A.bleufonce {color : #33507D; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-style: normal; line-height: normal; text-decoration: none; vertical-align:middle;}
A:hover.bleufonce {color : #2AA5DE; font-family: Arial, Helvetica, sans-serif; font-weight: bold; text-decoration: none;}

/* =========================================
   MENU LANGUE (DROPDOWN) - Version Alignée
   ========================================= */
.lang-menu {
    position: relative;
	padding-bottom: 10px;
    display: inline-flex;   /* Utiliser Flexbox pour l'alignement */
    align-items: center;    /* Centre verticalement par rapport aux autres menus */
    vertical-align: middle; /* Aligne avec le texte environnant */
    margin-left: 1rem;
    height: 100%;           /* S'assure de prendre la hauteur de la ligne */
}

/* Le bouton visible (Langue actuelle) */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px; 
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    /* Ajustement du padding pour ne pas être plus gros que les liens voisins */
    padding: 4px 10px; 
    border-radius: var(--radius-btn);
    transition: background-color 0.2s;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-slate-600);
    line-height: 1; /* Important : évite que la hauteur de ligne ne déforme l'alignement */
}

.lang-btn:hover {
    background-color: var(--c-slate-100);
    color: var(--c-primary);
}

/* La liste cachée */
.lang-dropdown {
    display: none; 
    position: absolute;
    right: 0; 
    top: 100%;
    background-color: white;
    min-width: 150px;
    border: 1px solid var(--c-slate-200);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
    z-index: 1000; 
    overflow: hidden;
    padding: 5px 0;
}

/* Affichage au survol */
.lang-menu:hover .lang-dropdown {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

/* Les liens dans la liste */
.lang-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--c-slate-600);
    font-size: 0.9rem;
    transition: background 0.2s;
    border-bottom: 1px solid transparent;
}
.lang-item:hover {
    background-color: var(--c-blue-50);
    color: var(--c-primary);
}
.lang-item img {
    margin-right: 10px;
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   0. FONTS LOCALES (Plus de lien Google)
   ========================================= */

/* --- ROBOTO (Corps de texte) --- */
/* 300 - Light */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v50-latin-300.woff2') format('woff2'); 
    font-display: swap;
}
/* 400 - Regular */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v50-latin-regular.woff2') format('woff2'); 
    font-display: swap;
}
/* 500 - Medium */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v50-latin-500.woff2') format('woff2'); 
    font-display: swap;
}

/* --- MONTSERRAT (Titres) --- */
/* 300 - Light */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/montserrat-v31-latin-300.woff2') format('woff2');
    font-display: swap;
}
/* 400 - Regular */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
    font-display: swap;
}
/* 600 - SemiBold */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2');
    font-display: swap;
}
/* 700 - Bold */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2');
    font-display: swap;
}
/* ==========================================================================
   1. IMPORTS & CONFIGURATION
   ========================================================================== */

:root {
    /* --- Palette Sequantis --- */
    --c-dark: #003366;
    --c-primary: #0056b3;
    --c-light: #00a0e9;
    --c-bg: #f8fafc;       /* Slate-50 */
    --c-accent: #ff9f43;
    --c-red: #ef4444;
    --c-green: #10b981;

    /* --- Couleurs Neutres (Slate) --- */
    --c-white: #ffffff;
    --c-slate-50: #f8fafc;
    --c-slate-100: #f1f5f9;
    --c-slate-200: #e2e8f0;
    --c-slate-300: #cbd5e1;
    --c-slate-400: #94a3b8;
    --c-slate-500: #64748b;
    --c-slate-600: #475569;
    --c-slate-700: #334155;
    --c-slate-800: #1e293b;

    /* --- Backgrounds Spéciaux --- */
    --c-blue-50: #eff6ff;
    --c-blue-100: #dbeafe;
    --c-red-50: #fef2f2;
    --c-green-50: #f0fdf4;
    --c-orange-50: #fff7ed;
    --c-orange-100: #ffedd5;

    /* --- Ombres & Arrondis --- */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-btn: 0.375rem; /* 6px */
    --radius-card: 0.75rem; /* 12px */
}

/* --- Reset de base --- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--c-slate-200); }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Roboto', sans-serif; background-color: var(--c-bg); color: var(--c-slate-600); line-height: 1.6; }

/* ==========================================================================
   2. TYPOGRAPHIE
   ========================================================================== */
.font-sans { font-family: 'Roboto', sans-serif; }
.font-display { font-family: 'Montserrat', sans-serif; }

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; margin: 0; font-weight: 700; color: var(--c-dark); line-height: 1.2; }
p { margin: 0; margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* Listes (CORRECTION ICI) */
ul, ol { list-style: none; margin: 0; padding: 0; } /* Reset par défaut */
.list-disc { list-style-type: disc; }     /* Puce ronde */
.list-decimal { list-style-type: decimal; } /* Numérotation */
.list-none { list-style-type: none; }
.list-inside { list-style-position: inside; }
.list-outside { list-style-position: outside; }

/* Tailles de texte */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* Styles de texte */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Couleurs de texte */
.text-white { color: var(--c-white); }
.text-slate-300 { color: var(--c-slate-300); }
.text-slate-400 { color: var(--c-slate-400); }
.text-slate-500 { color: var(--c-slate-500); }
.text-slate-600 { color: var(--c-slate-600); }
.text-slate-700 { color: var(--c-slate-700); }
.text-slate-800 { color: var(--c-slate-800); }

.text-sequantis-dark { color: var(--c-dark); }
.text-sequantis-primary { color: var(--c-primary); }
.text-sequantis-light { color: var(--c-light); }
.text-sequantis-accent { color: var(--c-accent); }
.text-sequantis-red { color: var(--c-red); }
.text-sequantis-green { color: var(--c-green); }

.text-blue-100 { color: var(--c-blue-100); }
.text-blue-200 { color: var(--c-blue-200); }
.text-red-500 { color: #ef4444; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }

.hover\:text-white:hover { color: var(--c-white); }
.hover\:text-sequantis-primary:hover { color: var(--c-primary); }
.hover\:text-sequantis-light:hover { color: var(--c-light); }
.hover\:text-sequantis-dark:hover { color: var(--c-dark); }
.hover\:underline:hover { text-decoration: underline; }

/* ==========================================================================
   3. LAYOUT & FLEXBOX
   ========================================================================== */
.container { width: 100%; margin: 0 auto; }
.max-w-7xl { max-width: 80rem; } .max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; } .max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; } .max-w-2xl { max-width: 42rem; } .max-w-sm { max-width: 24rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }

.flex-grow { flex-grow: 1; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.self-center { align-self: center; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.place-items-center { place-items: center; }

.gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; } .gap-12 { gap: 3rem; }

/* ==========================================================================
   4. ESPACEMENTS & DIMENSIONS
   ========================================================================== */
.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-16 { margin-top: 4rem; } .mt-20 { margin-top: 5rem; } .mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; } .mb-16 { margin-bottom: 4rem; }
.ml-4 { margin-left: 1rem; } .ml-5 { margin-left: 1.25rem; } .ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; } .mr-3 { margin-right: 0.75rem; } .mr-4 { margin-right: 1rem; } .mr-6 { margin-right: 1.5rem; }

.p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; } .p-10 { padding: 2.5rem; } .p-12 { padding: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .px-8 { padding-left: 2rem; padding-right: 2rem; } .px-10 { padding-left: 2.5rem; padding-right: 2.5rem; } .px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; } .py-16 { padding-top: 4rem; padding-bottom: 4rem; } .py-20 { padding-top: 5rem; padding-bottom: 5rem; } .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-4 { padding-top: 1rem; } .pt-8 { padding-top: 2rem; } .pt-10 { padding-top: 2.5rem; }
.pb-1 { padding-bottom: 0.25rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }

.w-full { width: 100%; } .h-full { height: 100%; }
.w-2 { width: 0.5rem; } .h-2 { height: 0.5rem; }
.w-3 { width: 0.75rem; } .h-3 { height: 0.75rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-16 { width: 4rem; } .h-16 { height: 4rem; }
.w-64 { width: 16rem; } .h-64 { height: 16rem; }
.w-96 { width: 24rem; } .h-96 { height: 24rem; }
.h-48 { height: 12rem; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.overflow-hidden { overflow: hidden; }

/* ==========================================================================
   5. VISUELS & DÉCORATION
   ========================================================================== */
.bg-white { background-color: var(--c-white); }
.bg-transparent { background-color: transparent; }
.bg-sequantis-dark { background-color: var(--c-dark); }
.bg-sequantis-primary { background-color: var(--c-primary); }
.bg-sequantis-light { background-color: var(--c-light); }
.bg-sequantis-bg { background-color: var(--c-bg); }
.bg-sequantis-accent { background-color: var(--c-accent); }
.bg-sequantis-green { background-color: var(--c-green); }

.bg-slate-50 { background-color: var(--c-slate-50); }
.bg-slate-100 { background-color: var(--c-slate-100); }
.bg-slate-800 { background-color: var(--c-slate-800); }
.bg-blue-50 { background-color: var(--c-blue-50); }
.bg-blue-100 { background-color: var(--c-blue-100); }
.bg-red-50 { background-color: var(--c-red-50); }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-400 { background-color: #f87171; }
.bg-green-50 { background-color: var(--c-green-50); }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-400 { background-color: #4ade80; }
.bg-yellow-400 { background-color: #facc15; }
.bg-orange-50 { background-color: var(--c-orange-50); }
.bg-orange-100 { background-color: var(--c-orange-100); }

/* Opacité & Blur */
.opacity-5 { opacity: 0.05; } .opacity-10 { opacity: 0.1; } .opacity-20 { opacity: 0.2; } .opacity-60 { opacity: 0.6; } .opacity-80 { opacity: 0.8; } .opacity-90 { opacity: 0.9; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-blue-50\/30 { background-color: rgba(239, 246, 255, 0.3); }
.bg-blue-50\/50 { background-color: rgba(239, 246, 255, 0.5); }
.bg-red-50\/40 { background-color: rgba(254, 242, 242, 0.4); }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.blur-3xl { filter: blur(64px); }

/* Hover Backgrounds */
.hover\:bg-blue-50:hover { background-color: var(--c-blue-50); }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.2); }
.hover\:bg-white\/50:hover { background-color: rgba(255,255,255,0.5); }
.hover\:bg-slate-50:hover { background-color: var(--c-slate-50); }
.hover\:bg-slate-100:hover { background-color: var(--c-slate-100); }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-sequantis-dark:hover { background-color: var(--c-dark); }
.hover\:bg-sequantis-light:hover { background-color: var(--c-light); }
.hover\:bg-sequantis-accent:hover { background-color: var(--c-accent); }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-t-4 { border-top-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-l { border-left-width: 1px; }
.border-l-4 { border-left-width: 4px; }

.border-white { border-color: var(--c-white); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-slate-100 { border-color: var(--c-slate-100); }
.border-slate-200 { border-color: var(--c-slate-200); }
.border-slate-300 { border-color: var(--c-slate-300); }
.border-transparent { border-color: transparent; }

.border-sequantis-primary { border-color: var(--c-primary); }
.border-sequantis-light { border-color: var(--c-light); }
.border-sequantis-dark { border-color: var(--c-dark); }
.border-sequantis-accent { border-color: var(--c-accent); }
.border-sequantis-green { border-color: var(--c-green); }
.border-sequantis-red { border-color: var(--c-red); }

.border-red-100 { border-color: #fee2e2; }
.border-red-500 { border-color: #ef4444; }
.border-green-100 { border-color: #dcfce7; }
.border-green-500 { border-color: #22c55e; }
.border-blue-100 { border-color: var(--c-blue-100); }
.border-blue-500 { border-color: #3b82f6; }

/* Arrondis */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: var(--radius-btn); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: var(--radius-card); }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-bl-lg { border-bottom-left-radius: 0.5rem; }
.rounded-b-\[3rem\] { border-bottom-left-radius: 3rem; border-bottom-right-radius: 3rem; }

/* Shadows */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: var(--shadow-soft); }
.shadow-md { box-shadow: var(--shadow-soft); }
.shadow-lg { box-shadow: var(--shadow-hover); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Positions */
.relative { position: relative; } .absolute { position: absolute; } .sticky { position: sticky; }
.top-0 { top: 0; } .right-0 { right: 0; } .left-0 { left: 0; } .bottom-0 { bottom: 0; }
.z-10 { z-index: 10; } .z-50 { z-index: 50; }

/* Badges qui dépassent */
.-top-3 { top: -0.75rem; }
.right-8 { right: 2rem; }

/* Transformations */
.transform { transform: var(--tw-transform); }
.-translate-x-1\/3 { transform: translateX(-33.333333%); }
.translate-y-1\/3 { transform: translateY(33.333333%); }
.translate-x-1\/2 { transform: translateX(50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-4 { transform: translateY(1rem); }
.-translate-y-4 { transform: translateY(-1rem); }
.scale-110 { transform: scale(1.1); }
.rotate-1 { transform: rotate(1deg); }
.rotate-2 { transform: rotate(2deg); }
.-rotate-2 { transform: rotate(-2deg); }
.rotate-90 { transform: rotate(90deg); }

.transition { transition: all 0.2s ease-in-out; }

/* ==========================================================================
   6. COMPOSANTS "MÉTIER"
   ========================================================================== */

/* --- 1. Cartes --- */
.card, .card-base, .process-step, .segment-card, .engine-box, .step-card, .solution-pillar {
    background: white;
    border-radius: var(--radius-card);
    border: 1px solid var(--c-slate-200);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* IMPORTANT : overflow visible pour laisser sortir les badges */
    overflow: visible; 
}

/* Exception pour les cartes qui DOIVENT cacher le contenu (images, etc) */
.overflow-hidden { overflow: hidden; }

.card:hover, .card-base:hover, .segment-card:hover, .step-card:hover, .solution-pillar:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.card-interactive { cursor: pointer; }
.card-interactive:hover { border-color: var(--c-primary); }

/* --- 2. Boutons --- */
.btn-base, .btn,
a.bg-sequantis-primary.text-white, 
a.bg-white.text-sequantis-primary,
a.bg-white.text-sequantis-dark {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-btn) !important;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}
a.bg-white.text-sequantis-primary { border-color: var(--c-primary); }
a.bg-white.text-sequantis-dark { border-color: var(--c-dark); }
.btn-secondary { background: white; color: var(--c-primary); border: 2px solid var(--c-primary); }

/* --- 3. Diagrammes & Processus --- */
.diagram-box {
    background: white; border: 1px solid var(--c-slate-200); border-radius: var(--radius-card);
    padding: 1.5rem; box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    min-height: 160px;
}
.icon-box {
    width: 48px; height: 48px; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: white;
}
.chart-wrapper, .chart-container { position: relative; width: 100%; max-height: 500px; }

/* Eléments spécifiques aux anciennes pages */
.process-line { position: absolute; top: 2rem; left: 0; width: 100%; height: 2px; background: var(--c-slate-300); z-index: 0; }
.data-badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 99px; font-weight: bold; text-transform: uppercase; }
.badge-audit { background-color: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.badge-model { background-color: var(--c-blue-100); color: var(--c-primary); border: 1px solid var(--c-primary); }
.badge-partner { background-color: #ffedd5; color: #9a3412; border: 1px solid var(--c-accent); }
.lineage-connector { border-left: 2px dashed var(--c-slate-300); margin-left: 1rem; padding-left: 1rem; padding-bottom: 1rem; }
.puzzle-piece { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border: 1px dashed var(--c-light); border-radius: var(--radius-card); }

/* Tables Asset Manager */
.reg-table { width: 100%; border-collapse: collapse; }
.reg-table th {
    background-color: var(--c-dark); color: white; padding: 12px; text-align: left;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Montserrat', sans-serif;
}
.reg-table td { padding: 10px 12px; border-bottom: 1px solid var(--c-slate-200); font-size: 0.9rem; color: var(--c-slate-600); }
.reg-table tr:nth-child(even) { background-color: var(--c-bg); }
.reg-table tr:hover { background-color: var(--c-blue-50); }
.reg-category { font-weight: bold; color: var(--c-primary); background-color: var(--c-blue-100); border-right: 2px solid white; }

/* Listes Pain/Gain */
.list-pain li, .list-gain li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
.list-pain li::before { content: '⚠️'; position: absolute; left: 0; top: 0; font-size: 0.8rem; }
.list-gain li::before { content: '✅'; position: absolute; left: 0; top: 0; font-size: 0.8rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-color: var(--c-slate-100); }

/* ==========================================================================
   7. RESPONSIVE & FIXES SPÉCIFIQUES
   ========================================================================== */
@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:text-left { text-align: left; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:block { display: block; }
}

@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    
    /* FIX FLÈCHES SOLUTIONS : On centre les éléments verticalement dans la rangée, mais on garde la hauteur si nécessaire */
    .flex-col.lg\:flex-row {
        align-items: stretch; /* Par défaut stretch pour les boites */
    }
    
    /* Cible les flèches (SVG dans des divs de texte gris) pour les centrer */
    .lg\:flex-row > .text-slate-300, 
    .lg\:flex-row > .transform {
        align-self: center;
    }
    
    /* FIX GRAPHIQUE DATA SOLUTIONS : Force le centrage de l'élément col-span-2 */
    .col-span-2 { 
        grid-column: span 2 / span 2; 
        width: 100%; /* Assure que la boite prend toute la place */
    }

    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-1 { grid-column: span 1; }
    .lg\:col-span-2 { grid-column: span 2; }
    .lg\:gap-4 { gap: 1rem; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
    .lg\:rotate-0 { transform: rotate(0deg); }
    .lg\:translate-y-4 { transform: translateY(1rem); }
    .lg\:-translate-y-4 { transform: translateY(-1rem); }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:p-12 { padding: 3rem; }
}

/* =========================================
   CORRECTION HEADER (Structure Flexbox)
   ========================================= */

header .container {
    /* Active le mode Flexbox */
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    
    /* 1. On force la hauteur MINIMALE du bandeau */
    min-height: 100px !important; 
    
    /* 2. On s'assure que le contenu peut dépasser (pour le menu déroulant) */
    overflow: visible !important;
}

/* On force la taille du LOGO pour qu'il ne s'écrase jamais */
header .logo img {
    height: 84px !important; /* Force la hauteur de l'image */
    width: auto !important;  /* Garde les proportions */
    display: block;          /* Supprime les espaces fantômes sous l'image */
}

/* On s'assure que le logo ne rétrécit pas si l'écran est petit */
header .logo {
    flex-shrink: 0; 
}
/* Sécurité pour la navigation */
header nav {
    margin-left: auto; /* Pousse le menu vers la droite si besoin */
}