/* ==========================================================================
   KINTESSIA - Design Tokens & Global Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #0055B8;
  --color-primary-dark: #004D99;
  --color-primary-light: #009FE3;
  --color-navy: #012F6B;
  --color-navy-light: #01408F;
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;
  --color-overlay: rgba(10, 22, 40, 0.6);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --spacing-5xl: 8rem;

  /* Layout */
  --container-max-width: 1200px;
  --container-padding-mobile: 20px;
  --container-padding-desktop: 40px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index */
  --z-header: 1000;
  --z-modal: 1100;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--container-padding-mobile);
  padding-right: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--container-padding-desktop);
    padding-right: var(--container-padding-desktop);
  }
}

.section {
  padding: var(--spacing-4xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-5xl) 0;
  }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-navy);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--font-size-4xl);
  }
}

.sectors .section-title,
.talents .section-title,
.news .section-title {
  font-size: var(--font-size-4xl);
}

@media (min-width: 768px) {
  .sectors .section-title,
  .talents .section-title,
  .news .section-title {
    font-size: var(--font-size-5xl);
  }
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   Floating Decorative Shapes
   -------------------------------------------------------------------------- */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.about, .talents, .certifications, .why-choose {
  position: relative;
}

.about > .container,
.talents > .container,
.certifications > .container,
.why-choose > .container {
  position: relative;
  z-index: 1;
}

.shape {
  position: absolute;
  display: block;
}

.shape--circle {
  border-radius: 50%;
  background: rgba(15, 76, 151, 0.06);
}

.shape--ring {
  border-radius: 50%;
  border: 2px solid rgba(15, 76, 151, 0.08);
  background: transparent;
}

.shape--dot {
  border-radius: 50%;
  background: rgba(15, 76, 151, 0.1);
}

.shape--line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 76, 151, 0.1), transparent);
  border-radius: 2px;
}

/* Positions et tailles individuelles */
.shape--1 { width: 180px; height: 180px; top: -40px; right: -60px; animation: floatUp 8s ease-in-out infinite; }
.shape--2 { width: 100px; height: 100px; bottom: 20px; left: 5%; animation: floatDiag 10s ease-in-out infinite; }
.shape--3 { width: 200px; top: 40%; left: -40px; animation: floatLine 12s ease-in-out infinite; }
.shape--4 { width: 12px; height: 12px; top: 25%; right: 15%; animation: floatUp 6s ease-in-out infinite 1s; }
.shape--5 { width: 140px; height: 140px; bottom: -50px; right: 10%; animation: floatDiag 9s ease-in-out infinite 2s; }

.shape--6 { width: 160px; height: 160px; top: -30px; left: -50px; animation: floatUp 9s ease-in-out infinite 1s; }
.shape--7 { width: 10px; height: 10px; top: 30%; right: 8%; animation: floatDiag 7s ease-in-out infinite; }
.shape--8 { width: 180px; bottom: 20%; right: -30px; animation: floatLine 11s ease-in-out infinite 3s; }
.shape--9 { width: 80px; height: 80px; bottom: -20px; left: 20%; animation: floatUp 8s ease-in-out infinite 2s; }

.shape--10 { width: 120px; height: 120px; top: -30px; left: 10%; animation: floatDiag 10s ease-in-out infinite; }
.shape--11 { width: 160px; top: 50%; right: -20px; animation: floatLine 13s ease-in-out infinite 1s; }
.shape--12 { width: 200px; height: 200px; bottom: -60px; right: -80px; animation: floatUp 11s ease-in-out infinite 2s; }
.shape--13 { width: 14px; height: 14px; top: 20%; left: 30%; animation: floatDiag 6s ease-in-out infinite 3s; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatDiag {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -15px) scale(1.05); }
  66% { transform: translate(-8px, -10px) scale(0.95); }
}

@keyframes floatLine {
  0%, 100% { transform: translateX(0) scaleX(1); opacity: 0.5; }
  50% { transform: translateX(20px) scaleX(1.2); opacity: 1; }
}

/* Scroll Reveal Titles */
.scroll-reveal-words { overflow: hidden; }
.scroll-reveal-words .word { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(20px); transition: all 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.scroll-reveal-words.revealed .word { opacity: 1; filter: blur(0); transform: translateY(0); }
.scroll-reveal-words .word:nth-child(1){transition-delay:.1s}
.scroll-reveal-words .word:nth-child(2){transition-delay:.2s}
.scroll-reveal-words .word:nth-child(3){transition-delay:.3s}
.scroll-reveal-words .word:nth-child(4){transition-delay:.4s}
.scroll-reveal-words .word:nth-child(5){transition-delay:.5s}
.scroll-reveal-words .word:nth-child(6){transition-delay:.6s}
.scroll-reveal-words .word:nth-child(7){transition-delay:.7s}
.scroll-reveal-words .word:nth-child(8){transition-delay:.8s}
.scroll-reveal-words .word:nth-child(9){transition-delay:.9s}
.scroll-reveal-words .word:nth-child(10){transition-delay:1s}
.scroll-reveal-words .word:nth-child(11){transition-delay:1.1s}
.scroll-reveal-words .word:nth-child(12){transition-delay:1.2s}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  transition: bottom 0.5s ease, border-radius 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  animation: waveFillIn 0.6s ease forwards;
}

@keyframes waveFillIn {
  0% {
    bottom: -100%;
    border-radius: 50% 50% 0 0;
  }
  60% {
    bottom: -10%;
    border-radius: 40% 40% 0 0;
  }
  80% {
    bottom: 5%;
    border-radius: 20% 20% 0 0;
  }
  100% {
    bottom: 0;
    border-radius: 0;
  }
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary::before {
  background-color: var(--color-primary-dark);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-gray-200);
}

.btn--secondary::before {
  background-color: var(--color-primary);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline-white::before {
  background-color: var(--color-white);
}

.btn--outline-white:hover {
  color: var(--color-navy);
}

.btn--small {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-sm);
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: var(--spacing-lg) 0;
  transition: all var(--transition-normal);
}

.header.is-scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-md) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header__logo img {
  height: 80px;
  width: auto;
}

.header__logo-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  transition: color var(--transition-normal);
}

.header.is-scrolled .header__logo-text {
  color: var(--color-navy);
}

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
  }
}

.header__nav-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  transition: color var(--transition-fast);
  position: relative;
}

.header.is-scrolled .header__nav-link {
  color: #012F6B;
}

.header__nav-link:hover {
  color: var(--color-primary-light);
}

