/* ===== TEJ Hero/Header Styles ===== */
:root{
  /* Couleurs */
  --tej-primary-color: #1e3a8a;
  --tej-text-color: #111827;
  --tej-light-color: #fff;
  --tej-border-color: #d1d5db;

  /* Espacements (exemple de système) */
  --space-xs: 0.5rem;  /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1.25rem; /* 20px */
  --space-lg: 2rem;    /* 32px */

  /* Variables de couleur pour les sections d'offres */
  --dark-blue: #0b3d61;
  --mid-blue: #4d82a8;
  --light-blue: #89b0d3;
  --pale-yellow: #F0E68C;
  --text-dark: #1C2853;
  --text-light: #5E6C84;
  --bg-page: #DCE6F2; 
  --bg-card: #FFFFFF;
  --bg-grey: #f7f9fc;
  --border-grey: #EAECEF;
  --highlight-red: #d9534f;
}

/* SOLUTION DÉFINITIVE : Règle infaillible pour la police russe */
.is-russian-lang {
    font-family: 'Inter', sans-serif; /* Applique Inter comme police de base pour le russe */
}

.tej-hero{
  position:relative;
  min-height:80vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color: var(--tej-text-color);
  font-family: 'Sora', sans-serif; /* AMÉLIORATION : Assure l'uniformité de la police */
}

.tej-hero .tej-bg{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  /* AMÉLIORATION : Ajout de l'effet parallaxe */
  background-attachment: fixed;
}

.tej-hero .tej-inner{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:880px;
  margin:0 auto;
  padding:0 var(--space-md);
}

.tej-hero h1{
  margin:0;
  font-size:clamp(42px, 7.5vw, 86px);
  font-weight:800;
  line-height:1.05;
}

.tej-hero .tej-tag{
  display:inline-block;
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--tej-primary-color);
  color: var(--tej-light-color);
  border-radius:8px;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
}

.tej-hero .tej-right-vertical{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%) rotate(90deg);
  transform-origin:right center;
  color: var(--tej-primary-color);
  font-weight:700;
  letter-spacing:.22em;
  font-size:14px;
  white-space:nowrap;
  z-index:2;
}

@media (max-width: 768px){
  .tej-hero{ min-height:68vh; }
  .tej-hero .tej-right-vertical{ display:none; }
  .tej-top-nav-secondary {
    flex-direction: column; /* Empile les liens verticalement */
    align-items: center; /* Centre les liens empilés */
  }
}

/* Header menu button styles (assign CSS Classes per menu item) */
.kadence-header .menu a.button-outline{
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:8px 16px !important;
  line-height:1;
}

/* ===== En-tête Personnalisé TEJ ===== */

/* ÉTAPE 1 : On masque l'en-tête de Kadence */
#masthead.site-header {
    display: none !important;
}

.tej-custom-header {
    background-color: var(--tej-light-color);
    padding: 15px 30px;
    border-bottom: 1px solid var(--tej-border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    font-family: 'Sora', sans-serif;
}

.tej-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.tej-logo a {
    /* CORRECTION : Suppression des styles de texte pour n'afficher que l'image */
    text-decoration: none;
    display: inline-block; /* Assure un bon comportement du lien */
}

.tej-main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* AMÉLIORATION : Styles de base pour les liens de navigation et les boutons */
.tej-main-nav li a,
.button-standard,
.button-ecosystem {
    display: block;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}
/* CACHÉ PAR DÉFAUT : Le bouton burger ne s'affiche que sur mobile */
.tej-mobile-menu-toggle {
    display: none;
}

/* AMÉLIORATION : Style des boutons "Ghost" pour un look plus épuré */
.button-standard {
    background-color: transparent;
    color: var(--dark-blue, #0b3d61);
    border: 2px solid var(--border-grey);
}
.button-standard:hover {
    background-color: var(--dark-blue, #0b3d61);
    color: var(--tej-light-color);
    border-color: var(--dark-blue, #0b3d61);
    transform: translateY(-2px);
}

/* AMÉLIORATION : Style du bouton principal (CTA) avec dégradé et ombre */
.button-ecosystem {
    background: linear-gradient(135deg, var(--mid-blue) 0%, var(--dark-blue) 100%);
    color: var(--tej-light-color);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(45, 55, 72, 0.1);
}
.button-ecosystem:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(45, 55, 72, 0.15);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 100%);
}

/* AMÉLIORATION : Styles pour les nouveaux contrôles du header */
.tej-header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tej-logo img {
    max-height: 75px; /* AMÉLIORATION : Logo agrandi pour plus de visibilité */
    width: auto;
    display: block;
}

/* ===== AMÉLIORATION : Sélecteur de langue en menu déroulant ===== */
.tej-lang-switcher {
    position: relative;
}

.lang-switcher-dropdown .current-lang-display {
    cursor: pointer;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
}

.lang-switcher-dropdown .current-lang-display .arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-dark);
    transition: transform 0.3s ease;
}

.tej-lang-switcher:hover .current-lang-display .arrow {
    transform: rotate(180deg);
}

