/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 3.5rem;

  /* ===== Colors - Adaptées au logo LYS-DATA ===== */
  --primary-color: #A855F7;  /* Violet principal du logo */
  --primary-color-alt: #9333EA;  /* Violet plus foncé */
  --secondary-color: #C084FC;  /* Violet plus clair */
  --secondary-color-alt: #8B5CF6;  /* Violet intermédiaire */
  --accent-color: #E879F9;  /* Rose violet pour les accents */
  
  --gradient: linear-gradient(135deg, #A855F7 0%, #C084FC 50%, #E879F9 100%);
  --gradient-alt: linear-gradient(135deg, #9333EA 0%, #A855F7 50%, #C084FC 100%);
  --gradient-radial: radial-gradient(circle, #A855F7 0%, #9333EA 70%);
  
  --title-color: #1F2937;
  --text-color: #6B7280;
  --text-color-light: #9CA3AF;
  --body-color: #FFFFFF;
  --container-color: #F9FAFB;
  --border-color: #E5E7EB;
  --white-color: #FFFFFF;
  --black-color: #000000;

  /* ===== Font and typography ===== */
  --body-font: 'DM Sans', sans-serif;
  --title-font: 'Oxanium', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /* ===== Font weight ===== */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* ===== z index ===== */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* ===== Transitions ===== */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ===== Responsive typography ===== */
@media screen and (max-width: 1080px) {
  /* Masquer les animations tech-element sur mobile/tablette */
  .tech-element {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

input,
textarea,
select {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
}

.section {
  padding-block: 5rem 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: var(--normal-font-size);
  position: relative;
  overflow: hidden;
}

.button--primary {
  background: var(--gradient);
  color: var(--white-color);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.3);
}

.button--primary::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;
}

.button--primary:hover::before {
  left: 100%;
}

.button--primary:hover {
  background: var(--gradient-alt);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}

.button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button--secondary:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition);
}

.header.scroll-header {
  box-shadow: 0 2px 20px rgba(168, 85, 247, 0.1);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo-img {
  height: 2.5rem;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -0.5rem;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* ===== HERO AVEC EFFET EFFERVESCENT ===== */
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(192, 132, 252, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__title-gradient {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero__description {
  font-size: var(--h3-font-size);
  margin-bottom: 2.5rem;
  color: var(--text-color);
  line-height: 1.5;
}

.hero__buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== LOGO CONTAINER AVEC EFFET EFFERVESCENT ===== */
.logo-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  overflow: visible;
  animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.6));
  }
}

/* Logo D principal avec effet de brillance */
.logo-container .nav__logo-img {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  margin: 50px;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Arrière-plan dégradé statique */
.logo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-radial);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

/* ===== EFFET EFFERVESCENT - PARTICULES ===== */
.tech-element {
  position: absolute;
  border-radius: 8px;
  opacity: 0.8;
  z-index: 1;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* Petits carrés effervescents */
.tech-element--1 {
  width: 12px;
  height: 12px;
  top: 10%;
  left: 15%;
  animation: bubble1 4s ease-in-out infinite;
}

.tech-element--2 {
  width: 16px;
  height: 16px;
  top: 20%;
  right: 20%;
  animation: bubble2 5s ease-in-out infinite 1s;
}

.tech-element--3 {
  width: 10px;
  height: 10px;
  bottom: 25%;
  left: 25%;
  animation: bubble3 3.5s ease-in-out infinite 2s;
}

/* Ajout de plus de particules pour l'effet effervescent */
.tech-element--4 {
  width: 8px;
  height: 8px;
  top: 35%;
  right: 15%;
  animation: bubble4 6s ease-in-out infinite 0.5s;
}

.tech-element--5 {
  width: 14px;
  height: 14px;
  bottom: 40%;
  right: 30%;
  animation: bubble5 4.5s ease-in-out infinite 1.5s;
}

.tech-element--6 {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 10%;
  animation: bubble6 5.5s ease-in-out infinite 2.5s;
}

.tech-element--7 {
  width: 18px;
  height: 18px;
  top: 75%;
  right: 10%;
  animation: bubble7 3s ease-in-out infinite 3s;
}

.tech-element--8 {
  width: 9px;
  height: 9px;
  bottom: 15%;
  left: 40%;
  animation: bubble8 4.8s ease-in-out infinite 0.8s;
}

/* Animations des bulles effervescentes */
@keyframes bubble1 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-30px) translateX(10px) rotate(90deg) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translateY(-60px) translateX(-5px) rotate(180deg) scale(0.8);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-30px) translateX(-15px) rotate(270deg) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes bubble2 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  33% {
    transform: translateY(-40px) translateX(-20px) rotate(120deg) scale(1.3);
    opacity: 1;
  }
  66% {
    transform: translateY(-80px) translateX(15px) rotate(240deg) scale(0.9);
    opacity: 0.5;
  }
}

