/* Variables */
:root {
  --primary-color: #ff0000;
  /* Rouge pour le bouton CTA */
  --secondary-color: #ff6f00;
  --text-color: #ffffff;
  --background-color: #0a192f;
  --badge-color: #ff6f00;
  --button-bg: #ff0000;
  /* Rouge pour le bouton CTA */
  --button-hover-bg: #cc0000;
  /* Rouge plus foncé au survol */
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --background-white: #ffffff;
  --text-light: #555;
}








/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--background-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.containear {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  /* Taille réduite */
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.9rem;
  /* Police réduite */
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 8px 16px;
  /* Taille réduite */
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.9rem;
  /* Police réduite */
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Mode jour - Navigation blanche */
nav.day-mode {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav.day-mode .nav-links a {
  color: #333;
}

nav.day-mode .nav-links a:hover {
  color: #0066cc;
  background-color: rgba(0, 102, 204, 0.1);
}

nav.day-mode .btn-contact {
  background: linear-gradient(135deg, #0066cc, #004080);
  color: white;
}

nav.day-mode .btn-contact:hover {
  background: linear-gradient(135deg, #004080, #0066cc);
}

.nav-containear {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  max-width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), #ff4444);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::before {
  width: 80%;
}

.nav-links a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.cta-button {
  margin-left: 20px;
}

.btn-contact {
  background: linear-gradient(135deg, var(--primary-color), #ff4444);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-contact:hover::before {
  left: 100%;
}

.btn-contact:hover {
  background: linear-gradient(135deg, #ff4444, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

/* Burger Menu - Design moderne et stylé */
.burger {
  display: none;
  cursor: pointer;
  width: 35px;
  height: 35px;
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), #ff4444);
  border-radius: 8px;
  border: none;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
  overflow: hidden;
}

.burger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff4444, var(--primary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.burger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.burger:hover::before {
  opacity: 1;
}

.burger div {
  width: 100%;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.burger div:nth-child(1) {
  transform-origin: center;
}

.burger div:nth-child(2) {
  transform-origin: center;
}

.burger div:nth-child(3) {
  transform-origin: center;
}

/* Hero Section */












/* Particles.js styles */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: transparent;
  z-index: 1;
  top: 0;
  left: 0;
  pointer-events: none;
}

#particles-js canvas {
  display: block;
  vertical-align: bottom;
  pointer-events: none;
}

.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  z-index: 1000;
}

.js-count-particles {
  font-size: 1.1em;
}

/* Hero Section */
/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* Compensation pour la nav fixe */
}

/* Conteneur vidéo */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Style de la vidéo */
.video-background video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Overlay sombre permanent */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Contenu de la section Hero */
#hero .containear {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 5%;
}

.hero-content {
  max-width: 600px;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.hero-content h2 {
  font-size: 1.5rem;
  color: #c40f0f;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-red {
  background-color: red;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-red:hover {
  background-color: darkred;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  #hero .containear {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 30px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .video-background {
    display: flex;
    justify-content: center;
  }
  
  .video-background video {
    width: auto;
    height: 100%;
  }
}



/* Image responsive */
.responsive-image {
  max-width: 100%;
  height: auto;
}

.badge {
  display: inline-block;
  background-color: var(--badge-color);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  /* Taille réduite */
  font-size: 0.9rem;
  /* Police réduite */
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255, 252, 252);
  background: transparent;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 300%;
  background: rgba(255, 0, 0, 0.2);
  transform: skewX(45deg) translateY(-50%);
  transition: 0.3s;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  background: red;
  color: white;
}

.play-icon {
  width: 18px;
  height: 18px;
  border-left: 10px solid red;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transition: 0.3s;
}

.btn-secondary:hover .play-icon {
  border-left-color: white;
}

/* MODAL STYLE */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
}

.modal-content iframe {
  width: 100%;
  height: 350px;
  border: none;
}

.close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  nav {
    padding: 8px 12px;
  }

  .nav-containear {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
  }

  .logo {
    margin-bottom: 0;
  }

  .logo img {
    max-width: 100px;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: calc(100vh - 70px);
    width: 70%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links.active {
    right: 0;
    animation: slideInMenu 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  @keyframes slideInMenu {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .nav-links a {
    margin: 15px 0;
    font-size: 1rem;
    padding: 12px 20px;
    width: 85%;
    text-align: center;
    border-radius: 10px;
  }

  .nav-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(31, 35, 109, 0.3);
  }

  .cta-button {
    display: none;
  }

  .btn-contact {
    display: block;
    margin-top: 30px;
    width: 100%;
    text-align: center;
  }

  .burger {
    display: block;
    position: relative;
    right: 0;
    top: 0;
    z-index: 1001;
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  /* Animation du burger menu - Design moderne */
  .burger.active {
    background: linear-gradient(135deg, #ff4444, var(--primary-color));
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
  }

  .burger.active div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 80%;
  }

  .burger.active div:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .burger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 80%;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Styles pour les très petits écrans */
@media screen and (max-width: 480px) {
  nav {
    padding: 6px 10px;
  }

  .nav-containear {
    padding: 0 8px;
  }

  .logo img {
    max-width: 90px;
  }

  .nav-links {
    width: 80%;
    padding: 30px 0;
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 0.95rem;
    padding: 10px 18px;
    width: 90%;
  }

  .btn-contact {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Burger menu pour très petits écrans */
  .burger {
    width: 35px;
    height: 35px;
    padding: 8px;
  }
}











/* Styles généraux */
.section-with-wave {
  position: relative;
  padding: 80px 0;
  background-color: #2a252500;
  overflow: hidden;
  z-index: 10;
}

.containeer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 2rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

ul {
  font-size: 1rem;
  color: #1e1616;
  text-align: center;
  margin-bottom: 40px;
  list-style-type: none;
  padding: 0;
}




/* Styles pour les services */
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-box {
  width: calc(25% - 20px);
  height: 350px;
  perspective: 1000px;
  margin-bottom: 20px;
  border: 2px solid rgba(132, 132, 132, 0);
  border-radius: 10px;
  overflow: hidden;
}

.service-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-box:hover .service-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(219, 219, 219, 0);
}

.service-front {
  background-color: #335f542b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.service-front img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-bottom: 2px solid rgba(234, 222, 222, 0);
}

.service-back {
  background-color: #0f0f11;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-content h5 {
  font-size: 1.1rem;
  color: #fefefe;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-content h6 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-content p {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.5;
  text-align: left;
}

.btn-primary {
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0.9rem;
  margin-top: 10px;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Styles responsives */
@media (max-width: 1024px) {
  .service-box {
    width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .service-box {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .service-box {
    width: 100%;
  }

  .service-content h5 {
    font-size: 1rem;
  }

  .service-content h6 {
    font-size: 1rem;
  }

  .service-content p {
    font-size: 0.85rem;
  }
}

















/* Styles pour la section services */
#services.section-with-wave {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #eaeaea;
  overflow: hidden;
}

#services .contenaireee {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  /* Largeur relative pour s'adapter à l'écran */
  max-width: 1000px;
  /* Largeur maximale */
  height: auto;
  /* Hauteur automatique */
  min-height: 400px;
  /* Hauteur minimale */
  background: #f5f5f5;
  box-shadow: 0 30px 50px #dbdbdb;
}

#services .slide .item {
  width: 200px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: 0 30px 50px #505050;
  background-position: 50% 50%;
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
  overflow: hidden;
  /* Pour contenir l'effet sombre */
}

/* Effet sombre permanent */
#services .slide .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Calque sombre semi-transparent */
  opacity: 1;
  /* Toujours visible */
}

#services .slide .item:nth-child(1),
#services .slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
}

#services .slide .item:nth-child(3) {
  left: 50%;
}

#services .slide .item:nth-child(4) {
  left: calc(50% + 220px);
}