.header.is-scrolled .header__nav-link:hover {
  color: var(--color-primary);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

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

.header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .header__cta {
    display: block;
  }
}

.header__mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-sm);
}

@media (min-width: 1024px) {
  .header__mobile-toggle {
    display: none;
  }
}

.header__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.header.is-scrolled .header__mobile-toggle span {
  background-color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__background img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.8) 0%, rgba(10, 22, 40, 0.4) 100%);
}

.hero__content {
  position: relative;
  max-width: 700px;
  padding: var(--spacing-5xl) 0;
  animation: heroFadeIn 1s ease-out;
}

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

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--font-size-5xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--font-size-6xl);
  }
}

.hero__description {
  font-size: var(--font-size-lg);
  color: var(--color-gray-300);
  margin-bottom: var(--spacing-2xl);
  max-width: 550px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* --------------------------------------------------------------------------
   About Section (Notre Entreprise)
   -------------------------------------------------------------------------- */
.about {
  background-color: var(--color-white);
}

.about__grid {
  display: grid;
  gap: var(--spacing-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about__content {
  order: 2;
}

@media (min-width: 768px) {
  .about__content {
    order: 1;
  }
}

.about__image {
  order: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .about__image {
    order: 2;
  }
}

.about__image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about__image img {
    height: 450px;
  }
}

/* Slideshow about */
.about-slideshow {
  position: relative;
}

.about-slideshow__slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.about-slideshow__slide--active {
  position: relative;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Sectors Section (Nos différents secteurs)
   -------------------------------------------------------------------------- */
.sectors {
  background-color: var(--color-gray-50);
}

.sectors__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.sectors__slider-wrapper {
  position: relative;
}

.sectors__slider {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--spacing-sm) 0;
}

.sectors__slider::-webkit-scrollbar {
  display: none;
}

.sectors__card {
  flex: 0 0 calc(100% - var(--spacing-lg));
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

@media (min-width: 768px) {
  .sectors__card {
    flex: 0 0 calc(50% - var(--spacing-lg));
  }
}

@media (min-width: 1024px) {
  .sectors__card {
    flex: 0 0 calc(33.333% - var(--spacing-lg));
  }
}

.sectors__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sectors__card:hover img {
  transform: scale(1.05);
}

.sectors__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-xl);
}

.sectors__card-label {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

.sectors__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0;
  z-index: 10;
}

.sectors__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  transition: all var(--transition-fast);
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sectors__nav-btn:first-child {
  margin-left: -24px;
}

.sectors__nav-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(15, 76, 151, 0.3);
}

/* --------------------------------------------------------------------------
   Why Choose Section (Pourquoi choisir KINTESSIA) - Scroll Animation
   -------------------------------------------------------------------------- */
.why-choose {
  background-color: #ffffff;
  position: relative;
  padding: 80px 0 40px;
}

.why-choose__grid {
  display: grid;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (min-width: 992px) {
  .why-choose__grid {
    grid-template-columns: 380px 1fr;
    gap: 80px;
  }
}

/* Colonne gauche - Sticky */
.why-choose__left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.why-choose__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #01408F;
  margin-bottom: 20px;
}

.why-choose__title {
  font-size: 56px;
  font-weight: 700;
  color: #012F6B;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 991px) {
  .why-choose__title {
    font-size: 42px;
  }
}

/* Colonne droite - Stage sticky */
.why-choose__right {
  position: relative;
  min-height: 500px;
}

.why-choose__stage {
  position: sticky;
  top: 120px;
  height: 450px;
  width: 100%;
  max-width: 640px;
  overflow: hidden;
}

.why-choose__cards-container {
  position: relative;
  width: 100%;
  height: 450px;
  padding-top: 50px;
}

/* Card - Style de base avec position absolute pour effet pile */
.why-choose__card {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 170px;
  background: #0055B8;
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(0, 85, 184, 0.25);
  
  /* Variables CSS pour animation - valeurs par défaut */
  --ty: 0px;
  --rot: 0deg;
  --scale: 1;
  --blur: 0px;
  --op: 1;
  --z: 1;
  
  transform: translateY(var(--ty)) rotate(var(--rot)) scale(var(--scale));
  filter: blur(var(--blur));
  opacity: var(--op);
  z-index: var(--z);
  
  /* Animation gérée par JS avec lerp - pas de transition CSS */
  will-change: transform, filter, opacity;
}

/* Badge numéro */
.why-choose__card-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #0055B8;
}

/* Contenu de la carte */
.why-choose__card-content {
  flex: 1;
}

.why-choose__card-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
}

.why-choose__card-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

/* Responsive tablet */
@media (max-width: 991px) {
  .why-choose__cards-container {
    max-width: 540px;
  }
  
  .why-choose__card {
    padding: 28px 32px;
  }
  
  .why-choose__card-badge {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  
  .why-choose__card-title {
    font-size: 20px;
  }
  
  .why-choose__card-text {
    font-size: 14px;
  }
}

/* Responsive mobile - Fallback simple (breakpoint réduit) */
@media (max-width: 480px) {
  .why-choose {
    padding: 60px 0;
    min-height: auto !important;
  }
  
  .why-choose__grid {
    gap: 40px;
  }
  
  .why-choose__left {
    position: relative;
    top: 0;
  }
  
  .why-choose__right {
    position: relative;
  }
  
  .why-choose__stage {
    position: relative;
    top: 0;
    height: auto;
  }
  
  .why-choose__cards-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .why-choose__card {
    position: relative !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    height: auto;
    min-height: 140px;
    padding: 24px 28px;
  }
  
  .why-choose__card-badge {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  .why-choose__card-title {
    font-size: 18px;
  }
  
  .why-choose__card-text {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   Talents Section (Les talents KINTESSIA)
   -------------------------------------------------------------------------- */
.talents {
  background-color: rgba(0, 68, 164, 0.10);
  text-align: center;
}

.talents__header {
  max-width: 600px;
  margin: 0 auto var(--spacing-3xl);
}

.talents__grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-end;
}

@media (min-width: 768px) {
  .talents__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.talents__card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.talents__card:nth-child(1) {
  transition-delay: 0.1s;
}

.talents__card:nth-child(2) {
  transition-delay: 0.2s;
}

.talents__card:nth-child(3) {
  transition-delay: 0.3s;
}

.talents__card:nth-child(4) {
  transition-delay: 0.4s;
}

.talents__card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.talents__card:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Stats Section (KINTESSIA en chiffres)
   -------------------------------------------------------------------------- */
.stats {
  background: #0055B8;
  padding: var(--spacing-4xl) 0;
}

/* Innovation au cœur de KINTESSIA : bleu officiel en aplat (sans dégradé) */
.company-page .why-choose__card {
  background: #0055B8;
}

.stats__title {
  text-align: center;
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
  .stats__title {
    font-size: var(--font-size-5xl);
  }
}

.stats__grid {
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__item {
  text-align: center;
}

.stats__number {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
  .stats__number {
    font-size: var(--font-size-6xl);
  }
}

.stats__label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-300);
}

/* --------------------------------------------------------------------------
   Certifications Section - 3 Cartes Rectangulaires Chevauchées
   -------------------------------------------------------------------------- */
.certifications {
  background-color: var(--color-white);
  padding: 100px 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .certifications {
    padding: 60px 0;
  }
}

.certifications__header {
  display: grid;
  gap: var(--spacing-2xl);
  margin-bottom: 80px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .certifications__header {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-4xl);
  }
}

.certifications__title .eyebrow {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.certifications__title h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  line-height: 1.2;
}

.certifications__intro {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-600);
}

.certifications__cards {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 280px;
  padding: 0 var(--spacing-lg);
}

@media (min-width: 1024px) {
  .certifications__cards {
    padding: 0 80px;
  }
}

@media (max-width: 768px) {
  .certifications__cards {
    flex-direction: column;
    gap: var(--spacing-xl);
    min-height: auto;
  }
}

/* Cartes de certification rectangulaires */
.cert-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(50px);
  position: relative;
}

