:root {
  /* Couleur primaire */
  --primary-color: #25b5b3;      /* Turquoise principale */
  --primary-hover: #1e9391;
  --secondary-color: #1c1c1a;
  --text-color: #1c1c1a;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;

  /* Couleurs secondaires - CHARTE GRAPHIQUE OFFICIELLE */
  --accent-blue: #2480c3;        /* BLEU - C:80% M:40% J:0% N:0% */
  --accent-mauve: #a74c97;       /* MAUVE - C:40% M:80% J:0% N:0% */
  --accent-yellow: #f6a83f;      /* JAUNE - C:0% M:40% J:80% N:0% */
  --accent-coral: #e94f52;       /* CORAIL - C:0% M:80% J:60% N:0% */
  --accent-green: #adcb52;       /* VERT - C:40% M:0% J:80% N:0% */

  /* Couleurs par section */
  --color-hero: #25b5b3;         /* Turquoise */
  --color-apropos: #25b5b3;      /* Turquoise */
  --color-mission: #f6a83f;      /* Jaune */
  --color-histoire: #f6a83f;     /* Jaune - MÊME QUE MISSION */
  --color-process: #2480c3;      /* Bleu */
  --color-jobs: #a74c97;         /* Mauve */
  --color-contact: #25b5b3;      /* Turquoise (même que l'accueil) */

  /* Versions RGB pour transparences */
  --color-hero-rgb: 37, 181, 179;
  --color-apropos-rgb: 37, 181, 179;
  --color-mission-rgb: 246, 168, 63;
  --color-histoire-rgb: 246, 168, 63;      /* Même RGB que mission */
  --color-process-rgb: 36, 128, 195;
  --color-jobs-rgb: 167, 76, 151;
  --color-contact-rgb: 37, 181, 179;

  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: clamp(40px, 7vw, 65px);
}

/* ========================================
   COULEURS PAR SECTION - CHARTE GRAPHIQUE
   ======================================== */

/* Hero Section - Turquoise */
#accueil {
  --section-color: var(--color-hero);
  --section-color-rgb: var(--color-hero-rgb);
}

/* À propos Section - Turquoise */
#a-propos {
  --section-color: var(--color-apropos);
  --section-color-rgb: var(--color-apropos-rgb);
}

/* Mission Section - JAUNE #f6a83f */
#mission {
  --section-color: var(--color-mission);
  --section-color-rgb: var(--color-mission-rgb);
}

/* Histoire Section - JAUNE #f6a83f (MÊME QUE MISSION) */
#histoire {
  --section-color: var(--color-histoire);
  --section-color-rgb: var(--color-histoire-rgb);
}

/* Process Section - BLEU #2480c3 */
#process {
  --section-color: var(--color-process);
  --section-color-rgb: var(--color-process-rgb);
}

/* Jobs Section - MAUVE #a74c97 */
#jobs {
  --section-color: var(--color-jobs);
  --section-color-rgb: var(--color-jobs-rgb);
}

/* Contact Section - TURQUOISE #25b5b3 (même que l'accueil) */
#contact {
  --section-color: var(--color-contact);
  --section-color-rgb: var(--color-contact-rgb);
}

/* ========================================
   THÉMATISATION PAR SECTION
   ======================================== */

/* Boutons primaires utilisent la couleur de la section */
#accueil .btn-primary,
#a-propos .btn-primary,
#mission .btn-primary,
#histoire .btn-primary,
#process .btn-primary,
#jobs .btn-primary,
#contact .btn-primary {
  background: var(--section-color);
  border-color: var(--section-color);
  box-shadow: 0 4px 15px rgba(var(--section-color-rgb), 0.3);
}

#accueil .btn-primary:hover,
#a-propos .btn-primary:hover,
#mission .btn-primary:hover,
#histoire .btn-primary:hover,
#process .btn-primary:hover,
#jobs .btn-primary:hover,
#contact .btn-primary:hover {
  background: var(--section-color);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--section-color-rgb), 0.4);
}

/* Strong text utilise la couleur de la section */
#accueil strong,
#a-propos strong,
#mission strong,
#histoire strong,
#process strong,
#jobs strong,
#contact strong {
  color: var(--section-color);
}

/* Liens dans les sections utilisent la couleur de la section */
#accueil a:not(.btn):not(.nav-link),
#a-propos a:not(.btn):not(.nav-link),
#mission a:not(.btn):not(.nav-link),
#histoire a:not(.btn):not(.nav-link),
#process a:not(.btn):not(.nav-link),
#jobs a:not(.btn):not(.nav-link),
#contact a:not(.btn):not(.nav-link) {
  color: var(--section-color);
}

/* Titres de section - soulignement */
#accueil .section-title::after,
#a-propos .section-title::after,
#mission .section-title::after,
#histoire .section-title::after,
#process .section-title::after,
#jobs .section-title::after,
#contact .section-title::after {
  background: var(--section-color);
}

/* Bordures décoratives */
#accueil .section-subtitle-decorated::before,
#accueil .section-subtitle-decorated::after,
#a-propos .section-subtitle-decorated::before,
#a-propos .section-subtitle-decorated::after,
#mission .section-subtitle-decorated::before,
#mission .section-subtitle-decorated::after,
#histoire .section-subtitle-decorated::before,
#histoire .section-subtitle-decorated::after,
#process .section-subtitle-decorated::before,
#process .section-subtitle-decorated::after,
#jobs .section-subtitle-decorated::before,
#jobs .section-subtitle-decorated::after,
#contact .section-subtitle-decorated::before,
#contact .section-subtitle-decorated::after {
  background: var(--section-color);
}

/* Cartes hover (mission, value, job) */
#mission .mission-card:hover,
#jobs .value-card:hover,
#jobs .job-card:hover {
  border-color: var(--section-color);
  box-shadow: 0 8px 30px rgba(var(--section-color-rgb), 0.15);
}

/* Process - Numéros d'étapes */
#process .flow-number {
  background: var(--section-color);
  box-shadow: 0 4px 15px rgba(var(--section-color-rgb), 0.4);
}

/* Process - Flèches */
#process .flow-arrow-down path,
#process .flow-arrow-right path {
  stroke: var(--section-color);
}

/* Process - Badge techniques spéciales */
#process .flow-tech-badge {
  background: var(--section-color);
  box-shadow: 0 4px 15px rgba(var(--section-color-rgb), 0.3);
}

/* Jobs - Filtres actifs */
#jobs .filter-btn.active {
  background: var(--section-color);
  border-color: var(--section-color);
  color: white;
}

/* Jobs - Tous les éléments turquoise */
#jobs .jobs-count {
  background: var(--section-color);
  border-color: var(--section-color);
}

#jobs .jobs-search input:focus {
  border-color: var(--section-color);
  box-shadow: 0 0 0 3px rgba(var(--section-color-rgb), 0.1);
}