#services .slide .item:nth-child(5) {
  left: calc(50% + 440px);
}

#services .slide .item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}

#services .item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: left;
  color: #eee;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
  z-index: 2;
  /* Assure que le contenu est au-dessus du calque sombre */
}

#services .slide .item:nth-child(2) .content {
  display: block;
}

#services .content .name {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

#services .content .des {
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

#services .content button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

#services .button {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 20px;
}

#services .button button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border: 1px solid #000;
  transition: 0.3s;
}

#services .button button:hover {
  background: #ababab;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1200px) {
  #services .contenaireee {
    width: 95%;
    /* Ajustement de la largeur */
  }

  #services .slide .item {
    width: 180px;
    /* Réduction de la taille des éléments */
    height: 270px;
  }

  #services .slide .item:nth-child(3) {
    left: 40%;
  }

  #services .slide .item:nth-child(4) {
    left: calc(40% + 200px);
  }

  #services .slide .item:nth-child(5) {
    left: calc(40% + 400px);
  }
}

@media (max-width: 768px) {
  #services .contenaireee {
    width: 100%;
    /* Pleine largeur sur petits écrans */
    height: auto;
    min-height: 300px;
  }

  #services .slide .item {
    width: 150px;
    /* Réduction supplémentaire */
    height: 225px;
  }

  #services .slide .item:nth-child(3) {
    left: 30%;
  }

  #services .slide .item:nth-child(4) {
    left: calc(30% + 160px);
  }

  #services .slide .item:nth-child(5) {
    left: calc(30% + 320px);
  }

  #services .item .content {
    left: 50px;
    /* Ajustement de la position du contenu */
    width: 200px;
    /* Réduction de la largeur du contenu */
  }

  #services .content .name {
    font-size: 30px;
    /* Réduction de la taille de la police */
  }

  #services .content .des {
    font-size: 14px;
    /* Réduction de la taille de la police */
  }
}

