/* ———————————————————————————————————————————————————————————————————————————————————————— */
/* ——————————————— DESKTOP OPTIMIZATIONS ——————————————— */
/* ———————————————————————————————————————————————————————————————————————————————————————— */

/* ———————————————————————————————————————————— */
/* ————— RESET ————— */
/* ———————————————————————————————————————————— */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  overflow-x: hidden;
  background-color: #000;
}

.invisible-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.invisible-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* ———————————————————————————————————————————— */
/* ———————————————————————————————————————————— */

/* ———————————————————————————————————————————— */
/* ————— SECTIONS ————— */
/* ———————————————————————————————————————————— */

.section + .section {
  margin-top: 400px;
}

/* Section Hero - Prend toute la hauteur du viewport */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-direction: column;
}

/* Image de fond avec animation d'opacité */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  opacity: 0;
  animation: backgroundFadeIn 1.5s ease-out forwards;
}

/* Contenu principal - suppression de l'animation globale */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Header avec logo - reste fixe, pas d'animation */
.hero-header {
  position: absolute;
  top: 0;
}

.logo {
  width: 100%;
  height: auto;
  margin-bottom: -1rem;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-subtitle {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  font-family: "Work Sans", sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
  opacity: 0.4;
  text-transform: uppercase;
  scale: 0.8;
}

.logo-subtitle span {
  white-space: nowrap;
}

/* Titre principal avec animation */
.hero-title {
  font-family: "Work Sans", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 0px 20px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpElement 0.8s ease-out 1.8s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Description avec animation */
.hero-description {
  font-family: "Work Sans", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 84px;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  max-width: 1200px;
  transform: translateY(30px);
  animation: fadeInUpElement 0.8s ease-out 2.4s forwards;
  margin: 0 24px;
  margin-bottom: 84px;
  text-align: center;
}

/* Bouton CTA avec animation */
.hero-cta {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.95;
  text-transform: uppercase;
  color: #464646;
  background: linear-gradient(
    to bottom,
    rgb(226, 226, 226),
    rgb(153, 153, 153)
  );
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 24px 64px;
  transition: all 0.3s ease;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUpElement 0.8s ease-out 3s forwards;
  text-decoration: none;
}

.hero-cta:hover {
  transform: translateY(-3px);
  color: #000000;
  box-shadow: 0 0px 40px 5px rgba(255, 255, 255, 0.5);
  background: linear-gradient(to bottom, white, rgb(255, 255, 255));
  scale: 1.025;
}

.hero-cta:active {
  scale: 0.975;
  box-shadow: 0 0px 40px 5px rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    to bottom,
    rgb(235, 235, 235),
    rgb(235, 235, 235)
  );
}

/* === NOUVELLES ANIMATIONS D'INTRO === */

/* Animation du background - opacité 0 à 1 */
@keyframes backgroundFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation pour les éléments individuels */
@keyframes fadeInUpElement {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Suppression de l'ancienne animation globale et du parallaxe */

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 48px);
  max-width: auto;
}