.lang-switcher-dropdown .lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--tej-light-color);
    border: 1px solid var(--tej-border-color);
    border-radius: 8px;
    margin-top: 5px;
    min-width: 80px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 10;
    padding: 8px;
    /* AMÉLIORATION EXPERTE : Transition douce et fiable */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.tej-lang-switcher:hover .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-dropdown .lang-options li a {
    display: block;
    padding: 8px 12px;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.lang-switcher-dropdown .lang-options li a:hover {
    background-color: var(--bg-page);
}

/* Style du menu déroulant "Offres" */
.tej-main-nav .menu-item-has-children { position: relative; }
.tej-main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--tej-light-color);
    border: 1px solid var(--tej-border-color);
    border-radius: 8px;
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.tej-main-nav .menu-item-has-children:hover .sub-menu { display: block; }
.tej-main-nav .sub-menu a {
    color: var(--dark-blue, #0b3d61);
    border: none;
}
.tej-main-nav .sub-menu a:hover {
    background-color: var(--bg-page, #DCE6F2);
}

/* ===== AMÉLIORATION : Masquer les titres de page sur l'accueil et le blog ===== */
.home .entry-header,
.blog .entry-header {
    display: none;
}

/* Ajustement pour le contenu qui suit le titre masqué */
.home .entry-content,
.blog .entry-content {
    margin-top: 0;
}

/* ===== TEJ Sections d'Offres (Code Original Compilé) ===== */

/* 
 * Ce bloc de code contient tous les styles de vos 4 sections.
 * Le conteneur .tej-offers-wrapper isole ces styles pour éviter les conflits.
 */
.tej-offers-wrapper {
    font-family: 'Sora', sans-serif;
    color: var(--text-dark);
}

/* Transitions douces pour le changement de thème */
body, .tej-custom-header, .tej-offers-wrapper .tej-page-section, .card, .eco-card, .example-card, .tej-logo a {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Structure de base pour chaque section */
.tej-offers-wrapper .tej-page-section {
    position: relative; /* Nécessaire pour les éléments décoratifs */
    padding: 40px 20px;
    background-color: var(--tej-bg-page);
    overflow: hidden; /* Empêche les décorations de déborder */
}

/* AMÉLIORATION "OCÉAN" : Ajout d'un motif de vagues très subtil en fond */
.tej-offers-wrapper .tej-page-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Hauteur de la vague */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230b3d61' fill-opacity='0.08' d='M0,160L48,181.3C96,203,192,245,288,240C384,235,480,181,576,170.7C672,160,768,192,864,197.3C960,203,1056,181,1152,160C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: auto 100px;
    z-index: 0;
    animation: wave-move 25s linear infinite;
    transition: background-image 0.3s ease;
}
/* La section "How to" a un fond blanc différent */
.tej-offers-wrapper #how-to-make-it-happen .main-container {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto; /* CORRECTION : Centre le conteneur de la dernière section */
    position: relative; /* Assure que le contenu est au-dessus des décorations */
    z-index: 1;
}
.tej-offers-wrapper #how-to-make-it-happen .example-card p { font-size: 15px; line-height: 1.5; color: var(--text-dark); margin: 0; }
.tej-offers-wrapper .section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative; /* Assure que le contenu est au-dessus des décorations */
    z-index: 1;
}
.tej-offers-wrapper .section-header h2 { /* Remplace les h1 originaux */
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    position: relative;
    padding-bottom: 15px;
}
/* AMÉLIORATION DESIGN : Ajout d'un soulignage décoratif pour les titres de section */
.tej-offers-wrapper .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--mid-blue);
    opacity: 0.6;
}
.tej-offers-wrapper .section-header h3 { /* Remplace les h2 originaux */
    font-size: 20px;
    font-weight: 400;
    color: var(--mid-blue);
    margin: 0;
}

/* --- SECTION 1 : ÉCOSYSTÈME --- */
.tej-offers-wrapper #ecosystem .ecosystem-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    max-width: 1150px; 
    margin: auto;
    align-items: start; 
}
.tej-offers-wrapper #ecosystem .eco-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    text-align: center;
    height: 100%;
}
/* AMÉLIORATION : Ajout d'un effet de "lévitation" au survol des cartes */
.tej-offers-wrapper #ecosystem .eco-card,
.tej-offers-wrapper #sourcing .card,
.tej-offers-wrapper #development .card,
.tej-offers-wrapper #how-to-make-it-happen .example-card,
.tej-offers-wrapper #ecosystem .pillar-box,
.tej-offers-wrapper #assessment .main-circle {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.tej-offers-wrapper #ecosystem .eco-card:hover,
.tej-offers-wrapper #sourcing .card:hover,
.tej-offers-wrapper #development .card:hover,
.tej-offers-wrapper #how-to-make-it-happen .example-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(28, 40, 83, 0.12);
}
.tej-offers-wrapper #ecosystem .pillar-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(28, 40, 83, 0.2);
}
.tej-offers-wrapper #assessment .main-circle:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(77, 130, 168, 0.5);
}
.tej-offers-wrapper #ecosystem .eco-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px 0; }
.tej-offers-wrapper #ecosystem .eco-card p { 
    font-size: 13px; 
    color: var(--text-light); 
    line-height: 1.6; /* AMÉLIORATION LISIBILITÉ : Augmentation de l'interligne */
    margin: 0; 
}
.tej-offers-wrapper #ecosystem .eco-card .highlight { color: var(--text-dark); font-weight: 600; }
.tej-offers-wrapper #ecosystem .center-column { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; align-items: center; justify-items: center; gap: 8px; }
.tej-offers-wrapper #ecosystem .circle-core { grid-column: 2; grid-row: 2; width: 250px; height: 250px; background-color: var(--bg-page); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px; }
.tej-offers-wrapper #ecosystem .circle-core .title { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.tej-offers-wrapper #ecosystem .circle-core .subtitle { font-size: 12px; color: var(--text-light); margin: 3px 0; }
.tej-offers-wrapper #ecosystem .circle-core .presence { font-size: 10px; font-weight: 600; color: var(--text-light); margin-top: 5px; }
.tej-offers-wrapper #ecosystem .pillar-box { background-color: var(--mid-blue); color: var(--tej-light-color); border-radius: 6px; padding: 8px 12px; font-weight: 600; font-size: 13px; text-align: center; }
.tej-offers-wrapper #ecosystem #pillar1 { grid-column: 2; grid-row: 1; }
.tej-offers-wrapper #ecosystem #pillar2 { grid-column: 3; grid-row: 2; }
.tej-offers-wrapper #ecosystem #pillar3 { grid-column: 2; grid-row: 3; }
.tej-offers-wrapper #ecosystem #pillar4 { grid-column: 1; grid-row: 2; }
.tej-offers-wrapper #ecosystem .publications-image { width: 100%; max-width: 500px; height: auto; margin: 15px auto 0 auto; display: block; }

