/* ============================================
   HOMEPAGE TEST CSS - Page d'accueil améliorée
   ============================================ */

/* Banner Network Background - Vanta.js */
.homepage-banner {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  min-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  overflow: hidden;
}

/* Cercles décoratifs superposés */
.homepage-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.homepage-banner::after {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Transparence du canvas Vanta */
.homepage-banner canvas {
  opacity: 0.1 !important;
}

/* Transparence spécifique pour les oiseaux (index-test2) */
body:has(.vanta-birds-active) .homepage-banner canvas {
  opacity: 0.1 !important;
}

/* Contenu de la bannière */
.homepage-banner .banner-content {
  color: white;
  z-index: 10;
  width: 1200px;
  max-width: 100%;
  margin-inline: auto;
  line-height: 1.8em;
  position: relative;
}

.homepage-banner .banner-txt {
  width: 70%;
  font-size: 16px;
}

/* Wrapper pour le titre avec POM */
.homepage-banner .banner-title-wrapper {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

/* Logo POM horizontal */
.homepage-banner .pom-logo {
  font-size: 9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #268eff 0%, #26b3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.homepage-banner .pom-logo .pom-apostrophe {
  font-size: 0.5em;
  letter-spacing: 0;
  align-self: flex-end;
  margin-bottom: 0.8rem;
  margin-left: 5px;
}

.homepage-banner .banner-content h1 {
  color: white;
  font-weight: bold;
  padding-top: 13px;
  margin-left: 10px;
  min-width: max-content;
}

.homepage-banner .banner-content h1 span {
  display: block;
}

.homepage-banner .banner-content h1 span:nth-child(1) {
  color: #7adef4;
  font-size: 1.6em;
}

.homepage-banner .banner-content h1 span:nth-child(2) {
  font-size: 1.16em;
}

/* Initiales P O M en gras et bleu */
.homepage-banner .initiales-pom {
  background: linear-gradient(135deg, #268eff 0%, #26b3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.homepage-banner .banner-content h2 {
  background: linear-gradient(135deg, #268eff 0%, #26b3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
}

/* Image du personnage */
.homepage-banner .banner-image {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-right: 20px;
  z-index: 10;
}

.homepage-banner .banner-image img {
  height: 90%;
  object-fit: contain;
  overflow-y: hidden;
}

/* Container principal */
.pc-container .pc-content {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Supprimer padding-top du premier div dans pc-content */
.pc-container .pc-content > .row:first-child {
  padding-top: 0 !important;
}

/* Supprimer padding-block du page-header */
.pc-container .pc-content .page-header {
  padding-block: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Supprimer padding-top du row après le breadcrumb */
.pc-container .page-header + .row {
  padding-top: 0 !important;
}

/* Harmonisation globale de la typographie */
body {
  /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
  font-family: 'Arial';
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* Paragraphes globaux */
p {
  font-size: 14px;
  line-height: 1.8em;
  color: #555;
  margin-bottom: 1rem;
}

/* Harmonisation des contenus textuels dans toutes les sections */
.orientation p,
.fiches p,
.section-image-rose p,
.section-skills p,
.section-orientation-eclairee p,
.bloc-123 p,
.cta-test-section p,
.popular-jobs p,
.testimonials-section p,
.job-category-card p,
.content-block p {
  font-size: 13px !important;
  line-height: 1.8em !important;
  color: #555 !important;
}

/* Exception pour les textes sur fond coloré */
.section-image-rose p {
  color: white !important;
}

.section-orientation-eclairee p {
  color: #1a1a2e !important;
}

.testimonials-section p,
.testimonials-section .testimonial-text {
  color: #1a1a2e !important;
}

/* Conteneurs boxés génériques */
.boxed-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

/* Conteneur spécifique pour bloc-123 */
.bloc-123 .boxed-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

/* Supprimer les marges latérales du container pour les 3 cards */
.bloc-123 .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.bloc-123 .row {
  margin-left: 0;
  margin-right: 0;
}

.bloc-123 .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.bloc-123 .row > [class*="col-"]:first-child {
  padding-left: 0;
}

.bloc-123 .row > [class*="col-"]:last-child {
  padding-right: 0;
}

/* Conteneur pour la section orientation */
.orientation .boxed-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

/* Conteneur pour la section fiches */
.fiches .boxed-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

/* Section Soft Skills */
.section-skills {
  width: 100%;
  padding: 60px 0;
}

/* Titre Soft Skills en dehors du boxed-content */
.section-skills h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Conteneur pour section-skills */
.section-skills .boxed-content {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  padding: 40px;
  border-radius: 8px;
  align-items: flex-start;
}

.section-skills .boxed-content h6 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 25px;
  margin-top: 0;
}

.section-skills .boxed-content .box-text {
  width: 60%;
  padding-right: 40px;
}

.section-skills .boxed-content .box-text p {
  font-size: 14px;
  line-height: 1.8em;
  text-align: justify;
  color: #555;
  margin-bottom: 15px;
}

.section-skills .boxed-content .box-text p span {
  font-weight: 700;
  color: #667eea;
}

.section-skills .boxed-content .box-graph {
  width: 40%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0;
}

.section-skills .boxed-content .box-graph #gauge-section {
  width: 100%;
  margin-top: -20px;
}

/* Section orientation éclairée avec image de fond */
.section-orientation-eclairee {
  width: 100%;
  padding: 60px 0;
  margin-top: 60px;
  background-color: white;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/assets/images/banniere_bas.jpg');
  background-size: auto 100%, auto 100%;
  background-position: center center, left center;
  background-repeat: no-repeat, no-repeat;
}

/* Conteneur pour section orientation éclairée */
.section-orientation-eclairee .boxed-content {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 20px 60px;
  border-radius: 8px;
  color: #1a1a2e;
  background-color: transparent !important;
}

.section-orientation-eclairee .boxed-content h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #1a1a2e;
}

.section-orientation-eclairee .boxed-content h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #268eff;
}

.section-orientation-eclairee .boxed-content p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 14px !important;
  margin-bottom: 20px;
  color: #1a1a2e;
  line-height: 1.8em !important;
  text-align: justify;
}

.section-orientation-eclairee .boxed-content p span {
  font-weight: bold;
}

/* Global FontAwesome 6 Fix */
.fas, .far, .fab, .fa {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.far {
  font-weight: 400 !important;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

/* Force l'affichage des icônes avec Unicode en secours */
.fa-tools::before { content: "\f7d9" !important; }
.fa-shield::before, .fa-shield-alt::before { content: "\f505" !important; }
.fa-person-walking::before, .fa-walking::before { content: "\f554" !important; }
.fa-user-tie::before { content: "\f508" !important; }
.fa-hand-holding-heart::before { content: "\f4be" !important; }
.fa-trophy::before { content: "\f091" !important; }
.fa-martini-glass-citrus::before, .fa-cocktail::before { content: "\f561" !important; }
.fa-lightbulb::before { content: "\f0eb" !important; }
.fa-briefcase::before { content: "\f0b1" !important; }
.fa-graduation-cap::before { content: "\f19d" !important; }
.fa-school::before { content: "\f549" !important; }
.fa-bullhorn::before { content: "\f0a1" !important; }
.fa-laptop::before { content: "\f109" !important; }
.fa-globe::before { content: "\f0ac" !important; }
.fa-calculator::before { content: "\f1ec" !important; }
.fa-comments::before { content: "\f086" !important; }
.fa-shopping-cart::before { content: "\f07a" !important; }
.fa-users-cog::before { content: "\f509" !important; }
.fa-chart-line::before { content: "\f201" !important; }
.fa-users::before { content: "\f0c0" !important; }
.fa-tasks::before { content: "\f0ae" !important; }
.fa-eye::before { content: "\f06e" !important; }
.fa-user::before { content: "\f007" !important; }
.fa-chevron-down::before { content: "\f078" !important; }
.fa-chevron-up::before { content: "\f077" !important; }
.fa-graduation-cap::before { content: "\f19d" !important; }

/* Blocs 01-02-03 Improvements */
.bloc-123 .block {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  padding: 25px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bloc-123 .block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Conteneur pour icône + numéro sur la même ligne */
.bloc-123 .block .icon-number-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.bloc-123 .block .icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-size: 22px;
  flex-shrink: 0;
}

.bloc-123 .block .icon-wrapper i {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

.bloc-123 .block:nth-child(1) .icon-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bloc-123 .block:nth-child(2) .icon-wrapper {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.bloc-123 .block:nth-child(3) .icon-wrapper {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

/* Numéros 01-02-03 - alignés avec l'icône */
.bloc-123 .block h2 {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1;
}

.bloc-123 .block:nth-child(2) h2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bloc-123 .block:nth-child(3) h2 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Titres h3 des blocs */
.bloc-123 .block h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 15px 0;
  line-height: 1.4;
}

/* Sous-titres h4 */
.bloc-123 .block h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.bloc-123 .block:nth-child(2) h4 {
  color: #f093fb;
}

.bloc-123 .block:nth-child(3) h4 {
  color: #4facfe;
}

/* Paragraphes */
.bloc-123 .block p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Boutons des blocs 01-02-03 */
.bloc-123 .block .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-decoration: none;
  display: inline-block;
}

.bloc-123 .block .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.bloc-123 .block .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.bloc-123 .block .btn-secondary {
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  color: #666;
  cursor: not-allowed;
}

.bloc-123 .block .btn-secondary:hover {
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  box-shadow: none;
}

/* Read More/Less functionality */
.orientation .short-text {
  display: block;
}

.orientation .full-text {
  display: none;
}

.orientation .full-text.expanded {
  display: block;
}

.orientation .short-text.collapsed {
  display: none;
}

.read-more-btn {
  margin-top: 15px;
  cursor: pointer;
  color: #007bff;
  font-weight: 600;
  border: none;
  background: none;
  text-decoration: underline;
  padding: 10px 20px;
  transition: color 0.3s ease;
}

.read-more-btn:hover {
  color: #0056b3;
}

.read-more-btn i {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

/* Career Anchors Cards Enhancement */
.content-block {
  transition: all 0.3s ease;
  padding: 20px;
  padding-left: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: #f8f9fa;
  cursor: pointer;
  border-left: 4px solid transparent;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  height: 170px;
}

.content-block:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateX(5px);
}

/* Bordures colonne 1 - correspondent aux couleurs des icônes */
.content-block:nth-child(1) { border-left-color: #667eea; }
.content-block:nth-child(2) { border-left-color: #f093fb; }
.content-block:nth-child(3) { border-left-color: #4facfe; }
.content-block:nth-child(4) { border-left-color: #fa709a; }

/* Bordures colonne 2 - correspondent aux couleurs des icônes */
.col-lg-6:nth-child(2) .content-block:nth-child(1) { border-left-color: #43e97b; }
.col-lg-6:nth-child(2) .content-block:nth-child(2) { border-left-color: #fa8bff; }
.col-lg-6:nth-child(2) .content-block:nth-child(3) { border-left-color: #ff6b6b; }
.col-lg-6:nth-child(2) .content-block:nth-child(4) { border-left-color: #8e44ad; }

.content-block .icon-block {
  width: 55px;
  height: 55px;
  min-width: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Couleurs différentes pour chaque ancre - Colonne 1 */
.content-block:nth-child(1) .icon-block {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-block:nth-child(2) .icon-block {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.content-block:nth-child(3) .icon-block {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.content-block:nth-child(4) .icon-block {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Couleurs pour la deuxième colonne */
.col-lg-6:nth-child(2) .content-block:nth-child(1) .icon-block {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.col-lg-6:nth-child(2) .content-block:nth-child(2) .icon-block {
  background: linear-gradient(135deg, #fa8bff 0%, #2bd2ff 100%);
}

.col-lg-6:nth-child(2) .content-block:nth-child(3) .icon-block {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.col-lg-6:nth-child(2) .content-block:nth-child(4) .icon-block {
  background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%);
}

.content-block:hover .icon-block {
  transform: scale(1.15) rotate(5deg);
}

.content-block .icon-block i {
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 900 !important; /* Critical for FontAwesome 6 Free Solid */
  font-family: "Font Awesome 6 Free" !important;
}

/* Style for emoji icons - VERSION SIMPLIFIEE */
.emoji-icon {
  font-size: 32px;
}

/* FIX CRITIQUE : Annuler le transparent du .orientation .icon-block */
.content-block .icon-block .emoji-icon {
  -webkit-text-fill-color: initial !important;
  color: initial !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
}

/* Fallback au cas où FontAwesome ne charge pas */
.content-block .icon-block i::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 900 !important;
}

.content-block .text-block {
  flex: 1;
}

.content-block .text-block h4 {
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
}

/* Job Categories Cards */
.job-category-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  cursor: default;
  border: 2px solid #e9ecef;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.job-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.job-category-card:hover::before {
  transform: scaleX(1);
}

.job-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: #667eea;
}

.job-category-card h4 {
  margin-bottom: 15px;
  color: #333;
  font-weight: 700;
}

.job-category-card .category-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: white;
  font-size: 24px;
}

.job-category-card .category-icon i {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

.job-count-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #667eea;
  color: white;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Testimonials Slider */
.testimonials-section {
  background: white;
  padding: 60px 0;
  margin: 40px 0 0 0;
  color: #1a1a2e;
}

.testimonial-slide {
  text-align: center;
  padding: 30px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #268eff 0%, #26b3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}

.testimonial-avatar i {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #1a1a2e !important;
}

.testimonial-author {
  font-weight: 600;
  margin-top: 15px;
  color: #16213e;
}

/* Popular Jobs Section */
.popular-jobs {
  background: #f8f9fa;
  padding: 40px 0;
  margin: 40px 0;
  border-radius: 12px;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  text-decoration: none;
  color: inherit;
}

.job-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.job-card-icon i {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

.job-card-content {
  flex: 1;
}

.job-card h5 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #333;
}

.job-card .views {
  font-size: 12px;
  color: #6c757d;
}

.job-card .views i {
  font-weight: 900 !important;
  font-family: "Font Awesome 6 Free" !important;
}

/* CTA Section */
.cta-test-section {
  background: #f8f9fa;
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  color: #333;
  margin: 40px 0;
}

.cta-test-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 700;
}

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

.cta-test-section .btn-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  display: inline-block;
}

.cta-test-section .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  text-decoration: none;
  color: white;
}

/* Section Formations - Design moderne avec image detourée */
.section-image-rose {
  width: 100% !important;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
  background-image: url('/assets/images/banniere-formation4.png'), linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
  background-size: auto 70%, 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: left center, left top !important;
  padding: 60px 0 !important;
  margin: 0 0 40px 0 !important;
  position: relative !important;
}

.section-image-rose .boxed-content {
  max-width: 1200px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  right: 0 !important;
  margin: 0 auto !important;
  padding: 20px !important;
  background: transparent !important;
  position: relative !important;
  z-index: 2 !important;
}

.section-image-rose .box-content {
  width: 85% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  padding: 40px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: 12px !important;
  border-left: 6px solid #667eea !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2) !important;
  color: #333 !important;
  backdrop-filter: blur(10px) !important;
}

.section-image-rose .icon-block {
  flex-shrink: 0 !important;
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3) !important;
}

.section-image-rose .icon-block i {
  font-size: 40px !important;
  color: white !important;
}

.section-image-rose h2 {
  color: #2c3e50 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  margin-top: 0 !important;
}

.section-image-rose p {
  color: #555 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  font-size: 15px !important;
}

.section-image-rose .content-text {
  flex: 1;
}

/* Badge RNCP */
.rncp-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* Supprimer le margin-top du footer */
footer,
.footer {
  margin-top: 0 !important;
}

/* Responsive pour Formations */
@media (max-width: 768px) {
  .section-image-rose {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 30px 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section-image-rose::before {
    display: none !important;
  }

  .section-image-rose .boxed-content {
    padding: 0 !important;
    margin: 0 !important;
  }

  .section-image-rose .box-content {
    width: 100% !important;
    margin: 0 !important;
    flex-direction: column !important;
    text-align: center !important;
    padding: 25px 20px !important;
    gap: 20px !important;
  }

  /* Supprimer l'espace entre formations et soft skills */
  .section-image-rose {
    margin-bottom: 0 !important;
  }

  .section-skills {
    margin-top: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .section-skills h2 {
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
  }

  .section-skills .boxed-content {
    padding: 10px !important;
  }

  .section-skills .boxed-content h6 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .section-skills .boxed-content .box-text p {
    padding-inline: 20px !important;
    margin-bottom: 10px !important;
  }

  .section-skills .boxed-content .box-graph {
    margin-top: 20px !important;
  }

  .section-skills .boxed-content .box-graph #gauge-section {
    margin-top: 0 !important;
  }

  /* Masquer les labels de l'axe Y (à gauche en noir) sur mobile */
  #gauge-section .apexcharts-yaxis-texts-g,
  #gauge-section .apexcharts-yaxis,
  #gauge-section .apexcharts-yaxis-label {
    display: none !important;
  }

  /* Décaler le graphique vers la gauche pour supprimer l'espace vide */
  #gauge-section {
    margin-left: -85px !important;
    width: calc(100% + 85px) !important;
    margin-bottom: 0 !important;
  }

  /* Réduire l'espace entre soft skills et le bloc suivant */
  .section-skills {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
  }

  .section-orientation-eclairee {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Supprimer l'espace entre le dernier bloc et le footer */
  .pc-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .pc-container {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }


  /* Aligner les dataLabels (texte blanc) à gauche dans les barres */
  #gauge-section .apexcharts-datalabels text,
  #gauge-section .apexcharts-data-labels text,
  #gauge-section .apexcharts-bar-series text {
    text-anchor: start !important;
  }

  .section-image-rose .icon-block {
    width: 80px !important;
    height: 80px !important;
  }

  .section-image-rose .icon-block i {
    font-size: 36px !important;
  }

  .section-image-rose h2 {
    font-size: 26px !important;
  }
}

/* Responsive Mobile Optimizations */
@media (max-width: 768px) {
  /* ====== BANNIÈRE HERO MOBILE ====== */
  .homepage-banner {
    flex-direction: column;
    min-height: auto;
    padding: 80px 20px 0 20px;
    position: relative;
    overflow: hidden;
  }

  /* Contenu de la bannière - pleine largeur sur mobile */
  .homepage-banner .banner-content {
    width: 100%;
    margin-inline: 0;
    padding: 0;
    z-index: 10;
    position: relative;
  }

  /* Texte sur toute la largeur */
  .homepage-banner .banner-txt {
    width: 100%;
    font-size: 14px;
    line-height: 1.6em;
    text-align: left;
  }

  /* Titre wrapper - empiler verticalement sur mobile */
  .homepage-banner .banner-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Logo POM - taille réduite pour mobile */
  .homepage-banner .pom-logo {
    font-size: 4rem;
    letter-spacing: -4px;
  }

  /* Titres h1 */
  .homepage-banner .banner-content h1 {
    padding-top: 0;
  }

  .homepage-banner .banner-content h1 span:nth-child(1) {
    font-size: 1.2em;
  }

  .homepage-banner .banner-content h1 span:nth-child(2) {
    font-size: 0.9em;
  }

  /* Sous-titre h2 */
  .homepage-banner .banner-content h2 {
    font-size: 1rem;
    margin-bottom: 15px;
    margin-top: 10px;
  }

  /* Image du personnage - positionnement mobile */
  .homepage-banner .banner-image {
    position: relative;
    width: 100%;
    height: auto;
    padding-right: 0;
    justify-content: center;
    margin-top: -30px;
    margin-bottom: 0;
  }

  .homepage-banner .banner-image img {
    height: auto;
    max-height: 450px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: -10px;
  }

  /* ====== AUTRES SECTIONS ====== */
  .bloc-123 .block {
    margin-bottom: 20px;
  }

  /* Réduire l'espace entre bloc-123 et CTA */
  .bloc-123 {
    margin-bottom: 0 !important;
  }

  .bloc-123 .container {
    margin-bottom: 0 !important;
  }

  .bloc-123 .mb-4 {
    margin-bottom: 15px !important;
  }

  .cta-test-section {
    padding: 30px 20px;
    margin-top: 10px !important;
  }

  .testimonials-section {
    padding: 40px 15px;
  }

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

  .job-card {
    flex-direction: column;
    text-align: center;
  }

  /* ====== SECTION 8 RACINES PROFESSIONNELLES ====== */
  .content-block {
    height: auto !important;
    min-height: unset !important;
    padding: 15px;
    margin-bottom: 15px;
  }

  .content-block .text-block h4 {
    font-size: 14px !important;
  }

  .content-block .text-block p {
    font-size: 13px !important;
    line-height: 1.5em !important;
  }

  .content-block .icon-block {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .content-block .icon-block i {
    font-size: 20px;
  }

  /* ====== SECTION FICHES MÉTIER ====== */
  .fiches {
    padding-inline: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .fiches .boxed-content {
    padding: 15px 10px !important;
  }

  .fiches h2 {
    text-align: left !important;
    padding-inline: 10px !important;
  }

  .fiches .boxed-content > p {
    text-align: left !important;
    hyphens: auto;
    word-break: break-word;
    padding-inline: 10px !important;
  }

  .fiches .job-category-card {
    padding: 20px 15px;
  }

  .fiches .job-category-card h4 {
    font-size: 14px;
  }

  .fiches .job-category-card p {
    text-align: left !important;
    font-size: 13px !important;
    hyphens: auto;
  }

}

/* Tablettes */
@media (max-width: 992px) and (min-width: 769px) {
  .homepage-banner {
    padding: 80px 30px 40px 30px;
  }

  .homepage-banner .banner-content {
    margin-inline: 40px;
  }

  .homepage-banner .banner-txt {
    width: 60%;
    font-size: 15px;
  }

  .homepage-banner .pom-logo {
    font-size: 6rem;
    letter-spacing: -6px;
  }

  .homepage-banner .banner-image img {
    height: 80%;
  }
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Newsletter popup styling */
.newsletter-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  max-width: 350px;
  z-index: 9999;
  display: none;
}

.newsletter-popup.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.newsletter-popup h4 {
  margin-bottom: 10px;
  color: #333;
}

.newsletter-popup p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.newsletter-popup input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 10px;
}

.newsletter-popup button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-popup .close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  width: auto;
  padding: 0;
  color: #999;
}

.newsletter-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #268eff 0%, #26b3ff 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.newsletter-popup-btn:hover {
  background: linear-gradient(135deg, #1a6fd1 0%, #1a9fd1 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(38, 142, 255, 0.3);
}

/* Fix gauge section height - remove extra space */
#gauge-section {
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  margin-top: -50px !important;
}

/* ============================================================
   SOFT SKILLS - Grille d'icônes (v1)
   ============================================================ */

/* === SOFT SKILLS === */
.v1-softskills-section {
  width: 100%;
  padding: 60px 20px;
  background: white;
}

.v1-softskills-container {
  max-width: 1200px;
  margin: 0 auto;
}

.v1-softskills-header {
  text-align: center;
  margin-bottom: 50px;
}

.v1-softskills-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.v1-softskills-intro {
  font-size: 1.1rem;
  color: #666;
  margin: 0 auto;
  white-space: nowrap;
}

.v1-softskills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.v1-skill-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.v1-skill-card:hover {
  background: white;
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.v1-skill-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #268eff 0%, #26b3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.v1-skill-icon i {
  font-size: 24px;
  color: white;
}

.v1-skill-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.v1-skill-card p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* === V1 RESPONSIVE === */
@media (max-width: 992px) {
  .v1-softskills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .v1-softskills-section {
    padding: 40px 15px;
  }

  .v1-softskills-header h2 {
    font-size: 1.8rem;
  }

  .v1-softskills-intro {
    font-size: 1rem;
  }

  .v1-softskills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .v1-skill-card {
    padding: 20px 15px;
  }

  .v1-skill-icon {
    width: 50px;
    height: 50px;
  }

  .v1-skill-icon i {
    font-size: 20px;
  }

  .v1-skill-card h4 {
    font-size: 1rem;
  }

  .v1-skill-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .v1-softskills-header h2 {
    font-size: 1.5rem;
  }
}

/* ============================================================
   FIN SOFT SKILLS
   ============================================================ */

/* ============================================================
   FORMATIONS - Timeline (v2)
   ============================================================ */

/* === FORMATIONS === */
.v2-formations-section {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.v2-formations-container {
  max-width: 900px;
  margin: 0 auto;
}

.v2-formations-header {
  text-align: center;
  margin-bottom: 50px;
}

.v2-formations-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.v2-formations-intro {
  font-size: 1.2rem;
  color: #1a1a2e;
  font-weight: 500;
}

/* Bouton RNCP Info */
.rncp-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid #1a1a2e;
  color: #1a1a2e;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rncp-info-btn:hover {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 26, 46, 0.3);
}

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

.rncp-info-btn:hover svg {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .rncp-info-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* Timeline */
.v2-timeline {
  position: relative;
  padding-left: 50px;
}

.v2-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 2px;
}

.v2-timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.v2-timeline-item:last-child {
  margin-bottom: 0;
}

.v2-timeline-marker {
  position: absolute;
  left: -50px;
  top: 0;
  width: 44px;
  height: 44px;
  background: white;
  border: 4px solid #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.v2-timeline-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.v2-timeline-item-active .v2-timeline-marker {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-color: #1a1a2e;
}

.v2-timeline-item-active .v2-timeline-number {
  color: white;
}

.v2-timeline-content {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.v2-timeline-item:hover .v2-timeline-content {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.v2-timeline-item-active .v2-timeline-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
}

.v2-timeline-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.v2-timeline-item-active .v2-timeline-badge {
  background: rgba(255, 255, 255, 0.25);
}

.v2-timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.v2-timeline-item-active .v2-timeline-content h3 {
  color: white;
}

.v2-timeline-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.v2-timeline-item-active .v2-timeline-content p {
  color: rgba(255, 255, 255, 0.9);
}

.v2-timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v2-timeline-tags span {
  background: #f0f0f0;
  color: #555;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.v2-timeline-item-active .v2-timeline-tags span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.v2-rncp-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 30px;
  font-size: 0.95rem;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.v2-rncp-notice i {
  font-size: 1.2rem;
}

/* === V2 RESPONSIVE === */
@media (max-width: 768px) {
  .v2-formations-section {
    padding: 40px 15px;
  }

  .v2-formations-header h2 {
    font-size: 1.8rem;
  }

  .v2-timeline {
    padding-left: 40px;
  }

  .v2-timeline::before {
    left: 15px;
  }

  .v2-timeline-marker {
    left: -40px;
    width: 36px;
    height: 36px;
  }

  .v2-timeline-item {
    padding-left: 20px;
  }

  .v2-timeline-content {
    padding: 20px;
  }

  .v2-timeline-content h3 {
    font-size: 1.3rem;
  }

  .v2-rncp-notice {
    font-size: 0.85rem;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .v2-formations-header h2 {
    font-size: 1.5rem;
  }

  .v2-timeline {
    padding-left: 35px;
  }

  .v2-timeline::before {
    left: 12px;
    width: 3px;
  }

  .v2-timeline-marker {
    left: -35px;
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  .v2-timeline-number {
    font-size: 0.9rem;
  }

  .v2-timeline-content h3 {
    font-size: 1.2rem;
  }

  .v2-timeline-tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

/* ============================================================
   FIN FORMATIONS
   ============================================================ */
