/* Variables CSS - Palette élégante */
:root {
  --primary-blue: #0a2463;
  --secondary-gold: #d4af37;
  --accent-sand: #f5f1ea;
  --light-gray: #f8f9fa;
  --dark-gray: #333333;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

.language-switcher.desktop-only {
  display: flex;
  align-items: center;
}

/* SUR MOBILE (Ecran inférieur à 768px) */
@media (max-width: 768px) {
  /* On cache le sélecteur de la barre principale */
  .language-switcher.desktop-only {
    display: none !important;
  }

  /* On s'assure que celui du menu mobile est bien affiché quand le menu est ouvert */
  .mobile-menu .language-switcher {
    display: flex;
    justify-content: center; /* Centré dans le menu mobile */
    margin-top: 15px;
  }
}

/* Container du switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px; /* Espacement entre les éléments */
  font-family: sans-serif;
  font-size: 14px;
  /* margin-left: 20px; Ecarte un peu du menu principal */
}

/* Le formulaire invisible */
.lang-form {
  margin: 0;
  padding: 0;
}

/* Le bouton qui ressemble à un lien */
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #424040; /* Couleur du texte (adapte selon ton header) */
  opacity: 0.7;
  padding: 0;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.lang-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

/* La langue active */
.lang-active {
  color: #02af1f; /* Couleur d'accentuation (ex: or/orange) */
  font-weight: bold;
  cursor: default;
}

/* Le séparateur vertical | */
.separator {
  color: #ffffff;
  opacity: 0.4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

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

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

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-gold);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
}

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

.btn-primary:hover {
  background-color: #0b2b7a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

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

/* Header Élégant */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--primary-blue);
}

.logo-text span {
  color: var(--secondary-gold);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-gold);
  transition: var(--transition);
}

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

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

.nav-cta {
  margin-left: 2rem;
}

/* Menu Toggle - CACHÉ PAR DÉFAUT */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-blue);
  margin: 5px 0;
  transition: var(--transition);
}

/* Menu Mobile - CACHÉ PAR DÉFAUT */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1000;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(10, 36, 99, 0.9) 0%,
      rgba(10, 36, 99, 0.7) 100%
    ),
    url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0 4rem;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

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

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* About Section */
.about {
  background-color: var(--light-gray);
}

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

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

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

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

/* Sectors Section */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.sector-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.sector-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.sector-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

/* Values Section */
.values {
  background-color: var(--accent-sand);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

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

.value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

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

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-gold);
}

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

.contact-icon {
  color: var(--secondary-gold);
  font-size: 1.2rem;
  width: 20px;
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}
.footer-email {
  color: var(--white);
  opacity: 0.8;
}

.footer-email:hover {
  opacity: 1;
  color: var(--secondary-gold);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.fade-in {
  opacity: 0;
}

.fade-in-visible {
  animation: fadeInUp 0.8s ease forwards;
}

/* Styles pour le menu actif */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

/* RESPONSIVE DESIGN */

/* Tablettes et mobiles (≤ 992px) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  /* Cacher la navigation desktop */
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  /* Afficher le bouton hamburger */
  .menu-toggle {
    display: block;
  }

  /* Afficher le menu mobile (pour l'animation) */
  .mobile-menu {
    display: block;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* SUR DESKTOP (> 992px) - Garantir l'affichage correct */
@media (min-width: 993px) {
  /* Masquer complètement le menu mobile */
  .mobile-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-100%) !important;
  }

  /* Masquer le bouton hamburger */
  .menu-toggle {
    display: none !important;
  }

  /* Afficher la navigation desktop */
  .desktop-nav,
  .nav-cta {
    display: flex !important;
  }

  .nav-links {
    display: flex !important;
  }
}

/* Mobiles (≤ 768px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

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

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

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* Très petits mobiles (≤ 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

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

  .header-container {
    padding: 1rem 1.5rem;
  }

  .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}

/* ====================================
   Section "Qui sommes-nous" - Équipe
   ==================================== */

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

