@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@200;400;600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: sans-serif;
}

body {
  margin: 0;
}

aside,
main,
nav,
section {
  display: block;
}

.main {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(238, 0, 0, 0.64), rgba(28, 28, 28, 0.64)), url('./grid-top-right.svg'), linear-gradient(rgba(28, 28, 28, 0.24), rgba(28, 28, 28, 0.24));
  background-position: 0 0, 0 0, 0 0;
  background-size: auto, auto 1130px, auto;
  flex-direction: column;
  align-items: center;
  padding: 60px 80px 120px; /* increased padding for wider layout */
  display: flex;
  overflow: auto;
}

img {
  border: 0;
}

@font-face {
  font-family: webflow-icons;
  src: url('data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBiUAAAC8AAAAYGNtYXDpP+a4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZmhS2XEAAAGAAAADHGhlYWQTFw3HAAAEnAAAADZoaGVhCXYFgQAABNQAAAAkaG10eCe4A1oAAAT4AAAAMGxvY2EDtALGAAAFKAAAABptYXhwABAAPgAABUQAAAAgbmFtZSoCsMsAAAVkAAABznBvc3QAAwAAAAAHNAAAACAAAwP4AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAQAAAAAwACAACAAQAAQAg5gPpA//9//8AAAAAACDmAOkA//3//wAB/+MaBBcIAAMAAQAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBIAAAAyADgAAFAAAJ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AAAAAAAAAgAAAAQAASAEAADgBAAAwAQAAJ0EAP/9BAAAAAQAAAAFtwAAAAAAAAAKABQAHgAyAEYAjACiAL4BFgE2AY4AAAABAAAADAA8AAMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADQAAAAEAAAAAAAIABwCWAAEAAAAAAAMADQBIAAEAAAAAAAQADQCrAAEAAAAAAAUACwAnAAEAAAAAAAYADQBvAAEAAAAAAAoAGgDSAAMAAQQJAAEAGgANAAMAAQQJAAIADgCdAAMAAQQJAAMAGgBVAAMAAQQJAAQAGgC4AAMAAQQJAAUAFgAyAAMAAQQJAAYAGgB8AAMAAQQJAAoANADsd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  color: #333;
  background-color: #fff;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.w-button {
  color: #fff;
  line-height: inherit;
  cursor: pointer;
  background-color: #3898ec;
  border: 0;
  border-radius: 0;
  padding: 9px 15px;
  text-decoration: none;
  display: inline-block;
}

h1,
h3,
h4 {
  margin-bottom: 10px;
  font-weight: bold;
}

h1 {
  margin-top: 20px;
  font-size: 38px;
  line-height: 44px;
}

h3 {
  margin-top: 20px;
  font-size: 24px;
  line-height: 30px;
}

h4 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 24px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

ul {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

@media screen and (max-width: 767px) {
  .w-nav-brand {
    padding-left: 10px;
  }
}

.w-richtext:before,
.w-richtext:after {
  content: ' ';
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

.w-richtext:after {
  clear: both;
}

.w-richtext ul {
  overflow: hidden;
}

.w-nav {
  z-index: 1000;
  background: #ddd;
  position: relative;
}

.w-nav:before,
.w-nav:after {
  content: ' ';
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

.w-nav:after {
  clear: both;
}

.w-nav-brand {
  float: left;
  color: #333;
  text-decoration: none;
  position: relative;
}

.w-nav-menu {
  float: right;
  position: relative;
}

.w-nav-menu.is-open {
  display: block !important;
  position: fixed;
  left: 0;
  right: 0;
  top: 92px;
}

.w-nav-button {
  float: right;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 18px;
  font-size: 24px;
  display: none;
  position: relative;
}

.w-nav-button:focus {
  outline: 0;
}

@media screen and (max-width: 991px) {
  .w-nav[data-collapse='medium'] .w-nav-menu {
    display: none;
  }

  .w-nav[data-collapse='medium'] .w-nav-menu.is-visible {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 92px;
    background: white;
    transform: translateY(-50%);
    opacity: 0;
    transition: transform 250ms ease, opacity 250ms ease;
    will-change: transform, opacity;
  }

  .w-nav[data-collapse='medium'] .w-nav-menu.is-visible.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .w-nav[data-collapse='medium'] .w-nav-button {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .w-nav-brand {
    padding-left: 10px;
  }
}

body {
  color: #ffffff;
  background-color: #ffffff;
  font-family: IBM Plex Sans, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

/* Headbar brand left margin — change this value to move the brand from the left */
:root {
  --headbar-brand-margin-left: 32px;
}

h1 {
  color: #181817;
  letter-spacing: -0.5px;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 58px;
  font-weight: 300;
  line-height: 72px;
}

/* Stronger weight for project titles when desired */
.project-title {
  /* use 600 because IBM Plex Sans is loaded up to 600; 700 may not be available */
  font-size : 100px;
  font-weight: 600; /* visibly bolder but matches available font weights */
}

h3 {
  color: #000000;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 32px;
  font-weight: 400;
  line-height: 42px;
}
h4 {
  color: #000000;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

p {
  color: #000000;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 26px;
}

.content {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* stack header (headbar) above main content */
}

/* Headbar (replaces the previous vertical sidebar) */
.headbar {
  width: 100%;
  background-color: #ffffff;
  
  padding: 20px 0; /* container provides horizontal alignment */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Make the headbar a fixed row height and vertically center brand + links */
.headbar {
  min-height: 56px;
}

.nav-content--headbar {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  flex-wrap: nowrap; /* keep brand and menu on same row */
  display: flex; /* ensure flex layout (overrides global .nav-content) */
}

/* Put the headbar nav inside the page container and force the container to
   layout items on one horizontal row so brand + links never wrap. */
.headbar > .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding-left: var(--headbar-brand-margin-left);
  padding-right: 0;
}

.headbar .nav-content--headbar {
  flex: 1 1 auto; /* occupy remaining space so menu can be right-aligned */
}

.headbar .w-nav-brand h2 {
  margin: 0;
  font-size: 18px;
}

/* Ensure the brand's line-height matches the headbar so it aligns with links */
.headbar .w-nav-brand h2 {
  line-height: 56px;
}

.headbar .w-nav-brand {
  /* override any float rules and enforce left alignment in the headbar */
  float: none !important;
  display: flex;
  align-items: center;
  margin-left: 0; /* use padding on the container for left offset instead */
  max-width: none;
}

/* Force the brand anchor to the same row height and center its text */
.headbar .w-nav-brand {
  height: 56px;
}

.headbar .w-nav-brand h2 {
  line-height: normal; /* remove large line-height, let flex center it */
  margin: 0; /* ensure no top/bottom margin shifts */
  display: inline-block;
}

/* Use container padding to control how far the brand sits from the left edge */
.nav-content--headbar {
  padding-left: var(--headbar-brand-margin-left);
}

/* Lay out the headbar nav links side-by-side */
.headbar .w-nav-menu {
  display: flex !important;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-left: auto; /* push menu to the right */
}

.headbar .nav-link-container {
  display: inline-flex; /* prevent full-width blocks */
  align-items: center;
  padding: 8px 12px;
  background: transparent;
}

/* Force nav links to use the same row height and vertically center their text */
.headbar .nav-link-container {
  height: 56px;
  align-items: center;
}

.headbar .nav-link-container.w--current {
  background-color: rgba(0,0,0,0.08);
}

.sidebar {
  width: 100%;
  height: 100%;
  max-width: 200px;
  background-color: #c4c4c4;
  border-right: 5px solid #59554C;
  padding: 32px;
}

.nav-content {
  width: 100%;
  height: 100%;
  grid-column-gap: 36px;
  grid-row-gap: 36px;
  flex-direction: column;
  display: flex;
}

.label-white {
  color: #59554C;
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 24px;
}

.label-gray {
  color: #59554C;
  font-size: 14px;
  line-height: 22px;
}

.niv-data {
  align-items: center;
  display: flex;
}

.niv-image {
  width: 48px;
  height: 48px;
  border: 1px solid #353535;
  border-radius: 100px;
  margin-right: 12px;
}

.main {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));
  background-position: 0 0, 0 0, 0 0;
  background-size: auto, auto 1130px, auto;
  flex-direction: column;
  align-items: center;
  padding: 46px 48px 82px;
  display: flex;
  overflow: auto;
}

.container {
  width: 100%;
  max-width: 1550px; /* wider content area */
  grid-column-gap: 8px;
  grid-row-gap: 15px;
  flex-direction: column;
  display: flex;
}

.lead {
  max-width: 1000px;
  color: #000000;
  margin-bottom: 0;
  line-height: 23px; /* espace entre les ligne */
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.button {
  color: #fff;
  background-color: #1c1c1c;
  border: 1px solid #363636;
  border-right-color: #353535;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
  transition: all 40ms;
}

.button:hover {
  background-color: #202020;
  box-shadow: 0 2px 4px rgba(8, 8, 8, 0.82);
}

.fold-content {
  margin-bottom: 48px;
}

.mini-label-white {
  color: #59554C;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  margin-top: 24px;
  font-family: IBM Plex Mono, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 24px;
}

.mini-label-white.gray-color {
  color: #59554C;
}

/* chips (technologies) removed — styles left for potential future use */

.single-item {
  font-size: 16px;
}

.resouce-items {
  grid-column-gap: 64px;
  grid-row-gap: 4px;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.items-container {
  flex-direction: column;
  align-items: center;
}

.nav-link-image {
  width: 24px;
  opacity: 0.48;
}

.nav-link-container {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  color: #000000;
  text-transform: capitalize;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 8px;
  justify-content: flex-start;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  display: flex;
}

.nav-link-container.w--current {
  color: #000000;
  background-color: #2b2b2b;
  border-color: #353535;
}

.projects-container {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  align-items: stretch;
  text-decoration: none;
  display: flex;
}

.single-projects-category {
  display: flex;
}

.projects-category-image-container {
  min-height: 180px;
  min-width: 180px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-color: rgba(53, 53, 53, 0.12);
  border: 1px #000;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.24), 0 -1px 1px rgba(255, 255, 255, 0.24);
}

.projects-category-image-container.devops-img {
  background-image: none;
  background-position: 0 0;
}

.single-projects-content {
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.projects-section {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-direction: column;
  display: flex;
}


.back-nav-container {
  color: #000000;
  letter-spacing: 2px;
  text-transform: uppercase;
  align-items: center;
  padding-bottom: 0;
  font-weight: 500;
  display: flex;
}

.back-nav-img {
  width: 18px;
}

.back-nav-button {
  color: #000000;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 8px;
  margin-top: -12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.12s;
  display: flex;
}

.back-nav-button:hover {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-color: rgba(8, 8, 8, 0.24);
}

.project-desc {
  color: #000000;
  line-height: 24px;
}

/* Justify project descriptions and lead paragraphs */
.project-desc,
.lead {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  text-align-last: left; /* keep last line left-aligned */
}

/* Two-column layout for project content: text on the left, media on the right */
.project-content-area {
  display: grid;
  grid-template-columns: 1fr 750px; /* flexible text column + fixed-ish media column */
  gap: 32px;
  align-items: start;
}

.project-media-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.project-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.project-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
}

@media screen and (max-width: 900px) {
  .project-content-area {
    grid-template-columns: 1fr; /* stack on mobile */
  }

  .project-media-grid {
    order: 2; /* keep media after text when stacked */
  }
}

.align {
  text-align: center;

}

.project-desc.project-desc-list {
  margin-left: -24px;
}

.content-container {
  grid-column-gap: 32px;
  grid-row-gap: 32px;
  flex-direction: column;
  display: flex;
}

.projects-category-image {
  width: 82px;
  height: 82px;
}

@media screen and (max-width: 991px) {
  .content {
    flex-direction: column;
  }

  .sidebar {
    height: auto;
    max-width: 100%;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-right: 28px;
  }

  .nav-content {
    height: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .fold-content {
    margin-bottom: 32px;
  }

  .nav-link-container {
    background-color: #1c1c1c;
    border-radius: 0;
    padding: 18px 28px 18px 32px;
  }

  .nav-link-container:active {
    color: #fff;
    background-color: #2b2b2b;
  }

  .navbar-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    font-size: 32px;
  }

  .navbar-icon-button {
    padding: 12px;
    transition: all 0.24s;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 54px;
    line-height: 64px;
  }

  h4 {
    font-size: 32px;
    font-weight: 300;
    line-height: 48px;
  }

  .sidebar {
    padding-left: 24px;
    padding-right: 18px;
  }

  .main {
    padding-left: 28px;
    padding-right: 28px;
  }

  .container {
    grid-column-gap: 68px;
    grid-row-gap: 68px;
  }

  .fold-content {
    margin-bottom: 24px;
  }

  .nav-link-container {
    padding-left: 24px;
    padding-right: 18px;
  }

  .projects-container {
    flex-direction: column;
  }

  .projects-category-image-container {
    min-height: 124px;
    min-width: 124px;
    margin-bottom: -42px;
    position: relative;
  }

  .single-projects-content {
    position: relative;
    top: 1.75rem;
  }

  .projects-section {
    grid-column-gap: 68px;
    grid-row-gap: 68px;
  }

  .projects-category-image {
    width: 64px;
    height: 64px;
  }
}

/* Project prev/next navigation styling */
.project-nav {
  display: flex;
  justify-content: space-between; /* justify links to edges */
  margin-top: 20px;
  gap: 12px;
}
.project-nav a {
  color: #fff; /* white */
  font-weight: 700; /* bolder */
  text-decoration: none;
}
.project-nav a:hover {
  text-decoration: underline;
}

/* Ensure project title links don't turn browser-default blue/purple when visited.
   Use the surrounding heading color and keep underline only on hover. */
.single-item h3 a,
.single-item h3 a:visited {
  color: inherit; /* match the heading color */
  text-decoration: none;
}
.single-item h3 a:hover {
  text-decoration: underline;
}
