/* ==========================================================================
   PILOTEGEST UI — Design System (Ergonomie Inspiration Weenect UX)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Charte couleurs Pilotegest officielle */
  --pg-primary: #004AAD;
  --pg-primary-light: #eff6ff;
  --pg-secondary: #2563EB;
  --pg-accent: #FF8A00;
  --pg-accent-light: #fff7ed;
  --pg-bg: #F5F7FB;
  --pg-border: #E1E4EB;
  
  /* Textes conformes aux contraintes */
  --pg-text-main: #111827;
  --pg-text-sec: #6B7280;
  
  /* Badges Weenect-like */
  --pg-badge-dispo-bg: #e6fcf5;
  --pg-badge-dispo-text: #0ca678;
  
  --pg-badge-nouveau-bg: #edf2ff;
  --pg-badge-nouveau-text: #3b5bdb;
  
  --pg-badge-beta-bg: #fff4e6;
  --pg-badge-beta-text: #f76707;
  
  --pg-badge-auth-bg: #f8f9fa;
  --pg-badge-auth-text: #495057;
  
  --pg-badge-bientot-bg: #f1f3f5;
  --pg-badge-bientot-text: #868e96;
  
  --pg-badge-interne-bg: #f3f0ff;
  --pg-badge-interne-text: #7048e8;

  /* Rayons d'arrondi & ombres adoucis (Chaleureux/Premium) */
  --pg-radius-sm: 10px;
  --pg-radius-md: 14px;
  --pg-radius-lg: 18px;
  
  /* Ombres douces, non agressives */
  --pg-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), 0 2px 5px rgba(0, 0, 0, 0.02);
  --pg-shadow-hover: 0 12px 25px rgba(0, 74, 173, 0.06), 0 4px 10px rgba(0, 0, 0, 0.03);
  --pg-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--pg-bg) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--pg-text-main) !important;
}

/* === Accessibilité & Focus === */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--pg-secondary) !important;
  outline-offset: 2px !important;
}

/* ==========================================================================
   1. TOPBAR D'ANNONCE
   ========================================================================== */
.pg-topbar {
  background-color: var(--pg-accent);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem 0 1rem;
  text-decoration: none;
  z-index: 1100;
  transition: var(--pg-transition);
}

.pg-topbar:hover {
  background-color: #e07a00;
  color: #ffffff;
}

.pg-topbar a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
}

/* ==========================================================================
   2. HEADER
   ========================================================================== */
.pg-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--pg-border);
  padding: 0.8rem 1.5rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.pg-header .navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pg-primary) !important;
  letter-spacing: -0.5px;
}

.pg-header .navbar-brand span {
  color: var(--pg-accent);
}

.pg-header .nav-link {
  color: var(--pg-text-main) !important;
  font-weight: 600;
  padding: 0.5rem 1.1rem !important;
  font-size: 0.95rem;
  border-radius: var(--pg-radius-sm);
  transition: var(--pg-transition);
}

.pg-header .nav-link:hover {
  color: var(--pg-primary) !important;
  background-color: var(--pg-primary-light);
}

/* Boutons d'action droite */
.pg-header .btn-secondary-action {
  color: var(--pg-text-main) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: var(--pg-transition);
}

.pg-header .btn-secondary-action:hover {
  color: var(--pg-primary) !important;
}

.pg-header .btn-primary-action {
  background-color: var(--pg-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 9999px;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  transition: var(--pg-transition);
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.1);
}

.pg-header .btn-primary-action:hover {
  background-color: var(--pg-secondary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. HERO MODERNE
   ========================================================================== */
.pg-hero {
  background-color: #ffffff;
  padding: 5.5rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--pg-border);
}

.pg-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--pg-text-main);
  max-width: 850px;
  margin: 0 auto 1.5rem auto;
  letter-spacing: -1.5px;
}

.pg-hero-title span {
  color: #0f3f8f;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

.pg-hero-subtitle {
  font-size: 1.15rem;
  color: var(--pg-text-sec);
  max-width: 780px;
  margin: 0 auto 2.75rem auto;
  line-height: 1.65;
}

.pg-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.85rem;
  font-weight: 700;
  border-radius: var(--pg-radius-sm);
  transition: var(--pg-transition);
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.pg-btn-primary {
  background-color: var(--pg-primary);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.15);
}

