* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  

}

/* Corps */
body {
  font-family: Arial, sans-serif;
  background-color: #fff; /* blanc */
  color: #000; /* texte noir */
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  
}

/* Conteneur centré et largeur limitée */
.container {
  max-width: 1200px;      /* largeur max, ajuste comme tu veux */
  margin-left: auto;      /* centre horizontalement */
  margin-right: auto;
  padding: 0 20px;        /* padding pour éviter que ça colle aux bords sur petits écrans */
  box-sizing: border-box; /* inclure padding dans la largeur */
}


/* Mise à jour de la navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  
}

/* Partie gauche : les liens */
.nav-links.left {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links.left li a {
  color: white ;
  text-decoration: none;
  font-size: 1em;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

/* Effet au survol ET soulignement */
.nav-links.left li a:hover,
.nav-links.left li a:focus {
  color: #FFD700;
}

.nav-links.left li a:hover::after,
.nav-links.left li a:focus::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: #FFD700;
  border-radius: 2px;
}

/* Lien actif = celui cliqué (ou marqué comme actif) */
.nav-links.left li a.active {
  color: #FFD700;
}

.nav-links.left li a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: #FFD700;
  border-radius: 2px;
}

/* Partie droite : logo + bouton */
.right-side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 50px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #1d3557;
}

/* Bouton Postuler */
.btn-postuler {
  background-color: #FFD700;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn-postuler:hover {
  background-color: #FFD700;
}

/* Navbar transparente en haut */
.navbar.transparent {
  background-color: transparent;
  box-shadow: none;
}

.navbar.transparent .nav-links.left li a,
.navbar.transparent .brand-name {
  color: white;
}

.navbar.transparent .nav-links.left li a.active::after {
  background-color: white;
}

.navbar.transparent .btn-postuler {
  background-color: white;
  color: #1d3557;
}

.navbar.transparent .btn-postuler:hover {
  background-color: #FFD700;
  color: white;
}

/* Petit ordinateur / tablette large */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Navbar moins large en padding */
  .navbar {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Les liens du menu : police plus petite et moins d'espacement */
  .nav-links.left {
    gap: 12px;
  }

  .nav-links.left li a {
    font-size: 0.9em;
    padding: 6px 10px;
  }

  /* Bouton Postuler : plus compact */
  .btn-postuler {
    padding: 8px 16px;
    font-size: 0.9em;
  }

  /* Logo : réduit légèrement */
  .logo-img {
    height: 40px;
  }

  .brand-name {
    font-size: 1.2em;
  }

  /* On cache le burger (puisqu'on reste en mode desktop) */
  .burger {
    display: none !important;
  }

  /* On s’assure que les liens sont visibles horizontalement */
  .nav-links.left {
    display: flex !important;
    position: static;
    background: none;
    height: auto;
    padding: 0;
    box-shadow: none;
  }
}


.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

/*  L’image de fond qui change */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  animation: backgroundSlider 20s infinite ease-in-out;
  transition: background-image 1s ease-in-out;
}
section:not(.hero) {
  padding-top: 70px;
}

/* Voile sombre */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 45, 219, 0.4);
  z-index: 1;
}

/*  Texte devant */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
  animation: fadeIn 1.5s ease-in-out;
}

/*  Animation fluide des fonds */
@keyframes backgroundSlider {
  0%, 49.999% {
    background-image: url('../image/img1.jpg');
  }
  50%, 100% {
    background-image: url('../image/img2.jpg');
  }
}

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

.fade-in-up {
  animation: fadeUp 1s ease forwards;
}


/* Titre */
.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #fff;
}

/* Slogan */
.hero p {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #ffe09b; /* jaune doux */
}

/* Bouton Nos Offres */
.btn-offres {
  background-color: transparent;
  color: white;
  padding: 14px 28px;
  font-size: 1.1em;
  border: 2px solid #FFD700; /* Jaune */
  border-radius: 6px; /* Légèrement arrondi */
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
  cursor: pointer;
}

/* Au survol */
.btn-offres:hover {
  background-color: #FFD700; /* Jaune */
  color: black; /* Contraste avec le fond jaune */
}

/* Lors du clic */
.btn-offres:active {
  transform: scale(0.98); /* Léger effet de clic */
}

/* Animation d'apparition (inchangée si tu veux la garder) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


.hero-logo {
  position: relative;  /* garde relative si tu veux le laisser dans le flux */
  z-index: 3;          /* au-dessus du background et du voile */
  max-width: 300px;
  margin-bottom: 15px;
  animation: logoCycle 20s infinite ease-in-out; /* pour le cycle */
}