@media (min-width: 1024px) {
  .cert-card {
    width: 380px;
    min-height: 240px;
    position: absolute;
  }
}

@media (max-width: 1023px) {
  .cert-card {
    width: 100%;
    max-width: 400px;
    position: relative;
  }
}

.cert-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Positionnement et rotation des 3 cartes */
@media (min-width: 1024px) {
  .cert-card--1 {
    left: -100px;
    transform: translateY(50px) rotate(-6deg);
    z-index: 1;
  }
  
  .cert-card--1.is-visible {
    transform: translateY(0) rotate(-6deg);
  }
  
  .cert-card--2 {
    left: 50%;
    transform: translateX(-50%) translateY(50px) rotate(0deg);
    z-index: 3;
  }
  
  .cert-card--2.is-visible {
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }
  
  .cert-card--3 {
    right: -100px;
    transform: translateY(50px) rotate(6deg);
    z-index: 2;
  }
  
  .cert-card--3.is-visible {
    transform: translateY(0) rotate(6deg);
  }
}

/* Couleurs des cartes */
.cert-card--1 {
  background: linear-gradient(135deg, #012F6B 0%, #01408F 100%);
  color: var(--color-white);
}

.cert-card--2 {
  background: var(--color-primary);
  color: var(--color-white);
}

.cert-card--3 {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid #E5E7EB;
}

/* Hover effects */
@media (min-width: 1024px) {
  .certifications__cards:hover .cert-card:not(:hover) {
    opacity: 0.6;
    filter: blur(2px);
  }
  
  .cert-card:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.03) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    z-index: 10 !important;
  }
  
  .cert-card--2:hover {
    transform: translateX(-50%) translateY(-10px) rotate(0deg) scale(1.03) !important;
  }
}

/* Contenu des cartes */
.cert-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.cert-card__icon svg {
  width: 100%;
  height: 100%;
}

.cert-card__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.cert-card__text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  opacity: 0.92;
}

/* Animation délais progressifs */
.cert-card--1 {
  transition-delay: 0.1s;
}

.cert-card--2 {
  transition-delay: 0.25s;
}

.cert-card--3 {
  transition-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   News Section (Les actualités)
   -------------------------------------------------------------------------- */
.news {
  background-color: var(--color-gray-50);
}

.news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.news__grid {
  display: grid;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news__card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.news__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news__card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news__card:hover .news__card-image img {
  transform: scale(1.05);
}

.news__card-content {
  padding: var(--spacing-xl);
}

.news__card-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  background-color: var(--color-gray-100);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
}

.news__card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-tight);
}

.news__card-excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: var(--spacing-5xl) 0;
}

.cta-section__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-section__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background-image: url('../img/Frame-1410119281.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-section__card {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.cta-section__label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.cta-section__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .cta-section__title {
    font-size: var(--font-size-3xl);
  }
}

.cta-section__text {
  font-size: var(--font-size-base);
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-xl);
}

/* --------------------------------------------------------------------------
   Footer - Design Premium avec Goutte KINTESSIA
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: #01408F;
  color: white;
  padding: 80px 0 0;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 50px 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Colonnes du footer */
.footer-col h4 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateX(3px);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col p a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col p a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Colonne Brand */
.footer-brand p {
  max-width: 280px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 80px;
  padding: 30px 80px;
  font-size: 14px;
  opacity: 0.7;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 13px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 1);
}

