/* ===============================
   Reset & base
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    background-color: #111;
    background: linear-gradient(to bottom right, #fff 60%, #0a2c3c 100%);
  }
  
  h3 {
    color: #00b5e2;
  }

  ul { 
    padding-left: 1.2rem;
    list-style: disc;
  }

  /* ===============================
     Layout container
  ================================= */
  .container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 0;
  }
  
  /* ===============================
     Header
  ================================= */
  .header {
    background-color: #000;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #00b5e2;
    text-decoration: none;
  }

  .logo img {
    max-height: 40px;
    height: auto;
    width: auto;
  }
  
  
  .nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .nav a {
    text-decoration: none;
    color: #fff;
    transition: color 0.2s ease-in-out;
  }
  
  .nav a:hover,
  .nav a.active {
    color: #00b5e2;
  }
  
  .lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch input {
  display: none;
}

.lang-switch label {
  display: flex;
  align-items: center;
  position: relative;
  background: #00b5e2;
  border-radius: 20px;
  cursor: pointer;
  width: 60px;
  height: 28px;
  transition: background 0.3s;
  padding: 0 6px;
  font-size: 14px;
  user-select: none;
}

.lang-switch .slider {
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  top: 2px;
  /*left: 2px;*/
  transition: transform 0.3s;
}

.lang-switch input:checked + label .slider {
  /*transform: translateX(32px);*/
  transform: translateX(25px);
}

.lang-switch .lang {
  z-index: 2;
  font-weight: bold;
  width: 24px;
  text-align: center;
}

.lang-switch .fr {
  color: #1a1a1a;
}

.lang-switch .en {
  color: #1a1a1a;
}

.recommendations {
  /* background-color: #0d0d0d; /* un bleu foncé ou gris foncé */
  padding: 3rem 0;
  /*border-top: 1px solid #222;*/
}

