/* =========================
   GLOBAL
========================= */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  transition: background 0.3s, color 0.3s;
  opacity: 0;
}

body.loaded {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
  transition: opacity 0.15s ease;
}

:root {
  --hero-height: 500px;
  --timeline-x: 20px;

  /* paramètres généraux gradient cadres timeline parcours */
  --timeline-overlay-strong: rgba(15,23,42,0.75);
  --timeline-overlay: rgba(15,23,42,0.3);
  --gradient-stop-1: 100%;
  --gradient-stop-2: 100%;
  --gradient-stop-3: 100%;
}

/* =========================
   HEADER
========================= */

:root {
  --header-height: 40px;
}

.main-header {
  position: sticky;
  height: var(--header-height);
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 15px 30px;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  padding: 10px 30px;
  background: rgba(15,23,42,0.95);
  box-shadow: 0 5px 20px rgba(255,255,255,0.1);
}

/* NOM HEADER */
.site-name {
  font-family: 'Open Sans', sans-serif;
  font-weight: lighter;
  font-size: x-large;
  letter-spacing: 4px;
  color: #d8dce2;

  cursor: pointer;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.main-nav a {
  text-decoration: none;
  color: #e2e8f0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a.active {
  color: #38bdf8;
  opacity: 1;
}

/* BOUTON CONTACT */
.contact-btn {
  background: #38bdf8;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s;
}

.contact-btn:hover {
  transform: scale(1.05);
}


/* =========================
   TOGGLES
========================= */

.theme-btn img {
  width: 16px;
  height: 16px;
  display: none;
}

/* icône normale */
.theme-btn .icon-default {
  display: block;
}

/* quand actif → on switch */
.theme-btn.active .icon-default {
  display: none;
}

.theme-btn.active .icon-active {
  display: block;
}

.contact-btn {
  margin-right: 30px;
}

.header-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-toggles {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

/* CONTAINER */
.lang-switch,
.theme-switch {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 3px;
}

/* BUTTONS */
.theme-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-switch button:hover img {
  transform: scale(1.1);
}

.lang-switch a,
.theme-switch button {
  border: none;
  background: none;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;

  color: #e2e8f0;
  opacity: 0.6;

  transition: all 0.25s ease;
}

/* HOVER */
.lang-switch a:hover,
.theme-switch button:hover {
  opacity: 1;
}

/* ACTIVE */
.lang-switch a.active,
.theme-switch button.active {
  background: #38bdf8;
  color: #0f172a;
  opacity: 1;
}

/* =========================
   HOME ICON
========================= */

.home-icon img {
  height: 18px;
  display: none;
}

.home-icon {
  display: flex;
  align-items: center;
  position: relative;
  top: -2px; /* Régler la hauteur de l'icone "Accueil" */
}

.main-nav a.active.home-icon img {
  transform: scale(1.2);
}

.home-icon:hover img {
  transform: scale(1.1);
}

.home-icon .icon-dark {
  display: block;
}

body.light-mode .home-icon .icon-dark {
  display: none;
}

body.light-mode .home-icon .icon-light {
  display: block;
}

/* =========================
   CACHER H1 (pour SEO)
========================= */

.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;
}

/* =========================
   BANDEAU NAV (sous Header)
========================= */

.project-nav {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  margin-top: -1px;
  z-index: 90;

  display: flex;
  justify-content: center;
  gap: 30px;

  padding: 10px 20px;

  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(10px);
}

.project-nav a {
  color: #e2e8f0;
  text-decoration: none;
  opacity: 0.6;
}

.project-nav a.active {
  color: #38bdf8;
  opacity: 1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* ajuste selon header */
}

.project-nav-mobile {
  display: none;
}

/* ligne horizontale */
.project-nav-line {
  width: 70px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* ligne verticale */
.project-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 10px;
}

/* état normal */
.project-nav a {
  font-size: 1rem;
  transition: font-size 0.3s ease;
}

/* état scroll */
body.page-scrolled .project-nav a {
  font-size: 0.9rem;
}


/* =========================
   ACCUEIL
========================= */

/* Bannière accueil */
.home-hero-banner {
  height: 90vh;
  position: relative;

  background: url("../img/img_bg_home.webp") center/cover no-repeat;
}

/* overlay sombre + blur subtil */
.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.5),
    rgba(15,23,42,0.7)
  );

  display: flex;
  align-items: flex-start;
}

/* contenu */
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  flex-direction: column;
  gap: 30px;

  opacity: 0;
  transform: translateY(20px);
  animation: heroContentFade 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* lignes hero */