@media (max-width: 600px) {
  .footer-bottom {
    margin-top: 50px;
    padding: 25px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Goutte d'eau KINTESSIA (coupée à 2/3) — retirée (demande client 21/07/2026) */
.footer-drop {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 381px;
  height: 538px;
  bottom: -179px;
  opacity: 0;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-drop.is-visible {
  opacity: 0.15;
  transform: translateX(-50%) translateY(0);
}

.footer-drop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 600px) {
  .footer-drop {
    width: 260px;
    height: 367px;
    bottom: -122px;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Icon placeholder styles */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

.icon--arrow::before {
  content: '→';
}

.icon--phone::before {
  content: '📞';
}

.icon--mail::before {
  content: '✉️';
}

.icon--location::before {
  content: '📍';
}

.icon--chevron-left::before {
  content: '‹';
  font-size: 1.5em;
}

.icon--chevron-right::before {
  content: '›';
  font-size: 1.5em;
}

/* ==========================================================================
   PAGE REJOINDRE - Styles spécifiques
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Join Section
   -------------------------------------------------------------------------- */
.hero-join {
  background-color: #fff;
  padding: 160px 0 80px;
  min-height: auto;
}

.hero-join__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-join__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.hero-join__content {
  color: #012F6B;
}

.hero-join__title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #012F6B;
}

.hero-join__text {
  font-size: 16px;
  line-height: 1.7;
  color: #4A5568;
  max-width: 480px;
}

.hero-join__image {
  position: relative;
}

.hero-join__image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Why Choose - Variante JOIN (fond bleu, cartes blanches)
   -------------------------------------------------------------------------- */
.why-choose--join {
  background-color: rgba(0, 68, 164, 0.10);
}

.why-choose--join .why-choose__label {
  color: #6B7280;
}

.why-choose--join .why-choose__title {
  color: #012F6B;
}

.why-choose--join .why-choose__card {
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.why-choose--join .why-choose__card-badge {
  background: #012F6B;
  color: #fff;
}

.why-choose--join .why-choose__card-title {
  color: #012F6B;
}

.why-choose--join .why-choose__card-text {
  color: #4A5568;
}

/* --------------------------------------------------------------------------
   Team Gallery (grille d'images avec animation scroll)
   -------------------------------------------------------------------------- */
.team-gallery__grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .team-gallery__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.team-gallery__grid .talents__card {
  height: 280px;
}

.team-gallery__grid .talents__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-gallery__grid .talents__card:nth-child(5) {
  transition-delay: 0.5s;
}

/* --------------------------------------------------------------------------
   Jobs Preview Section
   -------------------------------------------------------------------------- */
.jobs-preview {
  background-color: #fff;
  padding: 100px 0;
}

.jobs-preview__grid {
  display: grid;
  gap: 60px;
}

@media (min-width: 992px) {
  .jobs-preview__grid {
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
  }
}

.jobs-preview__intro {
  color: #012F6B;
}

.jobs-preview__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 16px;
}

.jobs-preview__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #012F6B;
}

.jobs-preview__description {
  color: #4A5568;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.jobs-preview__list {
  display: flex;
  flex-direction: column;
}

.jobs-preview__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #E5E7EB;
  gap: 20px;
}

.jobs-preview__item:first-of-type {
  border-top: 1px solid #E5E7EB;
}

.jobs-preview__item-info {
  flex: 1;
}

.jobs-preview__item-title {
  font-size: 18px;
  font-weight: 600;
  color: #012F6B;
  margin-bottom: 4px;
}

.jobs-preview__item-type {
  font-size: 14px;
  color: #6B7280;
}

/* Boutons Orange */
.btn--orange {
  background-color: #FF5114;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn--orange:hover {
  background-color: #FF5114;
  transform: translateY(-2px);
}

.btn--orange-outline {
  background-color: transparent;
  color: #FF5114;
  border: 2px solid #FF5114;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--orange-outline:hover {
  background-color: #FF5114;
  color: #fff;
}

/* --------------------------------------------------------------------------
   CTA Join Section (bandeau bleu)
   -------------------------------------------------------------------------- */
.cta-join {
  background-color: #01408F;
  padding: 80px 0;
}

.cta-join__card {
  background: linear-gradient(135deg, #01408F 0%, #012F6B 100%);
  border-radius: 24px;
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .cta-join__card {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }
}

.cta-join__content {
  flex: 1;
}

.cta-join__title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-join__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
}

.btn--white {
  background-color: #fff;
  color: #012F6B;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--white:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Lien actif dans la navigation */
.header__nav-link--active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   PAGE NOTRE ENTREPRISE (.company-page)
   ========================================================================== */

/* Fix Safari sticky - forcer overflow visible */
.company-page {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* A) HERO - Plongez dans l'histoire */
.company-hero {
  padding-top: 120px;
  background-color: #F5F5F5;
}

.company-hero__content {
  text-align: center;
  padding: 60px 0 40px;
}

.company-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.company-hero__subtitle {
  font-size: 16px;
  color: var(--color-gray-600);
}

.company-hero__band {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.company-hero__band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* B) TIMELINE Section */
.company-timeline {
  background-color: #fff;
  position: relative;
  padding: 80px 0;
}

.company-timeline__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.company-timeline__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.company-timeline__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.company-timeline__intro {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* Timeline Navigation (années) */
.company-timeline__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  margin-bottom: 60px;
}

.company-timeline__nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 500px;
  height: 2px;
  background-color: #E5E7EB;
  z-index: 0;
}

.company-timeline__year {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 2px solid #E5E7EB;
  color: var(--color-gray-500);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.company-timeline__year:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.company-timeline__year.is-active {
  background-color: #E8F0F8;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.company-timeline__highlight {
  display: none;
}

/* Timeline Content */
.company-timeline__content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.company-timeline__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-gray-600);
}

.company-timeline__arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.company-timeline__slide {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
}

.company-timeline__image {
  flex-shrink: 0;
  width: 380px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.company-timeline__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-timeline__text {
  flex: 1;
}

.company-timeline__slide-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.company-timeline__slide-desc {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* B-BIS) SECTION NOTRE HISTOIRE - Navigation par dates */
.history-header {
  padding: 80px 0 40px;
  background-color: #F8FAFC;
}

.history-section {
  padding: 0 0 80px;
  background-color: #F8FAFC;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
}

.history-section .container {
  max-width: 1200px;
  overflow: visible;
}

.history-section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.history-section__intro {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-top: 16px;
}

.history-section__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.history-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  align-self: start;
  height: fit-content;
  z-index: 10;
}

.history-content {
  min-width: 0;
}

.history-nav__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.history-nav__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  text-decoration: none;
  color: #CBD5E1;
  font-size: 48px;
  font-weight: 300;
  transition: all 0.3s ease;
  line-height: 1;
}

.history-nav__item:hover {
  color: #94A3B8;
}

.history-nav__item.is-active {
  color: #1E293B;
  font-weight: 700;
}

.history-nav__year {
  font-size: 48px;
  font-weight: inherit;
}

.history-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.history-block {
  scroll-margin-top: 120px;
}

/* Date au-dessus du bloc */
.history-block__year {
  text-align: center;
  font-size: 48px;
  font-weight: 300;
  color: #CBD5E1;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.history-block__header {
  margin-bottom: 16px;
}

.history-block__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.history-block__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Par défaut: image à gauche, texte à droite */
.history-block__image {
  width: 100%;
  min-height: 200px;
  border-radius: 12px;
  overflow: hidden;
  order: 1;
  align-self: stretch;
}

.history-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-block__text-wrapper {
  order: 2;
}

/* Alternance: blocs pairs - image à droite, texte à gauche */
.history-block:nth-child(even) .history-block__image {
  order: 2;
}

.history-block:nth-child(even) .history-block__text-wrapper {
  order: 1;
}

.history-block__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history-block__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-600);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .history-block__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .history-block__image,
  .history-block__text-wrapper,
  .history-block:nth-child(even) .history-block__image,
  .history-block:nth-child(even) .history-block__text-wrapper {
    order: unset;
  }
  
  .history-block__year {
    font-size: 36px;
  }
}

/* C) IDENTITY Section */
.company-identity {
  background-color: rgba(0, 68, 164, 0.08);
  position: relative;
  overflow: hidden;
}