@media (max-width: 480px) {
  #services .slide .item {
    width: 120px;
    /* Taille minimale pour les très petits écrans */
    height: 180px;
  }

  #services .slide .item:nth-child(3) {
    left: 20%;
  }

  #services .slide .item:nth-child(4) {
    left: calc(20% + 130px);
  }

  #services .slide .item:nth-child(5) {
    left: calc(20% + 260px);
  }

  #services .item .content {
    left: 20px;
    /* Ajustement supplémentaire */
    width: 150px;
    /* Largeur minimale */
  }

  #services .content .name {
    font-size: 24px;
    /* Taille de police minimale */
  }

  #services .content .des {
    font-size: 12px;
    /* Taille de police minimale */
  }
}





  /* Sectionn générale */
  sectionn {
    display: none; /* Masquer toutes les sectionns par défaut */
    background-color: #e7e7e7; /* Fond gris foncé */
    padding: 80px 20px; /* Ajout de padding horizontal */
    width: 100%;
    text-align: center;
  }

  sectionn.active {
    display: block; /* Afficher la sectionn active */
  }

  h2 {
    font-size: 2rem;
    color: rgb(19, 19, 18);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  h2::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23202963"><path d="M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm-1.06 13.54L7.4 12l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41-5.64 5.66z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
  }

  p {
    font-size: 1rem;
    color: rgb(7, 7, 7);
    margin-bottom: 20px;
  }

  /* Conteneur principal */
  .containere {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centrer verticalement */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Centrer horizontalement */
    padding: 20px;
    position: relative;
  }

  @media (min-width: 768px) {
    .containere {
      flex-direction: row;
      gap: 50px;
    }
  }

  /* Partie gauche : texte et boutons */
  .left-content {
    max-width: 100%;
    text-align: center;
  }

  @media (min-width: 768px) {
    .left-content {
      max-width: 400px;
      text-align: left;
    }
  }

  .left-content h1 {
    font-size: 1.5rem;
    color: #202963;
    margin-bottom: 15px;
    transition: opacity 0.5s ease-in-out;
  }

  @media (min-width: 768px) {
    .left-content h1 {
      font-size: 2rem;
    }
  }

  .left-content p {
    font-size: 0.9rem;
    color: rgb(0, 0, 0);
    line-height: 1.6;
    margin-bottom: 20px;
    transition: opacity 0.5s ease-in-out;
  }

  @media (min-width: 768px) {
    .left-content p {
      font-size: 1rem;
    }
  }

  .left-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    transition: opacity 0.5s ease-in-out;
  }

  .left-content ul li {
    font-size: 0.8rem;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
  }

  @media (min-width: 768px) {
    .left-content ul li {
      font-size: 0.9rem;
    }
  }

  .left-content ul li::before {
    content: "✔";
    color: #202963;
    margin-right: 10px;
  }

  /* Boutons */
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center; /* Centrer les boutons */
  }

  @media (min-width: 768px) {
    .buttons {
      flex-direction: row;
      gap: 20px;
    }
  }

  .buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .buttons .btn-savoir-plus {
    background-color: #202963;
    color: white;
  }

  .buttons .btn-telecharger {
    background-color: #e91e63;
    color: white;
  }

  .buttons button:hover {
    opacity: 0.9;
  }

  /* Partie droite : télévision avec diaporama */
  .tv-frame1, .tv-frame2 {
    position: relative;
    width: 253px; /* Largeur du cadre de la télévision */
    height: 500px; /* Hauteur du cadre de la télévision */
    margin: 0 auto; /* Centrer le cadre */
  }

  /* Styles spécifiques pour KIOO - Télévision avec taille augmentée */
  .tv-frame3 {
    position: relative;
    width: 400px; /* Largeur augmentée pour KIOO */
    height: 600px; /* Hauteur augmentée pour KIOO */
    margin: 0 auto; /* Centrer le cadre */
  }

  /* Image du cadre pour KIOO */
  .tv-frame3 .tv-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    object-fit: contain; /* Conserve le ratio de l'image */
  }

  /* Conteneur du slideshow pour KIOO */
  .tv-frame3 .slideshow-container {
    position: absolute;
    top: 8%; /* Ajustement vertical pour KIOO */
    left: 8%; /* Ajustement horizontal pour KIOO */
    width: 84%; /* Largeur réduite pour s'adapter au cadre */
    height: 84%; /* Hauteur réduite pour s'adapter au cadre */
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Images du diaporama pour KIOO */
  .tv-frame3 .mySlides {
    display: none;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
  }

  .tv-frame3 .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Conserve le ratio de l'image */
    object-position: center; /* Centre l'image dans le conteneur */
    border-radius: 15px; /* Rayon de bordure augmenté pour KIOO */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée pour KIOO */
  }

  .tv-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    object-fit: contain; /* Conserve le ratio de l'image */
  }

  .slideshow-container {
    position: absolute;
    top: 5%; /* Ajustement vertical */
    left: 5%; /* Ajustement horizontal */
    width: 90%; /* Largeur réduite pour s'adapter au cadre */
    height: 90%; /* Hauteur réduite pour s'adapter au cadre */
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Images du diaporama */
  .mySlides {
    display: none;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
  }
  
  .mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Conserve le ratio de l'image */
    object-position: center; /* Centre l'image dans le conteneur */
    border-radius: 10px; /* Ajout du rayon de bordure */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère pour mieux voir les bords arrondis */
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @keyframes fade {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }

  /* Effet de transition flottant */
  @keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .floating {
    animation: float 3s ease-in-out infinite;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .containere {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .left-content {
      text-align: center;
    }

    .buttons {
      flex-direction: column;
      align-items: center;
    }
    
    h2::before {
      width: 25px;
      height: 25px;
    }

    /* Responsive pour KIOO - Taille réduite sur mobile */
    .tv-frame3 {
      width: 300px; /* Largeur réduite pour mobile */
      height: 450px; /* Hauteur réduite pour mobile */
    }

    .tv-frame3 .slideshow-container {
      top: 6%; /* Ajustement vertical pour mobile */
      left: 6%; /* Ajustement horizontal pour mobile */
      width: 88%; /* Largeur ajustée pour mobile */
      height: 88%; /* Hauteur ajustée pour mobile */
    }
  }

  /* Responsive pour très petits écrans */
  @media (max-width: 480px) {
    .tv-frame3 {
      width: 250px; /* Largeur encore plus réduite pour très petits écrans */
      height: 375px; /* Hauteur proportionnelle */
    }

    .tv-frame3 .slideshow-container {
      top: 5%;
      left: 5%;
      width: 90%;
      height: 90%;
    }
  }







































/* Style de base pour la section */
#software.section-with-a {
  padding: 50px 0;
  text-align: center;
  background-color: #101e44;
}

#software.section-with-a .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#software.section-with-a h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#software.section-with-a p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

/* Conteneur du carrousel */
#software.section-with-a .logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Conteneur des logos */
#software.section-with-a .logo-container {
  display: flex;
  animation: scroll 20s linear infinite;
}