.pg-btn-primary:hover {
  background-color: var(--pg-secondary);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.pg-btn-secondary {
  background-color: #ffffff;
  color: var(--pg-text-main) !important;
  border: 1px solid var(--pg-border);
}

.pg-btn-secondary:hover {
  background-color: var(--pg-bg);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* ==========================================================================
   4. BENTO GRID & CARTES OUTILS
   ========================================================================== */
.pg-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pg-text-main);
  margin-bottom: 0.75rem;
}

.pg-section-subtitle {
  font-size: 1.05rem;
  color: var(--pg-text-sec);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.pg-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.pg-tool-card {
  background-color: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-lg);
  padding: 1.85rem;
  box-shadow: var(--pg-shadow);
  transition: var(--pg-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Micro-interaction survol */
.pg-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pg-shadow-hover);
  border-color: var(--pg-secondary);
}

.pg-tool-card .card-icon {
  width: 46px;
  height: 46px;
  background-color: var(--pg-primary-light);
  color: var(--pg-primary);
  border-radius: var(--pg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: var(--pg-transition);
}

.pg-tool-card:hover .card-icon {
  background-color: var(--pg-primary);
  color: #ffffff;
}

.pg-tool-card .card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pg-text-main);
  margin-right: 6.5rem; /* Réserve de l'espace pour le badge */
  margin-bottom: 0.75rem;
}

.pg-tool-card .card-desc {
  font-size: 0.88rem;
  color: var(--pg-text-sec);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pg-tool-card .card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.pg-tool-card .btn-card-action {
  min-height: 40px;
  width: 100%;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--pg-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--pg-transition);
  text-decoration: none;
}

/* Lien secondaire sous le bouton */
.pg-tool-card .link-card-sec {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pg-secondary);
  text-align: center;
  text-decoration: none;
  transition: var(--pg-transition);
  display: block;
}

.pg-tool-card .link-card-sec:hover {
  color: var(--pg-primary);
  text-decoration: underline;
}

/* Carte vedette (Analyse FEC, SIRH) */
.pg-tool-card-featured {
  border: 1.5px solid var(--pg-border);
  box-shadow: 0 8px 25px rgba(0, 74, 173, 0.04);
}

.pg-tool-card-featured:hover {
  border-color: var(--pg-primary);
  box-shadow: 0 15px 30px rgba(0, 74, 173, 0.08);
}

.pg-tool-card-featured .card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.pg-tool-card-featured .card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.pg-tool-card-featured .card-icon {
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
}

/* SIRH Featured Card Dark */
.pg-tool-card-sirh {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pg-tool-card-sirh:hover {
  border-color: var(--pg-accent) !important;
  box-shadow: 0 15px 30px rgba(255, 138, 0, 0.15) !important;
}

.pg-tool-card-sirh .card-title {
  color: #ffffff !important;
}

.pg-tool-card-sirh .card-desc {
  color: #94a3b8 !important;
}

.pg-tool-card-sirh .card-icon {
  background-color: rgba(255, 138, 0, 0.1);
  color: var(--pg-accent);
}

.pg-tool-card-sirh:hover .card-icon {
  background-color: var(--pg-accent);
  color: #ffffff;
}

.pg-tool-card-sirh .btn-card-action {
  background: linear-gradient(135deg, var(--pg-primary) 0%, var(--pg-secondary) 100%);
  border: none;
  color: #ffffff !important;
}

.pg-tool-card-sirh .btn-card-action:hover {
  background: linear-gradient(135deg, var(--pg-secondary) 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.pg-tool-card-sirh .link-card-sec {
  color: var(--pg-accent);
}
.pg-tool-card-sirh .link-card-sec:hover {
  color: #ffaa44;
}

/* Bento card sizing rules */
.pg-bento-grid .size-large {
  grid-column: span 6;
}
.pg-bento-grid .size-medium {
  grid-column: span 4;
}
.pg-bento-grid .size-small {
  grid-column: span 3;
}

/* ==========================================================================
   5. BADGES
   ========================================================================== */
.pg-badge {
  position: absolute;
  top: 1.85rem;
  right: 1.85rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif;
  z-index: 10;
}

.status-disponible {
  background-color: var(--pg-badge-dispo-bg) !important;
  color: var(--pg-badge-dispo-text) !important;
}

.status-nouveau {
  background-color: var(--pg-badge-nouveau-bg) !important;
  color: var(--pg-badge-nouveau-text) !important;
}

.status-beta {
  background-color: var(--pg-badge-beta-bg) !important;
  color: var(--pg-badge-beta-text) !important;
}

.status-auth-requis {
  background-color: var(--pg-badge-auth-bg) !important;
  color: var(--pg-badge-auth-text) !important;
}

.status-bientot {
  background-color: var(--pg-badge-bientot-bg) !important;
  color: var(--pg-badge-bientot-text) !important;
}

.status-interne {
  background-color: var(--pg-badge-interne-bg) !important;
  color: var(--pg-badge-interne-text) !important;
}

/* ==========================================================================
   6. ZONE DE CONFIANCE (Trust Section)
   ========================================================================== */
.pg-trust-section {
  background-color: #ffffff;
  border-top: 1px solid var(--pg-border);
  border-bottom: 1px solid var(--pg-border);
  padding: 5rem 1.25rem;
  margin-top: 2rem;
}

.pg-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.25rem;
  max-width: 1200px;
  margin: 3rem auto 0 auto;
}

.pg-trust-item {
  text-align: center;
}

.pg-trust-icon {
  width: 60px;
  height: 60px;
  background-color: var(--pg-primary-light);
  color: var(--pg-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.03);
}

.pg-trust-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pg-text-main);
  margin-bottom: 0.5rem;
}

