:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --secondary-hover: #2980b9;
  --accent-color: #e74c3c;
  --text-color: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #ecf0f1;
  --bg-white: #ffffff;
  --border-color: #bdc3c7;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-overlay: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8));
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Header au scroll sur fond clair */
.header.scrolled {
  background: 
    linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(71, 85, 105, 0.98) 50%, rgba(100, 116, 139, 0.98) 100%);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav-list a {
  color: #ffffff;
}

.header.scrolled .language-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
  color: #374151;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: clamp(36px, 8vw, 70px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #60a5fa;
}

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

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

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

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

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

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

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
}

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

.lang-option {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  color: #374151;
}

.lang-option:hover {
  background: #f3f4f6;
}

.lang-option.active {
  background: #e0f2fe;
  color: var(--secondary-color);
  font-weight: 600;
}

.lang-flag {
  font-size: 1.2rem;
}

.lang-name {
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1001;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(52, 152, 219, 0.1);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
  transform-origin: center;
  position: absolute;
  left: 50%;
  margin-left: -12px;
}

.menu-toggle span:nth-child(1) {
  top: 50%;
  margin-top: -7px;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  margin-top: -1px;
}

.menu-toggle span:nth-child(3) {
  top: 50%;
  margin-top: 5px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  background: #ffffff;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -1px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  background: #ffffff;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -1px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at center, rgba(138, 163, 219, 0.5) 0%, transparent 60%),
    linear-gradient(90deg, #0a1628 0%, #1e3a5f 15%, #4a6fa5 35%, #7b9bc7 50%, #4a6fa5 65%, #1e3a5f 85%, #0a1628 100%);
  padding-top: calc(70px + 2rem);
  padding-bottom: 2rem;
  box-sizing: border-box;
  z-index: 1;
}

/* Effet de lumière centrale */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: 
    radial-gradient(ellipse at center, 
      rgba(255, 255, 255, 0.25) 0%, 
      rgba(255, 255, 255, 0.15) 20%,
      rgba(59, 130, 246, 0.08) 40%, 
      rgba(59, 130, 246, 0.03) 70%, 
      transparent 100%);
  z-index: 1;
  pointer-events: none;
  animation: centralLight 15s ease-in-out infinite;
}

/* Particules flottantes */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(34, 211, 238, 0.05) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
  animation: floatingParticles 25s ease-in-out infinite reverse;
}

@keyframes centralLight {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes floatingParticles {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 1;
  }
  33% {
    transform: translateY(-20px) rotate(2deg);
    opacity: 0.8;
  }
  66% {
    transform: translateY(-10px) rotate(-1deg);
    opacity: 0.9;
  }
}

/* Hero Animations */
@keyframes heroLogoEntrance {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  text-align: center;
  color: #ffffff;
  z-index: 2;
  width: 100%;
  animation: heroContentFadeIn 1.5s ease-out;
  position: relative;
}

.hero-logo {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: heroLogoEntrance 1s ease-out 0.2s forwards;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  height: 180px;
  max-width: 600px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

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

.hero-title {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  /* Animation supprimée - contrôlée par JS pour typing */
}

.hero-title.typing {
  opacity: 1;
  transform: translateY(0);
}

.hero-title.completed {
  opacity: 1;
  transform: translateY(0);
}


.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  /* Animation supprimée - contrôlée par JS */
  line-height: 1.7;
  color: #ffffff !important;
  font-weight: 400;
}

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

@keyframes heroTitleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubtitleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  /* Animation supprimée - contrôlée par JS */
}

@keyframes heroActionsFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Partners */
.hero-partners {
  margin-top: 2rem;
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  /* Animation supprimée - contrôlée par JS */
}

.hero-partners::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.hero-partners .partners-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hero-partners .section-header {
  margin-bottom: 1.5rem;
}

.hero-partners .section-header h3 {
  color: #ffffff !important;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-partners .section-header p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-partners .partners-carousel {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  border-radius: 16px;
}

@keyframes heroPartnersFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #5dade2);
  color: white;
  border-color: transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-hover), #2980b9);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Sections */
section {
  padding: 5rem 0;
}

/* Alternance de couleurs des sections */
.section-white {
  background: #ffffff;
}

.section-gray {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 25%, #ffffff 75%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.03) 0%, transparent 50%);
}