#jobs .pagination-btn:not(:disabled):hover {
  background: var(--section-color);
}

#jobs .job-date i {
  color: var(--section-color);
}

#jobs .no-jobs-message i {
  color: var(--section-color);
}

#jobs .btn-secondary {
  border-color: var(--section-color);
  color: var(--section-color);
}

#jobs .btn-secondary:hover {
  background: var(--section-color);
  color: white;
}

#jobs .tab-btn:hover {
  color: var(--section-color);
  background: rgba(var(--section-color-rgb), 0.05);
}

#jobs .tab-btn.active {
  color: var(--section-color);
  border-bottom-color: var(--section-color);
}

#jobs .job-card {
  border-left-color: var(--section-color);
}

#jobs .jobs-email-link {
  color: var(--section-color);
  font-weight: 600;
}

/* Contact - Formulaires focus */
#contact input:focus,
#contact textarea:focus,
#contact select:focus {
  border-color: var(--section-color);
  box-shadow: 0 0 0 3px rgba(var(--section-color-rgb), 0.1);
}

/* Contact - Tabs actifs */
#contact .tab-btn.active {
  color: var(--section-color);
  border-bottom-color: var(--section-color);
}

/* Contact - Icônes */
#contact .contact-icon {
  background: var(--section-color);
  color: white;
}

/* Histoire - Timeline */
#histoire .timeline-item::before {
  background: var(--section-color);
}

#histoire .timeline-item::after {
  background: var(--section-color);
  box-shadow: 10px 0 0 var(--section-color);
}

#histoire .timeline-year {
  color: var(--section-color);
}

#histoire .timeline-btn {
  background: rgba(var(--section-color-rgb), 0.9);
}

#histoire .timeline-btn:hover {
  background: var(--section-color);
}

#histoire .timeline::before {
  background: linear-gradient(to right, var(--section-color) 0%, var(--section-color) 100%);
}

#histoire .timeline-scroll {
  scrollbar-color: var(--section-color) var(--bg-light);
}

#histoire .timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--section-color);
}

#histoire .timeline-btn:focus-visible {
  outline-color: var(--section-color);
}

#histoire .timeline-item:hover {
  box-shadow: 0 8px 30px rgba(var(--section-color-rgb), 0.15);
}

/* Histoire - section-subtitle-italic */
#histoire .section-subtitle-italic {
  color: var(--section-color);
}

/* Histoire - Bouton read-more */
#a-propos .read-more-btn,
#histoire .read-more-btn {
  background: var(--section-color);
  border-color: var(--section-color);
  color: white;
}

#a-propos .read-more-btn:hover,
#histoire .read-more-btn:hover {
  background: var(--section-color);
  border-color: var(--section-color);
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Histoire - Bouton teaser */
#histoire .teaser-btn {
  background: var(--section-color);
  color: white;
}

#histoire .teaser-btn:hover {
  background: var(--section-color);
  opacity: 0.9;
  color: white;
  transform: translateX(5px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.about .section-header {
  margin-bottom: 0;
}

.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;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

.section-subtitle-decorated {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem auto 2rem;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-subtitle-italic {
  font-style: italic;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  margin: 0.5rem auto 1rem;
}

.section-subtitle-decorated::before,
.section-subtitle-decorated::after {
  content: '';
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  background: var(--primary-color);
  flex-shrink: 0;
}

.section-subtitle-decorated::before {
  position: relative;
}

.section-subtitle-decorated::after {
  position: relative;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 181, 179, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 181, 179, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Masquer le header sur très petits écrans dans le hero */
.header.hero-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(var(--header-height) + 2rem);
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: calc(var(--header-height) * 1.5);
  width: auto;
  transition: var(--transition);
  object-fit: contain;
  object-position: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Navigation active - couleur dynamique selon la section */
.nav-link.active {
  color: var(--active-link-color, var(--primary-color));
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
  background: var(--active-link-color, var(--primary-color));
}

.nav-linkedin {
  font-size: 1.2rem;
  padding: 0.5rem 0.7rem !important;
  color: var(--primary-color);
  order: 1;
  transition: all 0.3s ease;
}

.nav-linkedin:hover {
  color: var(--primary-hover);
  transform: scale(1.1);
}

.nav-cta {
  margin-left: 0.4rem;
  padding: 0.6rem 1.5rem !important;
  order: 2;
}

/* ==================== LANGUAGE SELECTOR ==================== */

/* Desktop Language Selector */
.language-selector-wrapper {
  position: relative;
  order: 3;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.9rem;
  margin-left: 0.4rem;
}

.language-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.language-toggle:hover {
  border-color: var(--primary-color);
  background: rgba(37, 181, 179, 0.1);
  transform: translateY(-2px);
}

.language-toggle i.fa-globe {
  font-size: 1rem;
  color: var(--primary-color);
}

.language-toggle i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.language-dropdown.active .language-toggle i.fa-chevron-down {
  transform: rotate(180deg);
}

.current-lang {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 2px solid rgba(37, 181, 179, 0.2);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.2s ease;
  text-align: left;
}

.language-option:hover {
  background: var(--light-gray);
  color: var(--primary-color);
}

.language-option.active {
  background: rgba(37, 181, 179, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.lang-flag {
  font-size: 1.3rem;
  line-height: 1;
}

/* Mobile Language Selector */
.language-selector-mobile {
  position: relative;
  display: none;
}

.language-toggle-mobile {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--text-color);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.language-toggle-mobile:hover {
  border-color: var(--primary-color);
  background: rgba(37, 181, 179, 0.1);
}

.language-toggle-mobile i.fa-globe {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.current-lang-mobile {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.language-dropdown-mobile {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 2px solid rgba(37, 181, 179, 0.2);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.language-dropdown-mobile.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-actions-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  font-size: 1.5rem;
  color: var(--text-color);
}

.hamburger-icon,
.close-icon {
  transition: var(--transition);
}

.close-icon {
  display: none;
  color: var(--text-color);
}

.menu-toggle.active .hamburger-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   VIDÉO HERO - OPTIMISÉE TOUTES RÉSOLUTIONS
   ============================================ */

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  /* Optimisations de performance */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Overlay optionnel pour améliorer le contraste si nécessaire */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: 2;
  pointer-events: none;
}

/* Responsive - Ajustements par résolution */

/* Mobile portrait (320px - 480px) */
@media (max-width: 480px) {
  .hero-video {
    object-position: center center;
  }
}

/* Mobile landscape et petites tablettes (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-video {
    object-position: center center;
  }
}

/* Tablettes (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-video {
    object-position: center center;
  }
}

/* Desktop standard (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .hero-video {
    object-position: center center;
  }
}

/* Large desktop (1441px - 1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
  .hero-video {
    object-position: center center;
  }
}

/* Ultra-wide et 4K (> 1920px) */
@media (min-width: 1921px) {
  .hero-video {
    object-position: center center;
  }
}

/* Orientation portrait - Ajustement pour smartphones */
@media (orientation: portrait) and (max-width: 768px) {
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-video {
    object-fit: contain;
    object-position: center center;
    height: 100%;
    width: 100%;
    background: #F2F4F1;
  }

  .hero-background {
    background: #F2F4F1;
  }

  .scroll-indicator {
    padding: 1.5rem 0;
  }
}

/* Orientation paysage - Optimisation pour tablettes et mobiles */
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
  }

  .hero-video {
    object-fit: contain;
    object-position: center center;
    height: 100%;
    width: 100%;
    background: #F2F4F1;
  }

  .hero-background {
    background: #F2F4F1;
  }

  .scroll-indicator {
    padding: 1rem 0;
  }
}

/* Très petits écrans verticaux (< 600px hauteur) */
@media (max-height: 600px) {
  .hero {
    min-height: 600px;
    height: 100vh;
  }

  .hero-video {
    object-fit: contain;
    background: #F2F4F1;
  }

  .hero-background {
    background: #F2F4F1;
  }

  .scroll-indicator {
    padding: 1rem 0;
  }
}

/* Très petits écrans (< 400px hauteur) - Forcer contain */
@media (max-height: 400px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
  }

  .hero-video {
    object-fit: contain !important;
    object-position: center center !important;
    background: #F2F4F1;
  }

  .hero-background {
    background: #F2F4F1;
  }

  .scroll-indicator {
    padding: 0.5rem 0;
  }
}

/* Support pour les écrans haute densité (Retina, etc.) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-video {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Préférence pour la réduction de mouvement (accessibilité) */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    animation: none;
  }
}

/* ============================================
   FIN VIDÉO HERO
   ============================================ */

#moduleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
}