.pg-trust-item p {
  font-size: 0.88rem;
  color: var(--pg-text-sec);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   7. PAGE UPLOAD FEC & 3 ÉTAPES
   ========================================================================== */
.pg-steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.pg-step-item {
  background: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-md);
  padding: 1.5rem 1.75rem;
  position: relative;
  box-shadow: var(--pg-shadow);
}

.pg-step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 32px;
  height: 32px;
  background-color: var(--pg-accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 8px rgba(255, 138, 0, 0.25);
}

.pg-step-item h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pg-text-main);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.pg-step-item p {
  font-size: 0.88rem;
  color: var(--pg-text-sec);
  line-height: 1.5;
  margin: 0;
}

.pg-upload-card {
  background-color: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-lg);
  padding: 3rem;
  box-shadow: var(--pg-shadow);
  text-align: center;
}

.pg-upload-dropzone {
  border: 2.5px dashed var(--pg-border);
  border-radius: var(--pg-radius-md);
  padding: 4rem 1.5rem;
  background-color: var(--pg-bg);
  cursor: pointer;
  transition: var(--pg-transition);
  position: relative;
  margin-bottom: 2rem;
}

.pg-upload-dropzone:hover, 
.pg-upload-dropzone.dragover {
  border-color: var(--pg-secondary);
  background-color: var(--pg-primary-light);
}

.pg-upload-dropzone i.upload-icon {
  font-size: 3.5rem;
  color: var(--pg-primary);
  margin-bottom: 1.25rem;
  display: block;
}

.pg-upload-dropzone p {
  margin-bottom: 0.5rem;
  color: var(--pg-text-main);
  font-weight: 700;
  font-size: 1.1rem;
}

.pg-upload-dropzone .file-spec {
  font-size: 0.82rem;
  color: var(--pg-text-sec);
}

.pg-upload-card .btn-submit {
  min-height: 48px;
  background-color: var(--pg-primary);
  border: none;
  font-weight: 700;
  width: 100%;
}

.pg-upload-card .btn-submit:hover {
  background-color: var(--pg-secondary);
}

/* Bandeau sécurité horizontal discret */
.pg-security-strip {
  background-color: #f8fafc;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-sm);
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--pg-text-sec);
}

.pg-security-strip i {
  color: #10b981;
  font-size: 1.15rem;
}

/* ==========================================================================
   8. NOUVELLES CLASSES POUR LANDING PAGE WEENECT-LIKE
   ========================================================================== */

/* Ajustements Topbar & Header */
.pg-topbar-close {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: var(--pg-transition);
}
.pg-topbar-close:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.pg-header {
  min-height: 72px;
  padding: 0.9rem 2rem !important;
}

/* Hero split Weenect-like */
.pg-hero-landing {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.7) 0%, rgba(255, 247, 237, 0.5) 100%);
  padding: 6rem 1.25rem 7rem 1.25rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--pg-border);
}

.pg-hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pg-shape-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.pg-shape-1 {
  background-color: var(--pg-primary-light);
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
}

.pg-shape-2 {
  background-color: var(--pg-accent-light);
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
}

.pg-hero-landing .container {
  position: relative;
  z-index: 2;
}

.pg-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.pg-hero-content {
  text-align: left;
}