@keyframes bubble3 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-50px) translateX(25px) rotate(180deg) scale(1.4);
    opacity: 0.4;
  }
}

@keyframes bubble4 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  40% {
    transform: translateY(-35px) translateX(-10px) rotate(144deg) scale(1.1);
    opacity: 1;
  }
  80% {
    transform: translateY(-70px) translateX(20px) rotate(288deg) scale(0.7);
    opacity: 0.8;
  }
}

@keyframes bubble5 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  30% {
    transform: translateY(-25px) translateX(15px) rotate(108deg) scale(1.25);
    opacity: 0.9;
  }
  70% {
    transform: translateY(-55px) translateX(-25px) rotate(252deg) scale(0.85);
    opacity: 0.6;
  }
}

@keyframes bubble6 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) translateX(-8px) rotate(90deg) scale(1.3);
    opacity: 1;
  }
  75% {
    transform: translateY(-45px) translateX(12px) rotate(270deg) scale(0.9);
    opacity: 0.5;
  }
}

@keyframes bubble7 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-65px) translateX(-30px) rotate(216deg) scale(1.1);
    opacity: 0.3;
  }
}

@keyframes bubble8 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  45% {
    transform: translateY(-38px) translateX(18px) rotate(162deg) scale(1.2);
    opacity: 0.9;
  }
  90% {
    transform: translateY(-75px) translateX(-12px) rotate(324deg) scale(0.8);
    opacity: 0.4;
  }
}

/* Effet de pulsation pour le conteneur principal */
.logo-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* ===== STATISTICS ===== */
.stats {
  background: var(--container-color);
  padding: 3rem 0;
}

.stats__container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stats__item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white-color);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stats__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.stats__item:hover::before {
  transform: scaleX(1);
}

.stats__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}

.stats__number {
  font-size: 3rem;
  font-family: var(--title-font);
  font-weight: var(--font-bold);
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stats__text {
  color: var(--text-color);
  font-weight: var(--font-medium);
}

/* ===== SERVICES ===== */
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.services__card {
  background: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.services__card:hover::before {
  transform: scaleX(1);
}

.services__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.services__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--white-color);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.services__description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.services__link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.services__link:hover {
  gap: 1rem;
  color: var(--accent-color);
}

/* ===== PROJECTS ===== */
.projects {
  background: var(--container-color);
}

.projects__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.projects__card {
  background: var(--white-color);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
}

.projects__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.projects__card:hover::before {
  opacity: 0.1;
}

.projects__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.projects__image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.projects__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.projects__card:hover .projects__img {
  transform: scale(1.1);
}

.projects__content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.projects__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

.projects__description {
  color: var(--text-color);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about__card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white-color);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.about__card:hover::before {
  opacity: 0.05;
}

.about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15);
}

.about__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white-color);
  position: relative;
  z-index: 1;
}

.about__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
  position: relative;
  z-index: 1;
}

.about__description {
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===== CAREERS ===== */
.careers {
  background: var(--container-color);
}

.careers__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.careers__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

.careers__list {
  margin-bottom: 2rem;
}

.careers__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.careers__item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.careers__jobs-title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

.job__card {
  background: var(--white-color);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.job__card:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
  border-left-color: var(--primary-color);
}

.job__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.job__location,
.job__type {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

/* ===== CV FORM ===== */
.cv-form {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--white-color);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.cv-form__title {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
  color: var(--title-color);
  text-align: center;
}

/* ===== FORMS ===== */
.form {
  display: grid;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.form__input,
.form__textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  background: var(--white-color);
  color: var(--text-color);
  transition: var(--transition);
  font-family: var(--body-font);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  justify-self: center;
  margin-top: 1rem;
}

/* ===== CONTACT ===== */
.contact__container {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white-color);
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.15);
  border-left-color: var(--primary-color);
}

.contact__card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-color);
  flex-shrink: 0;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.contact__card-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.contact__card-description {
  color: var(--text-color);
  line-height: 1.5;
}

.contact__form {
  background: var(--white-color);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--title-color) 0%, #111827 100%);
  color: var(--white-color);
  padding-top: 3rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.05;
  z-index: 0;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.footer__logo-img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer__description {
  color: var(--text-color-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white-color);
  transition: var(--transition);
}

.footer__social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
  color: var(--white-color);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: var(--text-color-light);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.footer__bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  color: var(--text-color-light);
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal-link {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  transition: var(--transition);
}