.sketch-illustration {
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.module-sketch {
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  padding: 0 2rem 2rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-logo-wrapper {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-svg {
  width: 100%;
  height: auto;
  max-width: 900px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.12));
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.12));
  }
  50% {
    filter: drop-shadow(0 25px 70px rgba(37, 181, 179, 0.25));
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-color);
  margin: 0;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  max-width: 850px;
  padding: 1.5rem 2rem;
  position: relative;
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.95),
    0 4px 8px rgba(255, 255, 255, 0.9),
    0 8px 16px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(255, 255, 255, 0.7),
    2px 2px 0 rgba(255, 255, 255, 0.5),
    -2px -2px 0 rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
}

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

.scroll-indicator {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  z-index: 10;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 2rem 0;
  margin-top: auto;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  position: relative;
  border-right: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(10px) rotate(45deg);
  }
}

.intro-split {
  padding: 6rem 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text {
  padding-right: 2rem;
}

.intro-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.intro-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.intro-text p strong {
  color: var(--primary-color);
  font-weight: 600;
}

.intro-visual {
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.hexagons-decoration {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0.3;
  margin-top: 2rem;
}

.hexagons-image {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.mission {
  padding: 6rem 0;
  background: var(--bg-color);
}

.mission-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.mission-card {
  flex: 1 1 calc(25% - 2rem);
  min-width: 250px;
  background: var(--bg-color);
  padding: 3rem 2rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  position: relative;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* Suppression de l'effet bordure au hover */
.mission-card[data-color="yellow"]:hover,
.mission-card[data-color="turquoise"]:hover,
.mission-card[data-color="green"]:hover,
.mission-card[data-color="blue"]:hover {
  border-color: transparent;
}

.mission-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  z-index: 0;
  transition: var(--transition);
}

.mission-card[data-color="yellow"] .mission-icon::before {
  background: rgba(246, 168, 63, 0.15);
}

.mission-card[data-color="turquoise"] .mission-icon::before {
  background: rgba(37, 181, 179, 0.15);
}

.mission-card[data-color="green"] .mission-icon::before {
  background: rgba(173, 203, 82, 0.15);
}

.mission-card[data-color="blue"] .mission-icon::before {
  background: rgba(36, 128, 195, 0.15);
}

.mission-card:hover .mission-icon::before {
  transform: scale(1.1);
}

.mission-icon::after {
  content: '';
  position: absolute;
  top: -6px;
  left: calc(50% - 6.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 8px 0 0;
  z-index: 1;
}

.mission-card[data-color="yellow"] .mission-icon::after {
  background: var(--accent-yellow);
  box-shadow: 8px 0 0 var(--accent-yellow);
}

.mission-card[data-color="turquoise"] .mission-icon::after {
  background: var(--primary-color);
  box-shadow: 8px 0 0 var(--primary-color);
}

.mission-card[data-color="green"] .mission-icon::after {
  background: var(--accent-green);
  box-shadow: 8px 0 0 var(--accent-green);
}

.mission-card[data-color="blue"] .mission-icon::after {
  background: var(--accent-blue);
  box-shadow: 8px 0 0 var(--accent-blue);
}

.mission-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.mission-icon i {
  font-size: 50px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.mission-card[data-color="yellow"] .mission-icon i {
  color: var(--accent-yellow);
}

.mission-card[data-color="turquoise"] .mission-icon i {
  color: var(--primary-color);
}

.mission-card[data-color="green"] .mission-icon i {
  color: var(--accent-green);
}

.mission-card[data-color="blue"] .mission-icon i {
  color: var(--accent-blue);
}

.mission-card[data-color="yellow"] .mission-icon img {
  transform: translateY(-5px);
}

.mission-card[data-color="yellow"]:hover .mission-icon img {
  transform: translateY(-5px) scale(1.1);
}

.mission-card[data-color="blue"] .mission-icon img {
  transform: translateY(5px);
}

.mission-card[data-color="blue"]:hover .mission-icon img {
  transform: translateY(5px) scale(1.1);
}

.mission-card:hover .mission-icon img {
  transform: scale(1.1);
}

.mission-card:hover .mission-icon i {
  transform: scale(1.1);
}

.mission-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Cartes Mission dans la section intro - hauteur réduite */
.intro-split .mission-card {
  padding: 2rem 1.5rem 1.5rem;
}

.intro-split .mission-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.intro-split .mission-icon img {
  width: 40px;
  height: 40px;
}

.intro-split .mission-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.intro-split .mission-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.about {
  padding: 6rem 0;
  background: var(--bg-color);
}


.about-content {
  margin-bottom: 4rem;
}

.about-text {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
  position: relative;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p strong {
  color: var(--primary-color);
  font-weight: 600;
}

.about-text-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.about-text-expandable.expanded {
  max-height: 1000px;
  opacity: 1;
}

button#readMoreBtn,
button.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: #ffffff !important;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  margin-top: 1rem;
}

button#readMoreBtn:hover,
button.read-more-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
}

button#readMoreBtn *,
button.read-more-btn *,
button#readMoreBtn .read-more-text,
button.read-more-btn .read-more-text,
button#readMoreBtn .read-more-icon,
button.read-more-btn .read-more-icon {
  color: #ffffff !important;
}

button#readMoreBtn:hover *,
button.read-more-btn:hover *,
button#readMoreBtn:hover .read-more-text,
button.read-more-btn:hover .read-more-text,
button#readMoreBtn:hover .read-more-icon,
button.read-more-btn:hover .read-more-icon {
  color: #ffffff !important;
}

.read-more-icon {
  transition: transform 0.3s ease;
}

.read-more-btn[aria-expanded="true"] .read-more-icon {
  transform: rotate(180deg);
}


.project-teaser {
  margin: 3rem auto;
  max-width: 900px;
}

.teaser-card {
  background: var(--bg-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.teaser-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 500px;
  cursor: pointer;
  background: #ffffff;
}

.teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.teaser-card:hover .teaser-image {
  transform: scale(1.05);
}

.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.teaser-card:hover .teaser-overlay {
  opacity: 1;
}

.teaser-icon {
  font-size: 3rem;
  color: white;
}

.teaser-content {
  padding: 2rem 2.5rem 2.5rem 2.5rem;
  text-align: center;
}

.teaser-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.teaser-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.teaser-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
}

.teaser-btn:hover {
  background: var(--primary-hover);
  transform: translateX(5px);
}

.teaser-btn i {
  transition: var(--transition);
}

.teaser-btn:hover i {
  transform: translateX(5px);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--bg-color);
  border-radius: 20px;
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10000;
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10001;
}

.modal-close:hover {
  background: var(--primary-hover);
  transform: rotate(90deg);
}

.modal-body {
  padding: 3rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  text-align: center;
}

/* Teaser Modal Sticky Header */
#teaserModal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.teaser-modal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-color);
  padding: 2rem 2rem 2rem 3rem;
  border-bottom: 2px solid rgba(37, 181, 179, 0.15);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-shrink: 0;
}

.teaser-modal-header .modal-title {
  margin-bottom: 0;
  text-align: left;
  flex: 1;
  font-size: 1.8rem;
  padding-right: 1rem;
}

.teaser-modal-header .modal-close {
  position: relative;
  top: 0;
  right: 0;
  flex-shrink: 0;
  margin-left: auto;
}

#teaserModal .modal-body {
  flex: 1;
  overflow-y: auto;
}

.teaser-image-container {
  position: relative;
  margin-bottom: 2rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-image.loaded {
  opacity: 1;
}

.modal-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.modal-text p {
  margin-bottom: 1rem;
}

.modal-text strong {
  color: var(--modal-accent-color, var(--primary-color));
}

#teaserModal .modal-close {
  background: var(--modal-accent-color, var(--primary-color));
  color: white;
}

#teaserModal .modal-close:hover {
  background: var(--modal-accent-color, var(--primary-color));
  opacity: 0.9;
  transform: rotate(90deg);
}