.pg-hero-landing-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--pg-text-main);
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.pg-hero-landing-title span {
  color: var(--pg-primary);
}

.pg-hero-landing-subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--pg-text-sec);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.pg-hero-assurance {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--pg-text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(0, 74, 173, 0.05);
  border: 1px solid rgba(0, 74, 173, 0.12);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 74, 173, 0.02);
}

.pg-hero-assurance i {
  color: var(--pg-primary);
  font-size: 1.1rem;
}

/* Visual Mockup Container */
.pg-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Simulateur d'interface Dashboard Pilotegest */
.pg-hero-mockup {
  background: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.08), 0 5px 15px rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  z-index: 5;
  transition: var(--pg-transition);
}

.pg-hero-mockup:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 50px rgba(0, 74, 173, 0.12);
}

.pg-mockup-header {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--pg-border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pg-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.pg-mockup-dot.dot-r { background-color: #ef4444; }
.pg-mockup-dot.dot-y { background-color: #f59e0b; }
.pg-mockup-dot.dot-g { background-color: #10b981; }

.pg-mockup-body {
  padding: 1.75rem;
  background-color: #ffffff;
}

.pg-mockup-card {
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-md);
  padding: 1.25rem;
  background-color: #f8fafc;
  margin-bottom: 1.25rem;
}

/* Jauge de conformité circulaire */
.pg-mockup-gauge-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pg-circular-gauge {
  position: relative;
  width: 68px;
  height: 68px;
}

.pg-gauge-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.pg-gauge-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 6;
}

.pg-gauge-fill {
  fill: none;
  stroke: var(--pg-primary);
  stroke-width: 6;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: fill-gauge 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fill-gauge {
  to {
    stroke-dashoffset: 22; /* 90% */
  }
}

.pg-gauge-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pg-primary);
}

.pg-mockup-graph-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.pg-mockup-graph-fill {
  height: 100%;
  background-color: var(--pg-accent);
  width: 0%;
  border-radius: 4px;
  animation: fill-bar 1.5s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fill-bar {
  to { width: 75%; }
}

/* Badges Flottants */
.pg-floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pg-text-main);
  z-index: 6;
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.pg-badge-fec { top: 15%; left: -60px; animation-delay: 0s; }
.pg-badge-tva { top: 50%; right: -50px; animation-delay: 0.5s; }
.pg-badge-rh { bottom: 15%; left: -40px; animation-delay: 1s; }
.pg-badge-facturex { bottom: 8%; right: -20px; animation-delay: 1.5s; }
.pg-badge-security { top: -20px; right: 80px; animation-delay: 2s; }

.pg-floating-badge i {
  font-size: 1.1rem;
}
.pg-badge-fec i { color: var(--pg-primary); }
.pg-badge-tva i { color: var(--pg-accent); }
.pg-badge-rh i { color: #10b981; }
.pg-badge-facturex i { color: #6366f1; }
.pg-badge-security i { color: #f59e0b; }

/* Section de confiance (Capsules de preuve) */
.pg-proof-section {
  background-color: #ffffff;
  padding: 3.5rem 1.25rem;
  border-bottom: 1px solid var(--pg-border);
  text-align: center;
}

.pg-proof-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pg-text-sec);
  margin-bottom: 1.75rem;
}

.pg-trust-capsules {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.pg-trust-capsule {
  background-color: var(--pg-bg);
  border: 1px solid var(--pg-border);
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pg-text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
  transition: var(--pg-transition);
}

.pg-trust-capsule:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  border-color: var(--pg-secondary);
  box-shadow: 0 4px 10px rgba(0, 74, 173, 0.05);
}

.pg-trust-capsule i {
  color: var(--pg-secondary);
  font-size: 1.05rem;
}

/* Sections Bénéfices Weenect-like */
.pg-benefit-section {
  padding: 4rem 1.25rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--pg-border);
}

.pg-benefit-block {
  padding: 3.5rem 0;
}

.pg-benefit-block.pg-benefit-alt {
  background-color: var(--pg-bg);
  border-top: 1px solid var(--pg-border);
  border-bottom: 1px solid var(--pg-border);
}

.pg-benefit-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--pg-text-main);
  margin-bottom: 1.25rem;
}

.pg-benefit-desc {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--pg-text-sec);
  margin-bottom: 0;
}

.pg-benefit-visual {
  background: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-lg);
  box-shadow: var(--pg-shadow);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  transition: var(--pg-transition);
}