/* Style des logos */
#software.section-with-a .logo {
  width: 150px;
  height: auto;
  margin: 0 20px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Effet de survol */
#software.section-with-a .logo:hover {
  filter: grayscale(0%);
}

/* Animation de défilement */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause au survol */
#software.section-with-a .logo-carousel:hover .logo-container {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  #software.section-with-a h2 {
    font-size: 2rem;
  }

  #software.section-with-a p {
    font-size: 1rem;
  }

  #software.section-with-a .logo {
    width: 100px;
    margin: 0 10px;
  }

  #software.section-with-a .logo-container {
    animation: scroll 15s linear infinite;
  }
}

@media (max-width: 480px) {
  #software.section-with-a h2 {
    font-size: 1.5rem;
  }

  #software.section-with-a p {
    font-size: 0.9rem;
  }

  #software.section-with-a .logo {
    width: 80px;
    margin: 0 5px;
  }

  #software.section-with-a .logo-container {
    animation: scroll 10s linear infinite;
  }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}
















/* Style général */
#problems.section {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

/* Disposition en 2 lignes de 4 colonnes */
#problems .platforms-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 colonnes */
  grid-template-rows: repeat(2, auto);
  /* 2 lignes */
  gap: 20px;
  /* Espacement entre les cartes */
  justify-content: center;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 1200px;
  /* Limiter la largeur pour éviter l'étalement */
  margin: 0 auto;
  /* Centrer le conteneur */
}