/* AMÉLIORATION : Assure que les piliers devenus des liens n'ont pas de soulignement */
.tej-offers-wrapper #ecosystem a.pillar-box {
    text-decoration: none;
}

/* CORRECTION : Centre la dernière carte de la section écosystème */
.tej-offers-wrapper #ecosystem .ecosystem-container .eco-card:last-of-type {
    grid-column: 1 / -1;
}

/* --- SECTION 2 : ASSESSMENT --- */
.tej-offers-wrapper #assessment .assessment-canvas { position: relative; width: 100%; height: 1020px; max-width: 1200px; margin: auto; } /* CORRECTION : Plus d'espace vertical pour éviter les superpositions */
.tej-offers-wrapper #assessment .node { position: absolute; box-sizing: border-box; text-align: center; }
.tej-offers-wrapper #assessment .index-card { background-color: var(--bg-grey); border: 1px solid var(--border-grey); border-radius: 6px; padding: 12px; }
.tej-offers-wrapper #assessment .index-card h4 { font-size: 14px; font-weight: 700; margin: 0 0 8px 0; }
.tej-offers-wrapper #assessment .index-card p { font-size: 12px; line-height: 1.5; color: var(--text-light); margin: 0; }
.tej-offers-wrapper #assessment .index-card .highlight { color: var(--text-dark); font-weight: 600; }
.tej-offers-wrapper #assessment .main-circle { border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 700; }
.tej-offers-wrapper #assessment .skill-bubble { position: absolute; background-color: var(--bg-page); border-radius: 4px; padding: 5px 8px; font-size: 10px; font-weight: 600; width: 120px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.tej-offers-wrapper #assessment .connector { position: absolute; }
.tej-offers-wrapper #assessment .line { background-color: var(--text-light); z-index: -1; height: 2px; }
.tej-offers-wrapper #assessment .arrow-down { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--mid-blue); }
.tej-offers-wrapper #assessment .label { font-size: 11px; font-weight: 600; color: var(--text-light); background-color: var(--bg-page); padding: 0 5px; }
.tej-offers-wrapper #assessment .perception-label { border: 2px solid var(--text-light); border-radius: 4px; padding: 2px 5px; background-color: var(--bg-card); }
.tej-offers-wrapper #assessment #relationship-card { top: 0; left: 0; width: 30%; }
.tej-offers-wrapper #assessment #diversity-card { top: 0; right: 0; width: 30%; }
.tej-offers-wrapper #assessment #cri-card { top: 180px; left: 5%; width: 18%; }
.tej-offers-wrapper #assessment #sri-card { top: 180px; right: 5%; width: 18%; }
.tej-offers-wrapper #assessment #collab-card { bottom: 250px; left: 0; width: 30%; } /* CORRECTION : Positionnement ajusté pour éviter la superposition */
.tej-offers-wrapper #assessment #impact-card { bottom: 250px; right: 0; width: 30%; } /* CORRECTION : Positionnement ajusté pour éviter la superposition */
.tej-offers-wrapper #assessment #clients-circle { top: 415px; left: 15%; width: 130px; height: 130px; background-color: var(--pale-yellow); color: var(--text-dark); }
.tej-offers-wrapper #assessment #suppliers-circle { top: 415px; right: 15%; width: 130px; height: 130px; background-color: var(--pale-yellow); color: var(--text-dark); }
.tej-offers-wrapper #assessment #c-skill-1 { top: 380px; left: 2%; }
.tej-offers-wrapper #assessment #c-skill-2 { top: 450px; left: 0; }
.tej-offers-wrapper #assessment #c-skill-3 { top: 520px; left: 2%; }
.tej-offers-wrapper #assessment #c-skill-4 { top: 590px; left: 6%; }
.tej-offers-wrapper #assessment #s-skill-1 { top: 380px; right: 2%;}
.tej-offers-wrapper #assessment #s-skill-2 { top: 450px; right: 0; }
.tej-offers-wrapper #assessment #s-skill-3 { top: 520px; right: 2%;}
.tej-offers-wrapper #assessment #s-skill-4 { top: 590px; right: 6%;}
.tej-offers-wrapper #assessment #line-team-clients { top: 480px; left: 28%; width: 22%; }
.tej-offers-wrapper #assessment #line-team-suppliers { top: 480px; right: 28%; width: 22%; }
.tej-offers-wrapper #assessment #label-perception-clients { top: 440px; left: 33%; }
.tej-offers-wrapper #assessment #label-sw-clients { top: 490px; left: 33%; }
.tej-offers-wrapper #assessment #label-perception-suppliers { top: 440px; right: 33%;}
.tej-offers-wrapper #assessment #label-sw-suppliers { top: 490px; right: 33%;}
.tej-offers-wrapper #assessment #tosca-container { position: absolute; top: 100px; left: 30%; width: 40%; height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.tej-offers-wrapper #assessment .tosca-box { background-color: var(--bg-grey); padding: 10px 20px; border-radius: 4px; }
.tej-offers-wrapper #assessment .tosca-box h4 { font-size: 14px; font-weight: 700; margin: 0; }
.tej-offers-wrapper #assessment .tosca-box p { font-size: 10px; margin: 0; }
.tej-offers-wrapper #assessment .skills-branches { display: flex; justify-content: center; gap: 15px; width: 100%; }
.tej-offers-wrapper #assessment .skill-box { background-color: var(--bg-page); border-radius: 20px; padding: 8px 15px; font-size: 12px; font-weight: 600; }
.tej-offers-wrapper #assessment #buyers-circle { width: 90px; height: 90px; background-color: var(--light-blue); color: var(--tej-light-color); font-size: 14px; position: relative; }
.tej-offers-wrapper #assessment #team-circle { width: 160px; height: 160px; background-color: var(--dark-blue); color: var(--tej-light-color); font-size: 18px; }
.tej-offers-wrapper #assessment #arrow-from-buyers { position: absolute; bottom: -15px; }
.tej-offers-wrapper #assessment #benchmark-visual-container { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; display: flex; flex-direction: column; align-items: center; }
.tej-offers-wrapper #assessment .funnels-container { display: flex; justify-content: center; gap: 20px; align-items: flex-end; order: 2; }
.tej-offers-wrapper #assessment .funnel-group { display: flex; flex-direction: column; align-items: center; }
.tej-offers-wrapper #assessment .funnel { background-color: var(--light-blue); color: var(--tej-light-color); padding: 5px; border-radius: 4px; clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%); width: 120px; height: 50px; font-size: 10px; line-height: 1.2; display: flex; justify-content: center; align-items: center; text-align: center; }
.tej-offers-wrapper #assessment .funnel-arrow { margin-top: 5px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--text-dark); }
.tej-offers-wrapper #assessment .benchmark-bar { background-color: var(--dark-blue); color: var(--tej-light-color); font-weight: 700; padding: 8px 30px; border-radius: 4px; display: inline-block; order: 1; margin-bottom: 15px; }
.tej-offers-wrapper #assessment table { width: 100%; max-width: 800px; margin: 0 auto; border-collapse: collapse; font-size: 10px; order: 3; }
.tej-offers-wrapper #assessment th, .tej-offers-wrapper #assessment td { border: 1px solid #dee2e6; padding: 6px 8px; text-align: center; }
.tej-offers-wrapper #assessment th { background-color: var(--dark-blue); color: var(--tej-light-color); font-weight: 600; }
.tej-offers-wrapper #assessment tr:nth-child(even) { background-color: var(--bg-grey); }