.gradient-blur {
  position: fixed;
  z-index: 5;
  inset: auto 0 0 0;
  height: 25%;
  pointer-events: none;
}
.gradient-blur > div,
.gradient-blur::before,
.gradient-blur::after {
  position: absolute;
  inset: 0;
}
.gradient-blur::before {
  content: "";
  z-index: 1;
  backdrop-filter: blur(0.5px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 12.5%,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 0) 37.5%
  );
}
.gradient-blur > div:nth-of-type(1) {
  z-index: 2;
  backdrop-filter: blur(1px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 12.5%,
    rgba(0, 0, 0, 1) 25%,
    rgba(0, 0, 0, 1) 37.5%,
    rgba(0, 0, 0, 0) 50%
  );
}
.gradient-blur > div:nth-of-type(2) {
  z-index: 3;
  backdrop-filter: blur(2px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 1) 37.5%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 62.5%
  );
}
.gradient-blur > div:nth-of-type(3) {
  z-index: 4;
  backdrop-filter: blur(4px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 37.5%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 1) 62.5%,
    rgba(0, 0, 0, 0) 75%
  );
}
.gradient-blur > div:nth-of-type(4) {
  z-index: 5;
  backdrop-filter: blur(8px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 1) 62.5%,
    rgba(0, 0, 0, 1) 75%,
    rgba(0, 0, 0, 0) 87.5%
  );
}
.gradient-blur > div:nth-of-type(5) {
  z-index: 6;
  backdrop-filter: blur(16px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 62.5%,
    rgba(0, 0, 0, 1) 75%,
    rgba(0, 0, 0, 1) 87.5%,
    rgba(0, 0, 0, 0) 100%
  );
}
.gradient-blur > div:nth-of-type(6) {
  z-index: 7;
  backdrop-filter: blur(32px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 75%,
    rgba(0, 0, 0, 1) 87.5%,
    rgba(0, 0, 0, 1) 100%
  );
}
.gradient-blur::after {
  content: "";
  z-index: 8;
  backdrop-filter: blur(64px);
  mask: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 87.5%,
    rgba(0, 0, 0, 1) 100%
  );
}

.container__gradient-blur {
  z-index: 1000;
  user-select: none;
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  position: relative;
}

/* === FOOTER CARD STYLES === */
.footer-section {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 80px 24px;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../images/hero-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(1268px - 48px);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
  margin-bottom: 124px;
}

.footer-header {
  margin: 0;
}

.footer-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-main {
  padding: 100px 200px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 124px;
}

.footer-title {
  font-family: "Work Sans", sans-serif;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -2px;
  color: white;
  text-shadow: 0 0px 20px rgba(255, 255, 255, 0.3);
  max-width: 800px;
  margin: 0;
  margin-bottom: 36px;
  text-align: center;
}

.footer-cta {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #000000;
  background: linear-gradient(
    to bottom,
    rgb(240, 240, 240),
    rgb(200, 200, 200)
  );
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 20px 48px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-cta:hover {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  background: linear-gradient(to bottom, white, rgb(240, 240, 240));
  scale: 1.05;
}

.footer-cta:active {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    to bottom,
    rgb(235, 235, 235),
    rgb(235, 235, 235)
  );
  scale: 0.975;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
  margin-top: 124px;
  flex-direction: column;
  z-index: 5;
}

.footer-links__group-top,
.footer-links__group-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  user-select: none;
}

.footer-links__group {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  min-width: 120px;
}

.nav-title {
  font-family: "Fjalla One", sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.nav-subtitle {
  font-family: "Fjalla One", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-subtitle:hover {
  color: rgba(255, 255, 255, 1);
}

/* Styles pour les éléments cliquables du footer */
.nav-subtitle--clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-subtitle--clickable:hover {
  color: rgba(255, 255, 255, 1);
}

/* === ABOUT SECTION STYLES === */
.about-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex-direction: column;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../../images/lo__section-bg__about-02.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  max-width: 1268px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(100px);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.container__about-card-secondary {
  display: flex;
  flex-direction: row;
  gap: 6px;
  box-sizing: border-box;
}

.about-card {
  background-color: rgba(0, 0, 0, 1);
  border-radius: 6px;
  padding: 40px;
  color: white;
  text-align: center;
}

.about-card--skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center !important;
}

.about-card--secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.about-card--main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  text-align: left;
  overflow: hidden;
  min-height: 180px;
}

.about-card--main--left {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-card--main--right {
  width: 20%;
  display: flex;
  align-items: flex-end;
}

.about-card--main--right--image {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.about-card--main--right--image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(70%);
}

.about-card--main--right--image:hover img {
  transform: translateY(0);
}

.about-card--main h2 {
  font-family: "Work Sans", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.about-card--main p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.about-card--main h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.about-card--main p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}

.about-card--secondary h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.about-card--secondary p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* Styles pour les pilules de compétences */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-top: 12px;
  flex-direction: column;
}