.team-category {
  margin-bottom: 4rem;
}

.team-category-title {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-sand);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.team-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-blue), #1a3a8a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-img-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.team-info {
  padding: 2rem;
  flex-grow: 1;
}

.team-info h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.team-role {
  color: var(--secondary-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.team-bio {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.team-contact {
  margin-top: auto;
}

.team-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-size: 0.9rem;
}

.team-email:hover {
  color: var(--secondary-gold);
}

/* Équipe technique (petits membres) */
.team-grid-sm {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-member {
  text-align: center;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.team-member-img {
  margin-bottom: 1rem;
}

.team-img-placeholder-sm {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), #1a3a8a);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
}

.team-member h4 {
  color: var(--primary-blue);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.team-member-role {
  color: #666;
  font-size: 0.9rem;
}

/* Statistiques équipe */
.team-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--accent-sand);
}

.team-stat {
  text-align: center;
}

.team-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.team-stat-label {
  color: #666;
  font-size: 0.9rem;
  max-width: 150px;
  margin: 0 auto;
}

/* ====================================
   Section Galerie
   ==================================== */

.gallery {
  background-color: var(--light-gray);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.gallery-filter {
  padding: 0.7rem 1.5rem;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.gallery-filter.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 36, 99, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.gallery-view {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-view:hover {
  background: var(--secondary-gold);
  color: var(--white);
}

/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--secondary-gold);
}

.lightbox-img {
  width: 100%;
  height: 500px;
}

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

.lightbox-info {
  padding: 1.5rem;
}

.lightbox-title {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.lightbox-description {
  color: #666;
}

/* ====================================
   Section Formulaire de Contact
   ==================================== */

.contact-form-section {
  background-color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-info-card h3 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-gold);
}

.contact-detail {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

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

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

.contact-detail h4 {
  color: var(--primary-blue);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.contact-detail p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-social {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.contact-social h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Formulaire */
.contact-form {
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

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

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.btn-full i {
  margin-right: 0.5rem;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .team-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .gallery-filters {
    gap: 0.5rem;
  }

  .gallery-filter {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .lightbox-img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .team-grid-sm {
    grid-template-columns: 1fr 1fr;
  }

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

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

/* ====================================
   Carrousel Hero
   ==================================== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  padding: 6rem 0 4rem;
}

.carousel-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-in-out,
    visibility 1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Animation pour le contenu du slide actif */
.carousel-slide.active .hero-content {
  animation: heroContentFadeInUp 1s ease-out 0.5s both;
}

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

/* Contrôles du carrousel */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--secondary-gold);
  transform: scale(1.1);
}

.carousel-prev {
  left: 2rem;
}

.carousel-next {
  right: 2rem;
}

/* Indicateurs du carrousel */
.carousel-indicators {
  position: absolute;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: var(--secondary-gold);
  border-color: var(--secondary-gold);
  transform: scale(1.2);
}

/* Statistiques repositionnées */
.hero-stats {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 36, 99, 0.3);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 2rem;
}

/* Animation de transition des slides */
@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

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

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Style spécifique pour le texte du carrousel */
.carousel-slide .hero-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-slide .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Responsive pour le carrousel */
@media (max-width: 992px) {
  .carousel-slide .hero-title {
    font-size: 2.5rem;
  }

  .carousel-slide .hero-subtitle {
    font-size: 1.1rem;
  }

  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 1rem;
  }

  .carousel-next {
    right: 1rem;
  }

  .carousel-indicators {
    bottom: 140px;
  }
}

@media (max-width: 768px) {
  .carousel-slide .hero-title {
    font-size: 2rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .carousel-indicators {
    bottom: 200px;
  }

  .carousel-prev,
  .carousel-next {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .carousel-slide .hero-title {
    font-size: 1.8rem;
  }

  .carousel-slide .hero-subtitle {
    font-size: 0.95rem;
  }

  .carousel-indicators {
    bottom: 220px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}