/* --- SECTION 3 : SOURCING --- */
.tej-offers-wrapper #sourcing .content-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; max-width: 1200px; margin: auto; }
.tej-offers-wrapper #sourcing .cards-column { display: flex; flex-direction: column; gap: 20px; }
.tej-offers-wrapper #sourcing .card { border: 1px solid var(--border-grey); background-color: var(--bg-grey); border-radius: 6px; padding: 20px; text-align: left; }
.tej-offers-wrapper #sourcing .card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px 0; color: var(--text-dark); }
.tej-offers-wrapper #sourcing .card h4 { font-size: 14px; font-weight: 600; margin: 0 0 12px 0; color: var(--dark-blue); }
.tej-offers-wrapper #sourcing .card p { font-size: 14px; line-height: 1.6; color: var(--text-light); margin: 0; }
.tej-offers-wrapper #sourcing .center-column { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tej-offers-wrapper #sourcing .strategy-box { background-color: var(--dark-blue); color: var(--tej-light-color); padding: 20px 30px; border-radius: 4px; }
.tej-offers-wrapper #sourcing .strategy-box ul { list-style-type: none; padding: 0; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.8; }
.tej-offers-wrapper #sourcing .recruitment-type { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 400px; }
.tej-offers-wrapper #sourcing .type-box { border: 1px solid var(--border-grey); background-color: var(--bg-grey); padding: 8px 20px; border-radius: 4px; font-weight: 600; color: var(--text-dark); }
.tej-offers-wrapper #sourcing .person-icon { text-align: center; }
.tej-offers-wrapper #sourcing .person-icon img { width: 80px; height: auto; }
.tej-offers-wrapper #sourcing .person-icon span { display: block; margin-top: 5px; font-weight: 700; color: var(--text-dark); }
.tej-offers-wrapper #sourcing .sourcing-footer { text-align: center; margin-top: 50px; font-size: 18px; line-height: 1.7; color: var(--text-light); max-width: 1200px; margin-left: auto; margin-right: auto; }
.tej-offers-wrapper #sourcing .sourcing-footer .highlight-red { color: var(--highlight-red); font-weight: 600; }
.tej-offers-wrapper #sourcing .sourcing-footer strong { color: var(--text-dark); }