.hero-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
}

.hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #ffe09b; /* jaune doux */
}
/* === HERO Section === */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}
.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #fff;
}
.hero p {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #ffe09b;
}
.btn-offres {
  background-color: transparent;
  color: white;
  padding: 14px 28px;
  font-size: 1.1em;
  border: 2px solid #FFD700;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
  cursor: pointer;
}

/* === Responsive HERO pour mobile (max 768px) === */
@media (max-width: 768px) {
  .hero {
    height: 80vh; /* réduit pour petits écrans */
    padding: 0 20px; /* éviter que le texte colle aux bords */
  }
  .hero h1 {
    font-size: 1.8em; /* plus petit */
    line-height: 1.2;
  }
  .hero p {
    font-size: 1em;
  }
  .btn-offres {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .hero-logo {
    max-width: 180px; /* logo réduit */
    margin-bottom: 10px;
  }
}

/* === Responsive HERO pour petits PC / tablettes (769px → 1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.3em;
  }
  .hero p {
    font-size: 1.2em;
  }
  .btn-offres {
    font-size: 1em;
    padding: 12px 24px;
  }
  .hero-logo {
    max-width: 220px;
  }
}



/* Section À propos */
.about-section {
  padding: 80px 40px;
  background-color: #fff;
}

  .container,
  .about-section,
  .services-section,
  .team-section,
  .contact-container,
  .hero {
    max-width: 100vw;
    overflow-x: hidden;
  }



.about-block {
  display: flex;
  align-items: center;
  justify-content: center; /* centre horizontalement les deux blocs */
  margin-bottom: 100px;
  gap: 40px; /* espace entre texte et image */
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
  
}

.about-text h2 {
  font-size: 1em;
  color: #1d3557;
  margin-bottom: 10px;
}

.about-text h1 {
  font-size:2em;
  color: black;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.about-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-contact {
  display: inline-block;
  padding: 12px 24px;
  background-color: white;
  color: #003366; /* Bleu */
  border: 2px solid #003366;
  border-radius: 6px; /* Arrondi doux mais pas "rond" */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 30px;
}

/* Effet au survol (agrandissement léger) */
.btn-contact:hover {
  transform: scale(1.05);
  background-color: #FFD700; /* Jaune doré */
  color: white;
  border-color: #FFD700;
}

/* Effet au clic */
.btn-contact:active {
  background-color: #FFD700; /* Jaune */
  color: white;
  border-color: #FFD700;
}



/* === Responsive ABOUT pour mobile (max 768px) === */
@media (max-width: 768px) {
  .about-section {
    padding: 40px 20px; /* moins de padding */
  }

  .about-block {
    flex-direction: column;  /* texte au-dessus, image en dessous */
    gap: 20px;               /* réduit l’espace entre les blocs */
    margin-bottom: 60px;     /* réduit le gros espace */
  }

  .about-text h1 {
    font-size: 1.5em; /* réduit le titre */
  }

  .about-text p {
    font-size: 1em;
    line-height: 1.5;
  }

  .about-img img {
    max-width: 100%;   /* prend toute la largeur dispo */
    border-radius: 8px;
  }
}

/* === Responsive ABOUT pour tablettes / petits PC (769px → 1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-block {
    gap: 30px;          /* réduit un peu l’écart entre texte et image */
    margin-bottom: 80px;
  }

  .about-text h1 {
    font-size: 1.8em;
  }

  .about-text p {
    font-size: 1.05em;
  }

  .about-img img {
    max-width: 400px;  /* image un peu plus petite pour respirer */
  }
}








.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 10px 30px; /* espace entre les éléments */
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
}

.features li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #0a2540;
}

.features li i {
  margin-right: 10px;
  color: #003366; /* bleu foncé pour les icônes */
  font-size: 18px;
}
.blue-line {
  width: 60px;           /* longueur de la ligne */
  height: 6px;           /* épaisseur */
  background-color: #003366; /* bleu (modifiable) */
  border-radius: 5px;    /* arrondi doux */
  margin: 10px 0;        /* espace autour */
}


.telephone {
  margin-top: 30px; /* Espace entre le texte du haut et la ligne téléphone */
  list-style: none;
  padding: 0;
  animation: slideIn 0.6s ease-out;
}