.footer__legal-link:hover {
  color: var(--accent-color);
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background: var(--gradient);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white-color);
  z-index: var(--z-tooltip);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.scrollup:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.show-scroll {
  bottom: 3rem;
}

/* ===== ANIMATIONS SUPPLÉMENTAIRES ===== */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ===== EFFET PARTICULES SUPPLÉMENTAIRES ===== */
.hero__image::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 20% 80%,
    rgba(168, 85, 247, 0.1) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 80% 20%,
    rgba(192, 132, 252, 0.1) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 40% 40%,
    rgba(232, 121, 249, 0.1) 0%,
    transparent 50%
  );
  animation: particleMove 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes particleMove {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* ===== BREAKPOINTS ===== */
/* For large devices */
@media screen and (max-width: 1024px) {
  .container {
    padding-inline: 1rem;
  }

  .hero__container,
  .contact__container,
  .careers__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__image {
    order: -1;
  }

  .logo-container {
    width: 300px;
    height: 300px;
  }

  .logo-container .nav__logo-img {
    width: 200px;
    height: 200px;
    margin: 50px;
  }

  .tech-element {
    width: 80%;
    height: 80%;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 20px rgba(168, 85, 247, 0.1);
    padding: 6rem 2rem 2rem;
    transition: var(--transition);
  }

  .nav__list {
    flex-direction: column;
    gap: 2.5rem;
  }

  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .show-menu {
    right: 0;
  }

  .hero__buttons {
    justify-content: center;
  }

  .button {
    padding: 0.875rem 1.5rem;
  }

  .services__container,
  .projects__container,
  .about__container {
    grid-template-columns: 1fr;
  }

  .stats__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  /* Mobile logo improvements */
  .logo-container {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
  }

  .logo-container .nav__logo-img {
    width: 120px;
    height: 120px;
    margin: 40px;
  }

  .hero__image {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero__title {
    text-align: center;
    font-size: 2rem;
  }

  .hero__description {
    text-align: center;
    font-size: var(--normal-font-size);
  }

  /* Reduce particles on mobile */
  .tech-element {
    width: 50%;
    height: 50%;
    opacity: 0.6;
  }

  .tech-element--13,
  .tech-element--14,
  .tech-element--15,
  .tech-element--16,
  .tech-element--17,
  .tech-element--18,
  .tech-element--19,
  .tech-element--20,
  .tech-element--21,
  .tech-element--22,
  .tech-element--23,
  .tech-element--24 {
    display: none; /* Hide extra particles on mobile */
  }

  /* Reduce glow effects on mobile */
  .logo-container {
    animation: none;
  }

  .logo-container::before {
    display: none;
  }
}

/* For small devices */
@media screen and (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .hero__title {
    font-size: 1.75rem;
    text-align: center;
  }

  .hero__description {
    font-size: var(--small-font-size);
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .button {
    width: 100%;
    max-width: 250px;
    padding: 0.75rem 1.25rem;
    font-size: var(--small-font-size);
  }

  .stats__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services__card,
  .about__card,
  .contact__form,
  .cv-form {
    padding: 1.5rem 1rem;
  }

  .section {
    padding-block: 3rem 2rem;
  }

  .section__title {
    font-size: var(--h3-font-size);
  }

  .section__subtitle {
    font-size: var(--small-font-size);
  }

  .nav__menu {
    width: 85%;
  }

  /* Very small logo for mobile */
  .logo-container {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
  }

  .logo-container .nav__logo-img {
    width: 80px;
    height: 80px;
    margin: 35px;
  }

  /* Hide all particles on small mobile */
  .tech-element {
    display: none;
  }

  /* Simplify animations */
  .logo-container .nav__logo-img {
    animation: none;
  }

  .logo-bg {
    animation: none;
    opacity: 0.05;
  }

  /* Reduce hero padding */
  .hero {
    padding-top: calc(var(--header-height) + 1rem);
    min-height: 80vh;
  }

  .hero__container {
    gap: 1.5rem;
  }

  .hero__image {
    margin-bottom: 1rem;
  }

  /* Simplify forms */
  .form__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form__input,
  .form__textarea {
    padding: 0.75rem;
    font-size: var(--small-font-size);
  }

  /* Stats improvements */
  .stats__item {
    padding: 1.5rem 1rem;
  }

  .stats__number {
    font-size: 2rem;
  }

  .stats__text {
    font-size: var(--small-font-size);
  }
}

/* ===== ANIMATIONS GLOBALES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animation {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.scroll-animation.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== ÉTATS D'ERREUR POUR LES FORMULAIRES ===== */
.form__input.error,
.form__textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #EF4444;
  font-size: var(--small-font-size);
  margin-top: 0.25rem;
  display: block;
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 400px;
}

.notification--success {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}

.notification--error {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
}

.notification--info {
  background: var(--gradient);
  color: white;
}

.notification__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notification__close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
}

.notification__close:hover {
  opacity: 0.7;
}

/* ===== FOCUS MANAGEMENT ===== */
.form__group.focused .form__label {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== ACCESSIBILITÉ ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== PRELOADER (optionnel) ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.preloader__spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(168, 85, 247, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ===== ÉTATS BODY ===== */
.loaded {
  animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ===== STYLES POUR LA PAGE PROJET ===== */

/* Container principal projet */
.project-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white-color);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header du projet */
.project-header {
  background: var(--gradient);
  color: var(--white-color);
  padding: 3rem 2rem;
  text-align: center;
}

.project-title {
  margin: 0;
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  font-family: var(--title-font);
}

.project-meta {
  margin-top: 1.5rem;
  font-size: var(--h3-font-size);
  opacity: 0.9;
  line-height: 1.6;
}

/* Contenu du projet */
.project-content {
  padding: 3rem 2rem;
}

.project-intro {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
}

/* Grille de comparaison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-card {
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-card--current {
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  border: 2px solid #EF4444;
}

.comparison-card--solution {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  border: 2px solid #10B981;
}

.comparison-card__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
  color: var(--title-color);
  font-family: var(--title-font);
}

.comparison-list {
  list-style: none;
  padding: 0;
}

.comparison-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.comparison-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Tableau responsive */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.project-table th {
  background: var(--gradient);
  color: var(--white-color);
  padding: 1rem;
  text-align: left;
  font-weight: var(--font-semi-bold);
}

.project-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.project-table tr:nth-child(even) {
  background: var(--container-color);
}

.table-total {
  background: #FEE2E2 !important;
  font-weight: var(--font-bold);
}

/* Highlight section */
.project-highlight {
  background: var(--gradient);
  color: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  text-align: center;
}

.project-highlight__title {
  margin: 0;
  font-size: var(--h2-font-size);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Grille des outils */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tool-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.tool-title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
  font-family: var(--title-font);
}

.tool-features {
  list-style: none;
  padding: 0;
}

.tool-features li {
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  position: relative;
  color: var(--text-color);
}

.tool-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Infrastructure card */
.infrastructure-card {
  background: var(--gradient);
  color: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.infrastructure-title {
  margin: 0 0 1.5rem 0;
  font-size: var(--h3-font-size);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.infrastructure-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

/* Savings card */
.savings-card {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.savings-header {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.savings-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.savings-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: var(--white-color);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
  text-align: center;
}

.cta-title {
  margin: 0 0 1.5rem 0;
  font-size: var(--h2-font-size);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-intro {
  font-size: var(--h3-font-size);
  margin-bottom: 2rem;
}

.cta-question {
  color: var(--white-color);
  margin-top: 2rem;
  font-size: var(--h3-font-size);
}

/* Timeline card */
.timeline-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.timeline-list {
  color: var(--title-color);
  font-size: var(--normal-font-size);
  line-height: 1.8;
  text-align: left;
  padding-left: 2rem;
  margin: 0;
}

.timeline-list li {
  margin-bottom: 1rem;
}

/* Signature */
.project-signature {
  font-style: italic;
  color: var(--text-color);
  border-top: 2px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
}

/* Emoji styling */
.emoji {
  font-size: 1.2em;
}

/* Bouton pour accéder au projet */
.project-access-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--white-color);
  border-radius: 0.75rem;
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
  transition: var(--transition);
  margin: 1rem 0;
}

.project-access-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
  color: var(--white-color);
}

.project-access-btn i {
  font-size: 1.25rem;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .project-container {
    margin: 1rem;
    border-radius: 1rem;
  }
  
  .project-header {
    padding: 2rem 1.5rem;
  }
  
  .project-title {
    font-size: var(--h1-font-size);
  }
  
  .project-meta {
    font-size: var(--normal-font-size);
  }
  
  .project-content {
    padding: 2rem 1.5rem;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .infrastructure-features {
    grid-template-columns: 1fr;
  }
  
  .savings-content {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 2rem 1.5rem;
  }
  
  .timeline-list {
    padding-left: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .project-container {
    margin: 0.5rem;
  }
  
  .project-header {
    padding: 1.5rem 1rem;
  }
  
  .project-content {
    padding: 1.5rem 1rem;
  }
  
  .comparison-card,
  .tool-card,
  .infrastructure-card,
  .savings-card,
  .timeline-card {
    padding: 1.5rem;
  }
  
  .cta-section {
    padding: 1.5rem 1rem;
  }
  
  .project-table th,
  .project-table td {
    padding: 0.75rem 0.5rem;
    font-size: var(--small-font-size);
  }
}
