/* ==========================================================================
   HR PRO COMPÉTENCE - STYLE V2
   Palette :
   --hrpro-navy : #103254 (Bleu marine profond)
   --hrpro-ocean : #2F8EB9 (Bleu océan)
   --hrpro-cyan : #41B3D2 (Cyan clair)
   --hrpro-blue-text : #5299CA (Bleu intermédiaire)
   ========================================================================== */

:root {
  --color-primary: #103254;
  --color-ocean: #2F8EB9;
  --color-cyan: #41B3D2;
  --color-blue-text: #5299CA;
  --color-dark: #0f172a;
  --color-text: #334155;
  --color-text-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-border: rgba(16, 50, 84, 0.08);

  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --header-height: 100px;
  --container-max-width: 1240px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-header: 0 4px 20px -2px rgba(16, 50, 84, 0.06);
  --shadow-header-scrolled: 0 10px 30px -5px rgba(16, 50, 84, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 1.05rem;
  min-height: 100vh;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header-scrolled);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
}

/* Menus de navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

/* Liens du menu */
.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

/* Soulignement interactif au survol */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-ocean), var(--color-cyan));
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-ocean);
}

.nav-link:hover::after {
  width: 100%;
}

/* Logo Central */
.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 82px;
  width: auto;
  object-fit: contain;
}

/* Bouton Toggle Hamburger (masqué par défaut sur desktop) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: var(--color-bg-subtle);
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Animation hamburger -> croix */
.mobile-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu Mobile Déroulant */
.mobile-menu {
  display: none;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 16px 24px -8px rgba(16, 50, 84, 0.12);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu.is-open {
  max-height: 350px;
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 2rem 1.75rem;
  gap: 1rem;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(16, 50, 84, 0.04);
  transition: color var(--transition-fast);
}

.mobile-link:hover {
  color: var(--color-ocean);
  padding-left: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 960px) {
  .header-container {
    padding: 0.6rem 1.25rem;
    gap: 1.5rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
  .header-logo {
    padding: 0 1rem;
  }
  .logo-img {
    height: 70px;
  }
}

@media (max-width: 820px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.25rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .header-logo {
    padding: 0;
  }

  .logo-img {
    height: 56px;
  }
}

/* ==========================================================================
   HERO SECTION (Modèle heronew - Pleine largeur & Typo affinée)
   ========================================================================== */

.hero-section.hero-new-style {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  overflow: hidden;
  padding: 0 0 0 0;
  border-bottom: 1px solid rgba(16, 50, 84, 0.06);
}

.hero-section.hero-new-style .hero-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(380px, 506px) 1fr;
  align-items: stretch;
  min-height: 570px;
  width: 100%;
}

/* Visuel Gauche (collé au bord gauche) */
.hero-visual-col {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  align-self: flex-end;
  height: 100%;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 506px;
  line-height: 0;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenu Droit (centré en hauteur et largeur) */
.hero-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: center;
  justify-self: center;
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 3.5vw, 3.5rem);
  max-width: 720px;
  width: 100%;
}

/* Groupe Titre & Statut */
.hero-brand-block {
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

.hero-brand-title {
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5b9bc7;
  margin: 0 0 0.5rem 0;
}

.hero-brand-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
}

/* Groupe Manifeste / Slogans avec animation */
.hero-manifesto-block {
  display: flex;
  align-items: stretch;
  gap: clamp(1.2rem, 1.8vw, 1.6rem);
}