.telephone li {
  font-size: 20px; /* Plus grand */
  color: #003366;  /* Bleu foncé */
  font-weight: bold;
  display: flex;
  align-items: center;
}

.telephone li i {
  margin-right: 10px;
  font-size: 22px;
  color: #003366;  /* Bleu icône */
}

/* Animation à l’apparition */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}





/* Section Nos services */
.services-section {
  padding: 60px 20px;
  
  text-align: center;
}

.section-title {
  font-size: 2em;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 par ligne */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 15px;
  /*box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateX(-50px);
}


.service-card img {
  width: 100%;
  height: 50%;                /* Hauteur de la zone image */
  object-fit: contain;       /* ✅ Contenu visible sans être coupé */
  object-position: center;   /* ✅ Image centrée horizontalement et verticalement */
         /* Optionnel : couleur de fond neutre si image n'occupe pas tout */
}

.card-text {
  padding: 10px;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-text h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
}

.card-text p {
  font-size: 0.9em;
  color: #555;
}
.service-card:active {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}
.service-card:hover {
  transform: scale(1.05);
}


/* Delays progressifs */
.service-card:nth-child(1) { --delay: 0.1s; }
.service-card:nth-child(2) { --delay: 0.3s; }
.service-card:nth-child(3) { --delay: 0.5s; }
.service-card:nth-child(4) { --delay: 0.7s; }
.service-card:nth-child(5) { --delay: 0.9s; }
.service-card:nth-child(6) { --delay: 1.1s; }


/* Responsive */

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.team-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.team-subtitle {
  color: #003366;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-title {
  font-size: 28px;
  color: #1a1a1a;
  margin: 10px 0 40px;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes fixes */
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.team-card {
  background-color: #ffffff;
  width: 300px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.name {
  font-size: 18px;
  color: #003366;
  margin-bottom: 5px;
}

.role {
  color: #555555;
  font-size: 14px;
}
/* === RESPONSIVE: Scroll horizontal sur mobile === */
/* === Mobile : scroll 1 carte à la fois === */
@media (max-width: 768px) {
  .team-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0;
    padding: 0;
  }

  .team-card {
    flex: 0 0 100vw;
    scroll-snap-align: start;
    padding: 30px 20px;
    box-sizing: border-box;
    height: auto;
    border-radius: 0;
    box-shadow: none;
  }

    .team-card img {
    width: 80%;          /* Réduction largeur */
    height: auto;        /* Garde les proportions */
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;       /* Centre l’image */
    display: block;
  }

  /* Cacher la scrollbar visuellement */
  .team-container::-webkit-scrollbar {
    display: none;
  }
  .team-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
    .team-card img {
    margin-bottom: 16px; /* espace un peu plus grand sous l’image sur mobile */
  }
  
  .name {
    margin-top: 0;
    margin-bottom: 8px;
  }
  
  .role {
    margin-top: 0;
  }

}

@media (max-width: 1024px) and (min-width: 769px) {
  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 900px;
    justify-items: center;
  }
}
/*contact section*/

.contact-title {
  width: 100%;
  text-align: center;
  padding: 2px 0 5px; /* ↓ haut / ↓ bas */
  background-color: #F2F2F2;
}

.contact-title h2 {
  font-size: 32px;
  color: #003366;
  margin: 0;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  margin-top: -50px;
}

.contact-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FFD700;
  margin: 5px auto 0;
  border-radius: 2px;
}


.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 50px auto;
  background-color: #F2F2F2;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-left, .contact-right {
  flex: 1;
  padding: 40px;
}

.contact-left h4 {
  color: #FFD700;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-left h1 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #001b49;
}


.form-message {
  margin-top: 10px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  display: inline-block;
}

/* Vert = succès */
.form-message.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

/* Rouge = erreur */
.form-message.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}



.description {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.call-box {
  display: flex;
  align-items: center;
  background-color: #eaf6fc;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 16px;
  color: #004b75;
}

.call-box i {
  font-size: 24px;
  margin-right: 15px;
  color: #003366;
}

.contact-right {
  background-color: #003366;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-right form {
  display: flex;
  flex-direction: column;
}

.contact-right input,
.contact-right select,
.contact-right textarea {
  margin-bottom: 15px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  background-color: #eaf6fc;
  color: #333;
}

.contact-right textarea {
  resize: vertical;
}

.contact-right button {
  background-color:#FFFFFF;
  color: black;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.contact-right button:hover {
  background-color: #FFD700;
}

/* === Responsive CONTACT pour mobile (max 768px) === */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    margin: 30px 15px;   /* moins de marge */
  }

  .contact-left, 
  .contact-right {
    padding: 20px;       /* réduit le padding */
  }

  .contact-left h1 {
    font-size: 20px;     /* titre plus petit */
  }

  .contact-left h4 {
    font-size: 14px;
  }

  .description {
    font-size: 13px;     /* texte plus petit */
    margin-bottom: 20px;
  }

  .call-box {
    font-size: 14px;
    padding: 10px 15px;
  }

  .contact-right input,
  .contact-right select,
  .contact-right textarea {
    font-size: 14px;
    padding: 10px;
  }

  .contact-right button {
    font-size: 14px;
    padding: 12px;
  }
}