.company-identity::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: url('../img/KINTESSIA-ISOTYPE.png') no-repeat center center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.company-identity .container {
  position: relative;
  z-index: 1;
}

.company-identity__header {
  text-align: center;
  margin-bottom: 30px;
}

.company-identity__header .section-label {
  margin-bottom: 12px;
}

.company-identity__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: flex-end;
  max-width: 900px;
  margin: 0 auto;
}

.company-identity__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.company-identity__col--left {
  text-align: right;
  align-items: flex-end;
}

.company-identity__col--left .company-identity__arrow {
  align-self: flex-end;
  transform: rotate(-15deg) translateY(10px);
}

.company-identity__col--right {
  text-align: left;
  align-items: flex-start;
}

.company-identity__col--right .company-identity__arrow {
  align-self: flex-start;
  transform: scaleX(-1) rotate(-15deg) translateY(10px);
  margin-left: 20px;
}

.company-identity__col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.company-identity__text {
  font-size: 15px;
  color: var(--color-gray-700);
  max-width: 220px;
  line-height: 1.6;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 68, 164, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 68, 164, 0.08);
  position: relative;
  opacity: 0;
  animation: fadeInBubble 0.8s ease forwards;
}

.company-identity__col--left .company-identity__text {
  animation-delay: 0.5s;
}

.company-identity__col--right .company-identity__text {
  animation-delay: 0.8s;
}

.company-identity__text::before {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid rgba(0, 68, 164, 0.08);
  border-bottom: 1px solid rgba(0, 68, 164, 0.08);
  transform: rotate(45deg);
}

.company-identity__col--left .company-identity__text::before {
  right: 30px;
}

.company-identity__col--right .company-identity__text::before {
  left: 30px;
}

.company-identity__text:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 68, 164, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.company-identity__text strong {
  color: var(--color-navy);
  font-weight: 600;
}

.company-identity__arrow {
  width: 100px;
  height: auto;
  opacity: 0;
  animation: arrowPulse 2s ease-in-out infinite, fadeInArrow 0.6s ease forwards;
}

.company-identity__col--left .company-identity__arrow {
  animation-delay: 0.3s, 0.3s;
  transform-origin: right center;
}

.company-identity__col--right .company-identity__arrow {
  animation-delay: 0.6s, 0.6s;
  transform-origin: left center;
}

@keyframes fadeInBubble {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInArrow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes arrowPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Flèche vers le bas (3ème flèche) */
.company-identity__arrow--down {
  transform: rotate(90deg) !important;
  align-self: center;
  margin-top: 8px;
}

.company-identity__col--center .company-identity__arrow--down {
  animation-delay: 0.9s, 0.9s;
  transform-origin: center center;
}

/* Infobulle sous le logo */
.company-identity__text--bottom {
  text-align: center;
  align-self: center;
  animation-delay: 1.1s;
}

.company-identity__text--bottom::before {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) rotate(45deg) !important;
}

.company-identity__logo {
  width: 280px;
  height: auto;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0, 68, 164, 0));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(0, 68, 164, 0.15));
  }
}

.company-identity__tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* D) RSE Section */
.company-rse {
  background-color: #fff;
}

.company-rse__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.company-rse__content .section-label {
  margin-bottom: 12px;
}

.company-rse__content .section-title {
  margin-bottom: 20px;
}

.company-rse__content .section-text {
  margin-bottom: 32px;
}

.company-rse__image {
  border-radius: 16px;
  overflow: hidden;
}

.company-rse__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* F) INNOVATION Section */
.company-innovation {
  background-color: #F9FAFB;
}

.company-innovation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.company-innovation__item {
  text-align: center;
  padding: 30px 20px;
}

.company-innovation__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 68, 164, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-primary);
}

.company-innovation__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.company-innovation__text {
  font-size: 14px;
  color: var(--color-gray-600);
}

/* G) VALUES Section (Slider) */
.company-values {
  background-color: #fff;
}

.company-values__slider-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}

.company-values__nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-gray-600);
}

.company-values__nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.company-values__slider {
  flex: 1;
  overflow: hidden;
}

.company-values__track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.company-values__card {
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  background: linear-gradient(135deg, #01408F 0%, #012F6B 100%);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.company-values__card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 30px;
}

.company-values__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

/* Stack horizontal des valeurs (cartes + images sur une ligne) */
.company-values__stack {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.company-values__stack::-webkit-scrollbar {
  display: none;
}

.company-values__stack .company-values__card {
  flex-shrink: 0;
  width: 340px;
  scroll-snap-align: start;
}

/* Image panoramique entre les cartes */
.values-pan {
  flex-shrink: 0;
  width: 280px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
}

.values-pan__img {
  width: 100%;
  height: 100%;
}

.values-pan__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Utility class */
.text-center {
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE - Page Notre Entreprise
   ========================================================================== */
@media (max-width: 1024px) {
  .company-timeline__content {
    flex-direction: column;
  }

  .company-timeline__slide {
    flex-direction: column;
    text-align: center;
  }

  .company-timeline__image {
    width: 100%;
    max-width: 400px;
    transform: none;
  }

  .company-identity__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-identity__col--left,
  .company-identity__col--right {
    text-align: center;
    align-items: center;
  }

  .company-identity__col--center {
    order: -1;
  }

  .company-identity__arrow {
    display: none;
  }

  .company-identity__text {
    max-width: 300px;
  }

  .company-rse__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-innovation__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-values__card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .company-hero__band {
    height: 200px;
  }

  .company-timeline__nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .company-timeline__year {
    font-size: 14px;
    padding: 8px 16px;
  }

  .company-timeline__arrow {
    display: none;
  }

  .company-values__nav {
    display: none;
  }

  .company-values__slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .company-values__slider::-webkit-scrollbar {
    display: none;
  }

  .company-values__card {
    width: 280px;
    scroll-snap-align: start;
  }
}

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

  .company-timeline__image {
    height: 220px;
  }
}

/* ==========================================================================
   PAGE SECTEURS (.sectors-page)
   ========================================================================== */

/* Hero Secteurs */
.sectors-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background-color: #F5F5F5;
}

.sectors-hero__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.sectors-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.sectors-hero__subtitle {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* Grille des secteurs */
.sectors-grid-section {
  background-color: #fff;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sector-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.sector-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.sector-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sector-card:hover .sector-card__image img {
  transform: scale(1.05);
}

.sector-card__content {
  padding: 30px;
}

.sector-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.sector-card__text {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Armor Renov Section */
.armor-renov {
  background-color: rgba(0, 68, 164, 0.06);
}

.armor-renov__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.armor-renov__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.armor-renov__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.armor-renov__text {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.armor-renov__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.armor-renov__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--color-gray-700);
}

.armor-renov__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.armor-renov__image {
  border-radius: 16px;
  overflow: hidden;
}

.armor-renov__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Secteurs */
@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .armor-renov__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .sectors-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .sector-card__image {
    height: 180px;
  }

  .sector-card__content {
    padding: 24px;
  }
}

/* ==========================================================================
   PAGE ACTUALITÉS (.news-page)
   ========================================================================== */

/* Hero Actualités */
.news-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background-color: #fff;
}