.hero-lines span {
  display: block;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;

  transform: translateY(20px);
  animation: heroFade 0.8s ease forwards;
}

@keyframes heroContentFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* effet subtil */
.hero-lines span:nth-child(2) {
  opacity: 0.9;
}

.hero-lines span:nth-child(3) {
  opacity: 0.8;
}

/* texte */
.hero-text {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;

  opacity: 0;
  animation: heroContentFade 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-text span {
  display: block;
  margin-bottom: 14px;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.6),
    rgba(15,23,42,0.85)
  );
}

/* boutons CV + Linkedin + Indeed */
.hero-buttons {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 10px;

  opacity: 0;
  animation: heroContentFade 0.8s ease forwards;
  animation-delay: 0.9s;
}

/* boutons communs */
.hero-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;
  border-radius: 999px;

  text-decoration: none;
  font-size: 0.9rem;

  transition: all 0.25s ease;
}

/* icônes */
.hero-buttons img {
  width: 20px;
  height: 20px;
}

/* bouton principal */
.btn-primary {
  background: #38bdf8;
  color: #0f172a;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* boutons secondaires */
.btn-secondary {
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.09);
  color: #e2e8f0;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* flèche bas hero */
.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  opacity: 0.9;
  transition: all 0.3s ease;
}

.hero-scroll img {
  width: 50px;
  height: auto;
}

.hero-scroll.hidden {
  opacity: 0;
  transform: translate(-50%, 10px);
}

/* Section About */
.home-about-section {
  position: relative;

  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* container */
.about-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo img {
  width: 300px;
  height: 300px;
  object-fit: cover;

  border-radius: 50%;

  box-shadow: 0 10px 40px rgba(0,0,0,0.3);

  transition: transform 0.4s ease;
}

.about-photo img:hover {
  transform: scale(1.02);
}

.about-text {
  max-width: 600px;
}

.about-text p {
  margin-bottom: 18px;
  line-height: 1.75;
  font-size: 0.95rem;
  opacity: 0.85;
}

.about-text p + p {
  margin-top: 10px;
}

.about-intro {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.95;
}

.about-outro {
  margin-top: 20px;
  font-weight: 500;
  opacity: 0.95;
}

/* Animation scroll about */
/* PHOTO */
.about-photo {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.about-photo.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TEXTE */
.about-text {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.about-text.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

/* titre section slider */
.home-projects-header {
  text-align: center;
  margin: 80px 0 10px 0;
}

.home-projects-header h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.85;

  position: relative;
  display: inline-block;
}

/* trait */
.home-projects-header h2::after {
  content: "";
  display: block;

  width: 60px;
  height: 2px;

  margin: 12px auto 0;

  background: rgba(255,255,255,0.3);
}

/* Slider projets accueil */
.home-projects-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

/* wrapper */
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* slides container */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* slide */
.slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

/* image */
.slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay sombre */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.4),
    rgba(15,23,42,0.8)
  );

  z-index: 1;
}

/* textes slider */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 800px;

  text-align: center;
  color: white;

  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap : 18px;
}

.slide-content h3 {
  font-size: 2.1rem;
  line-height: 1.8;
  font-weight: 600;

  opacity: 0.9;
  text-shadow: 0 0 10px rgba(0,0,0,1.2);
}

.slide-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.6;
}

.slide-logo {
  width: auto;
  height: 112px;

  margin-bottom: 40px;
  opacity: 0.9;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 15px;
  padding: 10px 18px;

  border-radius: 999px;

  text-decoration: none;
  font-size: 0.85rem;

  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.09);
  color: #e2e8f0;

  transition: all 0.25s ease;
}

.slide-btn:hover {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;

  transform: scale(1.05);
}

/* flèches côtés slider */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  border: none;
  cursor: pointer;

  z-index: 5;
}

/* forcer les flèches en blanc */
.slider-btn img {
  display: block;
  width: 50px;
  height: auto;

  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;

  opacity: 0.8;
  filter: brightness(0) invert(1);
}

/* rotation asset flèche*/
.prev img {
  transform: rotate(90deg);
}

.next img {
  transform: rotate(-90deg);
}

.prev { left: 260px; }
.next { right: 260px; }

.slider-btn.prev:hover img {
  transform: rotate(90deg) scale(1.2);
  opacity: 1;
}

.slider-btn.next:hover img {
  transform: rotate(-90deg) scale(1.2);
  opacity: 1;
}

/* points bas slider */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 14px;

  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.dot.active {
  background: white;
}