.pg-benefit-visual:hover {
  transform: translateY(-3px);
  box-shadow: var(--pg-shadow-hover);
}

/* Dessins schématiques CSS */
.pg-schema-card {
  background: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-md);
  padding: 1.25rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 3;
}

/* timeline/checklist schema */
.pg-schema-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.pg-schema-item:last-child {
  border-bottom: none;
}
.pg-schema-item i.check-ok { color: #10b981; }
.pg-schema-item i.check-load { color: var(--pg-secondary); animation: spin 2s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* security schema */
.pg-schema-security-center {
  text-align: center;
}
.pg-schema-security-center i.key-icon {
  font-size: 3rem;
  color: var(--pg-accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* centralization schema */
.pg-schema-central {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.pg-schema-node {
  background-color: var(--pg-bg);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-sm);
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.pg-schema-node.active {
  background-color: var(--pg-primary-light);
  border-color: var(--pg-primary);
  color: var(--pg-primary);
}

/* Section outils modulaire */
.pg-tools-section {
  padding: 4rem 1.25rem;
  background-color: var(--pg-bg);
}

.pg-tools-toggle-container {
  text-align: center;
  margin-top: 3rem;
}

.pg-btn-toggle-all {
  min-height: 48px;
  background-color: #ffffff;
  color: var(--pg-primary) !important;
  border: 1px solid var(--pg-border);
  box-shadow: var(--pg-shadow);
  padding: 0.75rem 2rem;
  font-weight: 700;
  border-radius: var(--pg-radius-sm);
  transition: var(--pg-transition);
}

.pg-btn-toggle-all:hover {
  transform: translateY(-2px);
  background-color: var(--pg-primary-light);
  border-color: var(--pg-primary);
  box-shadow: var(--pg-shadow-hover);
}

/* Section Produit FEC */
.pg-fec-product-section {
  padding: 4rem 1.25rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--pg-border);
}

/* Section Sécurité */
.pg-security-section {
  padding: 4rem 1.25rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--pg-border);
}

.pg-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3.5rem auto 0 auto;
}

.pg-security-card {
  background-color: var(--pg-bg);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-lg);
  padding: 2.25rem;
  text-align: center;
  transition: var(--pg-transition);
}

.pg-security-card:hover {
  transform: translateY(-4px);
  border-color: var(--pg-primary);
  background-color: #ffffff;
  box-shadow: var(--pg-shadow-hover);
}

.pg-security-icon {
  width: 54px;
  height: 54px;
  background-color: var(--pg-primary-light);
  color: var(--pg-primary);
  border-radius: var(--pg-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: var(--pg-transition);
}

.pg-security-card:hover .pg-security-icon {
  background-color: var(--pg-primary);
  color: #ffffff;
}

.pg-security-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pg-text-main);
  margin-bottom: 0.75rem;
}

.pg-security-card p {
  font-size: 0.88rem;
  color: var(--pg-text-sec);
  line-height: 1.55;
  margin: 0;
}

/* Section Participation */
.pg-participation-section {
  padding: 4rem 1.25rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--pg-border);
}
.pg-participation-card {
  background-color: var(--pg-accent-light) !important;
  border: 1.5px dashed var(--pg-accent) !important;
  border-radius: var(--pg-radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--pg-shadow);
}
.pg-participation-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pg-text-main);
  margin-bottom: 1rem;
}
.pg-participation-card p {
  font-size: 1.05rem;
  color: var(--pg-text-sec);
  margin-bottom: 2rem;
}
.pg-btn-orange {
  background-color: var(--pg-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.2);
}
.pg-btn-orange:hover {
  background-color: #e07a00 !important;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.35);
  transform: translateY(-2px);
}