/* Blog : page blanche + articles un peu plus larges en desktop */
.news-page .news-section .container {
  max-width: 1360px;
}

.news-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.news-hero__content {
  max-width: 500px;
}

.news-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.news-hero__subtitle {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.news-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-hero__image img {
  max-width: 300px;
  height: auto;
}

/* Section Articles */
.news-section {
  background-color: #fff;
}

/* Filtres Pills */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.news-filter {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  background-color: #F1F5F9;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-filter:hover {
  background-color: #E2E8F0;
}

.news-filter.is-active {
  background-color: var(--color-navy);
  color: #fff;
}

/* Grille d'articles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card Article */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.news-card--hidden {
  display: none;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-600);
  background-color: #F1F5F9;
  border-radius: 50px;
  align-self: flex-start;
  margin-top: auto;
}

/* Bouton Charger plus */
.news-load-more {
  text-align: center;
  margin-top: 48px;
}

/* Responsive Actualités */
@media (max-width: 1024px) {
  .news-hero__grid {
    gap: 40px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .news-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .news-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .news-hero__content {
    max-width: 100%;
  }

  .news-hero__image {
    order: -1;
  }

  .news-hero__image img {
    max-width: 200px;
  }

  .news-filters {
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-load-more .btn {
    width: 100%;
  }
}

/* ==========================================================================
   PAGE CONNEXION (.login-page)
   ========================================================================== */

.login-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.login-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Partie gauche - Branding */
.login-brand {
  background-color: #012F6B;
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.login-brand__header {
  z-index: 2;
}

.login-brand__logo img {
  height: 60px;
}

.login-brand__mascot {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.login-brand__mascot img {
  max-width: 350px;
  height: auto;
}

/* Partie droite - Formulaire */
.login-form-wrapper {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-form-container {
  width: 100%;
  max-width: 400px;
}

.login-form__header {
  margin-bottom: 40px;
}

.login-form__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.login-form__subtitle {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* Formulaire */
.login-form__group {
  margin-bottom: 24px;
}

.login-form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.login-form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--color-gray-800);
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.login-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 68, 164, 0.1);
}

.login-form__input::placeholder {
  color: var(--color-gray-400);
}

.login-form__options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.login-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-gray-600);
  cursor: pointer;
}

.login-form__checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}

.login-form__forgot {
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.login-form__forgot:hover {
  text-decoration: underline;
}

.login-form__error {
  padding: 12px 16px;
  background: #FEE2E2;
  color: #991B1B;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.login-form__submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
}

.login-form__footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #E2E8F0;
}

.login-form__footer p {
  font-size: 14px;
  color: var(--color-gray-600);
}

.login-form__footer a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.login-form__footer a:hover {
  text-decoration: underline;
}

.login-form__back {
  margin-top: 24px;
  text-align: center;
}

.login-form__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-form__back-link:hover {
  color: var(--color-navy);
}

/* Responsive Connexion */
@media (max-width: 1024px) {
  .login-brand__mascot img {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-brand {
    min-height: 200px;
    padding: 24px;
  }

  .login-brand__mascot {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: auto;
  }

  .login-brand__mascot img {
    max-width: 150px;
  }

  .login-form-wrapper {
    padding: 32px 24px;
  }

  .login-form__title {
    font-size: 26px;
  }

  .login-form__options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   MENU MOBILE FULLSCREEN
   ========================================================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: grid;
  grid-template-columns: 45% 55%;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Partie gauche - Branding */
.mobile-menu__brand {
  background-color: #012F6B;
  display: flex;
  flex-direction: column;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.mobile-menu__logo {
  z-index: 2;
}

.mobile-menu__logo img {
  height: 40px;
}

.mobile-menu__mascot {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.mobile-menu__mascot img {
  max-width: 200px;
  height: auto;
}

/* Partie droite - Navigation */
.mobile-menu__content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.mobile-menu__link {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--color-primary);
}

.mobile-menu__cta {
  align-self: flex-start;
  margin-bottom: 40px;
}

.mobile-menu__social {
  display: flex;
  gap: 16px;
}

.mobile-menu__social a {
  width: 44px;
  height: 44px;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  transition: all 0.2s ease;
}

.mobile-menu__social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Bouton fermer */
.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--color-gray-600);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}

.mobile-menu__close:hover {
  color: var(--color-navy);
}

/* Body lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Responsive Menu Mobile */
@media (max-width: 640px) {
  .mobile-menu {
    grid-template-columns: 35% 65%;
  }

  .mobile-menu__brand {
    padding: 24px 16px;
  }

  .mobile-menu__mascot img {
    max-width: 120px;
  }

  .mobile-menu__content {
    padding: 60px 24px;
  }

  .mobile-menu__link {
    font-size: 18px;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    grid-template-columns: 30% 70%;
  }

  .mobile-menu__logo img {
    height: 30px;
  }

  .mobile-menu__mascot img {
    max-width: 90px;
  }

  .mobile-menu__link {
    font-size: 16px;
  }

  .mobile-menu__cta {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* ==========================================================================
   PAGE NOS SERVICES (.services-page)
   ========================================================================== */

/* Fix Safari sticky */
.services-page {
  overflow: visible !important;
}

/* Hero Services */
.services-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: #EDF4FA;
  text-align: center;
}

.services-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.services-hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.services-hero__subtitle {
  font-size: 16px;
  color: var(--color-gray-600);
}

/* Section Services par secteur */
.services-sectors {
  padding: 80px 0;
  background-color: #fff;
  overflow: visible;
}

.services-sectors__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
  width: 100%;
}

.services-sectors__intro {
  position: sticky;
  top: 140px;
}

.services-sectors__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 24px;
}

.services-sectors__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.services-sector-card {
  background-color: #1a2744;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  width: 100%;
  max-width: 100%;
}

.services-sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.services-sector-card__icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}