/* Animation scroll titre + slider */
.home-projects-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.home-projects-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.home-projects-slider {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.home-projects-slider.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}


/* =========================
   PROJECTS
========================= */

.projects {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

.project-content {
  max-width: 1200px;
  margin: auto;
  padding: 20px 20px;
}

/* HERO */
.project-hero {
  width: 100%;
  height: var(--hero-height);
  position: relative;
  overflow: hidden;
}

/* BACKGROUND */
.parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.parallax-bg img {
  width: 100%;
  height: 110%;
  object-fit: cover;
}

/* ASSOMBRIR L'OVERLAY */
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* CONTENT */
.project-hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  text-align: center;
  color: white;

  padding-bottom: 40px; /* espacement en bas de l'image */
}

/* LOGO */
.studio-logo-container {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

  width: 240px;
  height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* TEXT */
.project-desc {
  font-family: 'Open Sans', sans-serif;
  font-weight: 900;
  font-size: x-large;
  max-width: 600px;
  line-height: 2.6;
  opacity: 0.9;
  margin: 0 auto;
  text-align: center;
}

.project-desc p {
  margin: 4px 0;
}

.project-desc h2 {
  margin: 6px 0;
  line-height: 1.1;
}

/* SECTIONS */
.project-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-section img {
  width: 100%;
  border-radius: 12px;
}

.project-section.reverse {
  direction: rtl;
}

.project-section.reverse * {
  direction: ltr;
}

/* PAIR LAYOUT */
.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.project-pair .text {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;

  padding: 20px 28px;
  
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-pair.reverse {
  direction: rtl;
}

.project-pair.reverse * {
  direction: ltr;
}

.project-pair img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;

  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);

  transition: transform 0.4s ease;
}

.project-pair img:hover {
  transform: scale(1.02);
}

.project-pair:last-of-type {
  margin-bottom: 0;
}

/* TEXT SPACING */
.project-pair h3 {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  opacity: 0.6;
  margin-top: 30px;
  margin-bottom: 15px;
}

.project-pair p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

.project-pair ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.project-pair li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;

  font-size: 0.95rem;
  line-height: 1.7;
}

.project-pair li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;

  width: 10px;
  height: 1px;

  background: rgba(255, 255, 255, 0.9);
}

/* TITRES VIDEO */
.video-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 900;
  padding-bottom: 15px;
}

/* VIDEO FULL WIDTH */
.video-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 600;
}