/* Section Finale CTA */
.pg-final-cta-section {
  background: linear-gradient(135deg, #004AAD 0%, #2563EB 100%);
  padding: 4.5rem 1.25rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pg-final-cta-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.pg-final-cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.pg-final-cta-section .pg-btn-primary {
  background-color: var(--pg-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

.pg-final-cta-section .pg-btn-primary:hover {
  background-color: #e07a00 !important;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.45);
}

.pg-final-cta-section .pg-btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.pg-final-cta-section .pg-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Footer colonnes */
.pg-footer-columns {
  background-color: #ffffff;
  border-top: 1px solid var(--pg-border);
  padding: 4.5rem 1.25rem 2.5rem 1.25rem;
}

.pg-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  text-align: left;
}

.pg-footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--pg-text-main);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.pg-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg-footer-col ul li {
  margin-bottom: 0.75rem;
}

.pg-footer-col ul li a {
  color: var(--pg-text-sec);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--pg-transition);
}

.pg-footer-col ul li a:hover {
  color: var(--pg-primary);
  text-decoration: underline;
}

.pg-footer-col.brand-col p {
  font-size: 0.88rem;
  color: var(--pg-text-sec);
  line-height: 1.6;
  margin-top: 1rem;
}

.pg-footer-bottom {
  border-top: 1px solid var(--pg-border);
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1199px) {
  .pg-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }
  .pg-security-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  .pg-hero-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pg-hero-content {
    text-align: center;
  }
  .pg-hero-landing-title {
    font-size: 2.75rem;
  }
  .pg-hero-assurance {
    justify-content: center;
  }
  .pg-trust-capsules {
    gap: 0.75rem;
  }
  .pg-benefit-section {
    padding: 4.5rem 1.25rem;
  }
  .pg-bento-grid {
    gap: 1.25rem;
  }
  .pg-bento-grid .size-large,
  .pg-bento-grid .size-medium,
  .pg-bento-grid .size-small {
    grid-column: span 6;
  }
  .pg-steps-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pg-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .pg-footer-col.brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .pg-header {
    padding: 0.8rem 1rem !important;
  }
  .pg-hero-landing-title {
    font-size: 2rem;
  }
  .pg-bento-grid .size-large,
  .pg-bento-grid .size-medium,
  .pg-bento-grid .size-small {
    grid-column: span 12;
  }
  .pg-security-grid {
    grid-template-columns: 1fr;
  }
  .pg-step-item {
    padding: 1.5rem 1.25rem;
  }
  .pg-topbar {
    font-size: 0.82rem;
    padding: 0.45rem 0.75rem;
  }
  .pg-footer-grid {
    grid-template-columns: 1fr;
  }
  .pg-footer-col.brand-col {
    grid-column: span 1;
  }
  .pg-final-cta-section h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   10. STYLE COMPLÉMENTAIRE (Comment ça marche, Outils Compacts, CTA Finale)
   ========================================================================== */

/* Cartes "Comment ça marche ?" */
.pg-how-card {
  background-color: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  box-shadow: var(--pg-shadow);
  transition: var(--pg-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pg-how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pg-shadow-hover);
  border-color: var(--pg-secondary);
}

.pg-how-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 138, 0, 0.12);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  line-height: 1;
  transition: var(--pg-transition);
}

.pg-how-card:hover .pg-how-number {
  color: rgba(255, 138, 0, 0.25);
  transform: scale(1.05);
}

.pg-how-icon {
  width: 48px;
  height: 48px;
  background-color: var(--pg-primary-light);
  color: var(--pg-primary);
  border-radius: var(--pg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  transition: var(--pg-transition);
}

.pg-how-card:hover .pg-how-icon {
  background-color: var(--pg-primary);
  color: #ffffff;
}

/* Cartes outils compactes */
.pg-tool-card-compact {
  background-color: #ffffff;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: var(--pg-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.pg-tool-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--pg-shadow-hover);
  border-color: var(--pg-secondary);
}

.pg-tool-card-compact .compact-icon {
  width: 38px;
  height: 38px;
  background-color: var(--pg-primary-light);
  color: var(--pg-primary);
  border-radius: var(--pg-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  transition: var(--pg-transition);
}

.pg-tool-card-compact:hover .compact-icon {
  background-color: var(--pg-primary);
  color: #ffffff;
}

.pg-tool-card-compact .compact-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pg-text-main);
  margin-bottom: 0.5rem;
  padding-right: 4.5rem;
}

.pg-tool-card-compact .compact-desc {
  font-size: 0.82rem;
  color: var(--pg-text-sec);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pg-tool-card-compact .btn-compact-action {
  height: 38px;
  width: 100%;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--pg-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--pg-transition);
  text-decoration: none;
  border: none;
  box-sizing: border-box;
}

.pg-tool-card-compact .pg-badge-compact {
  position: absolute;
  top: 1.5rem;
  right: 1.25rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif;
  z-index: 10;
}

/* Surcharges CTA Finale */
.pg-final-cta-section .btn-cta-primary {
  background-color: #ffffff !important;
  color: var(--pg-primary) !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: var(--pg-transition);
}
.pg-final-cta-section .btn-cta-primary:hover {
  background-color: var(--pg-primary-light) !important;
  transform: translateY(-2px);
}