.skill-pill {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.skill-pill:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Styles pour le slider de projets */
.projects-slider {
  margin-top: 16px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.projects-slider::before,
.projects-slider::after {
  content: "";
  height: 350px;
  position: absolute;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}

.projects-slider::before {
  left: 0;
  top: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.projects-slider::after {
  right: 0;
  top: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.slide-track {
  animation: slide-scroll 20s linear infinite;
  display: flex;
  width: calc(80px * 10);
  gap: 12px;
}

.slide {
  height: auto;
  max-width: 300px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

@keyframes slide-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-80px * 5));
  }
}

/* === PROJECTS SECTION STYLES === */
.projects-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background-color: #000;
}

.projects-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1268px;
  display: flex;
  flex-direction: column;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  width: 100%;
}

/* Project card styles moved to assets/css/core/projects.css */

.custom-nav-pill {
  position: fixed;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 32px;
  z-index: 10000;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: grab;
}
.custom-nav-pill:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.12);
}
.custom-nav-pill:active {
  cursor: grabbing;
}
.custom-nav-pill a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  color: #222;
  font-size: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.custom-nav-pill a:hover {
  background: rgba(0, 0, 0, 0.07);
  color: #000;
}

/* === SECTION HEADER MODULAIRE === */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 60px;
  width: 100%;
  z-index: 5;
}

.section-title {
  font-family: "Work Sans", sans-serif;
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: white;
  text-align: center;
  margin: 0;
}

.separator {
  z-index: 5;
  width: 100%;
  max-width: 1268px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  border: none;
  margin: 0 auto;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.scroll-text {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUpElement 0.8s ease-out 3.5s forwards;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUpElement 0.8s ease-out 3.8s forwards,
    bounce 2s ease-in-out 4.5s infinite;
  transition: all 0.3s ease;
}

/* Animation bounce pour attirer l'attention */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ———————————————————————————————————————————— */
/* ————— FONTS ————— */
/* ———————————————————————————————————————————— */

/* Classe pour faire disparaître l'indicateur au scroll */
.scroll-indicator.fade-out {
  opacity: 0;
  pointer-events: none;
}

.font__fjalla-one {
  font-family: "Fjalla One", sans-serif;
}

.font__size-24px {
  font-size: 24px;
}

.text-gradient__silver {
  background: linear-gradient(to bottom, white, rgb(153, 153, 153));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

/* ———————————————————————————————————————————— */
/* ———————————————————————————————————————————— */

/* ———————————————————————————————————————————— */
/* ————— BOUTONS ————— */
/* ———————————————————————————————————————————— */

/* Bouton CTA avec animation */
.button__white {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.95;
  text-transform: uppercase;
  color: #464646;
  background: linear-gradient(
    to bottom,
    rgb(226, 226, 226),
    rgb(153, 153, 153)
  );
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 24px 64px;
  transition: all 0.3s ease;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUpElement 0.8s ease-out 3s forwards;
  text-decoration: none;
}

.button__white:hover {
  transform: translateY(-3px);
  color: #000000;
  box-shadow: 0 0px 40px 5px rgba(255, 255, 255, 0.5);
  background: linear-gradient(to bottom, white, rgb(255, 255, 255));
  scale: 1.025;
}

.button__white:active {
  scale: 0.975;
  box-shadow: 0 0px 40px 5px rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    to bottom,
    rgb(235, 235, 235),
    rgb(235, 235, 235)
  );
}

/* ———————————————————————————————————————————— */
/* ———————————————————————————————————————————— */

/* ———————————————————————————————————————————— */
/* ————— CONTAINERS ————— */
/* ———————————————————————————————————————————— */

.container__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  z-index: 5;
}

/* ———————————————————————————————————————————— */
/* ———————————————————————————————————————————— */

/* ———————————————————————————————————————————— */
/* ————— MODALS ————— */
/* ———————————————————————————————————————————— */

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-modal.active {
  display: flex;
  opacity: 1;
}

.project-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-modal-content {
  position: fixed;
  bottom: 0;
  left: 0; /* Toujours à gauche maintenant que le CMS est désactivé */
  width: 100%; /* Toujours pleine largeur */
  height: 100%;
  background-color: #000;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
}