/* --- SECTION 4 : DEVELOPMENT --- */
.tej-offers-wrapper #development .content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; align-items: stretch; max-width: 1200px; margin: auto; }
.tej-offers-wrapper #development .card { border: 1px solid var(--border-grey); background-color: var(--bg-grey); border-radius: 6px; padding: 25px; text-align: left; display: flex; flex-direction: column; }
.tej-offers-wrapper #development .card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px 0; color: var(--text-dark); }
.tej-offers-wrapper #development .card h4 { font-size: 14px; font-weight: 600; margin: 0 0 12px 0; color: var(--dark-blue); }
.tej-offers-wrapper #development .card p, .tej-offers-wrapper #development .card ul { font-size: 14px; line-height: 1.7; color: var(--text-light); margin: 0; }
.tej-offers-wrapper #development .card ul { padding-left: 20px; list-style: none; }
.tej-offers-wrapper #development .card ul li { position: relative; padding-left: 20px; margin-bottom: 5px; }
.tej-offers-wrapper #development .card ul li::before { content: '>'; position: absolute; left: 0; color: var(--mid-blue); font-weight: 700; }
.tej-offers-wrapper #development .development-footer { text-align: center; margin-top: 50px; padding: 25px; background-color: var(--dark-blue); color: var(--tej-light-color); border-radius: 6px; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* AMÉLIORATION "OCÉAN" : Dégradé subtil pour le footer */
.tej-offers-wrapper #development .development-footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 100%);
}
.tej-offers-wrapper #development .development-footer p { 
    font-size: 18px; 
    font-weight: 600; 
    line-height: 1.7; margin: 0; 
}
.tej-offers-wrapper #how-to-make-it-happen .resources-visual { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; flex-wrap: wrap; gap: 15px; position: relative; }
.tej-offers-wrapper #how-to-make-it-happen .resource-group { text-align: center; width: 180px; display: flex; flex-direction: column; align-items: center; }
.tej-offers-wrapper #how-to-make-it-happen .resource-group h3 { text-align: center; color: var(--mid-blue); font-weight: 700; }
/* AMÉLIORATION DYNAMIQUE : Animation de rotation des cercles */
.tej-offers-wrapper #how-to-make-it-happen .circles-container { position: relative; width: 100px; height: 100px; margin-bottom: 15px; animation: spin 5s linear infinite; }
.tej-offers-wrapper #how-to-make-it-happen .circle { width: 22px; height: 22px; border-radius: 50%; position: absolute; top: 50%; left: 50%; margin: -11px 0 0 -11px; }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(1) { transform: rotate(0deg)   translate(40px) rotate(0deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(2) { transform: rotate(51deg)  translate(40px) rotate(-51deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(3) { transform: rotate(103deg) translate(40px) rotate(-103deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(4) { transform: rotate(154deg) translate(40px) rotate(-154deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(5) { transform: rotate(206deg) translate(40px) rotate(-206deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(6) { transform: rotate(257deg) translate(40px) rotate(-257deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circles .circle:nth-of-type(7) { transform: rotate(308deg) translate(40px) rotate(-308deg); }
.tej-offers-wrapper #how-to-make-it-happen .external-circles .circle:nth-of-type(1) { transform: rotate(0deg)   translate(40px) rotate(0deg); }
.tej-offers-wrapper #how-to-make-it-happen .external-circles .circle:nth-of-type(2) { transform: rotate(60deg)  translate(40px) rotate(-60deg); }
.tej-offers-wrapper #how-to-make-it-happen .external-circles .circle:nth-of-type(3) { transform: rotate(120deg) translate(40px) rotate(-120deg); }
.tej-offers-wrapper #how-to-make-it-happen .external-circles .circle:nth-of-type(4) { transform: rotate(180deg) translate(40px) rotate(-180deg); }
.tej-offers-wrapper #how-to-make-it-happen .external-circles .circle:nth-of-type(5) { transform: rotate(240deg) translate(40px) rotate(-240deg); }
.tej-offers-wrapper #how-to-make-it-happen .external-circles .circle:nth-of-type(6) { transform: rotate(300deg) translate(40px) rotate(-300deg); }
.tej-offers-wrapper #how-to-make-it-happen .internal-circle { background-color: var(--light-blue); }
.tej-offers-wrapper #how-to-make-it-happen .external-circle-red { background-color: #d9534f; }
.tej-offers-wrapper #how-to-make-it-happen .external-circle-green { background-color: #5cb85c; }
.tej-offers-wrapper #how-to-make-it-happen .external-circle-yellow { background-color: #f0ad4e; }
.tej-offers-wrapper #how-to-make-it-happen .person-icon { width: 110px; height: auto; z-index: 2; }
.tej-offers-wrapper #how-to-make-it-happen .fraction { font-size: 32px; font-weight: 700; }
.tej-offers-wrapper #how-to-make-it-happen .connection-line { position: absolute; left: 25%; top: 50%; width: 50%; border-top: 2px dashed #b0c4de; z-index: 1; }
.tej-offers-wrapper #how-to-make-it-happen .content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tej-offers-wrapper #how-to-make-it-happen .grid-column .section-number { font-size: 24px; font-weight: 700; margin-bottom: 5px; text-align: left; }
.tej-offers-wrapper #how-to-make-it-happen .grid-column .point-description { font-size: 16px; line-height: 1.6; margin-bottom: 20px; min-height: 110px; text-align: left; }
.tej-offers-wrapper #how-to-make-it-happen .example-card { background-color: var(--bg-grey); border: 1px solid var(--border-grey); border-left: 4px solid var(--mid-blue); border-radius: 6px; padding: 20px; margin-top: 20px; }
.tej-offers-wrapper #how-to-make-it-happen .example-card h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-top: 0; margin-bottom: 10px; text-align: left; }
.tej-offers-wrapper #how-to-make-it-happen .chart-section { margin-top: 40px; padding-top: 30px; border-top: 2px solid var(--border-grey); text-align: center; }
.tej-offers-wrapper #how-to-make-it-happen .chart-section h3 { font-size: 18px; text-align: center; margin-bottom: 20px; }
.tej-offers-wrapper #how-to-make-it-happen .chart-image { max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* AMÉLIORATION DYNAMIQUE : Animation des vagues */
@keyframes wave-move {
  from { background-position-x: 0; }
  to { background-position-x: -1440px; }
}
/* CORRECTION : Rétablissement de l'animation "spin" pour les cercles */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- RESPONSIVE GLOBAL --- */
@media (max-width: 1024px) {
    .tej-offers-wrapper #ecosystem .ecosystem-container { grid-template-columns: 1fr; }
    .tej-offers-wrapper #ecosystem .center-column { order: -1; }
    .tej-offers-wrapper #assessment .assessment-canvas { height: auto; display: flex; flex-direction: column; gap: 20px; }
    .tej-offers-wrapper #assessment .node { position: static; transform: none !important; width: 100% !important; }
    .tej-offers-wrapper #assessment .connector, .tej-offers-wrapper #assessment .label, .tej-offers-wrapper #assessment .skill-bubble { display: none; }
    .tej-offers-wrapper #assessment #tosca-container, .tej-offers-wrapper #assessment #benchmark-visual-container { position: static; }
}
@media (max-width: 992px) {
    .tej-offers-wrapper #sourcing .content-grid { grid-template-columns: 1fr; }
    .tej-offers-wrapper #sourcing .center-column { order: -1; }
    .tej-offers-wrapper #development .content-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .tej-offers-wrapper #how-to-make-it-happen .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .tej-offers-wrapper #how-to-make-it-happen .grid-column .point-description { min-height: auto; }
    .tej-offers-wrapper #how-to-make-it-happen .connection-line { display: none; }
    .tej-offers-wrapper #how-to-make-it-happen .resources-visual { justify-content: center; }
    /* CORRECTION RESPONSIVE EXPERTE : La colonne centrale de l'écosystème s'empile verticalement */
    .tej-offers-wrapper #ecosystem .center-column {
        display: flex;
        flex-direction: column;
        grid-template-columns: none; /* Annule la grille interne */
        grid-template-rows: none;
        gap: 15px;
        margin-bottom: 20px;
    }
}
@media (max-width: 600px) {
    .tej-offers-wrapper #development .content-grid { grid-template-columns: 1fr; }
    .tej-team-grid { grid-template-columns: 1fr; } /* Une seule colonne pour les membres de l'équipe sur très petits écrans */
}