/* Why Bastogne Section */
.why-bastogne-section {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 181, 179, 0.05) 0%, rgba(37, 181, 179, 0.02) 100%);
  border-left: 4px solid var(--modal-accent-color, var(--primary-color));
  border-radius: 12px;
}

.why-bastogne-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--modal-accent-color, var(--primary-color));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-bastogne-title::before {
  content: "📍";
  font-size: 1.8rem;
}

.why-bastogne-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
}

.project-timeline {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-light);
}

.news-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.news-item-completed {
  border-left-color: var(--accent-green);
}

.news-item-in_progress {
  border-left-color: var(--accent-yellow);
}

.news-item-planned {
  border-left-color: var(--accent-blue);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-date {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.news-status {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.news-status-completed {
  background: rgba(173, 203, 82, 0.2);
  color: var(--accent-green);
}

.news-status-in_progress {
  background: rgba(246, 168, 63, 0.2);
  color: var(--accent-yellow);
}

.news-status-planned {
  background: rgba(36, 128, 195, 0.2);
  color: var(--accent-blue);
}

.news-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.news-item-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.timeline-container {
  position: relative;
  margin: 3rem 0;
  padding: 0 60px;
}

.timeline-container::before,
.timeline-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}

.timeline-container::before {
  left: 60px;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.timeline-container::after {
  right: 60px;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-light);
  padding: 2rem 0;
}

.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.timeline {
  display: flex;
  gap: 3rem;
  padding: 2rem 2rem 2rem 0;
  position: relative;
  min-width: min-content;
}

.timeline::before {
  content: '';
  position: absolute;
  top: calc(2rem - 20px);
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 100%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  min-width: 250px;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 1;
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  z-index: 2;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: -44px;
  left: calc(50% - 8px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 10px 0 0 var(--primary-color);
  z-index: 3;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.timeline-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(37, 181, 179, 0.9);
  backdrop-filter: blur(10px);
  color: var(--bg-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.timeline-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.timeline-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.values {
  margin-top: 4rem;
  margin-bottom: 4rem;
  text-align: center;
}


.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.value-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 250px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.value-card[data-color="yellow"]:hover {
  border-color: var(--accent-yellow);
}

.value-card[data-color="green"]:hover {
  border-color: var(--accent-green);
}

.value-card[data-color="blue"]:hover {
  border-color: var(--accent-blue);
}

.value-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  z-index: 0;
  transition: var(--transition);
}

.value-card[data-color="yellow"] .value-icon::before {
  background: rgba(246, 168, 63, 0.15);
}

.value-card[data-color="green"] .value-icon::before {
  background: rgba(173, 203, 82, 0.15);
}

.value-card[data-color="blue"] .value-icon::before {
  background: rgba(36, 128, 195, 0.15);
}

.value-card:hover .value-icon::before {
  transform: scale(1.1);
}

.value-icon::after {
  content: '';
  position: absolute;
  top: -6px;
  left: calc(50% - 6.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  box-shadow: 8px 0 0;
  z-index: 1;
}

.value-card[data-color="yellow"] .value-icon::after {
  background: var(--accent-yellow);
  box-shadow: 8px 0 0 var(--accent-yellow);
}

.value-card[data-color="green"] .value-icon::after {
  background: var(--accent-green);
  box-shadow: 8px 0 0 var(--accent-green);
}

.value-card[data-color="blue"] .value-icon::after {
  background: var(--accent-blue);
  box-shadow: 8px 0 0 var(--accent-blue);
}

.value-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.value-card[data-color="blue"] .value-icon img {
  transform: translateY(5px);
}

.value-card:hover .value-icon img {
  transform: scale(1.1);
}

.value-card[data-color="blue"]:hover .value-icon img {
  transform: translateY(5px) scale(1.1);
}

.value-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.process {
  padding: 0 0 6rem 0;
  background: var(--bg-light);
}

/* Conteneur pleine largeur avec petites marges */
.process .container {
  max-width: calc(100vw - 80px);
  padding: 0 40px;
}

/* Flow principal - HORIZONTAL */
.process-flow {
  max-width: none;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1.5rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
}

/* Scrollbar styling pour le process flow */
.process-flow::-webkit-scrollbar {
  height: 8px;
}

.process-flow::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

.process-flow::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.process-flow {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-light);
}

/* Couleur de section pour le scrollbar */
#process .process-flow::-webkit-scrollbar-thumb {
  background: var(--section-color);
}

#process .process-flow {
  scrollbar-color: var(--section-color) var(--bg-light);
}

/* Items du flow */
.process-flow-item {
  min-width: 260px;
  max-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: center;
  background: var(--bg-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.process-flow-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-hover);
}

.flow-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* Images des étapes parallèles - même hauteur réduite */
.process-parallel .flow-image {
  height: 200px;
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.process-flow-item:hover .process-img {
  transform: scale(1.05);
}

/* Étapes parallèles: même hauteur */
.process-parallel .process-flow-item {
  height: auto;
}

.flow-number {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 181, 179, 0.4);
  z-index: 3;
}

.flow-content {
  padding: 1.5rem;
}

.flow-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.flow-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Flèches vers le bas (cachées en mode horizontal desktop) */
.flow-arrow-down {
  display: none;
}

/* Flèches horizontales (visibles en mode horizontal desktop) */
.flow-arrow-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.flow-arrow-right .arrow-svg {
  width: 70px;
  height: 50px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 4px rgba(37, 181, 179, 0.15));
}

/* Icônes techniques spéciales au-dessus de la flèche */
.flow-arrow-with-icons {
  position: relative;
  min-height: 50px;
}

.flow-arrow-tech-icons {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 10;
  white-space: nowrap;
}

.flow-tech-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  flex-shrink: 0;
}