.project-modal.active .project-modal-content {
  transform: translateY(0);
}

/* Plus besoin des états responsive car toujours fullscreen */

.project-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.project-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.project-modal-close:active {
  transform: scale(0.95);
}

.project-modal-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 60px 40px 40px 40px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  position: relative;
}

/* Scrollbar personnalisée pour le drawer */
.project-modal-body::-webkit-scrollbar {
  width: 6px;
}

.project-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  margin: 4px 0;
}

.project-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 3px;
  cursor: grab;
  transition: all 0.3s ease;
}

.project-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
  cursor: grab;
}

.project-modal-body::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
  background: rgba(255, 255, 255, 0.4);
}

/* Animation d'entrée avec délai progressif pour le contenu */
.project-modal.active .project-modal-body > * {
  animation: slideInFromBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.project-modal.active .project-modal-body > *:nth-child(1) {
  animation-delay: 0.2s;
}

.project-modal.active .project-modal-body > *:nth-child(2) {
  animation-delay: 0.3s;
}

.project-modal.active .project-modal-body > *:nth-child(3) {
  animation-delay: 0.4s;
}

.project-modal.active .project-modal-body > *:nth-child(4) {
  animation-delay: 0.5s;
}

.project-modal.active .project-modal-body > *:nth-child(5) {
  animation-delay: 0.6s;
}

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

/* Responsive pour le drawer - maintient toujours 100% height */
@media (max-width: 768px) {
  .project-modal-body {
    padding: 50px 24px 24px 24px;
  }

  .project-modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .project-modal-body {
    padding: 50px 20px 20px 20px;
  }

  .project-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* Animation de fermeture */
.project-modal.closing .project-modal-content {
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.6, 1);
}

.project-modal.closing .project-modal-overlay {
  opacity: 0;
  backdrop-filter: blur(0px);
  transition: all 0.4s ease;
}

/* Amélioration de l'interaction : hover sur l'overlay */
.project-modal-overlay:hover {
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.85);
}