/* Style des cartes */
#problems .platform-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  cursor: pointer;
}

/* Effet au survol */
#problems .platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Style des titres */
#problems .platform-card h3 {
  color: #1a73e8;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Tooltip amélioré */
#problems .platform-card .tooltip {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Affichage du tooltip au survol */
#problems .platform-card:hover .tooltip {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
  #problems .platforms-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 colonnes sur tablettes */
    grid-template-rows: repeat(4, auto);
    /* 4 lignes */
  }
}

@media (max-width: 600px) {
  #problems .platforms-container {
    grid-template-columns: repeat(1, 1fr);
    /* 1 colonne sur mobile */
    grid-template-rows: repeat(8, auto);
    /* 8 lignes */
  }
}















/* Style général du footer */
footer {
  background-color: #1f236d;
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: white;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  color: white;
  text-decoration: none;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #e91e63;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: white;
}

.logo {
  max-width: 150px;
  margin-bottom: 20px;
}

/* Styles pour le logo avec texte tournant */
.logo-section {
  order: 4; /* Déplacer à droite */
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotating-logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotating-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.circle-text {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.circle-text span {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: 0 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-center {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo-center .logo {
  margin: 0;
  max-width: 120px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Style pour les icônes des réseaux sociaux */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  color: #e91e63;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    /* Réduire l'espace entre les sections */
  }

  .footer-section {
    min-width: 100%;
    margin-bottom: 30px;
    /* Augmenter l'espace entre les sections */
  }

  /* Responsive pour le logo tournant */
  .logo-section {
    order: 1; /* Remettre en premier sur mobile */
    margin-bottom: 40px;
  }

  .rotating-logo-container {
    width: 150px;
    height: 150px;
  }

  .rotating-text span {
    font-size: 0.7rem;
  }

  .logo-center {
    padding: 15px;
  }

  .logo-center .logo {
    max-width: 100px;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    /* Réduire l'espace sous les titres */
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }

  .logo {
    max-width: 120px;
    margin-bottom: 15px;
    /* Réduire l'espace sous le logo */
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
    /* Réduire l'espace entre les icônes */
  }

  .footer-bottom {
    margin-top: 20px;
    /* Réduire l'espace au-dessus du footer-bottom */
    padding-top: 15px;
  }
}

@media (max-width: 480px) {
  .footer-section h3 {
    font-size: 1rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
  }

  .logo {
    max-width: 100px;
  }

  .social-icons a {
    font-size: 1rem;
    width: 35px;
    height: 35px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    /* Réduire la taille du texte du footer-bottom */
  }

  /* Responsive pour très petits écrans */
  .rotating-logo-container {
    width: 120px;
    height: 120px;
  }

  .rotating-text span {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .logo-center {
    padding: 10px;
  }

  .logo-center .logo {
    max-width: 80px;
  }
}




















/* ===== SECTION NEWS ===== */
#news {
  background-color: #ffffff;
  padding: 50px 20px;
  position: relative;
  z-index: 10;
}

#news .containeer {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#news h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

#news p {
  color: #555;
  margin-bottom: 30px;
}

/* ===== Citation Slider ===== */
.citation-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.citation-slide {
  display: flex;
  align-items: center;
  padding: 20px;
  transition: transform 0.5s ease;
  min-height: 150px;
}

.citation-slide img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 3px solid #2c3e50;
}

.citation-text p {
  margin: 0;
  font-style: italic;
  color: #333;
  font-size: 1.1rem;
  text-align: left;
}

/* Contrôles du slider */
.slider-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-controls button {
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-controls button:hover {
  background-color: #1a73e8;
}

/* Responsive */
@media (max-width: 600px) {
  .citation-slide {
    flex-direction: column;
    text-align: center;
  }

  .citation-slide img {
    margin: 0 0 15px 0;
  }

  .citation-text p {
    text-align: center;
  }
}

















































/* Style général */
#problems.section {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

/* Disposition en 2 lignes de 4 colonnes */
#problems .platforms-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 colonnes */
  grid-template-rows: repeat(2, auto);
  /* 2 lignes */
  gap: 20px;
  /* Espacement entre les cartes */
  justify-content: center;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 1200px;
  /* Limiter la largeur pour éviter l'étalement */
  margin: 0 auto;
  /* Centrer le conteneur */
}

/* Style des cartes */
#problems .platform-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  cursor: pointer;
}