/* === Responsive CONTACT pour tablettes / petits PC (769px → 1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .contact-container {
    max-width: 900px; /* plus étroit */
    margin: 40px auto;
  }

  .contact-left, 
  .contact-right {
    padding: 30px;  /* padding équilibré */
  }

  .contact-left h1 {
    font-size: 22px;
  }

  .description {
    font-size: 14px;
  }

  .contact-right input,
  .contact-right select,
  .contact-right textarea {
    font-size: 14px;
    padding: 11px;
  }

  .contact-right button {
    font-size: 15px;
    padding: 13px;
  }
}




/* Cacher burger sur desktop */
/* === Icône burger (visible en mobile) === */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* === Responsive MOBILE === */
@media (max-width: 768px) {
  

  .burger {
    display: flex;
    position: relative;
    z-index: 1101;
  }

  .nav-links.left {
    position: fixed;
    top: 0;
    right: 0;
    width: 140px; /* ↩️ Réduit la largeur pour l'ajuster aux liens */
    height: 100vh;
    background-color: #003366;
    flex-direction: column;
    padding-top: 70px;
    padding-left: 10px; /* 🔄 Pour coller les liens à gauche */
    z-index: 1100;
    display: none;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }
  

  .nav-links.left.active {
    display: flex;
  }

  .nav-links.left a {
    color: white;
    text-decoration: none;
    padding: 12px 8px; /* 🔄 réduit padding horizontal */
    font-size: 15px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
  }

  .nav-links.left a:hover {
    background-color: #005199;
    border-radius: 4px;
  }

  .right-side {
    display: flex;
    gap: 20px;
  }
}


/* Footer général */
.site-footer {
  background-color: #001b49;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 40px 20px 20px;
  box-shadow: inset 0 5px 10px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Conteneur principal */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Logo */
.footer-logo img {
  max-width: 150px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.footer-logo img:hover {
  transform: scale(1.1);
}

/* Sections du footer */
.footer-nav, .footer-contact, .footer-social {
  flex: 1 1 200px;
}

/* Titres */
.footer-nav h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 2px solid #00a3dd;
  padding-bottom: 8px;
}

/* Listes */
.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li,
.footer-contact ul li {
  margin-bottom: 12px;
}

/* Liens */
.footer-nav a,
.footer-contact a {
  color: #cfd9e9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #FFD700;
}

/* Icones dans contact */
.footer-contact i {
  margin-right: 8px;
  color: #00a3dd;
  min-width: 20px;
  text-align: center;
}

/* Section réseaux sociaux */
.footer-social .social-icons {
  display: flex;
  gap: 20px;
}

.footer-social .social-icons a {
  color: #cfd9e9;
  font-size: 22px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #00a3dd;
  transform: scale(1.2);
}

/* Bas du footer */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 14px;
  color: #8293b3;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .footer-nav, .footer-contact, .footer-social {
    flex: unset;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  .footer-contact ul li {
    justify-content: center;
  }
  .footer-contact i {
    margin-right: 5px;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}

/* === Responsive FOOTER pour tablettes / petits PC (769px → 1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer {
    padding: 40px 20px; /* réduit un peu le padding général */
  }

  .footer-container {
    max-width: 900px;   /* plus étroit */
    gap: 30px;          /* espace réduit entre les blocs */
  }

  .footer-logo img {
    max-height: 45px;   /* logo un peu plus petit */
  }

  .footer-nav h4,
  .footer-contact h4,
  .footer-social h4 {
    font-size: 15px;    /* titres réduits */
  }

  .footer-nav a,
  .footer-contact p,
  .footer-social a {
    font-size: 14px;    /* texte plus compact */
  }

  .footer-social .social-icons a {
    font-size: 18px;    /* icônes légèrement réduites */
  }
}