/* === CONTAINER PRINCIPAL === */
.project-content-container {
  max-width: 1268px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

/* === SECTIONS GÉNÉRALES === */
.project-section {
  margin-bottom: 100px;
  position: relative;
}

.project-section:last-child,
.project-section--final {
  margin-bottom: 40px;
  max-width: 1268px;
  margin: 0 auto;
}

/* === NOUVEAU BLOC HERO === */
.project-hero {
  position: relative;
  margin-bottom: 120px;
  overflow: hidden;
}

/* Image hero en pleine largeur */
.project-hero-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 750px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-hero-logo {
  width: 100%;
  max-width: 700px;
  translate: 0 -25%;
  margin: 0 auto;
}

.project-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Container pour le contenu du hero avec largeur limitée */
.project-hero-content-container {
  max-width: 1268px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  margin-bottom: 100px;
}

.project-main-title {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 700;
  color: var(--project-text-primary);
  margin: 0 0 24px 0;
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.project-subtitle {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  color: var(--project-text-secondary);
  margin: 0 0 40px 0;
  line-height: 1.4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.project-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.project-year,
.project-role,
.project-duration {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--project-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  background: var(--project-bg-card);
  border-radius: 20px;
  border: 1px solid var(--project-border);
}

/* === BOUTONS D'ACTION DU HERO === */
.project-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-action-btn {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-action-btn--primary {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.95;
  text-transform: uppercase;
  color: #464646;
  background: linear-gradient(
    to bottom,
    rgb(226, 226, 226),
    rgb(153, 153, 153)
  );
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 24px 64px;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-action-btn--primary:hover {
  color: #000000;
  box-shadow: 0 0px 40px 5px rgba(255, 255, 255, 0.5);
  background: linear-gradient(to bottom, white, rgb(255, 255, 255));
  scale: 1.025;
}

.hero-action-btn--secondary {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.95;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  cursor: pointer;
  padding: 24px 64px;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-action-btn--secondary:hover {
  border: 1px solid rgba(255, 255, 255, 1);
}

/* === BOUTON GET IN TOUCH SPÉCIAL === */
.hero-action-btn--contact {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 16px 32px;
  transition: all 0.3s ease;
  z-index: 10;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-action-btn--contact:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.hero-action-btn--contact:hover:before {
  left: 100%;
}

.hero-action-btn--contact:hover {
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-2px);
  scale: 1.05;
}

.hero-action-btn--contact:active {
  transform: translateY(0);
  scale: 0.98;
}

/* Version plus petite pour utilisation dans les projets */
.hero-action-btn--contact-small {
  display: inline-block;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px 24px;
  transition: all 0.3s ease;
  z-index: 10;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.hero-action-btn--contact-small:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-1px);
  scale: 1.03;
}

/* === SECTIONS EXISTANTES MISES À JOUR === */

.project__section-title {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 40px 0;
  line-height: 1.2;
  text-align: center;
}

/* === PROJECT OVERVIEW === */
.project-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.overview-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.overview-text p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px;
  background: var(--project-bg-card);
  border-radius: 16px;
  border: 1px solid var(--project-border);
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--project-text-primary);
  margin-bottom: 8px;
}

.stat-label {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--project-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === PROCESS TIMELINE === */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  background: var(--project-color, #210628);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px var(--project-color-glow, rgba(33, 6, 40, 0.3));
}

.timeline-content {
  flex: 1;
  padding: 20px 0;
}

.timeline-content h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 16px 0;
}

.timeline-content p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  margin: 0 0 20px 0;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.timeline-content li {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--project-text-muted);
  padding: 8px 16px;
  background: var(--project-bg-card);
  border-radius: 8px;
  border: 1px solid var(--project-border);
  position: relative;
  padding-left: 32px;
}

.timeline-content li::before {
  content: "•";
  position: absolute;
  left: 16px;
  color: var(--project-color, #210628);
  font-weight: 600;
}

/* === CHALLENGES GRID === */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.challenge-card {
  background: var(--project-bg-card);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--project-color, #210628),
    rgba(255, 255, 255, 0.3)
  );
}

.challenge-card:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.challenge-card h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 16px 0;
}

.challenge-card p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  margin: 0 0 20px 0;
}

.solution {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-left: 4px solid var(--project-color, #210628);
}

.solution strong {
  color: var(--project-color, #210628);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .project-content-container {
    max-width: 100%;
    padding: 0 32px;
  }

  .project-hero-content-container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .project-content-container {
    padding: 0 24px;
  }

  .project-hero-content-container {
    padding: 0 24px;
  }

  .project-hero-image {
    height: 50vh;
    min-height: 300px;
    margin-bottom: 40px;
  }

  .project-meta {
    gap: 16px;
  }

  .project-hero-actions {
    flex-direction: column;
    gap: 16px;
  }

  .hero-action-btn {
    width: 100%;
    max-width: 300px;
  }

  .project-overview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .overview-stats {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .timeline-item {
    gap: 20px;
  }

  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .process-timeline::before {
    left: 25px;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .challenge-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .project-content-container {
    padding: 0 20px;
  }

  .project-hero-content-container {
    padding: 0 20px;
  }

  .project-hero-image {
    height: 40vh;
    min-height: 250px;
    margin-bottom: 30px;
  }

  .project-meta {
    flex-direction: column;
    gap: 12px;
  }

  .timeline-content ul {
    grid-template-columns: 1fr;
  }
}

/* === STYLES EXISTANTS (philosophy, gallery, team, etc.) === */

/* === PHILOSOPHY SECTION === */
.philosophy-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.philosophy-text h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 16px 0;
}

.philosophy-text p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  margin: 0;
}

.philosophy-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.design-principle {
  padding: 24px;
  background: var(--project-bg-card);
  border-radius: 12px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
}

.design-principle:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-2px);
}

.design-principle h4 {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 12px 0;
}

.design-principle p {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--project-text-muted);
  margin: 0;
}

/* === GALERIE === */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--project-bg-card);
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-item--large img {
  aspect-ratio: 16/9;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
}

.gallery-caption h4 {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 8px 0;
}

