* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inria Sans', sans-serif;
  color: #000;
}

body {
  margin: 0;
  background-color: #FFFFFF;
  color: #333;
}

/* Style pour le skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  font-weight: bold;
}

.skip-link:focus {
  top: 6px;
}

/* Classe pour les éléments faits pour être cachés visuellement mais accessibles aux lecteurs d'écran */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #A8D4E4;
  height: 100px;
  padding: 10px 20px;
  position: relative;
}

.site-title {
  font-size: 2.2rem;
  font-family: 'Inria Sans', sans-serif;
  margin: 0 auto;
  font-weight: 700;
}

.language-switch {
  position: absolute;
  left: 20px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.language-switch button {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.logo-image {
  max-height: 70px; /* Ajuste selon la taille souhaitée */
  vertical-align: middle;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-toggle {
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 20px;
  background-color: #333;
  border-radius: 2px;
}

/* Style du bouton burger */
.burger-menu {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  /* Gardez tous vos autres styles existants */
}

.burger-menu:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.burger-menu {
  position: absolute;
  top: 35px;
  right: 40px;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 6000;
}

.bar {
  width: 100%;
  height: 5px;
  background-color: white;
  border-radius: 5px;
  transition: 0.3s;
}

.burger-text {
  position: absolute;
  top: 34px;
  right: 100px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: #333;
  text-align: left;
  font-weight: 900;
  font-style: italic;
}

/* Style du menu */
.nav-links {
  position: fixed;
  top: 0;
  right: -250px; /* Caché par défaut */
  width: 250px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 5000;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  padding: 10px 20px;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Ajout de la classe active pour afficher le menu */
.nav-active {
  right: 0;
}

/* Animation du bouton burger lorsqu'il est actif */
.burger-menu.active .bar:nth-child(1) {
  transform: translateY(12px) rotate(45deg); }
.burger-menu.active .bar:nth-child(2) {
  opacity: 0;
}
.burger-menu.active .bar:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);}

  /*Bandeau Titre*/
.intro-banner {
  background-color: #d3d3d3; /* gris clair */
  border-radius: 8px;
  margin: 30px auto;
  margin-bottom: -10px;
  max-width: 80%;
}
.intro-banner h2 {
  font-weight: bold;
}

.section-title {
  text-align: left;
  margin-left: 20px;
}

/*Section 1*/
.intro-section {
  background-color: #A8D4E4;
  width: 100vw;
  margin: 0;
  padding: 40px 0;
}

.inner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.inner-container .custom-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem; /* Espace horizontal */
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .inner-container .custom-gap {
    flex-wrap: nowrap; /* Garde sur une seule ligne sur grand écran */
  }
}

.intro-text {
  font-size: 10rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  flex-shrink: 0;
}

.intro-img img {
  width: 700px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}


@media (max-width: 768px) {
  .intro-container {
    justify-content: center;
  }

  .intro-text {
    font-size: 0.5rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
  }

  .intro-img img {
    width: 100%;
    max-width: 90%;
  }

  
  .row {
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
  }

  
}

  /*Section 2*/

  .bg-light p {
    text-align: justify;
    font-size: 1rem;
    font-weight: 500;
  }

.col-md-4 {
  position: relative; /* Nécessaire pour positionner le cercle par rapport à chaque bloc */
  padding-left: 15px;
  padding-right: 15px;
}

.col-md-4::before {
  content: ""; /* Permet de créer un élément vide */
  position: absolute; /* Positionner le cercle */
  top: -20px; /* Décale le cercle vers le haut par rapport au bloc */
  left: 50%; /* Centrer le cercle horizontalement */
  transform: translateX(-50%); /* Ajuste le positionnement pour qu'il soit exactement centré */
  width: 40px; /* Taille du cercle */
  height: 40px; /* Taille du cercle */
  border-radius: 50%; /* Donne la forme ronde */
  background-color: grey; /* Couleur du cercle */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Ombre pour le style */
}

/*Section 3*/

.scientific-approach ul {
  padding-left: 2rem;
}

.scientific-approach li {
  font-weight: 400;
}

@media (min-width: 900px) {
.scientific-approach li {
  font-weight: 300;
  font-size: 30px;
  margin-left: 40px;
}
}

/* Étapes en flèches */
.process-flow .step {
  position: relative;
  background-color: #e0e0e0;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 600;
  min-width: 120px;
}

.process-flow .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #e0e0e0;
}

.text-justify {
  text-align: justify;
}

@media (max-width: 767px) {
  .d-md-flex {
    text-align: center; /* Centre le contenu (l'image) en mode mobile */
  }

  .process-flow .step {
    position: relative;
    background-color: #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    min-width: 120px;
  }
}

/*Technologies*/
.img-technologie{
  max-height: 200px;
}

@media (min-width: 767px) {
.img-technologie{
  max-width: 400px;
}
}

/*Section 4*/

.timeline-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-row {
  display: flex;
  align-items: flex-start;
}