/* About Section - 2 colonnes */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
}


.history-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  margin-top: 0;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 2;
}

.history-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.8rem;
  text-align: justify;
  position: relative;
  z-index: 1;
}

.about-text .highlight {
  color: var(--secondary-color);
}

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

.about-text em {
  color: var(--secondary-color);
  font-style: italic;
  font-weight: 500;
}

.about-features {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.features-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  margin-top: 0;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 2;
}

.features-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.9);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.15);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(5px);
  text-align: center;
  min-height: 140px;
}


.feature-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 30px rgba(52, 152, 219, 0.2);
  border-color: var(--secondary-color);
  background: rgba(255,255,255,1);
}

.feature-icon-minimal {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(231, 76, 60, 0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
  margin-bottom: 0.5rem;
}

.feature-item:hover .feature-icon-minimal {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

.feature-info {
  flex: 1;
}

.feature-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.feature-info p {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin: 0;
}

/* Section Partenaire Staffable */
.partner-staffable {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
}

.partner-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  margin-top: 0;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 2;
}

.partner-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.partner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.partner-logo {
  max-width: 300px;
  width: 100%;
}

.partner-logo-placeholder {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(231, 76, 60, 0.1) 100%);
  border: 2px dashed rgba(52, 152, 219, 0.3);
  border-radius: 15px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.partner-logo-placeholder:hover {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(231, 76, 60, 0.15) 100%);
  border-color: rgba(52, 152, 219, 0.5);
  transform: translateY(-3px);
}

.partner-logo-placeholder i {
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.7;
}

.partner-logo-placeholder p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: italic;
}

.partner-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 150px;
}

.partner-description {
  max-width: 700px;
  width: 100%;
}

.partner-description h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.partner-description p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
  position: relative;
  z-index: 1;
}

.partner-logo-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.partner-logo-centered img {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 150px;
}

.partner-subtitle {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  line-height: 1.4;
}

.partner-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.btn-staffable {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, var(--secondary-color), #5dade2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-staffable::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-staffable:hover::before {
  left: 100%;
}

.btn-staffable:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, var(--secondary-hover), #2980b9);
}

.btn-staffable i {
  font-size: 1rem;
}


/* Ancien style grid retiré - conflit avec le flex layout */

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.1);
  border-color: rgba(52, 152, 219, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-light);
}

/* Services Section */
.services {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 25%, #fafbfc 75%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(52, 152, 219, 0.02) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(231, 76, 60, 0.02) 50%, transparent 52%);
  background-size: 60px 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.1);
  border-color: rgba(52, 152, 219, 0.1);
}