.flow-tech-icon:nth-child(1) {
  background: linear-gradient(135deg, #f6a83f 0%, #f4c057 100%);
}

.flow-tech-icon:nth-child(2) {
  background: linear-gradient(135deg, #2480c3 0%, #3b9fd8 100%);
}

.flow-tech-icon:nth-child(3) {
  background: linear-gradient(135deg, #adcb52 0%, #c0db6f 100%);
}

.flow-tech-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.arrow-svg {
  width: 40px;
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(37, 181, 179, 0.15));
}

.arrow-svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawArrow 1s ease-out forwards;
}

@keyframes drawArrow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Étapes parallèles - disposition verticale compacte */
.process-parallel {
  min-width: 260px;
  max-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  align-items: stretch;
}

.process-parallel::before {
  content: "Étapes parallèles";
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.parallel-branch {
  position: relative;
}

/* Badge techniques spéciales */
.flow-tech-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 181, 179, 0.3);
  z-index: 5;
}

.flow-tech-badge:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 181, 179, 0.4);
}

.flow-tech-badge i {
  font-size: 0.85rem;
}

/* Modal Techniques spéciales */
.tech-modal-content {
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.tech-modal-sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-color);
  padding: 2rem 2rem 1.5rem 2rem;
  border-bottom: 2px solid rgba(37, 181, 179, 0.15);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-shrink: 0;
}

.tech-modal-header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.tech-modal-header-text {
  flex: 1;
}

.tech-modal-sticky-header .modal-close {
  position: relative;
  top: 0;
  right: 0;
  flex-shrink: 0;
  margin-left: auto;
}

#techModal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.tech-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tech-modal-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tech-modal-icon i {
  font-size: 2rem;
}

.tech-modal-sticky-header .modal-title {
  margin-bottom: 0.5rem;
  text-align: left;
}

.tech-modal-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
  text-align: left;
}

.tech-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.tech-modal-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 15px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.tech-modal-item:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.tech-modal-item-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tech-modal-item-icon i {
  font-size: 1.8rem;
}

.tech-modal-item-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.tech-modal-item-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.tech-modal-footer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(37, 181, 179, 0.1);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.tech-modal-footer i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.tech-modal-footer p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Modal Erreur */
.error-modal-content {
  max-width: 500px;
  text-align: center;
  padding-top: 2.5rem;
}

.error-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.error-modal-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: errorPulse 0.5s ease-out;
}

.error-modal-icon i {
  font-size: 2.5rem;
}

@keyframes errorPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.error-modal-header .modal-title {
  color: var(--secondary-color);
  margin: 0;
}

.error-modal-message {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
  text-align: left;
}

.error-modal-message a {
  display: inline-block;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.error-modal-message a:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

#errorModal .modal-body {
  padding: 0 2rem 2rem 2rem;
}

#errorModal .btn {
  min-width: 120px;
}

/* Modal Image Process */
.process-image-modal-content {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
}

.process-image-modal-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--bg-light);
}

.process-modal-step {
  width: 50px;
  height: 50px;
  background: var(--process-modal-color, var(--primary-color));
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-image-modal-header .modal-title {
  margin: 0;
  line-height: 1.2;
}

.process-image-modal-image {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  position: relative;
}

.process-image-modal-image img {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-image-modal-image img.loaded {
  opacity: 1;
}

.image-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 4px solid var(--bg-light);
  border-top-color: var(--process-modal-color, var(--primary-color));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.image-loader.hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.process-image-modal-description {
  padding: 1.25rem 1.75rem;
  margin-top: 1.5rem;
  background: linear-gradient(to right, rgba(var(--process-modal-color-rgb, 37, 181, 179), 0.03), transparent);
  border-left: 4px solid var(--process-modal-color, var(--primary-color));
  border-radius: 0 8px 8px 0;
  position: relative;
}

.process-image-modal-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 4px;
  height: 40px;
  background: var(--process-modal-color, var(--primary-color));
  box-shadow: 0 0 12px rgba(var(--process-modal-color-rgb, 37, 181, 179), 0.4);
}

#processImageModal .modal-close {
  background: var(--process-modal-color, var(--primary-color));
  color: white;
}

#processImageModal .modal-close:hover {
  background: var(--process-modal-color, var(--primary-color));
  opacity: 0.9;
  transform: rotate(90deg);
}

.process-image-modal-description p {
  color: var(--text-color);
  line-height: 1.9;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Cursor pointer sur les images cliquables */
.process-flow-item .flow-image {
  cursor: pointer;
  position: relative;
}

.process-flow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 2;
}

.process-flow-item .flow-image:hover .process-flow-overlay {
  opacity: 1;
}

.process-flow-icon {
  font-size: 2.2rem;
  color: white;
}

.jobs {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(37, 181, 179, 0.08) 0%, rgba(173, 203, 82, 0.08) 100%);
  position: relative;
}

.jobs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--primary-color), var(--accent-green), var(--accent-blue));
}

.jobs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--primary-color), var(--accent-green), var(--accent-blue));
}

.jobs-video-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
  text-align: center;
}

.jobs-video {
  max-width: 900px;
  margin: 2rem auto 0;
  position: relative;
}