/* ===== STYLES POUR LES NOUVELLES SECTIONS ===== */

/* --- Section "Ils nous font confiance" --- */
.tej-trust-logos {
    text-align: center;
    margin-top: 20px;
}
.tej-trust-logos img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.tej-trust-logos img:hover {
    opacity: 1;
}
html.dark-mode .tej-trust-logos img {
    filter: invert(1) brightness(1.5);
}

/* --- Section "À Propos" --- */
.tej-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: center;
}
@media (min-width: 992px) {
    .tej-about-grid {
        grid-template-columns: 1.2fr 1fr; /* Donne un peu plus de place au texte */
    }
}
.tej-about-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.tej-about-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}
.tej-about-content p, .tej-about-content ul {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}
.tej-about-content ul {
    list-style: none;
    padding-left: 0;
}
.tej-about-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.tej-about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mid-blue);
    font-weight: 700;
}
.tej-about-content .button-ecosystem {
    margin-top: 30px;
    display: inline-block;
}
.tej-about-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.tej-about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Section "Équipe" --- */
.tej-team-grid {
    /* AMÉLIORATION : Grille horizontale fixe qui s'adapte */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    justify-content: center;
}
.team-member-card {
    text-align: center;
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet sur la carte entière */
}
.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(28, 40, 83, 0.1);
}
.team-member-card .image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 4px solid var(--mid-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Effet sur le cercle */
}
/* AMÉLIORATION : Effet de halo sur l'image au survol de la carte */
.team-member-card:hover .image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--mid-blue);
}
.team-member-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member-card .member-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.team-member-card .member-title {
    font-size: 14px;
    color: var(--dark-blue);
    margin-top: 5px;
}

/* --- Section "Planifier RDV" --- */
/* AMÉLIORATION : Section transformée en bloc d'appel à l'action */
.tej-schedule-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 100%);
    /* AMÉLIORATION : Centrage vertical et préparation pour l'animation */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}
.tej-schedule-section .tej-section-container {
    text-align: center;
    max-width: 800px;
    position: relative; /* Pour être au-dessus des animations */
    z-index: 2;
}
.tej-schedule-section .section-header h2,
.tej-schedule-section p {
    color: var(--tej-light-color); /* Texte clair sur fond sombre */
}
.tej-schedule-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}
.tej-schedule-section .contact-direct {
    margin-top: 30px;
    font-size: 16px;
}
.tej-schedule-section .contact-direct a {
    font-weight: 700;
    color: var(--tej-light-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.tej-schedule-section .contact-direct a:hover {
    border-color: var(--tej-light-color);
}

/* AMÉLIORATION : Animation de vagues sur les côtés */
.tej-schedule-section::before,
.tej-schedule-section::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 45% 55% 70% 30% / 30% 50% 50% 70%;
    z-index: 1;
    animation: wave-bob 12s ease-in-out infinite;
}

.tej-schedule-section::before {
    left: -200px;
    transform: translateY(-50%);
}

.tej-schedule-section::after {
    right: -200px;
    transform: translateY(-50%);
    animation-delay: -5s; /* Décale l'animation de l'autre vague */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

@keyframes wave-bob {
    0%, 100% { transform: translateY(-50%) rotate(0deg); border-radius: 45% 55% 70% 30% / 30% 50% 50% 70%; }
    50% { transform: translateY(-45%) rotate(180deg); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* --- Section "Contact" --- */
.tej-contact-global {
    background-color: var(--bg-grey);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    margin: 20px auto 40px auto;
}
.tej-contact-global h4, .tej-contact-box h5 { font-weight: 700; color: var(--text-dark); }
.tej-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.tej-contact-box {
    background-color: var(--bg-grey);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}
.tej-contact-box .section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; color: var(--dark-blue); }
.tej-contact-box a { color: var(--text-light); text-decoration: none; }
.tej-contact-box a:hover { text-decoration: underline; color: var(--mid-blue); }

/* AMÉLIORATION : Couleur spécifique pour le sous-titre Contact */
#contact .section-header h3 {
    color: #50a0cf;
}

/* ===== Pied de Page Personnalisé TEJ ===== */

/* On masque le pied de page par défaut de Kadence */
#colophon.site-footer {
    display: none !important;
}

.tej-custom-footer {
    background-color: #061a2b; /* Couleur de fond sombre et unique */
    color: #a0aec0; /* Texte clair par défaut */
    font-family: 'Sora', sans-serif;
}

/* --- Section des Vagues --- */
.tej-footer-waves {
    position: relative;
    height: 250px;
    background: linear-gradient(to top, #061a2b, #0b3d61); /* Dégradé de fond */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Création des vagues animées avec des pseudo-éléments */
.tej-footer-waves::before,
.tej-footer-waves::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background-repeat: repeat-x;
}

.tej-footer-waves::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250.4 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%234d82a8' fill-opacity='0.3'/%3E%3C/svg%3E");
    animation: wave-flow 15s linear infinite;
    z-index: 2;
}

.tej-footer-waves::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250.4 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%2389b0d3' fill-opacity='0.3'/%3E%3C/svg%3E");
    animation: wave-flow 20s linear infinite reverse;
    z-index: 1;
}

@keyframes wave-flow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.footer-title {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.footer-title h1 {
    /* AMÉLIORATION : Couleur plus visible pour le titre du footer */
    color: #59ebfb; 
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.footer-title p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.2em;
    margin: 0;
    text-transform: uppercase;
}

/* --- Contenu Principal du Footer --- */
.tej-footer-main {
    padding: 60px 30px;
}

.tej-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-column h5 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-column p {
    line-height: 1.7;
    margin: 0;
}

.footer-column .copyright {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.7;
}

/* NOUVEAU : Style de bouton "Glass" */
.button-glass {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.button-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.15);
    background-color: rgba(255, 255, 255, 0.8);
}