/* Effet au survol */
#problems .platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Style des titres */
#problems .platform-card h3 {
  color: #1a73e8;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Tooltip amélioré */
#problems .platform-card .tooltip {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Affichage du tooltip au survol */
#problems .platform-card:hover .tooltip {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
  #problems .platforms-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 colonnes sur tablettes */
    grid-template-rows: repeat(4, auto);
    /* 4 lignes */
  }
}

@media (max-width: 600px) {
  #problems .platforms-container {
    grid-template-columns: repeat(1, 1fr);
    /* 1 colonne sur mobile */
    grid-template-rows: repeat(8, auto);
    /* 8 lignes */
  }
}



























/* Style de base pour la section */
#software.section-with-a {
  padding: 50px 0;
  text-align: center;
  background-color: #101e44;
}

#software.section-with-a .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#software.section-with-a h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#software.section-with-a p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

/* Conteneur du carrousel */
#software.section-with-a .logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Conteneur des logos */
#software.section-with-a .logo-container {
  display: flex;
  animation: scroll 20s linear infinite;
}

/* Style des logos */
#software.section-with-a .logo {
  width: 150px;
  height: auto;
  margin: 0 20px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Effet de survol */
#software.section-with-a .logo:hover {
  filter: grayscale(0%);
}

/* Animation de défilement */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause au survol */
#software.section-with-a .logo-carousel:hover .logo-container {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  #software.section-with-a h2 {
    font-size: 2rem;
  }

  #software.section-with-a p {
    font-size: 1rem;
  }

  #software.section-with-a .logo {
    width: 100px;
    margin: 0 10px;
  }

  #software.section-with-a .logo-container {
    animation: scroll 15s linear infinite;
  }
}