.services-sector-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.services-sector-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Armor Renov - Style rouge */
.services-sector-card--armor {
  background-color: #DC2626;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  border-color: #B91C1C;
}

.services-sector-card--armor:hover {
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
  border-color: #991B1B;
}

.services-sector-card--armor .services-sector-card__icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.services-sector-card--armor .services-sector-card__title {
  color: #fff;
}

.services-sector-card--armor .services-sector-card__text {
  color: rgba(255, 255, 255, 0.9);
}

/* Section principale Services */
.services-main {
  padding: 80px 0;
  background-color: #F8FAFC;
  overflow: visible;
}

.services-main .container {
  overflow: visible;
}

.services-main__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

/* Sidebar Navigation */
.services-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  align-self: start;
  height: fit-content;
  z-index: 10;
}

.services-nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: #fff;
  text-decoration: none;
  color: var(--color-gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.services-nav__item:hover {
  background-color: #EDF4FA;
  color: var(--color-primary);
}

.services-nav__item.is-active {
  background-color: #EDF4FA;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.services-nav__icon {
  width: 36px;
  height: 36px;
  background-color: #F1F5F9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-nav__item.is-active .services-nav__icon {
  background-color: var(--color-primary);
  color: #fff;
}

.services-nav__label {
  line-height: 1.3;
}

/* Section expertise - espacement */
.services-nav__section--expertise {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

/* Expertises - 3D en blanc */
.services-nav__item--expertise {
  background-color: #fff;
}

.services-nav__item--expertise:hover {
  background-color: #EDF4FA;
  color: var(--color-primary);
}

.services-nav__item--expertise.is-active {
  background-color: #EDF4FA;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.services-nav__item--expertise.is-active .services-nav__icon {
  background-color: var(--color-primary);
  color: #fff;
}

/* Armor Renov - Style rouge dans le menu latéral */
.services-nav__item--armor {
  background-color: #FEE2E2;
}

.services-nav__item--armor:hover {
  background-color: #FECACA;
  color: #DC2626;
}

.services-nav__item--armor.is-active {
  background-color: #FECACA;
  border-color: #DC2626;
  color: #DC2626;
}

.services-nav__item--armor.is-active .services-nav__icon {
  background-color: #DC2626;
  color: #fff;
}

/* Service Content */
.services-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: 100%;
}

.service-block {
  background-color: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.service-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-block.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-block__chip {
  display: inline-block;
  padding: 6px 14px;
  background-color: #F1F5F9;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-600);
  margin-bottom: 20px;
}

.service-block__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.service-block__left {
  width: 100%;
  max-width: 100%;
}

.service-block__intro {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.service-block__text {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.service-block__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.service-block__desc {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.service-block__image {
  border-radius: 12px;
  overflow: hidden;
}

.service-block__image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

/* Accordion */
.service-block__accordion-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
  text-decoration: underline;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion__item {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.accordion__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: left;
}

.accordion__header span:first-child {
  flex: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
  padding-right: 10px;
}

.accordion__header:hover {
  background-color: #F8FAFC;
}

.accordion__icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gray-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.accordion__header[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  width: 100%;
}

.accordion__content.is-open {
  max-height: 200px;
}

.accordion__content p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-wrap: break-word;
  width: 100%;
}

/* Responsive Services */
@media (max-width: 1024px) {
  .services-sectors__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-sectors__intro {
    position: static;
    text-align: center;
  }

  .services-main__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-nav {
    position: static;
    width: 100%;
    overflow-x: hidden;
  }

  .services-nav__list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .services-nav__list::-webkit-scrollbar {
    height: 4px;
  }
  
  .services-nav__list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }

  .services-nav__item {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: auto;
  }

  .service-block__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-block__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-block__image {
    order: -1;
  }

  .service-block__image img {
    height: 280px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .services-hero__content {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .services-hero__title {
    font-size: 26px;
  }
  
  .services-hero__subtitle {
    font-size: 15px;
  }

  .services-sectors {
    padding: 60px 0;
  }

  .services-sectors__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .services-sector-card {
    padding: 20px;
  }
  
  .services-sector-card__title {
    font-size: 16px;
  }
  
  .services-sector-card__text {
    font-size: 13px;
  }

  .services-main {
    padding: 60px 0;
  }

  .service-block {
    padding: 20px;
  }

  .service-block__title {
    font-size: 20px;
  }
  
  .service-block__desc {
    font-size: 14px;
  }
  
  .service-block__image img {
    height: 220px;
    min-height: auto;
  }
  
  .accordion__header {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .accordion__content p {
    padding: 0 16px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .services-hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  
  .services-hero__title {
    font-size: 22px;
  }
  
  .services-sectors {
    padding: 40px 0;
  }
  
  .services-sectors__title {
    font-size: 22px;
  }
  
  .services-main {
    padding: 40px 0;
  }
  
  .service-block {
    padding: 16px;
    border-radius: 16px;
  }
  
  .service-block__intro {
    gap: 16px;
  }
  
  .service-block__image img {
    height: 160px;
  }
}

/* ==========================================================================
   PAGE DEMANDE D'ÉTUDE (.study-page)
   ========================================================================== */

/* Hero Study */
.study-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background-color: #F8FAFC;
}

.study-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.study-hero__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.study-hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.study-hero__text {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.study-hero__visual {
  display: flex;
  justify-content: center;
}

.study-hero__mascot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.study-hero__mascot img {
  max-width: 300px;
  height: auto;
}

/* Form Section */
.study-form-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

.study-form__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Contact Card */
.study-contact-card {
  background-color: #012F6B;
  border-radius: 24px;
  padding: 32px;
  color: #fff;
  position: sticky;
  top: 140px;
}

.study-contact-card__item {
  margin-bottom: 28px;
}

.study-contact-card__item:last-child {
  margin-bottom: 0;
}

.study-contact-card__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.study-contact-card__value {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  font-style: normal;
  line-height: 1.5;
}

.study-contact-card__value:hover {
  text-decoration: underline;
}

/* Stepper */
.study-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  width: 100%;
}

.study-stepper__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.study-stepper__circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  background-color: #fff;
  border: 2px solid #E2E8F0;
  color: #94A3B8;
  transition: all 0.3s ease;
}

.study-stepper__item.is-active .study-stepper__circle {
  background-color: #012F6B;
  border-color: #012F6B;
  color: #fff;
}

.study-stepper__item.is-done .study-stepper__circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.study-stepper__line {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background-color: #E2E8F0;
  transition: background-color 0.3s ease;
}

.study-stepper__line.is-done {
  background-color: var(--color-primary);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step__header {
  margin-bottom: 24px;
}

.form-step__label {
  display: block;
  font-size: 13px;
  color: var(--color-gray-500);
  margin-bottom: 8px;
}

.form-step__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.form-step__content {
  margin-bottom: 24px;
}

.form-step__actions {
  display: flex;
  gap: 16px;
}

/* Form Elements */
.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.required {
  color: #EF4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--color-gray-700);
  background-color: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94A3B8;
}

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #EF4444;
}

.form-error {
  display: none;
  font-size: 12px;
  color: #EF4444;
  margin-top: 6px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #EF4444;
}

/* Checkboxes */
.form-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input {
  display: none;
}

.form-checkbox__box {
  width: 20px;
  height: 20px;
  border: 2px solid #E2E8F0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.form-checkbox input:checked + .form-checkbox__box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-checkbox input:checked + .form-checkbox__box::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.form-checkbox__label {
  font-size: 14px;
  color: var(--color-gray-700);
}

.form-checkbox--rgpd {
  align-items: flex-start;
}

.form-checkbox--rgpd .form-checkbox__label {
  font-size: 13px;
  line-height: 1.5;
}

.form-checkbox--rgpd .form-checkbox__label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Radio */
.form-radio-group {
  display: flex;
  gap: 24px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-radio input {
  display: none;
}

.form-radio__box {
  width: 20px;
  height: 20px;
  border: 2px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.form-radio input:checked + .form-radio__box {
  border-color: var(--color-primary);
}

.form-radio input:checked + .form-radio__box::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.form-radio__label {
  font-size: 14px;
  color: var(--color-gray-700);
}

/* Conditional Fields */
.form-conditional {
  display: none;
}

.form-conditional.is-visible {
  display: block;
}

/* Summary */
.study-summary {
  background-color: #F8FAFC;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.study-summary__section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}

.study-summary__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.study-summary__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.study-summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.study-summary__item:last-child {
  margin-bottom: 0;
}

.study-summary__label {
  color: var(--color-gray-500);
}

.study-summary__value {
  color: var(--color-gray-700);
  font-weight: 500;
  text-align: right;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  color: #10B981;
  margin-bottom: 24px;
}

.form-success__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.form-success__text {
  font-size: 16px;
  color: var(--color-gray-600);
  margin-bottom: 32px;
}

/* Buttons */
.study-page .btn--outline {
  background-color: transparent;
  border: 2px solid #E2E8F0;
  color: var(--color-gray-700);
}

.study-page .btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Responsive Study Page */
@media (max-width: 1024px) {
  .study-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .study-hero__mascot img {
    max-width: 220px;
  }

  .study-form__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .study-contact-card {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .study-contact-card__item {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .study-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .study-contact-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .study-contact-card__item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .study-contact-card__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .study-stepper__line {
    max-width: 60px;
  }

  .study-stepper__circle {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

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

  .form-checkbox-group {
    grid-template-columns: 1fr;
  }

  .form-step__actions {
    flex-direction: column;
  }

  .form-step__actions .btn {
    width: 100%;
  }
}

/* =========================================================================
   RSE BANNER TICKER
   ========================================================================= */
.rse-banner {
  overflow: hidden;
  margin-top: 50px;
  padding: 18px 0;
  background: var(--color-navy, #0055B8);
  border-radius: 12px;
  position: relative;
}

.rse-banner__track {
  display: flex;
  width: max-content;
  animation: rseTicker 20s linear infinite;
}

.rse-banner__text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
}

@keyframes rseTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================================
   FLIPBOOK MODAL
   ========================================================================= */
.flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.flipbook-modal.active {
  opacity: 1;
  visibility: visible;
}

.flipbook-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.flipbook-modal__title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.flipbook-modal__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  transition: opacity 0.2s;
}

.flipbook-modal__close:hover {
  opacity: 0.6;
}

.flipbook-modal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.flipbook-modal__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.flipbook-nav-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.flipbook-nav-btn:hover {
  background: rgba(255,255,255,0.25);
}

.flipbook-page-info {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  min-width: 120px;
  text-align: center;
}

.flipbook-container {
  max-width: 90vw;
  max-height: 70vh;
}

.flipbook-page {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flipbook-page canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========================================================================
   AJOUTS 17/09/2026
   ======================================================================== */

/* Attribut hidden prioritaire sur les display des composants (.btn, .jobs-preview__item...) */
[hidden] { display: none !important; }

/* --- Textes justifiés ---------------------------------------------------
   Tous les paragraphes de contenu sont justifiés (avec césure française).
   Les blocs centrés, les formulaires, le pied de page et les éléments courts
   (labels, boutons, cartes) gardent leur alignement d'origine. */
p,
.article-content li,
.offer-content li,
.legal-content li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Exceptions : conteneurs centrés (issus des règles text-align:center du site) */
.talents p, .stats__item p, .stats__title,
.cta-section__card p, .cta-join__card p, .cta-section__text,
.company-hero__content p, .company-timeline__header p, .company-timeline__slide p,
.history-section__header p, .history-block__year,
.company-identity__header p, .company-identity__text--bottom, .company-identity__col--left p, .company-identity__col--right p,
.company-innovation__item p,
.sectors-hero__content p, .armor-renov__header p,
.news-hero__grid p, .news-hero--center p, .news-load-more p,
.login-form__footer, .login-form__back,
.services-hero p, .services-sectors__intro p,
.form-success p, .study-hero__grid p, .flipbook-page-info,
.hub-intro p, .sec-engage p, .hub-expert__card p,
.text-center, .text-center p, [style*="text-align: center"], [style*="text-align:center"] {
  text-align: center;
  hyphens: manual;
  -webkit-hyphens: manual;
}
/* Exceptions : éléments courts, formulaires, footer, header, cartes secteur */
.hero p, .hero__subtitle,
.hero-join p, .hero-join__text,
.header p, .mobile-menu p, .footer p, footer p,
form p, .form-group p, .form-label, .form-hint, .form-error, .form-help, .form-checkbox__label,
.study-summary p, .study-summary__value, .study-summary__label,
.hub-card__punch, .hub-card__more, .hub-expert__more,
.jobs-preview__item p, .sectors__card p,
figcaption, blockquote p, .btn, .badge, .tag {
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* ========================================================================
   AJOUTS 26/10/2026 - Flipbook RSE : pages rendues à la taille de l'écran
   ======================================================================== */
.flipbook-container { max-width: none; max-height: none; margin: 0 auto; }
.flipbook-page img { width: 100%; height: 100%; object-fit: contain; display: block; }