.pg-final-cta-section .btn-cta-secondary {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-weight: 700;
  transition: var(--pg-transition);
}
.pg-final-cta-section .btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   11. STYLE FLOATING NAVBAR & HERO DUAL UNIVERS (SOCIÉTÉ & DSI)
   ========================================================================== */

/* Navbar Glassmorphic pour index.php */
.pg-home-page .pg-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 1050;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pg-home-page .pg-header.scrolled {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  background: rgba(11, 15, 25, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 0.6rem 2rem !important;
}

.pg-home-page .pg-header .pg-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff !important;
  letter-spacing: -0.5px;
}

.pg-home-page .pg-header .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
  transition: var(--pg-transition);
}

.pg-home-page .pg-header .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.pg-home-page .pg-header .nav-icon-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.1rem;
  transition: var(--pg-transition);
}

.pg-home-page .pg-header .nav-icon-link:hover {
  color: #ffffff !important;
}

.pg-home-page .pg-header .btn-nav-connexion {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  transition: var(--pg-transition);
}

.pg-home-page .pg-header .btn-nav-connexion:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
}

.pg-home-page .pg-header .dropdown-menu {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.pg-home-page .pg-header .dropdown-item {
  color: rgba(255, 255, 255, 0.8) !important;
}

.pg-home-page .pg-header .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
}

.small-chevron {
  font-size: 0.7rem;
  vertical-align: middle;
}

/* Style de base de la navbar pour les autres pages */
.pg-header .btn-nav-connexion {
  border: 1px solid var(--pg-border-strong);
  color: var(--pg-text-main) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  transition: var(--pg-transition);
}

.pg-header .btn-nav-connexion:hover {
  background-color: var(--pg-primary-light);
  color: var(--pg-primary) !important;
}

.pg-header .nav-icon-link {
  color: var(--pg-text-main) !important;
  font-size: 1.1rem;
  transition: var(--pg-transition);
}

.pg-header .nav-icon-link:hover {
  color: var(--pg-primary) !important;
}

.pg-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--pg-primary) !important;
  letter-spacing: -0.5px;
}

/* Hero Immersif Double Univers */
.pg-hero-dual {
  background-color: #0b0f19;
  min-height: 95vh;
  position: relative;
  overflow: hidden;
  padding: 9rem 1.25rem 5rem 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glow Halos Lumineux */
.pg-glow-left {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.08) 0%, rgba(255, 138, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  transition: all 0.6s ease;
}

.pg-glow-right {
  position: absolute;
  bottom: 5%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  transition: all 0.6s ease;
}

.pg-hero-dual.active-gestion .pg-glow-left {
  background: radial-gradient(circle, rgba(255, 138, 0, 0.16) 0%, rgba(255, 138, 0, 0) 75%);
}

.pg-hero-dual.active-dsi .pg-glow-right {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 75%);
}

/* Chemins SVG */
.pg-hero-path-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
  z-index: 2;
}