.recruitment-video {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.team-sketch {
  width: 100%;
  height: 100%;
}

.jobs-positions-section {
  margin-top: 3rem;
  text-align: center;
}

.jobs-search-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.jobs-count {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-color);
  box-shadow: 0 2px 8px rgba(37, 181, 179, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.jobs-positions {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Pagination Styles */

.jobs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.pagination-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid transparent;
  border-radius: 50px;
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn:not(:disabled):hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Mobile Carousel Styles */

.jobs-mobile-carousel {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.jobs-mobile-carousel .job-card {
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: start;
}

.jobs-mobile-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.mobile-nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-btn:not(:disabled):hover {
  background: var(--primary-color);
  color: var(--bg-color);
  transform: scale(1.1);
}

.mobile-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.mobile-nav-counter {
  font-weight: 600;
  color: var(--secondary-color);
  min-width: 60px;
  text-align: center;
}

.job-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 3px solid var(--primary-color);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.job-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.job-location {
  font-size: 0.95rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
}

.job-date i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.job-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact {
  padding: 6rem 0;
  background: var(--bg-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 40%;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 15px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contact-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.contact-form-wrapper {
  flex: 1 1 50%;
  min-width: 300px;
}

/* Contact Tabs */

.contact-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(28, 28, 26, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 3px solid transparent;
}

.tab-btn i {
  font-size: 1.1rem;
}

.tab-btn:hover {
  color: var(--primary-color);
  background: rgba(37, 181, 179, 0.05);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

.form-help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* File Upload Component */

.file-upload-wrapper {
  width: 100%;
}

.file-upload-area {
  border: 2px dashed rgba(28, 28, 26, 0.2);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  background: var(--bg-light);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(37, 181, 179, 0.05);
}

.file-upload-area.drag-over {
  border-color: var(--primary-color);
  background: rgba(37, 181, 179, 0.1);
  border-style: solid;
}

.file-upload-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  opacity: 0.7;
  transition: var(--transition);
}

.file-upload-area:hover .file-upload-icon {
  opacity: 1;
  transform: translateY(-5px);
}

.file-upload-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.file-upload-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.file-upload-previews {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-upload-preview {
  padding: 1rem;
  background: rgba(37, 181, 179, 0.05);
  border: 1px solid rgba(37, 181, 179, 0.2);
  border-radius: 12px;
}

.file-preview-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.file-preview-content > .fa-file-pdf {
  font-size: 2.5rem;
  color: #e74c3c;
  flex-shrink: 0;
}

.file-preview-content > .fa-file-word {
  font-size: 2.5rem;
  color: #2b579a;
  flex-shrink: 0;
}

.file-preview-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.file-preview-name {
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-preview-size {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.file-remove-btn {
  background: transparent;
  border: none;
  color: #e74c3c;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
  flex-shrink: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-remove-btn:hover {
  background: rgba(231, 76, 60, 0.1);
  transform: rotate(90deg);
}

.contact-form {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: var(--bg-color);
  color: var(--text-color);
  transition: var(--transition);
}

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

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

.footer {
  background: var(--secondary-color);
  color: var(--bg-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  flex: 1 1 calc(25% - 3rem);
  min-width: 200px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: center;
}

.footer-column p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--bg-color);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-contact li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-contact i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bg-color);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.social-link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.dev-credit {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.dev-credit a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.dev-credit a:hover {
  color: var(--bg-color);
  text-decoration: underline;
}

.dev-credit a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========== JOB SEARCH AND FILTERS ========== */

.jobs-filters {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: center;
}

.jobs-search {
  position: relative;
  width: 100%;
  flex: 1;
}

.jobs-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

.jobs-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.jobs-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 181, 179, 0.1);
  background: var(--bg-color);
}

.jobs-search input::placeholder {
  color: var(--text-light);
}

.jobs-department-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  color: var(--secondary-color);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

/* Job card enhancements */

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-card-header h4 {
  margin-bottom: 0;
  flex: 1;
}

.job-department-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.job-department-badge[data-department="Production"] {
  background: rgba(36, 128, 195, 0.15);
  color: var(--accent-blue);
}

.job-department-badge[data-department="Supply Chain"] {
  background: rgba(246, 168, 63, 0.15);
  color: var(--accent-yellow);
}

.job-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.job-card-actions .btn {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

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

/* No jobs message */

.no-jobs-message {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-light);
}

.no-jobs-message i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-jobs-message p {
  font-size: 1.1rem;
  margin: 0;
}

/* Form select styling */

.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(28, 28, 26, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--bg-color);
  color: var(--secondary-color);
  cursor: pointer;
  transition: var(--transition);
}

.form-group select:hover {
  border-color: var(--primary-color);
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 181, 179, 0.1);
}

/* ==================== MEDIA QUERIES ==================== */

/* Masquer scroll indicator pour écrans ≤1024px */
@media (max-width: 1024px) {
  .scroll-indicator {
    display: none;
  }

  /* Ajustement léger des icônes techniques */
  .flow-tech-icon {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .flow-arrow-tech-icons {
    gap: 0.4rem;
  }
}

/* Media query pour écrans moyens - Process sans scroll */
@media (max-width: 1180px) and (min-width: 821px) {
  /* Process flow - réduire les tailles pour tenir sans scroll */
  .process .container {
    max-width: calc(100vw - 40px);
    padding: 0 20px;
  }

  .process-flow {
    gap: 1rem;
    overflow-x: visible;
    justify-content: flex-start;
  }

  .process-flow-item {
    min-width: 200px;
    max-width: 220px;
  }

  .flow-image {
    height: 160px;
  }

  .process-parallel .flow-image {
    height: 160px;
  }

  .flow-content {
    padding: 1rem;
  }

  .flow-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .flow-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .flow-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: 12px;
    right: 12px;
  }

  .flow-arrow-right .arrow-svg {
    width: 50px;
    height: 35px;
  }

  .flow-arrow-right {
    padding: 0 0.3rem;
  }

  .process-parallel {
    min-width: 200px;
    max-width: 220px;
    gap: 0.8rem;
  }

  .process-parallel::before {
    font-size: 0.75rem;
    top: -30px;
  }

  /* Icônes techniques - ajustement tablette */
  .flow-arrow-tech-icons {
    gap: 0.35rem;
    top: -40px;
  }

  .flow-tech-icon {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .flow-tech-icon:hover {
    transform: scale(1.08);
  }
}

@media (min-width: 821px) and (max-width: 852px) {
  /* Cacher l'item Accueil dans le menu entre 820px et 852px */
  .nav-link[data-page="index"] {
    display: none !important;
  }

  /* Raccourcir "Notre projet" en "Projet" */
  .nav-link[data-page="about"] {
    font-size: 0;
  }

  .nav-link[data-page="about"]::before {
    content: "Projet";
    font-size: 1rem;
  }

  /* Aligner verticalement le LinkedIn */
  .nav-linkedin {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 820px) {
  html {
    font-size: 17px;
  }

  .teaser-image-wrapper {
    height: 400px;
    background: #ffffff;
  }

  .teaser-image {
    object-fit: contain;
  }

  .teaser-overlay {
    display: none;
  }

  .teaser-content {
    padding: 1.5rem 2rem 2rem 2rem;
  }

  .teaser-title {
    font-size: 1.5rem;
  }

  .teaser-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    gap: 0.6rem;
    white-space: nowrap;
  }

  .teaser-btn span {
    display: inline;
  }

  .modal-body {
    padding: 2rem 1.5rem;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  /* Teaser Modal Sticky Header Tablet */
  .teaser-modal-header {
    padding: 1.5rem 2rem;
  }

  .teaser-modal-header .modal-title {
    font-size: 1.5rem;
  }

  .modal-content {
    width: 90%;
    max-width: 90%;
  }

  /* Process Modal tablet */
  .process-image-modal-image {
    min-height: 250px;
  }

  .process-modal-step {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  /* Tech Modal tablet */
  .tech-modal-sticky-header {
    padding: 1.75rem 1.5rem 1.25rem 1.5rem;
  }

  #techModal .modal-body {
    padding: 1.75rem 1.5rem;
  }

  .tech-modal-icon {
    width: 60px;
    height: 60px;
  }

  .tech-modal-icon i {
    font-size: 1.8rem;
  }

  .tech-modal-item-content p {
    font-size: 0.9rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    padding: 3rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(37, 181, 179, 0.2);
    z-index: 10001;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu.active .nav-link {
    animation: slideInRight 0.3s ease forwards;
  }

  .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.05s; }
  .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.1s; }
  .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.15s; }
  .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.2s; }
  .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.25s; }

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

  .nav-link {
    color: var(--text-color);
    font-size: 1.15rem;
    padding: 1.25rem 1.5rem;
    width: 100%;
    text-align: left;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    border: 2px solid transparent;
  }

  .nav-link:hover {
    background: linear-gradient(135deg, rgba(37, 181, 179, 0.1) 0%, rgba(173, 203, 82, 0.1) 100%);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(37, 181, 179, 0.15);
  }

  .nav-link:focus-visible {
    outline: none;
  }

  .nav-link::after {
    display: none;
  }

  /* Navigation active - version mobile */
  .nav-link.active {
    background: linear-gradient(135deg, rgba(var(--active-link-color-rgb, 37, 181, 179), 0.1) 0%, rgba(var(--active-link-color-rgb, 37, 181, 179), 0.1) 100%);
    border-color: var(--active-link-color, var(--primary-color));
    color: var(--active-link-color, var(--primary-color));
    font-weight: 600;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
  }

  .nav-link:hover::before {
    width: 4px;
  }

  .nav-menu .nav-cta,
  .nav-menu .nav-linkedin {
    display: none;
  }

  .nav-actions-mobile {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 12px;
  }

  /* Mobile language selector */
  .language-selector-mobile {
    display: block;
    order: 3;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0.6rem;
  }

  /* Hide desktop language selector on mobile */
  .language-selector-wrapper {
    display: none;
  }

  .nav-linkedin-mobile {
    font-size: 1.3rem;
    color: var(--primary-color);
    padding: 0.5rem 0.6rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    order: 1;
  }

  .nav-linkedin-mobile:hover {
    color: var(--primary-hover);
    transform: scale(1.1);
  }

  .nav-cta-mobile {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
    white-space: nowrap;
    order: 2;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle.active {
    z-index: 10002;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .intro-text {
    padding-right: 0;
  }

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

  .mission-card,
  .value-card {
    flex: 1 1 100%;
  }

  /* Process responsive */
  /* Process - Retour au mode vertical sur mobile */
  .process .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .process-flow {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 0;
    gap: 0;
  }

  .process-flow-item {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }

  /* Cacher les flèches horizontales sur mobile */
  .flow-arrow-right {
    display: none !important;
  }

  /* Afficher les flèches verticales sur mobile */
  .flow-arrow-down {
    display: flex !important;
    justify-content: center;
    margin: 1rem 0;
  }

  /* S'assurer que les flèches verticales pointent vers le bas (pas de rotation) */
  .flow-arrow-down .arrow-svg {
    transform: none !important;
  }

  /* Icônes techniques sur mobile - au-dessus de la flèche verticale */
  .flow-arrow-down.flow-arrow-with-icons {
    flex-direction: column !important;
  }

  .flow-arrow-down .flow-arrow-tech-icons {
    position: static;
    transform: none;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .flow-arrow-down .flow-tech-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .flow-arrow-down .flow-tech-icon:hover {
    transform: scale(1.05);
  }
}

/* Très petits écrans (smartphones) */
@media (max-width: 480px) {
  .flow-arrow-tech-icons {
    gap: 0.4rem;
  }

  .flow-arrow-down .flow-tech-icon {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .process-parallel {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    flex-direction: column;
    gap: 1rem;
  }

  .process-parallel::before {
    display: none;
  }

  .flow-image {
    height: 220px;
  }

  .flow-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .flow-content {
    padding: 1.5rem;
  }

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

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

  /* Tech Modal responsive */
  .flow-tech-badge {
    bottom: 15px;
    left: 15px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .flow-tech-badge span {
    display: none;
  }

  .flow-tech-badge i {
    font-size: 1.2rem;
  }

  .tech-modal-item {
    flex-direction: column;
    text-align: center;
  }

  .tech-modal-item-icon {
    margin: 0 auto;
  }

  .tech-modal-footer {
    flex-direction: column;
    text-align: center;
  }

  .tech-modal-footer i {
    margin: 0 auto;
  }

  /* Process Image Modal responsive */
  .process-image-modal-header {
    flex-direction: row;
    align-items: center;
  }

  .process-modal-step {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .process-image-modal-description {
    padding: 1.5rem;
  }

  .timeline-item {
    min-width: 280px;
  }

  .timeline-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .teaser-image-wrapper {
    height: 320px;
    background: #ffffff;
  }

  .teaser-image {
    object-fit: contain;
  }

  .teaser-overlay {
    display: none;
  }

  .jobs-positions {
    grid-template-columns: 1fr;
  }

  .jobs-filters {
    gap: 1rem;
  }

  .jobs-search {
    max-width: 100%;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .job-card-actions {
    flex-direction: column;
  }

  .job-card-actions .btn {
    width: 100%;
    min-width: auto;
  }

  .contact-content {
    flex-direction: column;
  }

  .tab-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .tab-btn i {
    display: none;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    flex: 1 1 100%;
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .contact-form-wrapper {
    flex: 1 1 100%;
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* ==================== MEDIA QUERIES TABLET ==================== */
@media (min-width: 821px) and (max-width: 1100px) {
  .nav-menu {
    gap: 1.5rem;
  }

  .nav-cta {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.9rem;
  }

  .nav-linkedin {
    font-size: 1.1rem;
  }

  .language-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .language-dropdown {
    min-width: 180px;
  }
}

@media (max-width: 820px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Ajustement header pour petits écrans */
  .nav-actions-mobile {
    gap: 0.2rem;
    padding: 0.15rem;
    background: rgba(255, 255, 255, 0.03);
  }

  .nav-linkedin-mobile {
    order: 1;
    padding: 0.35rem 0.4rem;
    font-size: 1.4rem;
  }

  .nav-cta-mobile {
    order: 2;
    padding: 0.35rem 0.6rem !important;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .language-selector-mobile {
    order: 3;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0.4rem;
  }

  .language-toggle-mobile {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    border-width: 1px;
  }

  .current-lang-mobile {
    font-size: 0.85rem;
  }

  .jobs .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

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

  .about-text-paragraph-2 {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin 0.5s ease-out;
  }

  .about-text.expanded .about-text-paragraph-2 {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 1.5rem;
  }

  .section-subtitle-decorated {
    font-size: 1.3rem;
    gap: 0.75rem;
  }

  .section-subtitle-decorated::before,
  .section-subtitle-decorated::after {
    width: 14px;
    height: 14px;
  }

  .timeline-scroll {
    scroll-snap-type: x mandatory;
    padding: 2rem 1rem;
  }

  .timeline {
    gap: 1rem;
    padding: 2rem 0;
  }

  .timeline-item {
    min-width: calc(100vw - 4rem);
    max-width: calc(100vw - 4rem);
    width: calc(100vw - 4rem);
    padding: 1.5rem;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* Modals on Mobile */
  .modal-content {
    width: 95%;
    max-width: 95%;
    margin: 1rem;
    max-height: 90vh;
  }

  .modal-body {
    padding: 1.5rem 1rem;
  }

  .modal-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    top: 8px;
    right: 8px;
  }

  /* Teaser modal title specific */
  #teaserModal .modal-title {
    font-size: 1.15rem;
    line-height: 1.3;
    padding-right: 2rem;
  }

  /* Teaser Modal Sticky Header Mobile */
  .teaser-modal-header {
    padding: 1.25rem 1rem;
    gap: 1rem;
    align-items: flex-start;
  }

  .teaser-modal-header .modal-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .teaser-modal-header .modal-close {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  /* Process Modal */
  .process-image-modal-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .process-modal-step {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .process-image-modal-header .modal-title {
    font-size: 1.3rem;
  }

  .process-image-modal-image {
    min-height: 200px;
    margin-bottom: 1.5rem;
  }

  .process-image-modal-description {
    padding: 1.25rem;
    margin-top: 1rem;
  }

  .process-image-modal-description p {
    font-size: 1rem;
  }

  /* Error Modal */
  .error-modal-content {
    max-width: 95%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }

  .error-modal-header {
    margin-bottom: 1rem;
  }

  .error-modal-icon {
    width: 60px;
    height: 60px;
  }

  .error-modal-icon i {
    font-size: 2rem;
  }

  .error-modal-message {
    font-size: 0.95rem;
    padding: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  .error-modal-message div {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  #errorModal .modal-body {
    padding: 0 1rem 1.5rem 1rem;
  }

  /* Tech Modal */
  .tech-modal-sticky-header {
    padding: 1.5rem 1rem 1rem 1rem;
  }

  #techModal .modal-body {
    padding: 1.5rem 1rem;
  }

  .tech-modal-icon {
    width: 55px;
    height: 55px;
  }

  .tech-modal-icon i {
    font-size: 1.6rem;
  }

  .tech-modal-sticky-header .modal-title {
    font-size: 1.3rem;
  }

  .tech-modal-subtitle {
    font-size: 0.9rem;
  }

  .tech-modal-item {
    padding: 1rem;
  }

  .tech-modal-item-icon {
    width: 50px;
    height: 50px;
  }

  .tech-modal-item-icon i {
    font-size: 1.5rem;
  }

  .tech-modal-item-content h3 {
    font-size: 1.1rem;
  }

  .tech-modal-item-content p {
    font-size: 0.85rem;
  }

  .tech-modal-footer {
    padding: 1rem;
  }

  .tech-modal-footer p {
    font-size: 0.85rem;
  }

  /* Teaser section */
  .teaser-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .teaser-title {
    font-size: 1.3rem;
  }

  .teaser-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .teaser-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    gap: 0.5rem;
    white-space: nowrap;
  }

  /* Teaser Modal */
  .teaser-image-container {
    min-height: 200px;
    margin-bottom: 1.5rem;
  }

  .modal-image {
    max-height: 40vh;
  }

  .modal-text {
    font-size: 0.95rem;
  }

  .modal-text p {
    margin-bottom: 0.75rem;
  }

  /* Image loader on mobile */
  .image-loader {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }

  /* Why Bastogne Section - Mobile */
  .why-bastogne-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
  }

  .why-bastogne-title {
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  .why-bastogne-title::before {
    font-size: 1.4rem;
  }

  .why-bastogne-text {
    font-size: 0.95rem;
  }

  /* Project timeline in modal */
  .project-timeline {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .project-timeline h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .news-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .news-date {
    font-size: 0.8rem;
  }

  .news-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .news-item-title {
    font-size: 1rem;
  }

  .news-item-description {
    font-size: 0.85rem;
  }

  /* Jobs on Mobile */
  .jobs-positions {
    margin-top: 2rem;
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .job-card {
    margin-bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 1.5rem !important;
    margin-left: 0;
    margin-right: 0;
    height: auto !important;
    min-height: auto !important;
  }

  .job-card-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .job-card h4 {
    font-size: 1.2rem;
  }

  .job-card-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 0;
  }

  .job-card-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .job-department-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }

  .jobs-search-wrapper {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .jobs-search {
    width: 100%;
    max-width: 100%;
  }

  .jobs-count {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .jobs-positions-section {
    width: 100%;
    overflow-x: hidden;
  }

  #jobsContainer {
    width: 100%;
    max-width: 100%;
  }

  .pagination-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .pagination-text {
    display: none;
  }

  .jobs-pagination {
    gap: 1rem;
  }

  /* Timeline navigation mobile */
  .timeline-nav {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    pointer-events: auto;
  }

  .timeline-btn {
    backdrop-filter: none !important;
    background: rgba(37, 181, 179, 1) !important;
    width: 45px;
    height: 45px;
  }

  #histoire .timeline-btn {
    background: rgba(var(--section-color-rgb), 1) !important;
  }

  /* Timeline - remove gradient blur on sides */
  .timeline-container::before,
  .timeline-container::after {
    display: none;
  }

  .timeline-container {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-arrow {
    animation: none;
  }
}