@media (max-width: 480px) {
  #software.section-with-a h2 {
    font-size: 1.5rem;
  }

  #software.section-with-a p {
    font-size: 0.9rem;
  }

  #software.section-with-a .logo {
    width: 80px;
    margin: 0 5px;
  }

  #software.section-with-a .logo-container {
    animation: scroll 10s linear infinite;
  }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}















































/* Style général */
#problems.section {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

/* Disposition en 2 lignes de 4 colonnes */
#problems .platforms-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 colonnes */
  grid-template-rows: repeat(2, auto);
  /* 2 lignes */
  gap: 20px;
  /* Espacement entre les cartes */
  justify-content: center;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 1200px;
  /* Limiter la largeur pour éviter l'étalement */
  margin: 0 auto;
  /* Centrer le conteneur */
}

/* Style des cartes */
#problems .platform-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  cursor: pointer;
}

/* Effet au survol */
#problems .platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Style des titres */
#problems .platform-card h3 {
  color: #1a73e8;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Tooltip amélioré */
#problems .platform-card .tooltip {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Affichage du tooltip au survol */
#problems .platform-card:hover .tooltip {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
  #problems .platforms-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 colonnes sur tablettes */
    grid-template-rows: repeat(4, auto);
    /* 4 lignes */
  }
}

@media (max-width: 600px) {
  #problems .platforms-container {
    grid-template-columns: repeat(1, 1fr);
    /* 1 colonne sur mobile */
    grid-template-rows: repeat(8, auto);
    /* 8 lignes */
  }
}



























/* Style de base pour la section */
#software.section-with-a {
  padding: 50px 0;
  text-align: center;
  background-color: #101e44;
}

#software.section-with-a .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#software.section-with-a h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#software.section-with-a p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

/* Conteneur du carrousel */
#software.section-with-a .logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Conteneur des logos */
#software.section-with-a .logo-container {
  display: flex;
  animation: scroll 20s linear infinite;
}

/* Style des logos */
#software.section-with-a .logo {
  width: 150px;
  height: auto;
  margin: 0 20px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Effet de survol */
#software.section-with-a .logo:hover {
  filter: grayscale(0%);
}

/* Animation de défilement */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause au survol */
#software.section-with-a .logo-carousel:hover .logo-container {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  #software.section-with-a h2 {
    font-size: 2rem;
  }

  #software.section-with-a p {
    font-size: 1rem;
  }

  #software.section-with-a .logo {
    width: 100px;
    margin: 0 10px;
  }

  #software.section-with-a .logo-container {
    animation: scroll 15s linear infinite;
  }
}

@media (max-width: 480px) {
  #software.section-with-a h2 {
    font-size: 1.5rem;
  }

  #software.section-with-a p {
    font-size: 0.9rem;
  }

  #software.section-with-a .logo {
    width: 80px;
    margin: 0 5px;
  }

  #software.section-with-a .logo-container {
    animation: scroll 10s linear infinite;
  }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

















































/* Styles pour la section noslogiciels */
#noslogiciels {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  z-index: 10;
}

/* Navigation entre les applications */
.app-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 25px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 120px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-color: #202963;
}