.project-video {
  width: 100%;
  margin: 60px 0 200px 0; /*modifier marges haute, basse et gauche encart vidéo projet*/

  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-video iframe {
  width: min(70%, 1200px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

/* LIENS ARTICLES PRESSE */
.project-press {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.press-card {
  width: 320px;
  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);

  border-radius: 12px;
  overflow: hidden;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.press-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.press-info {
  padding: 15px;
  text-align: left;
}

.press-source {
  font-size: 0.8rem;
  opacity: 0.6;
  margin : 0;
}

.press-title {
  font-size: 0.95rem;
  margin-top: 5px;
}

/* IMAGE CONCLUSION PROJET */
.project-image {
  max-width: 800px;
  margin: 0 auto;
}

.project-image img {
  width: 100%;
  border-radius: 12px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);

  transition: transform 0.3s ease;
}

.project-image img:hover {
  transform: scale(1.02);
}

/* ANIMATION SCROLL */
/* HERO animation */
.project-hero {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-pair,
.project-video {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-pair.visible,
.project-video.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-pair,
.project-video {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-pair.visible,
.project-video.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-pair:nth-child(1) { transition-delay: 0.1s; }
.project-pair:nth-child(2) { transition-delay: 0.2s; }
.project-video { transition-delay: 0.3s; }


/* =========================
   COMPETENCES PARCOURS
========================= */

.skills-hero {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 40px 50px;

  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* forcer le cadre à garder de la marge sur les côté en dessous d'une certaine taille d'écran */
#parcours1 {
  padding-left: 20px;
  padding-right: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* TITRES */
.skills-heading {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;

  margin-bottom: 20px;

  color: rgba(255,255,255,0.5);

  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Icones titres */
.skills-column:nth-child(1) .skills-heading::before {
  content: "";
  width: 20px;
  height: 20px;

  background: url("/icons/icon_skill_gestion.png") no-repeat center;
  background-size: contain;
  opacity: 0.7;

  display: inline-block;
}

.skills-column:nth-child(2) .skills-heading::before {
  content: "";
  width: 20px;
  height: 20px;

  background: url("/icons/icon_skill_numerique.png") no-repeat center;
  background-size: contain;
  opacity: 0.7;

  display: inline-block;
}

.skills-column:nth-child(3) .skills-heading::before {
  content: "";
  width: 20px;
  height: 20px;

  background: url("/icons/icon_skill_management.png") no-repeat center;
  background-size: contain;
  opacity: 0.7;

  display: inline-block;
}

.skills-certifications .skills-heading::before {
  content: "";
  width: 20px;
  height: 20px;

  background: url("/icons/icon_skill_certification.png") no-repeat center;
  background-size: contain;
  opacity: 0.7;

  display: inline-block;
}

/* LISTE */
.skills-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-column li {
  font-size: 0.9rem;
  line-height: 1.6;

  margin-bottom: 8px;

  color: rgba(255,255,255,0.85);
}

/* petit trait subtil */
.skills-column li::before {
  content: "— ";
  opacity: 0.4;
}

/* Animation apparition */
.skills-column {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.6s ease,
    transform 0.6s ease;
}

.skills-column.visible {
  opacity: 1;
  transform: translateY(0);
}

/* décalage progressif */
.skills-column:nth-child(1) { transition-delay: 0.1s; }
.skills-column:nth-child(2) { transition-delay: 0.2s; }
.skills-column:nth-child(3) { transition-delay: 0.3s; }

/* certifications*/
.skills-certifications {
  margin: 40px auto 0 auto;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,0.06);

  max-width: 330px;
}

/* contenu NON centré */
.skills-certifications h3,
.skills-certifications ul {
  text-align: left;
}

/* liste normale */
.skills-certifications ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-certifications li {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 6px;

  color: rgba(255,255,255,0.7);
}

/* animation certifications */
.skills-certifications {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* visible */
.skills-certifications.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   TIMELINE PARCOURS
========================= */

.timeline-wrapper {
  position: relative;
  padding-top: 20px;
  padding-bottom: 50px;
}

.parcours-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.85;
}

.parcours-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  margin: 12px auto 0;
  background: currentColor;
  opacity: 0.3;
}

/* ligne verticale (timeline) */
.project-content {
    padding-left: 10px;
    padding-right: 10px;
  }

.timeline-wrapper::before {
  content: "";
  position: absolute;

  top: 0;
  bottom: 0;
  left: 50%;

  width: 2px;
  background: rgba(255,255,255,0.2);

  transform: translateX(-50%);
}

/* points sur la ligne */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 10px;
  height: 10px;
  background: #38bdf8;
  border-radius: 50%;
  transform: translateX(-50%);
}

/* cadres timeline */
.timeline-item {
  position: relative;
}

.timeline-item .text {
  padding: 30px;
  border-radius: 16px;
  position: relative;

  backdrop-filter: blur(4px);
}

.timeline-item h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.timeline-item p {
  opacity: 0.85;
}

/* ombrages textes cadres */
.timeline-item .text h3,
.timeline-item .text h4 {
  text-shadow: 0 2px 10px rgba(0,0,0,1.1);
}

.timeline-item .text p,
.timeline-item .text li {
  text-shadow: 0 1px 5px rgba(0,0,0,0.9);
}

/* images background cadres timeline (1 image par cadre) */
.timeline-lascaux .text {
  --bg-image: url("../img/img-bg-lascaux.webp");
}

.timeline-nodova .text {
  --bg-image: url("../img/img-bg-nodova.webp");
}

.timeline-asobo .text {
  --bg-image: url("../img/img-bg-asobo.webp");
}

.timeline-gameloftm .text {
  --bg-image: url("../img/img-bg-gameloftm.webp");
}

.timeline-gameloftg .text {
  --bg-image: url("../img/img-bg-gameloftg.webp");
}

/* couleur triangles timeline (1 couleur par cadre) */
.timeline-lascaux {
  --triangle-color: #3e4657;
}

.timeline-nodova {
  --triangle-color: #33323d;
}

.timeline-asobo {
  --triangle-color: #454c59;
}

.timeline-gameloftm {
  --triangle-color: #3f424d;
}

.timeline-gameloftg {
  --triangle-color: #181c2e;
}

/* image en background cadres (gauche) + dégradé */
.timeline-item:not(.reverse) .text {
  background-image:
    linear-gradient(
      to right,
      var(--timeline-overlay-strong) var(--gradient-stop-1),
      var(--timeline-overlay) var(--gradient-stop-2),
      rgba(0,0,0,0) var(--gradient-stop-3)
    ),
    var(--bg-image);

  background-size:
    100% 100%,   /* gradient */
    cover;       /* image */

  background-position:
    0 0,         /* gradient */
    center;      /* image */

  background-repeat: no-repeat;

  margin-right: 20px;
}

/* image en background cadres (droite) + dégradé */
.timeline-item.reverse .text {
  background-image:
    linear-gradient(
      to left,
      var(--timeline-overlay-strong) var(--gradient-stop-1),
      var(--timeline-overlay) var(--gradient-stop-2),
      rgba(0,0,0,0) var(--gradient-stop-3)
    ),
    var(--bg-image);

  background-size:
    100% 100%,
    cover;

  background-position:
    0 0,
    center;

  background-repeat: no-repeat;

  margin-left: 20px;
}

/* modifs police spécifiques cadres timeline */
.timeline-subtitle {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;

  margin-top: 30px;
  margin-bottom: 12px;
  margin-left: -16px;
}

.timeline-item li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

.timeline-item p {
  line-height: 1.6;
}

.timeline-item ul {
  margin-top: 10px;
}

/* dates timeline */
.timeline-date {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 8px;
  text-align: center;
}

/* triangles liaison point timeline - cadre (gauche) */
.timeline-item:not(.reverse) .text::before {
  content: "";
  position: absolute;
  top: 18px;
  right: -20px;
  width: 0;
  height: 0;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 20px solid var(--triangle-color, rgba(255,255,255,0.18));
}

/* triangles liaison point timeline - cadre (droite) */
.timeline-item.reverse .text::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -20px;
  width: 0;
  height: 0;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 20px solid var(--triangle-color, rgba(255,255,255,0.18));
}


/* =========================
   DIPLOMES PARCOURS
========================= */

.studies-hero {
  max-width: 900px;
  margin: 0 auto 80px auto;
  padding: 0 40px;

  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* forcer le cadre à garder de la marge sur les côté en dessous d'une certaine taille d'écran */
#parcours3 {
  padding-left: 20px;
  padding-right: 20px;
}

/* liste */
.studies-list {
  display: flex;
  flex-direction: column;
}

/* item */
.studies-item {
  position: relative;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-right: 160px;
}

/* logo école */
.studies-logo {
  position: absolute;
  top: 20px;
  right: 0;

  width: 140px;
  height: auto;

  filter: none;
  opacity: 0.7;
}

/* enlever la ligne du dernier */
.studies-item:last-child {
  border-bottom: none;
}

/* texte principal */
.studies-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 10px 0;

  color: rgba(255,255,255,0.85);
}

/* matières */
.studies-topics {
  font-size: 0.85rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.6);
}

/* date */
.studies-date {
  font-size: 0.8rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.4);
}

/* animation diplomes */
.studies-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.studies-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* décalage progressif */
.studies-item:nth-child(1) { transition-delay: 0.1s; }
.studies-item:nth-child(2) { transition-delay: 0.2s; }
.studies-item:nth-child(3) { transition-delay: 0.3s; }


/* =========================
   LANGUES PARCOURS
========================= */

/* réduire taille drapeaux (par rapport à logos écoles) */
#parcours4 .studies-logo {
  width: 80px;
  height: auto;

  padding-top: 15px;

  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}