.gallery-caption p {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--project-text-muted);
  margin: 0;
}

/* === TEAM SECTION === */
.team-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.team-intro {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.team-department {
  padding: 32px;
  background: var(--project-bg-card);
  border-radius: 16px;
  border: 1px solid var(--project-border);
  text-align: center;
  transition: all 0.3s ease;
}

.team-department:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-4px);
}

.team-department h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 12px 0;
}

.team-count {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--project-color, #210628);
  margin-bottom: 16px;
}

.team-department p {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--project-text-muted);
  margin: 0;
}

/* === RESULTS SECTION === */
.results-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.results-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.results-text p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  margin: 0;
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achievements-list li {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--project-text-secondary);
  padding: 12px 16px;
  background: var(--project-bg-card);
  border-radius: 8px;
  border-left: 4px solid var(--project-color, #210628);
  position: relative;
  padding-left: 48px;
}

.achievements-list li::before {
  content: "🏆";
  position: absolute;
  left: 16px;
  top: 12px;
}

.results-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.metric-card {
  text-align: center;
  padding: 24px;
  background: var(--project-bg-card);
  border-radius: 12px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-2px);
}

.metric-number {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--project-color, #210628);
  margin-bottom: 8px;
}

.metric-label {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--project-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === TECH STACK === */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.tech-category {
  padding: 32px;
  background: var(--project-bg-card);
  border-radius: 16px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
}

.tech-category:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-4px);
}

.tech-category h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 20px 0;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-tag {
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--project-text-primary);
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--project-color, #210628);
  transform: translateY(-2px);
}

/* === LESSONS LEARNED === */
.lessons-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.lesson-item {
  padding: 32px;
  background: var(--project-bg-card);
  border-radius: 16px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
}

.lesson-item:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lesson-item h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 16px 0;
}

.lesson-item p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  margin: 0;
}

/* === NEXT STEPS === */
.next-steps-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.next-steps-content p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.future-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.future-project {
  padding: 32px;
  background: var(--project-bg-card);
  border-radius: 16px;
  border: 1px solid var(--project-border);
  transition: all 0.3s ease;
  text-align: center;
}

.future-project:hover {
  background: var(--project-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.future-project h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--project-text-primary);
  margin: 0 0 16px 0;
}

.future-project p {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--project-text-secondary);
  margin: 0;
}