.timeline-year {
  flex: 0 0 80px;
  font-weight: bold;
  font-size: 1.5rem;
  margin-right: 1rem;
  text-align: right;
  color: #222;
}

.timeline-events {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-item {
  font-size: 1rem;
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-right: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (max-width: 576px) {
  .timeline-row {
    flex-direction: column;
  }

  .timeline-year {
    text-align: left;
    margin-bottom: -2rem;
  }

  .timeline-item {
    margin-right: 0;
    font-size: 0.95rem;
  }
}

/*Section 5*/
@media (max-width: 768px) {
  .application p {
    font-size: 15px;
  }
}

@media (min-width: 992px) {
  .section-card-title {
    font-size: 1.5rem;
  }
}

.application{
  font-size: 0.95rem; 
  width: 1600px; 
  margin: 0 auto; 
  padding-left: 1rem;
  padding-right: 1rem;
}

.illustration-card img {
  object-fit: contain;
}

.illustration-laserrun {
  object-fit: contain;
}

.sam-guide-banner {
  height: 30%;
  font-size: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.publication-list{
  font-size: 1rem;
}

@media (max-width: 992px) {
  .publication-list{
    font-size: 0.7rem;
  }
}

/*Consortium*/

.card-img-top {
  height: 250px;              
  object-fit: cover;         
  width: 100%;           
}

.card-img-solo {
  height: 350px;          
  object-fit: cover;        
  width: 100%;           
}

.consortium-box {
  max-width: 1400px;
  border: 2px solid #ccc;
  border-radius: 10px;
  position: relative;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.circle {
  width: 40px;
  height: 40px;
  background-color: #777;
  border-radius: 50%;
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid white;
}

.responsive-text {
  font-size: 1rem; /* plus petit sur mobile */
}

.intro-consortium {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .responsive-text {
    font-size: 1.25rem; /* plus grand sur desktop */
  }
 
  .intro-consortium {
    font-size: 1.5rem;
  }
}

/*Actualités*/

.news-block img {
  object-fit: contain;
  max-height: 500px;
  height: 500px;
}

.news-block p{
  font-size: 1.2rem;
}

.carousel-inner {
  height: 500px;
}

.carousel-item {
  height: 100%;
}

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

/* Media query pour mobile */
@media (max-width: 768px) {
  .news-block img {
    max-height: 300px; 
    height: 300px; 
    object-fit: cover; 
  }
  .carousel-inner {
    height: 300px;
  }

  .news-block p {
    font-size: 1rem;
  }
}

/*FAQ*/
.accordion-button{
  font-size: 1.5rem;
}

.accordion{
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .accordion-button{
    font-size: 1.2rem;
  }
  
  .accordion{
    font-size: 1rem;
  }
}

/*Jeu Interactif*/

.game-box {
  max-width: 1400px;
  border: 2px solid #ccc;
  border-radius: 10px;
  position: relative;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.game-circle {
  width: 40px;
  height: 40px;
  background-color: #777;
  border-radius: 50%;
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid white;
}

.game-box p {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
.game-box p {
  font-size: 0.8rem;
}
}

/*CSS Bootstrap personnalisé*/

.custom-site-footer {
  font-weight: bolder;
  padding-bottom: 20px;
  padding-right: 10px;
    background-color: #A8D4E4;
    position: relative;
  }

.custom-mention{
  margin-top: 50px;
    text-align: center;
    width: 100%;
  }

  .custom-blue-button {
    display: inline-block;
    background-color: #A8D4E4; /* même bleu que le header */
    color: #000;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .custom-blue-button:hover {
    background-color: #8EC1D8;
    transform: translateY(-2px);
  }

  
  
/* MOBILE */

/* Masquer le texte à côté du burger menu sur les petits écrans */
@media (max-width: 768px) {
  .burger-text {
    display: none;
  }

  .burger-menu {
    position: fixed;
    z-index: 10000;
  }

  .bar {
    background-color: #000; /* noir par défaut */
    transition: background-color 0.3s;
  }
  
  /* Quand la classe 'burger-white' est active sur le parent */
  .burger-white .bar {
    background-color: #fff; /* blanc quand le menu est ouvert */
  }
  
  .img-anr{
    margin-bottom: 50px;
    }
}

.img-anr{
  right: 5px;
  }


.btn-show-more {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #0066cc !important;
    text-decoration: underline !important;
    font-size: 0.9rem;
    cursor: pointer;
    display: block;
    margin-top: 0.5rem;
}

.btn-show-more:hover {
    color: #004499 !important;
}

/* Styles pour les logos des laboratoires */
.card-body {
  position: relative;
}

.lab-logo {
  position: absolute;
  bottom: 15px;
  right: 20px;
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Responsive : logo plus petit sur mobile */
@media (max-width: 768px) {
  .lab-logo {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
  }
}

/* CACHER PAGE ANNONCES */

/* .nav-links a[href*="annonces"],
footer a[href*="annonces"] {
    display: none !important;
} */