.hero-vertical-bar {
  width: 3.5px;
  background: linear-gradient(180deg, #5b9bc7 0%, #2F8EB9 100%);
  flex-shrink: 0;
  border-radius: 2px;
  transform-origin: top;
  animation: barGrowDown 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-manifesto-lines {
  display: flex;
  flex-direction: column;
  gap: clamp(0.25rem, 0.45vw, 0.4rem);
}

.manifesto-line {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.25vw, 2.15rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111111;
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.35s ease, color 0.35s ease, letter-spacing 0.35s ease;
  cursor: default;
}

.manifesto-line:nth-child(1) {
  animation: manifestoReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
             cycleLine1 6s ease-in-out 1.4s infinite;
}

.manifesto-line:nth-child(2) {
  animation: manifestoReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both,
             cycleLine2 6s ease-in-out 1.4s infinite;
}

.manifesto-line:nth-child(3) {
  animation: manifestoReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both,
             cycleLine3 6s ease-in-out 1.4s infinite;
}

.hero-manifesto-lines:hover .manifesto-line {
  animation-play-state: paused;
}

.manifesto-line:hover {
  color: #2F8EB9 !important;
  transform: translateX(8px) !important;
  letter-spacing: 0.06em;
}

@keyframes barGrowDown {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes manifestoReveal {
  0% {
    opacity: 0;
    transform: translateX(-24px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes cycleLine1 {
  0%, 28% {
    color: #2F8EB9;
    transform: translateX(6px);
  }
  33%, 100% {
    color: #111111;
    transform: translateX(0);
  }
}

@keyframes cycleLine2 {
  0%, 28% {
    color: #111111;
    transform: translateX(0);
  }
  33%, 61% {
    color: #2F8EB9;
    transform: translateX(6px);
  }
  66%, 100% {
    color: #111111;
    transform: translateX(0);
  }
}

@keyframes cycleLine3 {
  0%, 61% {
    color: #111111;
    transform: translateX(0);
  }
  66%, 94% {
    color: #2F8EB9;
    transform: translateX(6px);
  }
  100% {
    color: #111111;
    transform: translateX(0);
  }
}

/* Ligne bleue horizontale inférieure (centrée) */
.hero-bottom-accent-line {
  height: 1px;
  background-color: #5b9bc7;
  width: min(85%, 1120px);
  margin: 0px auto 0;
  position: relative;
  z-index: 2;
  border-radius: 2px;
}

/* Utilitaires typographiques */
.font-thin { font-weight: 100 !important; }
.font-extralight { font-weight: 200 !important; }
.font-light { font-weight: 300 !important; }
.font-regular { font-weight: 400 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 1rem 0;
  }

  .hero-visual-col {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
  }

  .hero-visual-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero-content-col {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-bottom-accent-line {
    width: calc(100% - 3rem);
    margin: 1.5rem auto 0;
  }
}

@media (max-width: 600px) {
  .hero-section.hero-new-style {
    padding: 0.5rem 0 1.5rem;
  }

  .hero-visual-col {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-visual-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero-content-col {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .hero-brand-block {
    margin-bottom: 1.5rem;
  }

  .hero-brand-title {
    font-size: clamp(1.15rem, 5.2vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
  }

  .hero-brand-subtitle {
    font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    letter-spacing: 0.08em;
  }

  .hero-manifesto-block {
    gap: 0.85rem;
  }

  .hero-vertical-bar {
    width: 3px;
  }

  .manifesto-line {
    font-size: clamp(1.15rem, 4.8vw, 1.6rem);
    line-height: 1.25;
  }

  .hero-bottom-accent-line {
    width: calc(100% - 2.5rem);
    margin: 1.5rem auto 0.5rem;
  }
}

/* ==========================================================================
   SECTION INTRODUCTION / CONVICTION (Sous le Hero)
   ========================================================================== */

/* ==========================================================================
   SECTION INTRODUCTION (REPRODUCTION STYLE INTRO-DEMO)
   ========================================================================== */

/* ==========================================================================
   SECTION INTRODUCTION / CONVICTION (Texte centré & Décor Triangle en fond)
   ========================================================================== */

.intro-section {
  position: relative;
  width: 100%;
  background-color: #f4f4f4;
  padding: clamp(4.5rem, 7vw, 6.5rem) 1.5rem;
  overflow: hidden;
}

/* Élément graphique triangle décoratif en arrière-plan (rempli et placé à droite) */
.intro-triangle-bg {
  position: absolute;
  top: 50%;
  right: clamp(1rem, 6vw, 7rem);
  transform: translateY(-50%) rotate(16deg);
  width: clamp(220px, 24vw, 360px);
  height: clamp(220px, 24vw, 360px);
  color: #41b3d2;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.intro-triangle-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.intro-container {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.intro-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.25rem;
}

.intro-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.intro-demo-lead {
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.85;
  color: #1a2233;
  text-align: center;
}

.intro-demo-lead strong {
  font-weight: 600;
  color: #0e1e38;
}

.intro-demo-text {
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 300;
  line-height: 1.85;
  color: #2c384e;
  text-align: center;
}

.intro-demo-text strong {
  font-weight: 600;
  color: #0e1e38;
}

.intro-cyan {
  color: #0284c7;
  font-weight: 600;
}

/* Boutons d'action sous le texte - centrés */
.intro-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.btn-intro-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.75rem;
  background: #0e1e38;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(14, 30, 56, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.btn-intro-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 30, 56, 0.35);
  background: #1b3864;
  color: #ffffff;
}

.btn-intro-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.65rem;
  background: transparent;
  color: #0e1e38;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  border: 1.5px solid #0e1e38;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
}

.btn-intro-secondary:hover {
  background: #0e1e38;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 30, 56, 0.15);
}

.btn-arrow {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.btn-intro-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.btn-intro-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 960px) {
  .intro-section {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .intro-section {
    padding: 2.75rem 1.25rem;
  }

  .intro-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-intro-primary,
  .btn-intro-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1.25rem;
  }
}

/* ==========================================================================
   SECTION POINTS CLÉS / ENCARTS (Graphisme coloré & ludique façon hero-woman-arcs)
   ========================================================================== */

.keypoints-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding: clamp(3.5rem, 5vw, 5rem) 1.5rem;
}

.keypoints-container {
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
}

.keypoints-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Carte Encart conforme au modèle encart-exemple sur 1 ligne */
.encart-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 0px;
  padding: 1.35rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: 0 4px 20px -2px rgba(14, 30, 56, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.encart-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(14, 30, 56, 0.08);
  border-color: #d2dbe7;
}

/* Illustration agrandie */
.encart-media {
  flex: 0 0 115px;
  width: 115px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.encart-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.24);
  transform-origin: center center;
  transition: transform 0.35s ease;
}

.encart-card:hover .encart-img {
  transform: scale(1.32);
}

/* Textes à droite */
.encart-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.encart-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2e48;
  line-height: 1.2;
  margin: 0;
}

.encart-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: #4b586e;
  line-height: 1.4;
  margin: 0;
}

/* Responsive Encarts */
@media (max-width: 1200px) {
  .keypoints-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .encart-card {
    padding: 1.5rem 1.6rem;
    gap: 1.35rem;
  }

  .encart-media {
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 680px) {
  .keypoints-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .encart-card {
    padding: 1.25rem 1.35rem;
    gap: 1.15rem;
  }
}

@media (max-width: 440px) {
  .keypoints-section {
    padding: 2.75rem 1rem;
  }

  .encart-card {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem 1.1rem;
    gap: 0.85rem;
  }

  .encart-media {
    width: 120px;
    height: 110px;
  }

  .encart-card.encart-text-only {
    text-align: left;
    align-items: flex-start;
  }
}

/* Encarts text-only (pour les engagements / promesses) */
.encart-card.encart-text-only {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 2.2rem 1.85rem;
  height: 100%;
}

.encart-card.encart-text-only .encart-content {
  gap: 0.65rem;
  width: 100%;
}

.encart-card.encart-text-only .encart-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #103254;
  line-height: 1.3;
}

.encart-card.encart-text-only .encart-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b586e;
}

.keypoints-grid-3cols {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.keypoints-grid-3cols .encart-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 2rem;
  justify-content: flex-start;
}

.keypoints-grid-3cols .encart-content {
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.keypoints-grid-3cols .encart-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #103254;
  line-height: 1.25;
}

.keypoints-grid-3cols .encart-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4b586e;
}

@media (max-width: 900px) {
  .keypoints-grid-3cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Bloc d'engagement mis en avant de façon majeure */
.promesse-highlight-banner {
  max-width: 1040px;
  margin: 3.5rem auto 0;
  text-align: center;
  background: linear-gradient(135deg, #103254 0%, #15416b 100%);
  border: 1px solid rgba(65, 179, 210, 0.35);
  border-radius: 24px;
  padding: clamp(2.5rem, 4.5vw, 3.5rem) clamp(1.75rem, 4vw, 3.5rem);
  box-shadow: 0 16px 40px -6px rgba(16, 50, 84, 0.16);
  position: relative;
  overflow: hidden;
}

.promesse-highlight-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(65, 179, 210, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.promesse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #41B3D2;
  background: rgba(65, 179, 210, 0.12);
  border: 1px solid rgba(65, 179, 210, 0.28);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.promesse-highlight-text {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SECTION CITATION PLEINE LARGEUR
   ========================================================================== */
.quote-banner-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 50, 84, 0.74) 0%, rgba(10, 25, 47, 0.84) 100%);
  z-index: 2;
}

.quote-banner-container {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.quote-banner-text {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.02em;
  margin: 0;
  font-style: italic;
}

/* ==========================================================================
   FOOTER (2 COLONNES)
   ========================================================================== */
.site-footer {
  background-color: #0d2238;
  color: #cbd5e1;
  padding: 4.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.footer-container {
  max-width: var(--container-max-width, 1240px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Colonne 1 : Info & Logo */
.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.footer-logo-img {
  display: block;
  max-width: 170px;
  height: auto;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-location {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-phone {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0;
}

.footer-phone .phone-label {
  color: #94a3b8;
  margin-right: 0.35rem;
}

.footer-phone-link {
  color: var(--color-cyan, #41B3D2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-phone-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Colonne 2 : Liens */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background-color: var(--color-cyan, #41B3D2);
  border-radius: 2px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Bas de footer */
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive Footer & Bannière */
@media (max-width: 768px) {
  .quote-banner-section {
    min-height: 340px;
  }

  .quote-banner-container {
    padding: 3.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .site-footer {
    padding: 3.5rem 1.25rem 1.75rem;
  }
}

/* ==========================================================================
   ANIMATIONS AU SCROLL (Fluidité & Discrétion sans changer le style visuel)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Éléments en cascade (4 encarts) */
.scroll-reveal-stagger:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal-stagger:nth-child(2) { transition-delay: 0.16s; }
.scroll-reveal-stagger:nth-child(3) { transition-delay: 0.27s; }
.scroll-reveal-stagger:nth-child(4) { transition-delay: 0.38s; }

/* Fluidité du parallaxe de l'image du Hero */
.hero-visual-wrapper {
  will-change: transform;
}

/* ==========================================================================
   PAGE CONTACT (Fidèle à la charte et au style de la Homepage)
   ========================================================================== */
.contact-header-section {
  background-color: #f4f4f4;
  padding: clamp(2.5rem, 4vw, 3.5rem) 1.5rem;
  border-bottom: 1px solid rgba(16, 50, 84, 0.06);
  text-align: center;
}

.contact-header-container {
  max-width: 860px;
  margin: 0 auto;
}

.contact-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ocean, #2F8EB9);
  background: rgba(47, 142, 185, 0.1);
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.contact-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #103254;
  line-height: 1.15;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
}

.contact-lead-text {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 400;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

.contact-body-section {
  background-color: #ffffff;
  padding: clamp(3.5rem, 5vw, 5rem) 1.5rem 6rem;
}

.contact-body-container {
  max-width: var(--container-max-width, 1240px);
  margin: 0 auto;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 3.5rem;
  align-items: start;
}

/* Colonne Gauche : Coordonnées */
.contact-info-card {
  background: #ffffff;
  border: 1.5px solid #e7ecf3;
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 6px 24px -4px rgba(16, 50, 84, 0.05);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #103254;
  margin: 0 0 0.75rem 0;
}

.contact-info-intro {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 2rem 0;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 142, 185, 0.12);
  color: #2F8EB9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-icon.icon-green {
  background: rgba(88, 184, 147, 0.14);
  color: #58b893;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-info-text .item-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.contact-info-text .item-value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.5;
  font-style: normal;
}

.contact-info-text .item-link {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #2F8EB9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-text .item-link:hover {
  color: #103254;
  text-decoration: underline;
}

.contact-reassurance-box {
  margin-top: 2.2rem;
  padding: 1.1rem 1.35rem;
  border-radius: 12px;
  background: #f8fafc;
  border-left: 3.5px solid #2F8EB9;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.reassurance-icon {
  color: #58b893;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.reassurance-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Colonne Droite : Formulaire */
.contact-form-card {
  background: #ffffff;
  border: 1.5px solid #e7ecf3;
  border-radius: 20px;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 6px 24px -4px rgba(16, 50, 84, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e2e48;
}

.form-label .required {
  color: #e87b34;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1e293b;
  background: #ffffff;
  border: 1.5px solid #d8e2ec;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #2F8EB9;
  box-shadow: 0 0 0 3px rgba(47, 142, 185, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  margin-top: 0.5rem;
}

.btn-submit-contact {
  background-color: #103254;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 2.2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit-contact:hover {
  background-color: #2F8EB9;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(47, 142, 185, 0.4);
}

.btn-submit-contact .btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-submit-contact:hover .btn-arrow {
  transform: translateX(4px);
}

/* Responsive Page Contact */
@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 2rem 1.6rem;
  }
}

/* ==========================================================================
   BANNIÈRE D'ENTÊTE DE PAGE (Modèle modele-entete.png avec nos couleurs)
   ========================================================================== */
.page-banner-header {
  position: relative;
  background-color: #0b1d33;
  color: #ffffff;
  padding: clamp(1.85rem, 3vw, 2.6rem) 1.5rem clamp(2.6rem, 3.75vw, 3.4rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Décor tirangle-rond.png positionné à droite */
.page-banner-decor {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: clamp(160px, 18vw, 260px);
  pointer-events: none;
  z-index: 1;
}

.page-banner-decor-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-banner-decor {
    right: -20px;
    width: 142px;
    opacity: 0.45;
  }
}



.page-banner-container {
  max-width: var(--container-max-width, 1240px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Fil d'Ariane / Breadcrumb */
.page-banner-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-banner-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-banner-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

/* Titre & Sous-titre centrés */
.page-banner-content {
  text-align: center;
  margin-top: 0.25rem;
}

.page-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 0.85rem 0;
  letter-spacing: 0.01em;
}

.page-banner-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-cyan, #41B3D2);
  margin: 0;
}

/* ==========================================================================
   STYLES COMMUNS POUR LES PAGES INTÉRIEURES (Histoire, Programmes, Valeurs)
   ========================================================================== */
.inner-page-section {
  background-color: #ffffff;
  padding: clamp(3.5rem, 5vw, 5.5rem) 1.5rem;
}

.inner-page-container {
  max-width: var(--container-max-width, 1240px);
  margin: 0 auto;
}

/* Blocs & Cartes des pages intérieures */
.inner-lead-block {
  max-width: 880px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.inner-lead-text {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: #334155;
  line-height: 1.65;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 2rem 2.2rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  box-shadow: 0 4px 20px -2px rgba(16, 50, 84, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(16, 50, 84, 0.08);
}

.timeline-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-ocean, #2F8EB9);
  line-height: 1;
  background: rgba(47, 142, 185, 0.1);
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-body {
  flex: 1;
}

.timeline-phase {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan, #41B3D2);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.timeline-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #103254;
  margin: 0 0 0.5rem 0;
}

.timeline-body p {
  color: #4b586e;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

/* Grille des programmes & valeurs */
.inner-grid-2cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.inner-feature-card {
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 20px -2px rgba(16, 50, 84, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(16, 50, 84, 0.08);
}

.inner-badge-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ocean, #2F8EB9);
  background: rgba(47, 142, 185, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  width: fit-content;
}

.inner-feature-card h2,
.inner-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #103254;
  margin: 0;
  line-height: 1.25;
}

.inner-feature-card p {
  color: #4b586e;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

.skill-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
}

.skill-checklist li {
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-checklist li::before {
  content: '✓';
  color: #58b893;
  font-weight: 800;
}

@media (max-width: 860px) {
  .inner-grid-2cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.6rem 1.4rem;
  }

  .skill-checklist {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   TIMELINE MODÈLE (LISTE-DEMO.PNG & LIST-DEMO-RESPONSIVE.PNG)
   ======================================================== */
.demo-timeline-section {
  position: relative;
  background-color: #f7f9fb;
  background-image: url('../img/valeurs.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: clamp(3.5rem, 5vw, 5.5rem) 1.5rem;
}

.demo-timeline-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.demo-timeline-section-title {
  font-family: var(--font-heading);
  color: #103254;
  font-size: clamp(1.85rem, 2.5vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 2.5rem 0;
  letter-spacing: -0.01em;
}

.demo-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Ligne verticale continue reliant les cercles */
.demo-timeline::before {
  content: '';
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 22px;
  width: 2px;
  background-color: var(--color-ocean, #2F8EB9);
  opacity: 0.6;
  z-index: 1;
}

.demo-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  z-index: 2;
}

.demo-timeline-circle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  border: 2px solid var(--color-ocean, #2F8EB9);
  background-color: #ffffff;
  color: var(--color-ocean, #2F8EB9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #ffffff;
  margin-top: 0;
}

.demo-timeline-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 18px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 4px 20px -2px rgba(16, 50, 84, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.demo-timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(16, 50, 84, 0.08);
  border-color: #cbd5e1;
}

.demo-timeline-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #103254;
  margin: 0 0 0.85rem 0;
  line-height: 1.3;
}

.demo-timeline-dot {
  color: var(--color-ocean, #2F8EB9);
  font-weight: 800;
}

.demo-timeline-text {
  color: #4b586e;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

/* Responsive (< 768px) selon list-demo-responsive.png */
@media (max-width: 768px) {
  .demo-timeline::before {
    display: none;
  }

  .demo-timeline {
    gap: 1.85rem;
  }

  .demo-timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .demo-timeline-circle {
    box-shadow: none;
  }

  .demo-timeline-card {
    width: 100%;
    padding: 1.6rem 1.4rem;
    border-radius: 16px;
  }

  .demo-timeline-title {
    font-size: 1.25rem;
  }

  .demo-timeline-text {
    font-size: 0.95rem;
  }
}

/* ========================================================
   SLIDER HISTOIRE (Inspiré de exemple/intro-demo.png)
   ======================================================== */
.histoire-slider-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.histoire-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0.5rem;
}

.histoire-slider-track {
  position: relative;
  width: 100%;
}

/* Animations de transition : Image (gauche -> droite) & Texte (droite -> gauche) */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-70px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(70px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imageScaleSettle {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.histoire-slide {
  display: none;
  width: 100%;
}

.histoire-slide.is-active {
  display: block;
}

/* Déclenchement des animations sur les enfants du slide actif */
.histoire-slide.is-active .histoire-slide-media {
  animation: slideInFromLeft 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.histoire-slide.is-active .histoire-slide-img {
  animation: imageScaleSettle 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.histoire-slide.is-active .histoire-slide-card {
  animation: slideInFromRight 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

/* Grille inspirée de intro-demo.png avec chevauchement élégant */
.histoire-slide-grid {
  display: grid;
  grid-template-columns: minmax(320px, 450px) 1fr;
  align-items: center;
  position: relative;
}

/* Image à gauche */
.histoire-slide-media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f8fafc;
  box-shadow: 0 16px 40px -10px rgba(16, 50, 84, 0.18);
}

.histoire-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}


/* Bloc texte à droite (modèle intro-demo.png : fond bleu marine profond, texte blanc) */
.histoire-slide-card {
  position: relative;
  z-index: 2;
  margin-left: -50px;
  background-color: #103254;
  border-radius: 20px;
  padding: clamp(2.2rem, 3.8vw, 3.5rem);
  color: #ffffff;
  box-shadow: 0 20px 50px -10px rgba(16, 50, 84, 0.35);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Titre blanc imposant comme dans intro-demo.png */
.histoire-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.histoire-slide-dot {
  color: var(--color-cyan, #41B3D2);
  font-weight: 800;
}

/* Paragraphe blanc / gris clair lisible */
.histoire-slide-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.75;
  margin: 0;
}

/* Navigation & Points */
.histoire-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 0.5rem;
}

.histoire-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #103254;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(16, 50, 84, 0.06);
}

.histoire-nav-btn:hover {
  background: #103254;
  color: #ffffff;
  border-color: #103254;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(16, 50, 84, 0.18);
}

.histoire-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.histoire-dot {
  position: relative;
  display: inline-block;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.histoire-dot:hover {
  background: #94a3b8;
  transform: scale(1.25);
}

.histoire-dot.active {
  width: 36px;
  height: 12px;
  border-radius: 6px;
  background: var(--color-ocean, #2F8EB9);
  box-shadow: 0 2px 10px rgba(47, 142, 185, 0.4);
}

/* Responsive slider */
@media (max-width: 880px) {
  .histoire-slider-viewport {
    padding: 0.5rem 0;
  }

  .histoire-slide-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .histoire-slide-media {
    max-width: 360px;
    margin: 0 auto;
  }

  .histoire-slide-card {
    margin-left: 0;
    padding: 1.75rem 1.4rem;
    border-radius: 18px;
  }

  .histoire-slide-title {
    font-size: 1.35rem;
  }

  .histoire-slider-nav {
    margin-top: 1.25rem;
    gap: 1rem;
  }

  .histoire-nav-btn {
    width: 38px;
    height: 38px;
  }

  .histoire-nav-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ========================================================
   PROGRAMMES SHOWCASE (MODÈLE INTRO-DEMO.PNG)
   ======================================================== */
.programmes-showcase {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 1rem;
}

.programmes-intro-section {
  padding-bottom: 1.5rem;
}

.programmes-intro-section .inner-lead-block {
  max-width: 100%;
  margin-bottom: 0;
}

.programme-block-wrapper {
  background-color: #f4f4f4;
  width: 100%;
  padding: clamp(3.5rem, 5vw, 5.5rem) 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.programme-block-wrapper .inner-page-container {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.programmes-showcase-section {
  padding-top: clamp(3.5rem, 5vw, 5.5rem);
}

.programme-intro-header {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.programme-intro-header .programme-showcase-badge {
  background: #ffffff;
  color: #103254;
  border-color: rgba(16, 50, 84, 0.18);
  box-shadow: 0 2px 6px rgba(16, 50, 84, 0.06);
}

.programme-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #103254;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.programme-intro-lead {
  color: #1f2937;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

.programme-intro-desc {
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.programme-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  position: relative;
}

.programme-showcase-row.programme-showcase-reverse {
  grid-template-columns: 1fr 1fr;
}

/* Contenu textuel sans fond bleu */
.programme-showcase-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: #1f2937;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.programme-showcase-media-wrap {
  position: relative;
  width: 100%;
}

.programme-showcase-backdrop {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: #ff5790;
  transform: rotate(3.5deg);
  transform-origin: center center;
  z-index: 0;
  opacity: 1;
  box-shadow: 0 14px 32px -6px rgba(255, 87, 144, 0.28);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.programme-showcase-media-wrap:hover .programme-showcase-backdrop {
  transform: rotate(5deg) scale(1.01);
  opacity: 1;
}

.programme-showcase-media {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(16, 50, 84, 0.16);
  aspect-ratio: 16 / 11;
  height: auto;
  min-height: unset;
  background: #ffffff;
}

.programme-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.programme-showcase-row:hover .programme-showcase-img {
  transform: scale(1.03);
}

.programme-showcase-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #103254;
  background: rgba(16, 50, 84, 0.08);
  border: 1px solid rgba(16, 50, 84, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  width: fit-content;
}

.programme-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: #103254;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.programme-showcase-lead {
  color: #1f2937;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.programme-showcase-desc {
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.programme-skills-title {
  font-family: var(--font-heading);
  color: #103254;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0 0;
  letter-spacing: -0.01em;
}

.programme-showcase-content .skill-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.programme-showcase-content .skill-checklist li {
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
  font-weight: 500;
}

.programme-showcase-content .skill-checklist li::before {
  content: '✓';
  color: var(--color-ocean, #2F8EB9);
  font-weight: 800;
  font-size: 1rem;
}

.programme-showcase-action {
  margin-top: 0.5rem;
}

.programme-showcase-action .btn-submit-contact {
  background-color: #103254;
  color: #ffffff;
  border: none;
}

.programme-showcase-action .btn-submit-contact:hover {
  background-color: var(--color-ocean, #2F8EB9);
  box-shadow: 0 10px 24px -4px rgba(47, 142, 185, 0.4);
}

/* Responsive (< 1024px) */
@media (max-width: 1024px) {
  .programme-showcase-row,
  .programme-showcase-row.programme-showcase-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .programme-showcase-row:not(.programme-showcase-reverse) .programme-showcase-content,
  .programme-showcase-row.programme-showcase-reverse .programme-showcase-content {
    margin: 0;
    padding-left: clamp(2rem, 3.5vw, 3rem);
  }

  .programme-showcase-media,
  .programme-showcase-row.programme-showcase-reverse .programme-showcase-media {
    min-height: 320px;
    max-height: 440px;
    aspect-ratio: auto;
    margin: 0;
  }

  .programme-showcase-row:not(.programme-showcase-reverse) .programme-showcase-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .programmes-showcase {
    gap: 3.5rem;
  }

  .programme-block-wrapper {
    padding: 2.5rem 1rem;
    border-radius: 0;
  }

  .programme-block-wrapper .inner-page-container {
    gap: 1.75rem;
    padding: 0;
  }

  .programme-showcase-content {
    padding: 1.85rem 1.5rem;
    border-radius: 18px;
  }

  .programme-showcase-media {
    min-height: 280px;
    border-radius: 18px;
  }

  .programme-showcase-content .skill-checklist {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

/* ========================================================
   SECTION PARTENAIRES & INTERVENANTS (PAGE PROGRAMMES)
   ======================================================== */
.partenaires-section {
  background-color: #f4f4f4;
  width: 100%;
  padding: clamp(4rem, 6vw, 6rem) 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partenaires-section .inner-page-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.partenaires-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.partenaires-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #103254;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.partenaires-title-highlight {
  color: var(--color-ocean, #2F8EB9);
  font-weight: 600;
  font-style: italic;
}

.partenaires-lead {
  color: #1f2937;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
  max-width: 100%;
}

.partenaires-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.partenaire-card {
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 0px;
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 20px -2px rgba(16, 50, 84, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partenaire-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(16, 50, 84, 0.09);
  border-color: #cbd5e1;
}

.partenaire-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.partenaire-number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff5790;
  background: rgba(255, 87, 144, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.partenaire-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #103254;
  margin: 0;
  line-height: 1.3;
}

.partenaire-text {
  color: #4b586e;
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* Bandeau Reconnaissance Officielle MQA */
.mqa-recognition-banner {
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 16px -2px rgba(16, 50, 84, 0.05);
}

.mqa-badge-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(47, 142, 185, 0.12);
  color: var(--color-ocean, #2F8EB9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mqa-badge-text {
  font-size: 1.02rem;
  color: #103254;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .partenaires-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .partenaire-card {
    padding: 1.75rem 1.5rem;
  }

  .mqa-recognition-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem;
  }
}

/* ========================================================
   SECTION HISTOIRE : L'ENJEU - SE RÉINVENTER (BLEU & ONGLETS)
   ======================================================== */
.histoire-reinvent-section {
  width: 100%;
  background: linear-gradient(135deg, #103254 0%, #0d2742 100%);
  padding: clamp(4.5rem, 6vw, 6.5rem) 1.5rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.histoire-reinvent-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(47, 142, 185, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.histoire-reinvent-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Colonne Gauche */
.histoire-reinvent-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.histoire-reinvent-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a6dcf5;
  background: rgba(166, 220, 245, 0.12);
  border: 1px solid rgba(166, 220, 245, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  width: fit-content;
}

.histoire-reinvent-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.015em;
}

.histoire-reinvent-statement {
  font-size: 1.22rem;
  line-height: 1.55;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.histoire-reinvent-statement em {
  font-style: normal;
  color: #ff5790;
}

.histoire-reinvent-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Colonne Droite : Tabs */
.histoire-reinvent-tabs-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.histoire-tabs-nav {
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 31, 51, 0.55);
  padding: 0.45rem;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.histoire-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.histoire-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.histoire-tab-btn.active {
  background: #ffffff;
  color: #103254;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.histoire-tab-btn .tab-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #2F8EB9;
}

.histoire-tab-btn.active .tab-num {
  color: #ff5790;
}

.histoire-tab-panel {
  display: none;
  background: #ffffff;
  border-radius: 18px;
  padding: 2.25rem 2.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: fadeInHistoireTab 0.35s ease;
}

.histoire-tab-panel.active {
  display: block;
}

@keyframes fadeInHistoireTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff5790;
  margin-bottom: 0.75rem;
}

.tab-panel-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #103254;
  margin: 0 0 1rem 0;
  line-height: 1.35;
}

.tab-panel-text {
  color: #4b586e;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 960px) {
  .histoire-reinvent-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .histoire-tabs-nav {
    flex-wrap: wrap;
  }

  .histoire-tab-btn {
    flex: 1 1 calc(50% - 0.5rem);
    font-size: 0.85rem;
    padding: 0.65rem 0.5rem;
  }

  .histoire-tab-panel {
    padding: 1.75rem 1.5rem;
  }
}

/* ========================================================
   SECTION HISTOIRE : NOTRE RÉPONSE & FAMILLES DE COMPÉTENCES
   ======================================================== */
.histoire-competences-section {
  width: 100%;
  background-color: #f8fafc;
  padding: clamp(4.5rem, 6vw, 6.5rem) 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Bannière Notre Réponse */
.histoire-response-banner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.histoire-response-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #103254;
  line-height: 1.65;
  margin: 0;
}

/* Intro Familles de compétences */
.histoire-competences-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem auto;
}

.histoire-competences-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #103254;
  background: rgba(16, 50, 84, 0.07);
  border: 1px solid rgba(16, 50, 84, 0.15);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.histoire-competences-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: #103254;
  line-height: 1.25;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.015em;
}

.histoire-competences-title em {
  font-style: normal;
  color: var(--color-ocean, #2F8EB9);
}

.histoire-competences-chapeau {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #4b586e;
  margin: 0;
}

/* Grille 4 Familles */
.histoire-competences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.histoire-comp-card {
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 20px;
  padding: 2.2rem 1.75rem;
  box-shadow: 0 4px 18px rgba(16, 50, 84, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.histoire-comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 50, 84, 0.08);
  border-color: #cbd5e1;
}

.histoire-comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.histoire-comp-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff5790;
}

.histoire-comp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 142, 185, 0.1);
  color: var(--color-ocean, #2F8EB9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.histoire-comp-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #103254;
  margin: 0 0 0.65rem 0;
  line-height: 1.35;
}

.histoire-comp-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b586e;
  font-style: italic;
  margin: 0;
  margin-top: auto;
}

/* Citation de synthèse finale */
.histoire-comp-conclusion {
  margin-top: 2.75rem;
  background: #ffffff;
  border: 1px solid #e7ecf3;
  border-radius: 18px;
  padding: 1.75rem 2.25rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(16, 50, 84, 0.04);
}

.histoire-comp-conclusion p {
  color: #103254;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1024px) {
  .histoire-competences-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .histoire-competences-grid {
    grid-template-columns: 1fr;
  }

  .histoire-response-banner {
    padding: 1.75rem 1.25rem;
    margin-bottom: 3rem;
  }

  .histoire-comp-card {
    padding: 1.75rem 1.5rem;
  }
}