.recommendations h2 {
  color: #00b5e2;
  margin-bottom: 2rem;
  text-align: left;
}


  /* ===============================
     Hero sections
  ================================= */
  .hero-project,
  .hero-contact {
    /*text-align: center;*/
    padding: 3rem 0 2rem;
  }
  
  .hero-project h1,
  .hero-contact h1 {
    font-size: 2.2rem;
    color: #00b5e2;
  }

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

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
      135deg,
      #00b5e211,
      #00b5e211 2px,
      transparent 2px,
      transparent 6px
    );
    pointer-events: none;
    z-index: 0;
  }

  .project-hero img.banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  }

  .hero {
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .project-hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .project-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 50, 0.6);
    z-index: 1;
  }

  .project-hero h1 {
    color: white;
    z-index: 2;
    font-size: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .project-hero img {
    display: none; /* fallback only */
  }

  .project-hero .logo-banner {
    max-width: 100px;
    margin-bottom: 1rem;
  }
  
  /* ===============================
     Sections génériques
  ================================= */
  
  .section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00b5e2;
  }
  
  .section p {
    margin-bottom: 1rem;
  }
  
  /* ===============================
     Project cards
  ================================= */
  .projects .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }
  
  
  .project-card {
    background: #000;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease-in-out;
  }
  
  .project-card:hover {
    transform: translateY(-4px);
  }
  
  .project-card img {
    width: 100%;
    border-radius: 4px;
  }
  
  .project-card h3 {
    margin-top: 0.75rem;
    color: #00b5e2;
  }

  /* ===============================
     Simply UX cards
  ================================= */
  .simplyux .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
  }
  
  /* ===============================
     Project pages
  ================================= */
  .main-project nav.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .mission {
    text-align: center;
    color: white !important;
    z-index: 2;
  }

  nav.breadcrumb {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    background-color: #00b5e2;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    display: inline-block;
    color:#fff;
  }

  nav.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }

  nav.breadcrumb a:hover {
    text-decoration: underline;
  }

  nav.breadcrumb i {
    margin-right: 0.5rem;
  }
  
  .project-section {
    margin-bottom: 2.5rem;
  }
  
  .project-section h2 {
    margin-bottom: 0.5rem;
    color: #00b5e2;
  }
  
  .project-section ul {
    padding-left: 1.2rem;
    list-style: disc;
  }
  
  .carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
  }
  
  .carousel-container img {
    height: 300px;
    border-radius: 8px;
  }

  .carousel {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel::-webkit-scrollbar {
    display: none;
  }

  .carousel-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    width: 260px;
  }

  .carousel-item img {
    width: 100%;
    border-radius: 4px;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 0.5rem;
  }

  .carousel-item .caption {
    font-size: 0.9rem;
    color: #ccc;
  }

  
  /* ===============================
     Contact & social
  ================================= */
  .contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .method {
    text-align: center;
    max-width: 200px;
  }
  
  .method img {
    width: 48px;
    margin-bottom: 0.5rem;
  }
  
  .modal {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
  }

  .modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 181, 226, 0.5);
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #00b5e2;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .close-btn:hover {
    color: #fff;
  }

  /* ===============================
     Video
  ================================= */

  .video-thumbnail img {
    width: 100%;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .video-thumbnail:hover img {
    transform: scale(1.05);
  }

  #videoModal .modal-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
  }


  /* ===============================
     Footer
  ================================= */
  .footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
  }
  
  .footer-social {
    margin-bottom: 1rem;
  }
  
  .footer-social a img {
    width: 24px;
    margin: 0 8px;
    opacity: 0.8;
    transition: opacity 0.2s;
  }
  
  .footer-social a img:hover {
    opacity: 1;
  }

  .footer a {
    text-decoration: none;
  }

  .footer .container-connect a {
    text-decoration: none;
  }
  
  /* ===============================
     Buttons
  ================================= */
  .btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #00b5e2;
    border: 2px solid #00b5e2;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .btn-secondary:hover {
    background-color: #00b5e2;
    color: #111;
  }

  
  /* ===============================
     Scroll to top
  ================================= */
  .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00b5e2;
    color: #111;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  
  .scroll-to-top:hover {
    background-color: #009fc6;
  }

  .container-connect a{
    color: white;
    font-size: 25px;
    text-align: center; /* Centre le contenu */
      margin-right: 15px;
  }

  .container-connect i{
    color: white;
    font-size: 25px;
    text-align: center; /* Centre le contenu */
    display: inline-block; /* Assure que les icônes soient bien alignées */
    vertical-align: middle;
  }

  .container-connect a:last-child {
      margin-right: 0; /* Supprime le dernier espace */
  }

  .container-connect a:hover {
    transition: color 0.3s ease; /* Ajoute une transition fluide */
  }

  .container-connect a:hover i {
    color: #00b5e2;
    transition: color 0.3s ease;
  }


  .about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
  }

  @media (min-width: 768px){
    .about-content{
      align-items: flex-start;
      flex-wrap: nowrap;
    }
  }


  .about-content .portrait {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00b5e2;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

 /* About – évite le débordement en flex (desktop/tablette) */
  .about-content > .portrait{
    flex: 0 0 160px;    /* colonne fixe pour la photo */
  }

  .about-content > div{
    flex: 1 1 320px;    /* le texte prend la place restante */
    min-width: 0;       /* <<< clé anti-overflow en flex */
  }

  /* About – empilage propre en mobile */
  @media (max-width: 767.98px){
    .about-content{ display: block; }   /* on quitte le flex en mobile */
    .about-content > .portrait{ margin-bottom: 1rem; }
  }

  .portrait {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .portrait.visible {
    opacity: 1;
    transform: scale(1);
  }


  @keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.about-content .portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00b5e2;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInZoom 0.8s ease-out forwards;
}


/* === Recommendations Slider (consolidated) === */

/* Variables utiles (optionnel) */
:root{
  --reco-bg: #fff;          /* fond de la section Recommandations */
  --reco-accent: #0aaad6;   /* bleu accent */
  --reco-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Wrapper */
.recommendations .reco-slider { position: relative; margin-top: .75rem; }
.recommendations .reco-viewport { overflow: hidden; padding: .25rem 0; }

/* Track */
.recommendations .reco-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;          /* mobile: 1 carte */
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 260ms ease;
  padding-inline: 8px;              /* petit recul bord gauche/droit */
}

/* Cards */
.recommendations .reco-card{
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--reco-shadow);
  padding: 16px 18px 14px;
  display: grid;
  gap: .55rem;
  align-content: start;
  min-height: 180px;
  border: 2px solid rgb(0, 181, 226); /* bleu doux et translucide */
}
.recommendations .reco-badge{ font-size: .75rem; color: var(--reco-accent); font-weight: 700; }
.recommendations .reco-text{
  font-size: .95rem; line-height: 1.45; color: #1b1b1b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;   /* Safari/Chrome/Edge */
  line-clamp: 3;           /* standard (Firefox 120+) */
  overflow: hidden;
}
.recommendations .reco-readmore{ color: var(--reco-accent); font-weight: 600; font-size: .9rem; }
.recommendations .reco-author{ display: grid; grid-template-columns: 40px 1fr; gap: .6rem; align-items: center; margin-top: .2rem; }
.recommendations .reco-avatar{ width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background:#eef6f8; }
.recommendations .reco-name{ font-weight: 700; color: #0f1c22; }
.recommendations .reco-meta{ font-size: .83rem; color: #5a6a73; }

/* Fades aux bords (masque propre sur fond blanc) */
.recommendations .reco-slider::before,
.recommendations .reco-slider::after{
  content:""; position:absolute; top:0; height:100%; width:24px; z-index:1; pointer-events:none;
}
.recommendations .reco-slider::before{
  left:0;
  /*background:linear-gradient(to right, var(--reco-bg) 0%, rgba(255,255,255,0) 100%);*/
}
.recommendations .reco-slider::after{
  right:0;
  /*background:linear-gradient(to left, var(--reco-bg) 0%, rgba(255,255,255,0) 100%);*/
}

/* Flèches (desktop/tablette seulement) */
.recommendations .reco-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:999px;
  border:1px solid #e2eef2; background:#fff; color:#0f1c22;
  display:grid; place-items:center; font-size:22px; cursor:pointer;
  box-shadow: var(--reco-shadow); z-index:2;
}
.recommendations .reco-prev{ left:8px; background:#00b5e2; }
.recommendations .reco-next{ right:8px; background:#00b5e2; }
.recommendations .reco-nav:hover{ box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.recommendations .reco-nav:disabled{ opacity:.35; cursor:not-allowed; box-shadow:none; }

/* Dots */
.recommendations .reco-dots{ display:flex; gap:.5rem; justify-content:center; margin:10px 0 0; }
.recommendations .reco-dot{ width:8px; height:8px; border-radius:999px; background:#c9dbe0; border:none; cursor:pointer; }
.recommendations .reco-dot[aria-selected="true"]{ background: var(--reco-accent); }

/* Recos – coupe toute fuite horizontale */
.recommendations{ overflow-x: clip; }

/* ===== Breakpoints ===== */

/* >= 900px : 2 cartes */
@media (min-width: 900px){
  .recommendations .reco-track { grid-auto-columns: calc(50% - .5rem); }
}

/* >= 1200px : 3 cartes */
@media (min-width: 1200px){
  .recommendations .reco-track { grid-auto-columns: calc(33.333% - .67rem); }
}

/* ===== Mobile (≤ 899px) — FIX ===== */
@media (max-width: 899.98px){

  /* 1) coupe les fades (la grande bande claire) */
  .recommendations .reco-slider::before,
  .recommendations .reco-slider::after{
    display: none;
  }

  /* 2) gouttières sur le viewport (16px) */
  .recommendations .reco-viewport{
    overflow: hidden;
    padding: 0 16px;
  }

  /* 3) carte = 100% de largeur utile (plus de peek) */
  .recommendations .reco-track{
    grid-auto-columns: 100%;
    gap: 12px;
    padding-inline: 0;   /* annule le padding 8/16px défini plus haut */
  }

  /* 4) flèches masquées en mobile : swipe uniquement */
  .recommendations .reco-prev,
  .recommendations .reco-next{
    display: none;
  }

  /* 5) carte compacte + clamp 4 lignes */
  .recommendations .reco-card{
    padding: 16px;
    min-height: auto;
  }
  .recommendations .reco-text{
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  /* 6) un peu d’air sous le slider */
  .recommendations .reco-dots{ margin-top: 12px; }
  .recommendations .reco-cta{ margin-top: 16px; }
}



  /* ===============================
     Responsive
  ================================= */
  @media (max-width: 768px) {
    .header .container {
      flex-direction: row; /* ✅ Aligne horizontalement logo et burger */
      justify-content: space-between;
      align-items: center;
      padding: 1rem 1.5rem;
      gap: 0;
    }

    .nav {
      z-index: 999;
    }

     .logo {
      margin-right: auto;
    }

    .nav ul {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    .lang-switch {
      margin-top: 0.5rem;
    }

    .logo img {
      max-height: 36px;
    }

    .header {
      padding-bottom: 0.5rem;
    }
    
    .nav ul {
      flex-direction: column;
      gap: 1rem;
    }
  
    .projects .grid {
      grid-template-columns: 1fr;
    }

    .simplyux .grid {
      grid-template-columns: 1fr;
    }
  
    .carousel-container img {
      height: 200px;
    }
  }

  @media (max-width: 600px) {
    .buttons-hero {
      flex-direction: column;
      align-items: stretch;
    }

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


  /* ======= Burger Menu (Mobile) ======= */
.burger-menu {
  display: none;
}

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

/* ============= Étude UX complète (inline après bouton) ============= */

.full-study-section {
  color: black;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 2px dashed #00b5e2;
  animation: fadeInSection 0.1s ease-out forwards;
}

.full-study-section .project-section.impact-box{
  color: white;
}


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

.full-study-content {
  max-width: 900px;
  margin: 0 auto;
}

.full-study-content h2 {
  color: #00b5e2;
  margin-top: 2rem;
}

.full-study-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.full-study-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1rem 0;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.btn-close {
  background: none;
  border: none;
  color: #00b5e2;
  font-size: 2rem;
  position: relative;
  float: right;
  cursor: pointer;
  margin-top: -1rem;
  transition: color 0.3s ease;
}

.btn-close:hover {
  color: white;
}

/* Carousel dans l'étude (si besoin, réutilisé) */
.full-study-section .carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.full-study-section .carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  width: 260px;
  transition: transform 0.3s ease;
}

.full-study-section .carousel-item img {
  width: 100%;
  border-radius: 4px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.full-study-section .carousel-item .caption {
  font-size: 0.9rem;
  color: #ccc;
}

.full-study-section .carousel-item:hover {
  transform: scale(1.03);
}

#full-study-panel {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#full-study-panel.visible {
  opacity: 1;
  transform: translateY(0);
}


.full-study-panel .carousel-item img {
  width: 100%;
  border-radius: 4px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.full-study-panel .carousel-item .caption {
  font-size: 0.9rem;
  color: #ccc;
}

.impact-box {
  background-color: #1a1a1a;
  border-left: 4px solid #00b5e2;
  padding: 1.5rem;
  margin: 2.5rem 0;
  border-radius: 8px;
}

.impact-box h2 {
  color: #00b5e2;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.impact-box ul {
  list-style: none;
  padding-left: 0;
}

.impact-box li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #e0e0e0;
}

.impact-box li strong {
  color: #00b5e2;
  font-weight: 600;
}

.project-toggle {
  text-align: center;
  margin-top: 2rem;
}

.hidden-projects {
  display: none !important;
}


@media (prefers-reduced-motion: reduce){
  .timeline-path path{ stroke-dasharray: none; }
  [data-aos]{ transition: none !important; }
}

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

.timeline {
  position: relative;
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 1;
}

.timeline-date {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #393e46;
}

.timeline-content {
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid #00b5e2;
  padding: 1.5rem;
  margin: 2.5rem 0;
  border-radius: 8px;
}

.timeline-content h3 {
  color: #00b5e2;
}

.timeline-content p {
  color: #f7f7f7;
}

.timeline-path{
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;    /* centre le SVG */
  pointer-events: none;
  z-index: 0;
}

.timeline-path path {
  fill: none;
  stroke: #00bcd4;
  stroke-width: 2;
  stroke-dasharray: 5 10;    /* ou 5 5 si tu préfères */
  stroke-linecap: round;
}

.timeline-path svg{
  width: 200px;               /* largeur constante pour ton chemin */
  height: 100%;               /* suit la hauteur de .timeline */
  display: block;
}

[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

/* Fallback si AOS n'a pas encore appliqué .aos-animate */
[data-aos] { opacity: 1; transform: none; }
.aos-animate { opacity: 1 !important; transform: none !important; }

@media screen and (max-width: 768px) {
  .timeline-date {
    position: relative;
    left: 0;
    margin-bottom: 0.5rem;
  }
  .timeline {
    padding-left: 0;
    border-left: none;
  }
}


@media (max-width: 768px) {
  .full-study-panel {
    width: 100%;
    padding: 1rem;
  }
}


@media (max-width: 768px) {
  .burger-menu {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;    /* adapte si besoin */
    height: 40px;   /* idem */
    z-index: 20;
  }

  /* Pour les trois barres */
  .burger-menu span {
    display: block;
    width: 40px;
    height: 3px;
    margin: 4px 0;
    background: #00bcd4; /* ou la couleur de ton thème */
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* Focus (optionnel) */
  .burger-menu:focus {
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    border-top: 1px solid #333;
  }

  .nav.open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .nav a {
    width: 100%;
    color: white;
    padding: 0.5rem 0;
    display: block;
    font-size: 1.1rem;
  }

  .lang-mobile {
    margin-top: 1rem;
  }
}

/* Animate burger icon when open */
.burger-menu.open span:nth-child(1) {
  transform: translateY(14.5px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