/* CORRECTION : Rend le bouton "glass" visible sur la section sombre "Planifier" */
.tej-schedule-section .button-glass {
    color: var(--tej-light-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.tej-schedule-section .button-glass:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--tej-light-color); /* Assure que le texte reste blanc au survol */
}

/* NOUVEAU : Style de bouton "Glass" avec couleur primaire pour "Nous Rejoindre" */
.button-primary-glass {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none !important; /* Force la suppression du soulignement */
    font-weight: 700;
    font-size: 16px;
    color: var(--tej-light-color);
    background: linear-gradient(135deg, rgba(77, 130, 168, 0.8) 0%, rgba(11, 61, 97, 0.8) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.button-primary-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.15);
    background: linear-gradient(135deg, rgba(77, 130, 168, 1) 0%, rgba(11, 61, 97, 1) 100%);
    color: var(--tej-light-color);
}

/* ===== Section "People Centric" (AMÉLIORÉE) ===== */

/* NOUVEAU : Grille principale pour la section */
.tej-people-centric-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stacked by default for mobile-first */
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 40px auto 0 auto;
}

@media (min-width: 992px) {
    .tej-people-centric-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); /* Donne un peu plus de place au texte */
    }
}

/* AMÉLIORATION : Texte aligné à gauche pour une meilleure lisibilité */
.tej-people-centric-content {
    margin: 0;
    text-align: left; /* Correction principale */
    font-size: 18px; /* AMÉLIORATION : Texte légèrement plus grand pour la lisibilité */
    line-height: 1.8;
    color: var(--text-light);
}

.tej-people-centric-content p:last-child {
    margin-bottom: 0;
}

.tej-highlight {
    color: var(--mid-blue);
    font-weight: 700;
}

/* AMÉLIORATION : Conteneur pour le visuel */
.tej-people-centric-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px; /* Donne de l'espace vertical au visuel */
}

/* NOUVEAU : Conteneur relatif pour positionner les labels */
.stickman-wrapper {
    position: relative;
    width: 280px; /* Correspond à la taille de l'image */
    height: 300px; /* Hauteur approximative de l'image */
}

.stickman-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: auto;
}

/* NOUVEAU : Style et positionnement des labels de compétence */
.stickman-wrapper .skill-label {
    position: absolute;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); /* Pour Safari */
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    white-space: nowrap; /* CORRECTION : Empêche le texte de passer à la ligne */
    z-index: 1;
}

/* AMÉLIORATION : Couleur du titre H2 de la section */
#people-centric .section-header h2 {
    color: var(--dark-blue);
}

/* AMÉLIORATION : Positionnement équilibré pour un espacement harmonieux */
.stickman-wrapper .skill-knowledge { top: -40px; left: 50%; transform: translateX(-50%); }
.stickman-wrapper .skill-soft { top: 45%; right: 100%; transform: translateY(-50%); margin-right: 20px; }
/* NOUVEAU : Positionnement de "Valeur" près du coeur */
.stickman-wrapper .skill-value { top: 45%; left: 100%; transform: translateY(-50%); margin-left: 20px; }
/* NOUVEAU : "Communication" déplacé vers le bas */
.stickman-wrapper .skill-comm { top: 80%; left: 100%; transform: translateY(-50%); margin-left: 5px; }
.stickman-wrapper .skill-exp { bottom: -40px; left: 50%; transform: translateX(-50%); }

/* Responsive pour la section People Centric */
@media (max-width: 991px) {
    .tej-people-centric-content {
        text-align: center; /* On recentre sur mobile où les lignes sont plus courtes */
    }
}

@media (max-width: 480px) {
    .tej-people-centric-visual {
        transform: scale(0.9); /* Réduit légèrement la taille du visuel complet */
    }
}

/* ===== AMÉLIORATIONS RESPONSIVES EXPERTES (V2) ===== */

@media (max-width: 991px) {
    /* --- SECTION PEOPLE CENTRIC (MOBILE) : Stratégie de mise à l'échelle PRÉCISE --- */
    .tej-people-centric-grid {
        gap: 20px; /* Réduit l'espace entre texte et visuel */
    }
    .tej-people-centric-content {
        order: -1; /* Place le texte avant le visuel sur mobile */
    }
    .tej-people-centric-visual {
        min-height: 350px; /* Ajustement de la hauteur */
        transform: none; /* On annule la mise à l'échelle globale */
        display: flex; /* On utilise flex pour centrer le wrapper */
        align-items: center;
        justify-content: center;
    }
    .stickman-wrapper {
        transform: scale(0.8); /* On réduit le visuel de manière contrôlée */
    }
    .stickman-wrapper .skill-label {
        white-space: nowrap; /* CORRECTION : Force le texte sur une seule ligne */
        font-size: 13px; /* CORRECTION : Police légèrement réduite pour plus d'espace */
    }

    /* CORRECTION EXPERTE : Rapproche les labels latéraux du centre sur mobile */
    .stickman-wrapper .skill-soft {
        margin-right: 2px;
    }
    .stickman-wrapper .skill-comm {
        margin-left: 2px;
    }

    /* --- SECTION ASSESSMENT (MOBILE) : Amélioration du tableau défilable --- */
    .tej-offers-wrapper #assessment #benchmark-visual-container {
        position: relative; /* Nécessaire pour le pseudo-élément */
        overflow-x: auto; /* Active le défilement horizontal */
        padding-bottom: 15px; /* Espace pour la barre de défilement */
        -webkit-overflow-scrolling: touch; /* Défilement fluide sur iOS */
    }
    /* On supprime l'ancien indicateur texte */
    .tej-offers-wrapper #assessment #benchmark-visual-container::after {
        content: none;
    }
    /* NOUVEL INDICATEUR : Dégradé visuel sur la droite */
    .tej-offers-wrapper #assessment #benchmark-visual-container::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 15px; /* pour ne pas couvrir la scrollbar */
        width: 50px;
        background: linear-gradient(to right, transparent, var(--bg-page));
        pointer-events: none; /* Permet de cliquer à travers */
        z-index: 2;
    }
    .tej-offers-wrapper #assessment table {
        min-width: 700px; /* Force le tableau à être large pour activer le scroll */
    }

    /* --- SECTION ECOSYSTEM (MOBILE) : Nettoyage --- */
    .tej-offers-wrapper #ecosystem .pillar-box {
        grid-column: auto; /* Annule le positionnement en grille */
        grid-row: auto;
    }
    .tej-offers-wrapper #ecosystem .circle-core {
        width: 200px;
        height: 200px;
    }
    /* Assure que la dernière carte prend toute la largeur */
    .tej-offers-wrapper #ecosystem .ecosystem-container .eco-card:last-of-type {
        grid-column: 1 / -1;
    }
}