/* =========================
   FOOTER
========================= */

.main-footer {
  padding: 30px 20px;
  text-align: center;

  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(10px);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #38bdf8;
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.back-to-top {
  color: #38bdf8;
  text-decoration: none;
}

.back-to-top:visited {
  color: #38bdf8;
}

body.light-mode .back-to-top {
  color: #2563eb;
}


/* ============================
   VARIABLES UNIQUEMENT DESKTOP
============================ */

/*@media (min-width: 769px) { <-- Ratio par défaut pour mobile */
@media (min-width: 1125px) { 

  /* TIMELINE PARCOURS */
  /* Bloc le plus en haut : marge top différente */
  body.page-parcours .timeline-item:first-child {
    margin-top: 0;
  }

  /* marges spécifiques timeline en desktop */
  body.page-parcours .timeline-item {
    margin-bottom: -150px;
  }

  body.page-parcours .timeline-item.reverse {
    margin-top: -150px;
  }

  /* Bloc le plus en bas : marge bottom différente */
  body.page-parcours .timeline-item:last-child {
    margin-bottom: 0;
  }

}


/* =================================================
   MODIFS HEADER POUR LARGEURS ECRANS INTERMEDIAIRES
================================================= */

@media (max-width: 1124px) and (min-width: 769px) {

  /* HEADER */
  .main-header {
    height: 65px;
    align-items: center;
  }

  .site-name {
    white-space: normal;
    line-height: 1.1;
    max-width: 140px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 30px;
  }

  .main-nav a {
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;

    white-space: normal;
    text-align: center;
    line-height: 1.2;

    max-width: 60px;
  }

  .header-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }

  .contact-btn {
    order: 1;

    max-width: 66px;
    justify-content: center;
    text-align: center;

    padding: 6px 12px;
    font-size: 0.85rem;
    margin-right: 20px;
  }

  .header-toggles {
    order: 2;

    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
  }

  .lang-switch a,
  .theme-switch button {
    padding: 4px 8px;
    font-size: 0.75rem;
  }

  /* PROJECT NAV */
  .project-nav {
  top: 82px;
  }

  .project-nav a {
    font-size: 0.9rem;
  }

  body.page-scrolled .project-nav a {
  font-size: 0.82rem;
  }

  /* Flèches slider accueil */
  .prev { left: 45px; }
  .next { right: 45px; }

}