.nav-btn.active {
  background: linear-gradient(135deg, #202963 0%, #1a1f4b 100%);
  color: white;
  border-color: #202963;
  box-shadow: 0 4px 20px rgba(32, 41, 99, 0.3);
}

.app-icon {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.app-name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Sections d'applications */
.app-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.app-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* En-tête de section */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #202963;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #202963, #e91e63);
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contenu des applications */
.app-title {
  font-size: 2rem;
  color: #202963;
  margin-bottom: 20px;
  font-weight: 700;
}

.app-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.features-list {
  margin-bottom: 30px;
}

.features-list h3 {
  font-size: 1.3rem;
  color: #202963;
  margin-bottom: 15px;
  font-weight: 600;
}

.features-list ul {
  list-style: none;
  padding: 0;
}

.features-list ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.features-list ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #202963;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Boutons améliorés */
.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-savoir-plus,
.btn-telecharger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 180px;
  justify-content: center;
}

.btn-savoir-plus {
  background: linear-gradient(135deg, #202963 0%, #1a1f4b 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(32, 41, 99, 0.3);
}

.btn-telecharger {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Style pour les liens btn-telecharger */
a.btn-telecharger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 180px;
  justify-content: center;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

a.btn-telecharger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: white;
}

/* Style pour les liens btn-savoir-plus */
a.btn-savoir-plus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 180px;
  justify-content: center;
  background: linear-gradient(135deg, #202963 0%, #1a1f4b 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(32, 41, 99, 0.3);
}

a.btn-savoir-plus:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: white;
}

.btn-savoir-plus:hover,
.btn-telecharger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-icon {
  font-size: 1.1rem;
}

.store-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  #noslogiciels {
    padding: 60px 15px;
  }

  .app-navigation {
    gap: 15px;
    margin-bottom: 30px;
  }

  .nav-btn {
    padding: 12px 20px;
    min-width: 100px;
  }

  .app-icon {
    font-size: 1.3rem;
  }

  .app-name {
    font-size: 0.8rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .app-title {
    font-size: 1.8rem;
  }

  .app-description {
    font-size: 1rem;
  }

  .features-list h3 {
    font-size: 1.2rem;
  }

  .features-list ul li {
    font-size: 0.95rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-savoir-plus,
  .btn-telecharger {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  #noslogiciels {
    padding: 40px 10px;
  }

  .app-navigation {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-btn {
    width: 100%;
    max-width: 200px;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .app-icon {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.95rem;
  }

  .app-title {
    font-size: 1.6rem;
  }

  .app-description {
    font-size: 0.95rem;
  }

  .features-list h3 {
    font-size: 1.1rem;
  }

  .features-list ul li {
    font-size: 0.9rem;
    padding-left: 20px;
  }

  .btn-savoir-plus,
  .btn-telecharger {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Bouton de retour en haut de page */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.scroll-to-top i {
  transition: transform 0.2s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-2px);
}

/* Responsive pour le bouton de retour en haut */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* ===== SECTION AFFILIATION TECH241 ===== */
.affiliation-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a192f 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.affiliation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.affiliation-card {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 60px 40px;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.affiliation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: rotate 8s linear infinite;
  pointer-events: none;
}

.affiliation-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 18px;
  z-index: 1;
}

.affiliation-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.affiliation-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066cc, #004080);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.affiliation-logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: rotate 4s linear infinite;
}

.tech241-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.affiliation-text {
  color: #ffffff;
}

.affiliation-text h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.affiliation-text p {
  font-size: 1.2rem;
  color: #b8b8b8;
  font-weight: 400;
  margin: 0;
}

/* Animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.affiliation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 102, 204, 0.5);
}

.affiliation-card:hover .affiliation-logo {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.affiliation-card:hover .tech241-logo {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .affiliation-card {
    padding: 40px 20px;
    margin: 0 20px;
  }
  
  .affiliation-logo {
    width: 150px;
    height: 150px;
  }
  
  .tech241-logo {
    width: 120px;
    height: 120px;
  }
  
  .affiliation-text h3 {
    font-size: 1.8rem;
  }
  
  .affiliation-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .affiliation-card {
    padding: 30px 15px;
  }
  
  .affiliation-logo {
    width: 120px;
    height: 120px;
  }
  
  .tech241-logo {
    width: 100px;
    height: 100px;
  }
  
  .affiliation-text h3 {
    font-size: 1.5rem;
  }
  
  .affiliation-text p {
    font-size: 0.9rem;
  }
}
  align-items: center;
  gap: 15px;
}