/* Responsive pour la section Équipe */
@media (max-width: 1200px) {
    .tej-team-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .tej-team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .tej-team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Section "Blog Preview" ===== */
#blog-preview {
    background-color: var(--bg-page);
    padding-top: 60px;
    padding-bottom: 60px;
}

.tej-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tej-post-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tej-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(28, 40, 83, 0.1);
}

.tej-post-card .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.tej-post-card .post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tej-post-card .post-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.tej-post-card .post-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.tej-post-card .read-more {
    font-weight: 700;
    color: var(--mid-blue);
    text-decoration: none;
}

/* ===== Section B52K-LAB ===== */
#b52k-lab .main-container {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    max-width: 1400px; /* AMÉLIORATION : Conteneur élargi */
}

.b52k-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 992px) {
    .b52k-grid {
        /* AMÉLIORATION : Réduction de la taille de l'image pour donner plus de place au texte */
        grid-template-columns: minmax(0, 420px) 1fr;
    }
}

.b52k-media {
    position: relative;
    margin: 0;
    /* AMÉLIORATION : Remonte légèrement l'image pour plus de dynamisme */
    transform: translateY(-15px);
}

.b52k-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(28, 40, 83, 0.12);
}

.b52k-badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: var(--highlight-red);
    color: var(--tej-light-color);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
}

.b52k-content .b52k-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.b52k-content p {
    line-height: 1.8;
    color: var(--text-light);
}

.b52k-features {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.b52k-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.b52k-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mid-blue);
    font-weight: 700;
}

.b52k-cta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* CORRECTION : Forcer le style des boutons dans la section B52K-LAB */
.b52k-cta .button-ecosystem,
.b52k-cta .button-standard,
.tej-about-content .button-ecosystem,
.tej-schedule-section .button-ecosystem {
    display: inline-block;
}

/* ===== AMÉLIORATIONS RESPONSIVES GLOBALES ===== */

/* Styles pour le menu mobile (s'applique en dessous de 992px) */
@media (max-width: 992px) {
    /* Bloque le scroll du body quand le menu est ouvert */
    body.mobile-menu-active {
        overflow: hidden;
    }

    /* Ajustement du header sur mobile */
    .tej-custom-header {
        padding: 10px 15px;
    }
    .tej-logo img {
        max-height: 60px; /* Logo légèrement plus petit */
    }

    /* Affichage du bouton burger */
    .tej-mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001; /* Au-dessus du menu */
    }
    .tej-mobile-menu-toggle .line {
        width: 30px;
        height: 3px;
        background: var(--dark-blue);
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }
    /* Animation du burger en croix */
    .tej-mobile-menu-toggle[aria-expanded="true"] .line:nth-child(1) {
        transform: rotate(45deg);
    }
    .tej-mobile-menu-toggle[aria-expanded="true"] .line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    .tej-mobile-menu-toggle[aria-expanded="true"] .line:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Style du panneau de navigation mobile */
    .tej-main-nav {
        flex-direction: column;
        justify-content: flex-start; /* Aligne les éléments en haut */
        background: var(--bg-card);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* SOLUTION : Permet le défilement du menu si le contenu est trop long */
        overflow-y: auto;
        padding-top: 100px; /* Espace pour le header et la fermeture */
        padding-bottom: 40px;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
    }
    .tej-main-nav.is-open {
        transform: translateX(0);
    }
    .tej-main-nav ul {
        flex-direction: column;
        gap: 0; /* On gère l'espacement sur les li */
        align-items: center; /* AMÉLIORATION : Centre les boutons eux-mêmes */
    }
    .tej-main-nav ul li {
        margin-bottom: 15px;
        width: auto; /* Le conteneur du bouton s'adapte à son contenu */
    }
    .tej-main-nav li a {
        font-size: 24px; /* Liens plus grands pour le mobile */
    }
    /* Uniformisation des boutons dans le menu mobile */
    .tej-main-nav.is-open li a {
        width: auto; /* La largeur s'adapte au texte pour un rendu naturel */
        display: inline-block; /* Permet au bouton de s'ajuster */
        /* SOLUTION EXPERTE : Le padding est maintenant inclus dans la largeur totale */
        box-sizing: border-box;
        padding: 12px 25px; /* Padding généreux pour un meilleur aspect */
    }

    /* CORRECTION : Le sous-menu est maintenant un accordéon */
    .tej-main-nav .sub-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.03);
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 8px;
        /* Animation de l'accordéon */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    }
    /* Style du sous-menu quand il est ouvert */
    .tej-main-nav .menu-item-has-children.sub-menu-open .sub-menu {
        max-height: 500px; /* Hauteur suffisante pour contenir les liens */
        padding: 15px 0;
    }
    .tej-main-nav .sub-menu a {
        font-size: 18px; /* Liens de sous-menu plus petits */
        padding: 8px 22px;
    }

    /* On désactive le hover du bureau sur mobile */
    .tej-main-nav .menu-item-has-children:hover .sub-menu { display: none; }
    .tej-main-nav.is-open .menu-item-has-children:hover .sub-menu { display: block; }
}