/* =========================
   MOBILE (RESPONSIVE)
========================= */

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.5rem;
  color: #e2e8f0;
  cursor: pointer;
}

.menu-toggle:hover {
  opacity: 0.8;
}

/* MOBILE */
@media (max-width: 768px) { /* 768px <-- Ratio par défaut pour mobile */
/*@media (max-width: 1050px) {*/

  :root {
    --hero-height: 280px;
  }


  /* =========================
    MOBILE HEADER
  ========================= */

  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    position: sticky;
    top: 0;
    height: auto;
    min-height: var(--header-height);
  }

  .menu-toggle {
    display: block;
  }

  .header-controls {
    align-items: flex-start !important;
    justify-content: flex-start;
    width: 100%;
  }

  .header-controls .contact-btn {
    margin-bottom: 30px;
  }

  .header-toggles {
    flex-direction: column;
    align-items: center;
  }

  /* NAV + TOGGLES (animation propre) */
  .main-nav,
  .header-controls {
    width: 100%;
    overflow: hidden;

    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;

    transition: 
      transform 0.5s cubic-bezier(0.22,1,0.36,1),
      opacity 0.25s ease;
  }

  .main-header.open {
    background: rgba(15,23,42,0.75);
    backdrop-filter: blur(10px);
  }

  .main-header.open .main-nav,
  .main-header.open .header-controls {
    transform: scaleY(1);
    opacity: 1;
  }

  /* NAV */
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 25px;
    position: relative; /* 🔥 ancrage pour le menu projets */
  }

  .main-nav a {
    padding: 6px 0;
  }


  /* =========================
     PROJECT NAV MOBILE
  ========================= */

  .project-nav-mobile {
    position: absolute;
    left: 120px;

    display: none;
    align-items: flex-start;
    gap: 10px;
  }

  body.page-parcours .project-nav-mobile { /* Ajustement hauteur projets dans menu mobile page parcours */
    top: 113px;
  }

  body.page-pro .project-nav-mobile { /* Ajustement hauteur projets dans menu mobile page projets pro */
    top: 149px;
  }

  body.page-perso .project-nav-mobile { /* Ajustement hauteur projets dans menu mobile page projets perso */
    top: 185px;
  }

  .main-header.open .project-nav-mobile {
    display: flex;
  }

  /* ligne horizontale */
  .project-nav-line {
    /*width: 70px;*/
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin-top: 12px;
  }

  body.page-parcours .project-nav-line {
    width: 100px;
  }

  body.page-pro .project-nav-line {
    width: 100px;
  }

  body.page-perso .project-nav-line {
    width: 100px; /* plus long si EN déborde */
  }

  /* liste */
  .project-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 10px;
  }

  .project-nav-list a {
    color: #e2e8f0;
    text-decoration: none;
    opacity: 0.7;
  }

  .project-nav-list a.active {
    color: #38bdf8;
    opacity: 1;
  }

  .nav-pro {
    position: relative;
  }


  /* =========================
     TOGGLES MOBILE
  ========================= */

  .header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .lang-switch,
  .theme-switch {
    display: inline-flex;
    justify-content: flex-start;
  }

  /* espace entre nav et toggles */
  .main-header.open .main-nav {
    margin-bottom: 25px;
  }


  /* ===========================
    ACCUEIL MOBILE
  =========================== */

  .home-hero-banner {
    height: 90vh;
    min-height: 600px;

    display: flex;
    align-items: center;

    padding: 0;
    margin: 0;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-lines span {
    font-size: 2.5rem;
    letter-spacing: -2.5px;

    margin-top: 4px;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-buttons {
    gap: 12px;

    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    font-size: 0.85rem;
  }

  .btn-primary {
    margin-bottom: 30px;
  }

  .hero-scroll {
    bottom: 10px;
  }

  .hero-scroll img {
    width: 40px;
  }

  /* section about */
  .home-about-section {
    padding: 60px 20px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .about-photo img {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .about-text {
    max-width: 100%;
    text-align: left;
    padding: 0 10px;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* slider projets */
  .home-projects-slider {
    height: 50vh;
  }

  .slide-content {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-bottom: 60px;
  }

  .slider-btn img {
  width: 30px;
  height: auto;
  }

  .slide-logo {
    width: auto;
    height: 50px;
    margin-bottom: 15px;
  }

  .slide-content h3 {
    font-size: 1.2rem;
    letter-spacing: -0.4px;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .prev { left: 20px; }
  .next { right: 20px; }

  .slider-dots {
    gap: 10px;
    bottom: 30px;
  }

  .dot {
  width: 10px;
  height: 10px;
  }


  /* ===========================
    PROJETS MOBILE
  =========================== */

  /* cacher bandeau desktop */
  .project-nav {
    display: none;
  }

  .main-header {
    height: var(--header-height);
  }

  .main-header.open {
    height: auto;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    padding-bottom: 30px;
  }

  /* BLOCS TEXTE + IMAGE */
  .project-pair {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-pair.reverse {
    direction: ltr;
  }

  /* TEXTE */
  .project-pair .text {
    font-size: 0.9rem;
  }

  .project-pair h3 {
    font-size: 1.1rem;
  }

  /* IMAGES */
  .project-pair img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
  }

  /* TITRE VIDEO */
  .video-title {
    font-size: 1rem;
  }

  /* VIDEO */
  .project-video iframe {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  /* LOGO HERO */
  .studio-logo-container {
    width: 120px;
    height: 90px;
    top: 5px;
  }

  .studio-logo {
    max-width: 120%;
    max-height: 120%;
  }

  /* HERO TEXTE */
  .project-desc {
    font-size: 1rem;
    line-height: 1.2;
    padding: 0 15px;
  }

  /* descendre le texte */
  .project-hero .overlay {
    padding-bottom: 20px;
  }

  /* TITRE HERO */
  .project-desc h2 {
    font-size: 1.4rem;
  }


  /* ===========================
    COMPETENCES PARCOURS MOBILE
  =========================== */

  .skills-hero {
    padding: 30px 20px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .skills-heading {
    font-size: 0.8rem;
    margin-bottom: 18px;
  }

  .skills-column li {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .skills-certifications {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }


  /* ===========================
    TIMELINE PARCOURS MOBILE
  =========================== */

  .parcours-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  /*ligne verticale*/
  .timeline-wrapper::before {
    top : 10px;
    left: 16px;
    bottom : 80px;
    transform: none;
  }

  /*pas de chevauchement des tuiles en mode mobile*/
  body.page-parcours .timeline-item {
    margin-top: -20px;
    margin-bottom: 30px;
  }

  body.page-parcours .timeline-item.reverse {
    margin-top: -20px;
    margin-bottom: 30px;
  }

  /* points*/
  .timeline-item::after {
    left: 17px;
    transform: translateX(-50%);
  }

  /* reset layout project-pair */
  .project-pair {
    grid-template-columns: 1fr;
  }

  .project-content {
    padding-left: 0;
  }

  /* cadres */
  .timeline-item .text {
    text-align: left;
  }

  .timeline-item:not(.reverse) .text {
    background-image:
      linear-gradient(
        to left,
        var(--timeline-overlay-strong) var(--gradient-stop-1),
        var(--timeline-overlay) var(--gradient-stop-2),
        rgba(0,0,0,0) var(--gradient-stop-3)
      ),
      var(--bg-image);

    background-size:
      100% 100%,
      cover;

    background-position:
      0 0,
      center;

    background-repeat: no-repeat;

    margin-left: 60px;
    margin-right: 0;
  }

  .timeline-item.reverse .text {
    margin-left: 60px;
  }

  /* reset configuration triangles et cadres à gauche (desktop */
  .timeline-item:not(.reverse) .text::before,
  .timeline-item.reverse .text::before {
    left: -20px;
    right: auto;

    border-left: none;
    border-right-width: 20px;
    border-right-style: solid;
  }

  /* triangles */
  .timeline-item .text::before {
    content: "";
    position: absolute;
    top: 18px;

    width: 0;
    height: 0;

    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: var(--triangle-color);
  }

  /* couleur triangles timeline (1 couleur par triangle) */
  .timeline-lascaux {
    --triangle-color: #454a52;
  }

  .timeline-nodova {
    --triangle-color: #2c2a33;
  }

  .timeline-asobo {
    --triangle-color: #454c59;
  }

  .timeline-gameloftm {
    --triangle-color: #3b3c47;
  }

  .timeline-gameloftg {
    --triangle-color: #0d132e;
  }


  /* ===========================
    DIPLOMES PARCOURS MOBILE
  =========================== */

  /* logo école */
  #parcours3 .studies-logo {
    right: -10px;
    width: 100px;
  }

  .studies-item .skills-heading{
    padding-right: 120px;
  }

  .studies-item {
    padding-right: 0;
  }

  /* réduire taille drapeaux (par rapport à logos écoles) */
  #parcours4 .studies-logo {
    width: 60px;

    padding-top: 18px;
  }

}


/* =========================
   LIGHT MODE
========================= */

body.light-mode {
  background: #f8fafc;
  color: #0f172a;
}

body.light-mode .main-header {
  background: rgba(255,255,255,0.85);
}

body.light-mode .main-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

body.light-mode .main-nav a {
  color: #0f172a;
}

body.light-mode .main-nav a.active {
  color: #2563eb;
}

body.light-mode .lang-switch,
body.light-mode .theme-switch {
  background: rgba(0,0,0,0.08);
}

body.light-mode .lang-switch a,
body.light-mode .theme-switch button {
  color: #0f172a;
}

body.light-mode .menu-toggle {
  color: #0f172a;
}

body.light-mode .project-nav {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

body.light-mode .project-nav a {
  color: #0f172a;
  opacity: 0.6;
}

body.light-mode .project-nav a.active {
  color: #2563eb;
  opacity: 1;
}

body.light-mode .project-nav-list a {
  color: #0f172a;
  opacity: 0.7;
}

body.light-mode .project-nav-list a.active {
  color: #2563eb;
  opacity: 1;
}

/* lignes menu hamburger (mobile) */
body.light-mode .project-nav-line {
  background: rgba(0,0,0,0.5);
}

body.light-mode .project-nav-list {
  border-left: 1px solid rgba(0,0,0,0.5);
}

body.light-mode .main-header.open {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
}

body.light-mode .main-footer {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
}

body.light-mode .main-footer p {
  color: #0f172a;
}

body.light-mode .site-name {
  color: #0f172a8c;
}

/* accueil */
body.light-mode .home-hero-banner {
  color: #e2e8f0;
}

body.light-mode .hero-text {
  color: #e2e8f0;
  opacity: 0.9;
}

body.light-mode .hero-lines span {
  color: #e2e8f0;
}

body.light-mode .btn-secondary {
  border: 2px solid rgba(255,255,255,0.3);
  color: #e2e8f0;
}

body.light-mode .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

/* compétences parcours */
body.light-mode .skills-hero {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
}

body.light-mode .skills-heading {
  color: rgba(0,0,0,0.4);
}

body.light-mode .skills-column li {
  color: rgba(0,0,0,0.85);
}

body.light-mode .skills-heading::before {
  filter: invert(1);
}

/* certifications*/
body.light-mode .skills-certifications {
  border-top: 1px solid rgba(0,0,0,0.08);
}

body.light-mode .skills-certifications li {
  color: rgba(0,0,0,0.7);
}

/* timeline parcours */
body.light-mode .timeline-wrapper::before {
  background: rgba(0,0,0,0.2);
}

body.light-mode .timeline-item .text {
  color: white;
}

/* diplomes parcours */
body.light-mode .studies-hero {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
}

body.light-mode #parcours3 .studies-logo {
  filter: invert(1);
}

body.light-mode .studies-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

body.light-mode .studies-item p {
  color: rgba(0,0,0,0.85);
}

body.light-mode .studies-topics {
  color: rgba(0,0,0,0.6);
}

body.light-mode .studies-date {
  color: rgba(0,0,0,0.4);
}

/* langues parcours */
body.light-mode #parcours4 .studies-logo {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

/* tirets cadres projets */
body.light-mode .project-pair li::before {
  background: rgba(0, 0, 0, 0.9);
}

/* liens article de presse (projets) */
body.light-mode .press-card {
  background: rgba(255,255,255,0.9);
}

body.light-mode .press-source {
  color: rgba(0,0,0,0.6);
}

/* image conclusion projet */
body.light-mode .project-image img {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}