.service-icon {
  width: 100%;
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Bandeau des partenaires */
/* Bannière des partenaires */
.partners-banner {
  padding: 3rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.partners-banner .partners-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.partners-section .section-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.partners-section .section-header p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.partners-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem 0;
}

.partners-track {
  display: flex;
  animation: scrollPartners 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-item {
  flex-shrink: 0;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Liens partenaires */
.partner-link {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-link:hover {
  transform: translateY(-3px);
}

.hero-partners .partner-item img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-partners .partner-item:hover img {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.partner-link:hover img {
  filter: brightness(1.1);
}

/* Noms des partenaires */
.partner-name {
  display: block;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  margin-top: 0.5rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.partner-link:hover .partner-name {
  opacity: 1;
}

.partner-item img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  background: transparent;
}

.partner-item:hover img {
  transform: scale(1.1);
}

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

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 25%, #ffffff 75%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 70%, rgba(52, 152, 219, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(231, 76, 60, 0.02) 0%, transparent 40%);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
  min-height: 300px;
}

.testimonial-item {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  display: none;
}

.testimonial-item.active {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  display: block !important;
}

.testimonial-content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.testimonial-text {
  margin-bottom: 2rem;
}

.testimonial-text p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-color);
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  z-index: 15;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--secondary-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
  position: relative;
  z-index: 15;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: var(--secondary-color);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: var(--bg-white);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.faq-question i {
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #2c3e50;
  line-height: 1.9;
  font-size: 1.05rem;
  text-align: justify;
  font-weight: 400;
}

.faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* FAQ Show More Button */
.faq-item.hidden {
  display: none;
}

.faq-show-more {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.faq-show-more-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color), #5dade2);
  color: white;
  border-color: transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.faq-show-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.faq-show-more-btn:hover::before {
  left: 100%;
}

.faq-show-more-btn:hover {
  background: linear-gradient(135deg, var(--secondary-hover), #2980b9);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 25%, #ffffff 75%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 48%, rgba(52, 152, 219, 0.015) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(231, 76, 60, 0.015) 50%, transparent 52%);
  background-size: 80px 80px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.contact-details h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Onglets des formulaires */
.form-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-light);
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  background: transparent;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  color: var(--secondary-color);
  background: rgba(52, 152, 219, 0.1);
}

.tab-btn.active {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.tab-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.contact-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}

.contact-form.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Styles spécifiques pour la checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  font-size: 0.95rem;
  color: var(--text-color);
}

.checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-group:hover .checkmark {
  border-color: var(--secondary-color);
}

.checkbox-group input:checked ~ .checkmark {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-group input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-group .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

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

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(52, 152, 219, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); /* Rend le logo blanc */
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
  transform: scale(1.05);
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
  color: white;
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.social-links a:hover i {
  transform: scale(1.1);
}

.social-links i {
  transition: transform 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(52, 152, 219, 0.3);
  padding-top: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.dev-credit a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.dev-credit a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.dev-credit a:hover {
  color: white;
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.dev-credit a:hover::after {
  width: 100%;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-prev {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Force visibility for problematic images */
img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-section {
    min-height: auto !important; /* Supprimer la hauteur fixe en mobile */
  }
  
  .contact-form {
    position: static !important; /* Position normale en mobile */
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
  }
  
  .contact-form.active {
    display: block !important;
  }
  
  .about-features {
    gap: 1rem;
  }
}

/* Empêcher le scroll quand le menu est ouvert */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

@media (max-width: 820px) {
  body {
    font-size: 1.1rem;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    padding: 0;
    gap: 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-list li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }
  
  .nav.active .nav-list li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
  .nav.active .nav-list li:nth-child(2) { transition-delay: 0.2s; }
  .nav.active .nav-list li:nth-child(3) { transition-delay: 0.3s; }
  .nav.active .nav-list li:nth-child(4) { transition-delay: 0.4s; }
  .nav.active .nav-list li:nth-child(5) { transition-delay: 0.5s; }
  .nav.active .nav-list li:nth-child(6) { transition-delay: 0.6s; }
  
  .nav-list a {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .nav-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
  }
  
  .nav-list a:hover::before {
    left: 100%;
  }
  
  .nav-list a:hover {
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    transform: translateX(10px);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    font-size: 1.1rem;
    padding: 14px 32px;
  }
  
  .section-header h2 {
    font-size: clamp(2.2rem, 6vw, 2.8rem);
  }
  
  .section-header p {
    font-size: 1.2rem;
  }
  
  .about-text p {
    font-size: 1.2rem;
  }
  
  .feature-card h3 {
    font-size: 1.4rem;
  }
  
  .feature-card p {
    font-size: 1.1rem;
  }
  
  .service-content h3 {
    font-size: 1.4rem;
  }
  
  .service-content p {
    font-size: 1.1rem;
  }
  
  .testimonial-text p {
    font-size: 1.3rem;
  }
  
  .testimonial-author h4 {
    font-size: 1.2rem;
  }
  
  .faq-question h3 {
    font-size: 1.2rem;
  }
  
  .faq-answer p {
    font-size: 1.1rem;
  }
  
  .contact-details h3 {
    font-size: 1.2rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1.1rem;
    padding: 14px 16px;
  }
}

@media (max-width: 1024px) and (min-width: 821px) {
  /* About Section - Tablette */
  .about-content {
    gap: 2.5rem;
  }
  
  .about-text {
    padding: 1.6rem;
    margin: 0 0.5rem;
  }
  
  .about-features {
    padding: 1.6rem;
    margin: 0 0.5rem;
  }
  
  .features-container {
    gap: 1.2rem;
  }
  
  .feature-item {
    min-height: 130px;
    padding: 1.3rem;
  }

  /* Partner Staffable - Tablette */
  .partner-staffable {
    padding: 1.6rem;
    margin: 2.5rem 0.5rem;
  }

  .partner-title {
    font-size: 1.7rem;
  }

  .partner-logo {
    max-width: 260px;
  }
}

@media (max-width: 820px) {
  /* Hero titre pour écrans ≤820px */
  .hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 1.2rem;
  }
  
  /* About Section */
  .about-content {
    gap: 2rem;
  }
  
  .about-text {
    padding: 1.4rem;
    margin: 0 0.5rem;
  }
  
  .about-features {
    padding: 1.4rem;
    margin: 0 0.5rem;
  }

  /* Partner Staffable - Tablette/Mobile */
  .partner-staffable {
    padding: 1.4rem;
    margin: 2rem 0.5rem;
  }

  .partner-title {
    font-size: 1.7rem;
  }

  .partner-logo {
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding-top: clamp(90px, 12vh, 140px);
  }
  
  .hero-logo {
    margin-bottom: 0.3rem;
  }
  
  /* Footer centré pour <768px - tout centré */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3 {
    text-align: center;
  }
  
  .footer-section ul {
    text-align: center;
    padding: 0;
  }
  
  .footer-section ul li {
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-logo img {
    margin: 0 auto;
  }
  
  .dev-credit {
    text-align: center;
  }
  
  /* About Section Responsive */
  .about-content {
    gap: 2rem;
  }
  
  .about-text {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }
  
  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .history-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .about-features {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }
  
  .features-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-item {
    min-height: 120px;
    padding: 1.2rem;
  }
  
  .feature-info h4 {
    font-size: 1.2rem;
  }
  
  .feature-info p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .feature-icon-minimal {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  /* Partner Staffable Responsive */
  .partner-staffable {
    padding: 1.2rem;
    margin: 2rem 0.5rem;
  }

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

  .partner-logo {
    max-width: 200px;
  }

  .partner-logo-placeholder {
    padding: 2rem 1.5rem;
  }

  .partner-logo-placeholder i {
    font-size: 2.5rem;
  }

  .partner-description p {
    font-size: 1.05rem;
  }

  .hero-logo img {
    height: 80px;
    max-width: 300px;
  }
  
  .hero-title {
    font-size: clamp(1rem, 4vw, 1.3rem) !important;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.1rem);
    margin-bottom: 2rem;
    padding: 0 10px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .about-features {
    gap: 1.5rem;
  }
  
  .partners-carousel {
    padding: 1.5rem 0;
  }
  
  .partner-item {
    margin: 0 1rem;
  }
  
  .partner-item img {
    height: 60px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .testimonial-content {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-prev,
  .testimonial-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .lightbox-prev,
  .lightbox-next,
  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .lightbox-prev {
    left: -50px;
  }
  
  .lightbox-next {
    right: -50px;
  }
  
  .lightbox-close {
    top: -50px;
  }
}

@media (max-width: 480px) {
  .language-toggle {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .language-menu {
    min-width: 140px;
    right: -10px;
  }

  .lang-option {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

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

  .hero-actions {
    gap: 0.5rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .social-links {
    justify-content: center;
  }
  
  .testimonials-nav {
    gap: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .partners-carousel {
    padding: 1rem 0;
  }
  
  .partner-item {
    margin: 0 0.5rem;
  }
  
  .partner-item img {
    height: 50px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
  
  /* Footer centré sur très petits écrans */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section ul {
    text-align: center;
  }
  
  .footer-section ul li {
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .dev-credit {
    text-align: center;
  }
  
  /* Logo centré sur petits écrans */
  .footer-logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-logo img {
    margin: 0 auto;
  }
}

@media (max-width: 48px) {
  /* Footer parfaitement centré sur très très petits écrans */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-section h3 {
    text-align: center;
    margin-bottom: 0.8rem;
  }
  
  .footer-section ul {
    text-align: center;
    padding: 0;
  }
  
  .footer-section ul li {
    text-align: center;
    margin-bottom: 0.3rem;
  }
  
  .footer-contact p {
    justify-content: center;
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 0.8rem 0;
  }
  
  .dev-credit {
    text-align: center;
    margin-top: 0.8rem;
  }
  
  .container {
    padding: 0 10px;
  }
  
  /* Logo parfaitement centré sur très petits écrans */
  .footer-logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .footer-logo img {
    margin: 0 auto;
    display: block;
  }
}

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