/* === RESPONSIVE POUR LES NOUVELLES SECTIONS === */
@media (max-width: 768px) {
  .philosophy-content,
  .results-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-visual {
    order: -1;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item img,
  .gallery-item--large img {
    height: 200px;
  }

  .team-stats {
    grid-template-columns: 1fr;
  }

  .tech-stack {
    grid-template-columns: 1fr;
  }

  .lessons-content {
    grid-template-columns: 1fr;
  }

  .future-projects {
    grid-template-columns: 1fr;
  }

  .results-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .design-principle,
  .team-department,
  .tech-category,
  .lesson-item,
  .future-project,
  .metric-card {
    padding: 24px;
  }

  .gallery-caption {
    padding: 16px;
  }

  .results-metrics {
    grid-template-columns: 1fr;
  }

  .achievements-list li {
    padding: 12px 12px 12px 40px;
  }

  .achievements-list li::before {
    left: 12px;
  }
}

/* ===================================== */
/* === NOUVEAUX BLOCS DE CONTENU === */
/* ===================================== */

/* === BLOC DE CONTENU GÉNÉRIQUE === */
.content-block {
  margin-bottom: 64px;
  position: relative;
}

.content-block:last-child {
  margin-bottom: 0;
}

/* === BLOC TEXTE SIMPLE === */
.text-block {
  color: var(--project-text-secondary);
  line-height: 1.8;
  max-width: 900px;
  padding: 24px;
}

.text-block.center {
  text-align: center;
  margin: 0 auto;
}

.text-block p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 24px 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* Variante petite pour les notes */
.text-block--small {
  opacity: 0.6;
  margin-top: 40px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 700px;
}

.text-block--small p,
.text-block--small small {
  font-size: 13px;
  color: var(--project-text-muted);
  margin-bottom: 8px;
}

.text-block--small p:last-child {
  margin-bottom: 0;
}

/* === BLOC TEXTE AVEC TITRE === */
.text-block-with-title {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.text-block-with-title h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.3;
  position: relative;
}

.text-block-with-title p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 18px 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.text-block-with-title p:last-child {
  margin-bottom: 0;
}

/* === GRILLE DES RÔLES === */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1400px;
  margin: 0 auto;
  gap: 32px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

/* Assurer un maximum de 4 colonnes */
@media (min-width: 1400px) {
  .roles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.role-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.role-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.role-item h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.role-item p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* === BLOC IMAGE SEULE === */
.image-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px 0;
  position: relative;
  width: 100%;
}

.block-image {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

/* === CLASSES POUR RATIOS D'ASPECT === */
.aspect-1-1 {
  aspect-ratio: 1 / 1;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-3-2 {
  aspect-ratio: 3 / 2;
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.aspect-21-9 {
  aspect-ratio: 21 / 9;
}

.aspect-2-1 {
  aspect-ratio: 2 / 1;
}

.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

/* Variantes pour les galeries qui ont déjà un aspect-ratio défini */
.gallery-item .block-image.aspect-1-1 {
  aspect-ratio: 1 / 1;
}

.gallery-item .block-image.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.gallery-item .block-image.aspect-9-16 {
  aspect-ratio: 9 / 16;
}

/* === BLOC MIXTE TEXTE-IMAGE === */
.mixed-block {
  margin: 64px 0;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.mixed-content {
  display: grid;
  gap: 48px;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 1;
}

/* Image à gauche */
.mixed-block--image-left .mixed-content {
  grid-template-columns: 420px 1fr;
}

/* Image à droite */
.mixed-block--image-right .mixed-content {
  grid-template-columns: 1fr 420px;
}

.mixed-text h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 24px 0;
  line-height: 1.2;
  position: relative;
}

.mixed-text p {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 20px 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.mixed-text p:last-child {
  margin-bottom: 0;
}

.mixed-image .block-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/* === BLOC GALERIE === */
.gallery-block {
  margin: 64px 0;
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.gallery-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.gallery-block h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 40px 0;
  line-height: 1.3;
  text-align: center;
  position: relative;
  z-index: 1;
}

.gallery-block h3::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 60px;
  height: 2px;
  background: var(--project-color, rgba(255, 255, 255, 0.3));
  border-radius: 1px;
  transform: translateX(-50%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  position: relative;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item .block-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* === RESPONSIVE POUR LES NOUVEAUX BLOCS === */
@media (max-width: 1200px) {
  .mixed-block--image-left .mixed-content,
  .mixed-block--image-right .mixed-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .mixed-text h3::before {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .mixed-content {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .mixed-block--image-left .mixed-content,
  .mixed-block--image-right .mixed-content {
    grid-template-columns: 1fr !important;
  }

  .mixed-image {
    order: -1;
  }

  .mixed-block--image-right .mixed-image {
    order: 1;
  }

  .mixed-block {
    padding: 32px;
  }

  .gallery-block {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .content-block {
    margin-bottom: 48px;
  }

  .mixed-block {
    margin: 48px 0;
    padding: 24px;
  }

  .gallery-block {
    margin: 48px 0;
    padding: 24px 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .text-block-with-title {
    padding: 28px;
  }

  .text-block-with-title h3,
  .mixed-text h3,
  .gallery-block h3 {
    font-size: 24px;
  }

  .mixed-content {
    gap: 32px;
  }

  .text-block {
    max-width: none;
  }

  .text-block--small {
    padding: 20px;
    max-width: none;
  }

  .project__section-title {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .content-block {
    margin-bottom: 40px;
  }

  .mixed-block {
    margin: 40px 0;
    padding: 20px;
  }

  .gallery-block {
    margin: 40px 0;
    padding: 20px 12px;
  }

  .text-block-with-title {
    padding: 24px;
  }

  .gallery-block h3 {
    margin-bottom: 28px;
    font-size: 22px;
  }

  .text-block p,
  .text-block-with-title p,
  .mixed-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .text-block-with-title h3,
  .mixed-text h3 {
    font-size: 20px;
  }

  .text-block--small {
    padding: 16px;
    margin-top: 32px;
  }

  .project__section-title {
    margin-bottom: 32px;
  }

  .content-block + .content-block.text-block-with-title::before,
  .content-block + .content-block.mixed-block::before,
  .content-block + .content-block.gallery-block::before {
    top: -20px;
    width: 40px;
  }
}

/* === LIGHTBOX === */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.image-lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #ccc;
}

/* === PROJECT CARDS STYLES === */

.project-card {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16/10;
  padding: 12px;
}

/* Premier projet - plus important */
.project-card:first-child {
  grid-row: span 2;
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.project-card:hover {
  background-color: var(--project-color, rgba(255, 255, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.2);
  scale: 1.025;
}

.project-card:active {
  background-color: var(--project-color, rgba(255, 255, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.2);
  scale: 0.975;
}

.project-card-image {
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  box-sizing: border-box;
  margin-bottom: 24px;
  min-height: 250px;
}

/* Image plus grande pour le premier projet */
.project-card:first-child .project-card-image {
  flex: 1;
  min-height: 400px;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  margin-left: 12px;
  flex-shrink: 0;
}

.project-title {
  font-family: "Work Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.project-meta {
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.project-date {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 8px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.25);
  width: fit-content;
}

.project-role {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 8px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.25);
  width: fit-content;
}

/* Animation au hover pour le contenu */
.project-card:hover .project-title {
  color: rgba(255, 255, 255, 1);
  transition: all 0.3s ease;
}

.project-card:hover .project-role {
  color: rgba(255, 255, 255, 1);
  transition: all 0.3s ease 0.1s;
}

.project-card:hover .project-date {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease 0.05s;
}

/* Responsive */
@media (max-width: 1200px) {
  /* Sur les écrans moyens, on garde la première card normale */
  .project-card:first-child {
    grid-row: span 1;
  }

  .project-card:first-child .project-card-image {
    height: 280px;
  }

  .project-card:first-child .project-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  /* Sur mobile, toutes les cards ont la même taille */
  .project-card:first-child {
    grid-row: span 1;
  }

  .project-card-image,
  .project-card:first-child .project-card-image {
    height: 200px;
    margin: 3px 3px 0 3px;
  }

  .project-card-content,
  .project-card:first-child .project-card-content {
    padding: 20px;
    gap: 12px;
  }

  .project-title,
  .project-card:first-child .project-title {
    font-size: 20px;
  }

  .project-role,
  .project-card:first-child .project-role {
    font-size: 15px;
  }

  .project-date,
  .project-card:first-child .project-date {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .project-card-image,
  .project-card:first-child .project-card-image {
    height: 180px;
    margin: 2px 2px 0 2px;
  }

  .project-card-content,
  .project-card:first-child .project-card-content {
    padding: 18px;
    gap: 10px;
  }

  .project-title,
  .project-card:first-child .project-title {
    font-size: 18px;
  }

  .project-role,
  .project-card:first-child .project-role {
    font-size: 14px;
  }

  .project-date,
  .project-card:first-child .project-date {
    font-size: 12px;
  }
}

/* === SOON BADGE STYLES === */
.project-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10px);
  color: white;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

@keyframes pulse-soon {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Projet en mode SOON - style désactivé */
.project-card--soon {
  cursor: not-allowed;
  opacity: 0.7;
}

.project-card--soon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
  scale: 1;
  transform: none;
}

.project-card--soon .project-card-image img {
  filter: grayscale(0.3);
}

.project-card--soon .project-title {
  color: rgba(255, 255, 255, 0.8);
}

.project-card--soon .project-role,
.project-card--soon .project-date {
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive pour le badge SOON */
@media (max-width: 768px) {
  .project-soon-badge {
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .project-soon-badge {
    top: 8px;
    right: 8px;
    font-size: 9px;
    padding: 3px 6px;
  }
}