.pg-path-line {
  fill: none;
  stroke-linecap: round;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pg-path-gestion {
  stroke: url(#gradient-gestion);
  opacity: 0.15;
  stroke-width: 3;
}

.pg-path-dsi {
  stroke: url(#gradient-dsi);
  opacity: 0.15;
  stroke-width: 3;
}

.pg-hero-dual.active-gestion .pg-path-gestion {
  opacity: 0.9;
  stroke-width: 5;
  filter: drop-shadow(0 0 10px rgba(255, 138, 0, 0.8));
}

.pg-hero-dual.active-dsi .pg-path-dsi {
  opacity: 0.9;
  stroke-width: 5;
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.8));
}

/* Colonnes & Conteneur */
.pg-hero-dual .container {
  z-index: 10;
  position: relative;
}

.pg-hero-dual-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.pg-hero-dual-title span {
  color: var(--pg-primary-light);
}

.pg-hero-dual-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.pg-hero-dual-subtitle span.orange-highlight {
  color: var(--pg-accent);
  font-weight: 700;
}

.pg-hero-dual-subtitle span.blue-highlight {
  color: var(--pg-primary-light);
  font-weight: 700;
}

/* Interrupteur Glissière */
.pg-universe-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem;
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 2.25rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pg-switch-btn {
  border: none;
  background: none;
  border-radius: 999px;
  padding: 0.6rem 1.75rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

.pg-switch-btn:hover {
  color: #ffffff;
}

.pg-switch-btn.active[data-target="gestion"] {
  background-color: var(--pg-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.35);
}

.pg-switch-btn.active[data-target="dsi"] {
  background-color: var(--pg-primary-light);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Boutons CTA d'actions directes */
.pg-hero-actions-dual {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.pg-btn-cta-gestion {
  background-color: var(--pg-accent) !important;
  color: #ffffff !important;
  border: none !important;
  min-height: 48px;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

.pg-btn-cta-gestion:hover {
  background-color: var(--pg-accent-dark) !important;
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.45);
  transform: translateY(-2px);
}

.pg-btn-cta-dsi {
  background-color: var(--pg-primary-light) !important;
  color: #ffffff !important;
  border: none !important;
  min-height: 48px;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.pg-btn-cta-dsi:hover {
  background-color: #1d4ed8 !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

/* Cartes d'indicateurs de l'Univers */
.pg-universe-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.25;
  transform: scale(0.95);
  margin-bottom: 1.15rem;
  color: #ffffff;
  text-align: left;
}

.pg-universe-card:hover {
  transform: scale(1.02) translateY(-2px) !important;
  background: rgba(17, 24, 39, 0.8) !important;
}

.pg-hero-dual.active-gestion .pg-card-gestion {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 138, 0, 0.3);
  box-shadow: 0 15px 30px rgba(255, 138, 0, 0.08), 0 0 15px rgba(255, 138, 0, 0.15);
}

.pg-hero-dual.active-dsi .pg-card-dsi {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08), 0 0 15px rgba(37, 99, 235, 0.15);
}

.pg-card-title-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

/* Elements graphiques CSS dans les cartes */
.pg-sparkline-container {
  height: 35px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-top: 0.5rem;
}

.pg-spark-bar {
  flex-grow: 1;
  background-color: var(--pg-accent);
  opacity: 0.8;
  border-radius: 2px;
}

.pg-spark-bar.dsi-bar {
  background-color: var(--pg-primary-light);
}

/* Cercle de résultat net */
.pg-card-ring-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pg-mini-ring {
  position: relative;
  width: 44px;
  height: 44px;
}

.pg-ring-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.pg-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 4;
}

.pg-ring-fill {
  fill: none;
  stroke: var(--pg-accent);
  stroke-width: 4;
  stroke-dasharray: 120;
  stroke-dashoffset: 40; /* 66% fill */
}

.pg-ring-fill.dsi-ring {
  stroke: var(--pg-primary-light);
  stroke-dashoffset: 30; /* 75% fill */
}

/* Bandeau de confiance (Trust Section dans le Hero) */
.pg-hero-trust-band {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.25rem 2rem;
  margin-top: 4.5rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  z-index: 5;
  position: relative;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.pg-trust-item-inline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.pg-trust-item-inline i {
  font-size: 1.5rem;
  color: var(--pg-accent);
}

.pg-trust-item-inline.dsi-accent i {
  color: var(--pg-primary-light);
}

.pg-trust-item-inline h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  color: #ffffff;
}

.pg-trust-item-inline p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Ajustement pour les sections suivantes afin d'éviter le chevauchement du header */
.pg-home-page main.container {
  padding-top: 0 !important;
}

/* Responsive pour le Hero Dual */
@media (max-width: 1199px) {
  .pg-hero-dual-title {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .pg-home-page .pg-header {
    width: calc(100% - 1.5rem);
    margin-top: 0.75rem;
    border-radius: 16px;
    padding: 0.5rem 1rem !important;
  }
  .pg-hero-dual {
    padding-top: 8rem;
    min-height: auto;
  }
  .pg-hero-dual-title {
    font-size: 2.5rem;
  }
  /* Clic / switch mobile : on affiche uniquement les cartes de l'univers actif */
  .pg-hero-dual .pg-column-cards {
    display: none !important;
  }
  .pg-hero-dual.active-gestion .pg-column-gestion {
    display: block !important;
    margin-top: 2rem;
  }
  .pg-hero-dual.active-dsi .pg-column-dsi {
    display: block !important;
    margin-top: 2rem;
  }
  .pg-hero-path-svg {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .pg-hero-dual-title {
    font-size: 2rem;
  }
  .pg-hero-actions-dual {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .pg-hero-actions-dual .btn {
    width: 100%;
  }
  .pg-hero-trust-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }
}

