/* VARIABLES */
:root {
  --ap: #f8fafc;
  --ap2: #ffffff;
  --ap3: #eff2fa;
  --carte: #ffffff;
  --carte2: #f1f5fd;
  --bord: rgba(99, 102, 241, 0.1);
  --bord2: rgba(99, 102, 241, 0.2);
  --txt: #1e293b;
  --txt2: #64748b;
  --txt3: #94a3b8;
  --acc: #f97316;
  --acc2: #f59e0b;
  --acc3: #f43f5e;
  --deg: linear-gradient(135deg, #f97316, #f59e0b, #f43f5e);
  --deg_btn: linear-gradient(135deg, #f97316, #f43f5e);
  --nav_bg: rgba(248, 250, 252, 0.92);
  --saisie: #f1f5fd;
  --saisie_bord: rgba(99, 102, 241, 0.18);
  --lueur: rgba(249, 115, 22, 0.1);
  --lueur2: rgba(244, 63, 94, 0.08);
  --ombre: rgba(99, 102, 241, 0.07);
}
[data-theme="sombre"] {
  --ap: #0a0a0f;
  --ap2: #0d1117;
  --ap3: #111827;
  --carte: #131929;
  --carte2: #1a2235;
  --bord: rgba(255, 255, 255, 0.07);
  --bord2: rgba(255, 255, 255, 0.13);
  --txt: #f1f5f9;
  --txt2: #94a3b8;
  --txt3: #64748b;
  --acc: #06b6d4;
  --acc2: #3b82f6;
  --acc3: #a855f7;
  --deg: linear-gradient(135deg, #06b6d4, #3b82f6, #a855f7);
  --deg_btn: linear-gradient(135deg, #06b6d4, #3b82f6);
  --nav_bg: rgba(10, 10, 15, 0.92);
  --saisie: #1a2235;
  --saisie_bord: rgba(255, 255, 255, 0.08);
  --lueur: rgba(6, 182, 212, 0.12);
  --lueur2: rgba(168, 85, 247, 0.08);
  --ombre: rgba(0, 0, 0, 0.3);
}

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Outfit", sans-serif;
  background: var(--ap);
  color: var(--txt);
  overflow-x: hidden;
  transition:
    background 0.5s,
    color 0.5s;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
ul {
  list-style: none;
}
.conteneur {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ORBES */
.orbe {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s;
}
.orbe_un {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: var(--lueur2);
  animation: pulser 9s ease-in-out infinite;
}
.orbe_deux {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  background: var(--lueur);
  animation: pulser 11s ease-in-out infinite reverse;
}
@keyframes pulser {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
}

/* Lueur curseur souris */
.curseur_lueur {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition:
    left 0.08s,
    top 0.08s;
  mix-blend-mode: normal;
}
[data-theme="clair"] .curseur_lueur {
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.06) 0%,
    transparent 70%
  );
}
[data-theme="sombre"] .curseur_lueur {
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.07) 0%,
    transparent 70%
  );
}

section,
header,
footer {
  position: relative;
  z-index: 1;
}

/* NAVIGATION */
#entete {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.barre_navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: var(--nav_bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bord);
  transition:
    background 0.5s,
    border-color 0.5s;
}
.logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 20px;
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.liens_navigation {
  display: flex;
  gap: 36px;
  align-items: center;
}
.lien_nav {
  font-size: 14px;
  font-weight: 500;
  color: var(--txt2);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}
.lien_nav::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--deg);
  border-radius: 2px;
  transition: width 0.3s;
}
.lien_nav:hover,
.lien_nav.actif {
  color: var(--txt);
}
.lien_nav:hover::after,
.lien_nav.actif::after {
  width: 100%;
}
.nav_actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bouton_theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--bord2);
  background: var(--carte);
  color: var(--txt2);
  transition: all 0.3s;
}
.bouton_theme:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-1px);
}
.icone_soleil {
  display: none;
}
.icone_lune {
  display: block;
}
[data-theme="sombre"] .icone_soleil {
  display: block;
}
[data-theme="sombre"] .icone_lune {
  display: none;
}
.bouton_menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.ligne_menu {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--txt2);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu_mobile {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--nav_bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bord);
  padding: 16px 0;
  animation: glisser_bas 0.3s ease;
}
.menu_mobile.ouvert {
  display: block;
}
@keyframes glisser_bas {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lien_mobile {
  display: block;
  padding: 14px 32px;
  font-size: 15px;
  color: var(--txt2);
  transition:
    color 0.2s,
    background 0.2s;
}
.lien_mobile:hover {
  color: var(--acc);
  background: var(--carte2);
}

/* ANIMATIONS */
.apparition {
  opacity: 0;
  transform: translateY(28px);
  animation: apparaitre 0.7s ease forwards;
  animation-delay: var(--delai, 0s);
}
@keyframes apparaitre {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveler-gauche {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1),
    transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.reveler-gauche.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveler-droite {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1),
    transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.reveler-droite.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation normale pour les autres sections */
.reveler {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveler.visible {
  opacity: 1;
  transform: translateY(0);
}
.pied_page {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.pied_page.revele {
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
.section_hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: var(--ap);
  position: relative;
  overflow: hidden;
}
.section_hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--bord) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}
.hero_container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero_badge_wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 28px;
}
.hero_reseaux_wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero_reseaux {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hero_gauche {
  text-align: center;
}
.hero_bonjour {
  font-size: 18px;
  font-weight: 400;
  color: var(--txt2);
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.hero_nom {
  font-family: "Syne", sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: glisser_deg 5s ease-in-out infinite;
}
@keyframes glisser_deg {
  0%,
  100% {
    background-position: 0%;
  }
  50% {
    background-position: 100%;
  }
}
.hero_role {
  font-size: 20px;
  font-weight: 500;
  color: var(--txt);
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.hero_universite {
  font-size: 14px;
  color: var(--acc);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero_bio {
  font-size: 15px;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
}
.hero_boutons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.orbit-2 .planet-wrapper,
.orbit-3 .planet-wrapper {
  position: absolute;
}
.orbit-2 .planet-wrapper:first-child {
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-2 .planet-wrapper:last-child {
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-3 .planet-wrapper:nth-child(1) {
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-3 .planet-wrapper:nth-child(2) {
  top: 50%;
  right: -22px;
  left: auto;
  transform: translateY(-50%);
}
.orbit-3 .planet-wrapper:nth-child(3) {
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.bouton_principal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--deg_btn);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}
.bouton_principal:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.35);
}
.bouton_secondaire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  background: transparent;
  color: var(--txt);
  font-size: 14px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  border: 2px solid var(--bord2);
  transition: all 0.3s ease;
}
.bouton_secondaire:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-3px);
}
.hero_reseaux {
  display: flex;
  gap: 12px;
}
.lien_reseau {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--bord2);
  background: var(--carte);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.lien_reseau:hover {
  border-color: var(--acc);
  transform: translateY(-4px);
  background: var(--carte2);
}
.hero_droite {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}
.solar-system {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.core {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #f97316, #ff5e3a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 40px rgba(249, 115, 22, 0.5),
    0 0 80px rgba(249, 115, 22, 0.2);
  animation: pulse-core 2s ease-in-out infinite;
  z-index: 10;
}
.core img {
  width: 48px;
  height: 48px;
}
@keyframes pulse-core {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(249, 115, 22, 0.8);
  }
}
.orbit {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-1 {
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(249, 115, 22, 0.3);
  animation: rotate-orbit 12s linear infinite;
}
.orbit-2 {
  width: 310px;
  height: 310px;
  border: 1px dashed rgba(249, 115, 22, 0.25);
  animation: rotate-orbit 20s linear infinite reverse;
}
.orbit-3 {
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(249, 115, 22, 0.2);
  animation: rotate-orbit 30s linear infinite;
}
@keyframes rotate-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.orbit-1 .planet-wrapper {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.planet {
  width: 40px;
  height: 40px;
  background: var(--carte);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--bord2);
  transition: all 0.3s ease;
  pointer-events: auto;
}
.planet:hover {
  transform: scale(1.15);
  border-color: var(--acc);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}
.planet img {
  width: 24px;
  height: 24px;
}
.orbit-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--acc);
  opacity: 0.8;
  animation: pulse-particle 2s ease-in-out infinite;
  z-index: 15;
  pointer-events: none;
}
@keyframes pulse-particle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}
.orbit-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    transparent 60%,
    rgba(249, 115, 22, 0.05) 100%
  );
  pointer-events: none;
}
.hero_gauche {
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 0.8s ease forwards;
}
.hero_droite {
  opacity: 0;
  transform: translateX(40px);
  animation: slideInRight 0.8s ease forwards;
}
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
[data-theme="sombre"] .core {
  background: radial-gradient(circle, #06b6d4, #0284c7);
  box-shadow:
    0 0 40px rgba(6, 182, 212, 0.6),
    0 0 80px rgba(6, 182, 212, 0.3);
  animation: pulse-core-sombre 2s ease-in-out infinite;
}
[data-theme="sombre"] .core img {
  filter: brightness(0) invert(1);
}
[data-theme="sombre"] .orbit-1 {
  border-color: rgba(6, 182, 212, 0.35);
}
[data-theme="sombre"] .orbit-2 {
  border-color: rgba(6, 182, 212, 0.3);
}
[data-theme="sombre"] .orbit-3 {
  border-color: rgba(6, 182, 212, 0.25);
}
[data-theme="sombre"] .planet {
  background: var(--carte);
  border-color: rgba(6, 182, 212, 0.3);
}
[data-theme="sombre"] .planet img {
  filter: brightness(0) invert(1);
}
[data-theme="sombre"] .planet:hover {
  border-color: #06b6d4;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
}
[data-theme="sombre"] .orbit-particle {
  background: #06b6d4;
  box-shadow: 0 0 6px #06b6d4;
}
[data-theme="sombre"] .orbit-glow {
  background: radial-gradient(
    circle,
    transparent 60%,
    rgba(6, 182, 212, 0.1) 100%
  );
}
@keyframes pulse-core-sombre {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 40px rgba(6, 182, 212, 0.5),
      0 0 80px rgba(6, 182, 212, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 60px rgba(6, 182, 212, 0.8),
      0 0 100px rgba(6, 182, 212, 0.4);
  }
}
.badge_disponible {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: #f97316;
  letter-spacing: 0.3px;
}
[data-theme="sombre"] .badge_disponible {
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(6, 182, 212, 0.08);
  color: #06b6d4;
}
.point_ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
  position: relative;
}
[data-theme="sombre"] .point_ping {
  background: #06b6d4;
}
.point_ping::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.8s ease-in-out infinite;
  opacity: 0.5;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.role_accent {
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
}
#texte_anime {
  display: inline-block;
  white-space: nowrap;
  min-width: 220px;
  text-align: left;
}

/* RESPONSIVE HERO */
@media (max-width: 968px) {
  .hero_container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero_gauche {
    text-align: center;
  }
  .hero_bio {
    max-width: 100%;
  }
  .solar-system {
    width: 380px;
    height: 380px;
    margin: 0 auto;
  }
  .core {
    width: 75px;
    height: 75px;
  }
  .core img {
    width: 35px;
    height: 35px;
  }
  .orbit-1 {
    width: 170px;
    height: 170px;
  }
  .orbit-2 {
    width: 260px;
    height: 260px;
  }
  .orbit-3 {
    width: 350px;
    height: 350px;
  }
  .planet {
    width: 32px;
    height: 32px;
  }
  .planet img {
    width: 18px;
    height: 18px;
  }
  .orbit-1 .planet-wrapper {
    top: -16px;
  }
  .orbit-2 .planet-wrapper:first-child {
    top: -18px;
  }
  .orbit-2 .planet-wrapper:last-child {
    bottom: -18px;
  }
  .orbit-3 .planet-wrapper:nth-child(1) {
    top: -18px;
  }
  .orbit-3 .planet-wrapper:nth-child(2) {
    right: -18px;
  }
  .orbit-3 .planet-wrapper:nth-child(3) {
    bottom: -18px;
  }
}
@media (max-width: 768px) {
  .barre_navigation {
    padding: 0 16px;
  }
  .liens_navigation {
    display: none;
  }
  .bouton_menu {
    display: flex;
  }
  .nav_actions {
    gap: 8px;
  }
  .bouton_theme {
    width: 36px;
    height: 36px;
  }
  .menu_mobile {
    top: 60px;
  }
  .lien_mobile {
    padding: 12px 24px;
    font-size: 14px;
  }
  .hero_boutons {
    flex-direction: column;
    align-items: center;
  }
  .hero_container {
    padding: 0 16px;
  }
  .hero_gauche {
    padding: 0;
  }
  .hero_nom {
    font-size: 32px;
    text-align: center;
  }
  .hero_bio {
    font-size: 13px;
    padding: 0 8px;
  }
  .solar-system {
    width: 280px;
    height: 280px;
  }
  .core {
    width: 55px;
    height: 55px;
  }
  .core img {
    width: 26px;
    height: 26px;
  }
  .orbit-1 {
    width: 125px;
    height: 125px;
  }
  .orbit-2 {
    width: 190px;
    height: 190px;
  }
  .orbit-3 {
    width: 255px;
    height: 255px;
  }
  .planet {
    width: 26px;
    height: 26px;
  }
  .planet img {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 480px) {
  .hero_nom {
    font-size: 28px;
  }
  .hero_role {
    font-size: 14px;
  }
  .hero_bio {
    font-size: 12px;
  }
  .solar-system {
    width: 260px;
    height: 260px;
  }
  .core {
    width: 55px;
    height: 55px;
  }
  .core img {
    width: 26px;
    height: 26px;
  }
  .orbit-1 {
    width: 120px;
    height: 120px;
  }
  .orbit-2 {
    width: 180px;
    height: 180px;
  }
  .orbit-3 {
    width: 240px;
    height: 240px;
  }
  .planet {
    width: 24px;
    height: 24px;
  }
  .planet img {
    width: 14px;
    height: 14px;
  }
  .orbit-1 .planet-wrapper {
    top: -12px;
  }
  .orbit-2 .planet-wrapper:first-child {
    top: -12px;
  }
  .orbit-2 .planet-wrapper:last-child {
    bottom: -12px;
  }
  .orbit-3 .planet-wrapper:nth-child(1) {
    top: -12px;
  }
  .orbit-3 .planet-wrapper:nth-child(2) {
    right: -12px;
  }
  .orbit-3 .planet-wrapper:nth-child(3) {
    bottom: -12px;
  }
}

/* TITRES */
.titre_section {
  text-align: center;
  margin-bottom: 44px;
}
.etiquette_section {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--acc);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.titre_section h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--txt);
}
.accent_titre {
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SECTION À PROPOS */
.section_apropos {
  padding: 100px 0;
  background: var(--ap2);
  position: relative;
  overflow: hidden;
}
.section_apropos::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lueur) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.section_apropos::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lueur2) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.apropos_container {
  position: relative;
  z-index: 2;
}
.apropos_header {
  text-align: center;
  margin-bottom: 60px;
}
.apropos_label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--acc);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 14px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}
[data-theme="sombre"] .apropos_label {
  background: rgba(6, 182, 212, 0.15);
}
.apropos_titre {
  font-family: "Syne", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--txt);
  margin: 0;
}
.accent_gradient {
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.apropos_grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.apropos_droite {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* CARTE PROFIL */
.apropos_card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 48px;
  padding: 40px 32px 48px;
  border: 1px solid rgba(249, 115, 22, 0.15);
  box-shadow: 0 25px 50px -12px var(--lueur);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  overflow: hidden;
}
[data-theme="sombre"] .apropos_card {
  background: rgba(19, 25, 41, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.25);
}
.apropos_card:hover {
  transform: translateY(-6px);
  border-color: var(--acc);
  box-shadow: 0 30px 60px -15px var(--lueur);
}
[data-theme="sombre"] .apropos_card:hover {
  transform: translateY(-6px);
  border-color: var(--acc);
  box-shadow: 0 30px 60px -15px rgba(6, 182, 212, 0.35);
}
.card_dots_grid {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  z-index: 2;
}
.dot_grid {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acc);
  opacity: 0.4;
}
[data-theme="sombre"] .dot_grid {
  opacity: 0.6;
}
.student_badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  border: 1px solid var(--bord2);
  font-size: 12px;
  font-weight: 600;
  color: var(--txt);
  z-index: 2;
  animation: badgeFloat 3s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
[data-theme="sombre"] .student_badge {
  background: rgba(19, 25, 41, 0.7);
  border-color: rgba(6, 182, 212, 0.3);
}
@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.badge_ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 0 var(--acc);
  animation: pingLight 1.8s ease-in-out infinite;
}
@keyframes pingLight {
  0% {
    box-shadow: 0 0 0 0 var(--acc);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 6px var(--acc);
    opacity: 0.3;
  }
  100% {
    box-shadow: 0 0 0 0 var(--acc);
    opacity: 1;
  }
}
.photo_orbit_system {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}
.photo_container {
  position: relative;
  width: 140px;
  height: 140px;
}
.avatar_cercle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--deg_btn);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 25px -8px var(--lueur);
}
[data-theme="sombre"] .avatar_cercle {
  box-shadow: 0 8px 25px -8px rgba(6, 182, 212, 0.4);
}
.avatar_cercle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.orbit_ring_main {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--acc);
  opacity: 0.4;
  z-index: 2;
  animation: ringRotate 12s linear infinite;
}
@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.orbit_arc {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1.5px solid var(--acc);
  opacity: 0.35;
  z-index: 2;
  pointer-events: none;
}
.arc_tl {
  top: -18px;
  left: -18px;
  clip-path: polygon(0 0, 50% 0, 50% 50%, 0 50%);
  animation: arcPulse 4s ease-in-out infinite;
}
.arc_br {
  bottom: -18px;
  right: -18px;
  clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
  animation: arcPulse 4s ease-in-out infinite 1s;
}
@keyframes arcPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.02);
  }
}
.orbit_satellite {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  z-index: 5;
  box-shadow: 0 0 6px var(--acc);
  opacity: 0.9;
}
.satellite_1 {
  top: -20px;
  left: 65px;
  animation: satelliteFloat 3s ease-in-out infinite;
}
.satellite_2 {
  bottom: 2px;
  right: 5px;
  animation: satelliteFloat 3.5s ease-in-out infinite 0.8s;
}
.satellite_3 {
  top: 65px;
  left: -22px;
  animation: satelliteFloat 2.8s ease-in-out infinite 1.5s;
}
@keyframes satelliteFloat {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}
[data-theme="sombre"] .orbit_satellite {
  background: var(--acc);
  box-shadow: 0 0 6px var(--acc);
}
.card_nom {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 8px;
}
.card_role {
  font-size: 13px;
  color: var(--txt2);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.card_tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.tag_row {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.tag_center {
  margin: 0 auto;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid var(--bord2);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  color: var(--txt2);
  transition: all 0.3s ease;
  cursor: default;
}
[data-theme="sombre"] .tag {
  background: rgba(6, 182, 212, 0.1);
}
.tag_icon {
  width: 12px;
  height: 12px;
  stroke: var(--acc);
}
.tag:hover {
  transform: translateY(-3px);
  border-color: var(--acc);
  background: rgba(249, 115, 22, 0.15);
  color: var(--acc);
}
[data-theme="sombre"] .tag:hover {
  background: rgba(6, 182, 212, 0.2);
}
.apropos_card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.6s ease forwards;
}
@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TIMELINE */
.apropos_timeline {
  position: relative;
  padding-left: 30px;
}
.apropos_timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--acc), var(--acc2), transparent);
  border-radius: 2px;
}
.timeline_item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateX(20px);
  animation: timelineSlide 0.5s ease forwards;
}
.timeline_item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline_item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline_item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline_item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline_item:nth-child(5) {
  animation-delay: 0.5s;
}
@keyframes timelineSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.timeline_icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
[data-theme="sombre"] .timeline_icon {
  background: rgba(6, 182, 212, 0.15);
}
.timeline_item:hover .timeline_icon {
  transform: scale(1.1);
  background: var(--deg_btn);
}
.timeline_icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--acc);
  transition: all 0.3s ease;
}
.timeline_item:hover .timeline_icon svg {
  stroke: #fff;
}
.timeline_content p {
  font-size: 15px;
  color: var(--txt2);
  line-height: 1.7;
  margin: 0;
}
.timeline_content p strong {
  color: var(--txt);
  font-weight: 600;
}
.timeline_content .lien_accent {
  color: var(--acc);
  text-decoration: none;
  transition: opacity 0.2s;
}
.timeline_content .lien_accent:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* STATISTIQUES */
.stats_modernes {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}
.stat_card {
  flex: 1;
  max-width: 180px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--bord2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: statSlideUp 0.5s ease forwards;
}
.stat_card:nth-child(1) {
  animation-delay: 0.6s;
}
.stat_card:nth-child(2) {
  animation-delay: 0.7s;
}
.stat_card:nth-child(3) {
  animation-delay: 0.8s;
}
@keyframes statSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stat_card:hover {
  transform: translateY(-6px);
  border-color: var(--acc);
  box-shadow: 0 15px 35px var(--lueur);
  background: var(--carte);
}
[data-theme="sombre"] .stat_card {
  background: rgba(19, 25, 41, 0.7);
}
.stat_icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
[data-theme="sombre"] .stat_icon {
  background: rgba(6, 182, 212, 0.15);
}
.stat_card:hover .stat_icon {
  transform: scale(1.1);
  background: var(--deg_btn);
}
.stat_icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--acc);
  transition: all 0.3s ease;
}
.stat_card:hover .stat_icon svg {
  stroke: #fff;
}
.stat_number {
  font-family: "Syne", sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat_label {
  font-size: 12px;
  color: var(--txt2);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* SECTION COMPÉTENCES */
.section_competences {
  padding: 120px 0;
  background: var(--ap);
  position: relative;
  overflow: hidden;
}
.section_competences::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--lueur) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.competences_container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.competences_left {
  background: rgba(var(--carte-rgb, 255, 255, 255), 0.4);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 32px 28px;
  border: 1px solid var(--bord2);
}
[data-theme="sombre"] .competences_left {
  background: rgba(19, 25, 41, 0.5);
}
.competences_filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter_btn_new {
  padding: 8px 20px;
  border-radius: 40px;
  background: transparent;
  border: 1px solid var(--bord2);
  color: var(--txt2);
  font-size: 13px;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter_btn_new:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-2px);
}
.filter_btn_new.active_filter {
  background: var(--deg_btn);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px var(--lueur);
}
.competences_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
}
.competences_grid::-webkit-scrollbar {
  width: 4px;
}
.competences_grid::-webkit-scrollbar-track {
  background: var(--bord);
  border-radius: 4px;
}
.competences_grid::-webkit-scrollbar-thumb {
  background: var(--acc);
  border-radius: 4px;
}
.skill_card {
  background: var(--carte);
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid var(--bord);
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
  animation: skillCardAppear 0.5s ease forwards;
}
.skill_card:nth-child(1) {
  animation-delay: 0.05s;
}
.skill_card:nth-child(2) {
  animation-delay: 0.1s;
}
.skill_card:nth-child(3) {
  animation-delay: 0.15s;
}
.skill_card:nth-child(4) {
  animation-delay: 0.2s;
}
.skill_card:nth-child(5) {
  animation-delay: 0.25s;
}
.skill_card:nth-child(6) {
  animation-delay: 0.3s;
}
@keyframes skillCardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.skill_card:hover {
  transform: translateY(-5px);
  border-color: var(--acc);
  box-shadow: 0 15px 30px var(--lueur);
}
.skill_card.hidden_card {
  display: none;
}
.skill_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.skill_icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  transition: all 0.3s ease;
}
[data-theme="sombre"] .skill_icon {
  background: rgba(6, 182, 212, 0.15);
}
.skill_card:hover .skill_icon {
  transform: scale(1.05) rotate(-3deg);
}
.skill_icon img {
  width: 24px;
  height: 24px;
}
.skill_name {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
}
.skill_stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.skill_percent {
  font-size: 12px;
  font-weight: 600;
  color: var(--acc);
}
.skill_label {
  font-size: 10px;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.skill_bar_container {
  height: 6px;
  background: var(--ap3);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}
.skill_bar {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--acc), var(--acc2));
  transition: width 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* CERTIFICATIONS */
.competences_right {
  background: rgba(var(--carte-rgb, 255, 255, 255), 0.4);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 32px 28px;
  border: 1px solid var(--bord2);
}
[data-theme="sombre"] .competences_right {
  background: rgba(19, 25, 41, 0.5);
}
.certifications_header {
  margin-bottom: 28px;
}
.certifications_header h3 {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}
.certifications_header p {
  font-size: 14px;
  color: var(--txt2);
}
.cert_filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cert_filter_btn {
  padding: 6px 16px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid var(--bord2);
  color: var(--txt2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cert_filter_btn:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.cert_filter_btn.active_cert_filter {
  background: var(--deg_btn);
  border-color: transparent;
  color: #fff;
}
.certifications_grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 8px;
}
.certifications_grid::-webkit-scrollbar {
  width: 4px;
}
.certifications_grid::-webkit-scrollbar-track {
  background: var(--bord);
  border-radius: 4px;
}
.certifications_grid::-webkit-scrollbar-thumb {
  background: var(--acc);
  border-radius: 4px;
}
.cert_card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--carte);
  border-radius: 20px;
  border: 1px solid var(--bord);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateX(20px);
  animation: certSlideIn 0.4s ease forwards;
}
.cert_card:nth-child(1) {
  animation-delay: 0.05s;
}
.cert_card:nth-child(2) {
  animation-delay: 0.1s;
}
.cert_card:nth-child(3) {
  animation-delay: 0.15s;
}
.cert_card:nth-child(4) {
  animation-delay: 0.2s;
}
.cert_card:nth-child(5) {
  animation-delay: 0.25s;
}
.cert_card:nth-child(6) {
  animation-delay: 0.3s;
}
@keyframes certSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.cert_card:hover {
  transform: translateX(5px);
  border-color: var(--acc);
  box-shadow: 0 10px 25px var(--lueur);
}
.cert_card.hidden_cert {
  display: none;
}
.cert_icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
[data-theme="sombre"] .cert_icon {
  background: rgba(6, 182, 212, 0.15);
}
.cert_card:hover .cert_icon {
  transform: scale(1.05);
  background: var(--deg_btn);
}
.cert_icon img {
  width: 24px;
  height: 24px;
}
.cert_card:hover .cert_icon img {
  filter: brightness(0) invert(1);
}
.cert_info {
  flex: 1;
}
.cert_title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}
.cert_issuer {
  font-size: 11px;
  color: var(--txt2);
}
.cert_badge {
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  color: var(--acc);
  flex-shrink: 0;
}
[data-theme="sombre"] .cert_badge {
  background: rgba(6, 182, 212, 0.15);
}
.cert_arrow {
  color: var(--acc);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.cert_card:hover .cert_arrow {
  opacity: 1;
  transform: translateX(0);
}

/* PROJETS */
.section_projets {
  padding: 100px 0;
  background: var(--ap2);
}
.filtres_projets {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filtre_proj {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--bord2);
  background: var(--carte);
  color: var(--txt2);
  font-size: 13px;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  transition: all 0.25s;
}
.filtre_proj:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.filtre_proj.actif_filtre_proj {
  background: var(--deg_btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--lueur);
}
.grille_projets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  transition: all 0.3s;
}
.carte_projet {
  background: var(--carte);
  border: 1px solid var(--bord);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s,
    border-color 0.35s,
    opacity 0.4s;
}
.carte_projet:hover {
  transform: translateY(-9px);
}
.carte_projet.masquee {
  display: none;
}
.barre_projet {
  height: 4px;
  width: 100%;
}
.projet_un .barre_projet {
  background: linear-gradient(90deg, #f97316, #ef4444);
}
.projet_deux .barre_projet {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
}
.projet_trois .barre_projet {
  background: linear-gradient(90deg, #06b6d4, #22c55e);
}
.projet_quatre .barre_projet {
  background: linear-gradient(90deg, #a855f7, #ec4899);
}
.projet_cinq .barre_projet {
  background: linear-gradient(90deg, #22c55e, #10b981);
}
.projet_six .barre_projet {
  background: linear-gradient(90deg, #6366f1, #a855f7);
}
.projet_un:hover {
  border-color: #f97316;
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.12);
}
.projet_deux:hover {
  border-color: #3b82f6;
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
}
.projet_trois:hover {
  border-color: #22c55e;
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.12);
}
.projet_quatre:hover {
  border-color: #a855f7;
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.12);
}
.projet_cinq:hover {
  border-color: #22c55e;
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.12);
}
.projet_six:hover {
  border-color: #6366f1;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12);
}
.projet_entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
}
.projet_badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: "Syne", sans-serif;
  flex-shrink: 0;
}
.badge_un {
  background: linear-gradient(135deg, #f97316, #ef4444);
}
.badge_deux {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.badge_trois {
  background: linear-gradient(135deg, #06b6d4, #22c55e);
}
.badge_quatre {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.badge_cinq {
  background: linear-gradient(135deg, #22c55e, #10b981);
}
.badge_six {
  background: linear-gradient(135deg, #6366f1, #a855f7);
}
.projet_logo {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--carte2);
  border: 1px solid var(--bord);
  transition: transform 0.3s;
}
.projet_logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carte_projet:hover .projet_logo {
  transform: scale(1.1) rotate(-5deg);
}
.projet_titre {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--txt);
  padding: 0 20px;
  margin-bottom: 8px;
  transition: color 0.25s;
}
.carte_projet:hover .projet_titre {
  color: var(--acc);
}
.projet_description {
  font-size: 12.5px;
  color: var(--txt2);
  line-height: 1.75;
  padding: 0 20px;
  margin-bottom: 14px;
  flex: 1;
}
.projet_technologies {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 20px;
  margin-bottom: 16px;
}
.tech_etiquette {
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--bord2);
  font-size: 11px;
  color: var(--txt2);
  background: var(--carte2);
}
.projet_lien {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  padding: 0 20px 18px;
  transition: gap 0.2s;
}
.projet_lien:hover {
  gap: 9px;
}
.projet_lien svg {
  transition: transform 0.2s;
}
.projet_lien:hover svg {
  transform: translate(2px, -2px);
}
.aucun_projet {
  display: none;
  text-align: center;
  padding: 40px;
  font-size: 14px;
  color: var(--txt2);
}
.aucun_projet.visible {
  display: block;
}
.voir_tout {
  text-align: center;
  margin-top: 40px;
}
.bouton_voir_tout {
  display: inline-block;
  padding: 13px 36px;
  border-radius: 100px;
  border: 2px solid var(--bord2);
  background: transparent;
  color: var(--txt);
  font-size: 14px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  transition: all 0.3s;
}
.bouton_voir_tout:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--lueur);
}

/* CONTACT */
.section_contact {
  padding: 100px 0;
  background: var(--ap);
}
.grille_contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}
.contact_sous_titre {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 12px;
}
.contact_description {
  font-size: 14px;
  color: var(--txt2);
  line-height: 1.85;
  margin-bottom: 28px;
}
.contact_elements {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.element_contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 17px;
  border-radius: 13px;
  border: 1px solid var(--bord);
  background: var(--carte);
  color: var(--txt);
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.element_contact:hover {
  border-color: var(--acc);
  transform: translateX(5px);
}
.icone_contact {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fond_bleu {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.fond_rose {
  background: linear-gradient(135deg, #ec4899, #a855f7);
}
.fond_bleu_fonce {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.element_label {
  font-size: 10px;
  color: var(--txt3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.element_valeur {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt);
}
.suivre_label {
  font-size: 13px;
  color: var(--txt2);
  margin-bottom: 12px;
}
.reseaux_sociaux {
  display: flex;
  gap: 10px;
}
.icone_social {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--bord2);
  background: var(--carte);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt2);
  transition: all 0.25s;
}
.icone_social:hover {
  border-color: var(--acc);
  transform: translateY(-4px);
  background: var(--carte2);
}
.carte_formulaire {
  background: var(--carte);
  border: 1px solid var(--bord);
  border-radius: 24px;
  padding: 32px;
  transition: border-color 0.3s;
}
.carte_formulaire:hover {
  border-color: var(--bord2);
}
.champ_groupe {
  margin-bottom: 16px;
}
.etiquette_champ {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt);
  margin-bottom: 8px;
}
.saisie_texte {
  width: 100%;
  padding: 12px 15px;
  border-radius: 11px;
  border: 1px solid var(--saisie_bord);
  background: var(--saisie);
  color: var(--txt);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.saisie_texte:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px var(--lueur);
}
.saisie_texte::placeholder {
  color: var(--txt3);
}
.saisie_textarea {
  resize: vertical;
  min-height: 120px;
}
.bouton_envoyer {
  width: 100%;
  padding: 14px;
  border-radius: 11px;
  background: var(--deg_btn);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  margin-top: 4px;
}
.bouton_envoyer:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
}
[data-theme="sombre"] .bouton_envoyer:hover {
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3);
}
.message_succes {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  font-size: 13px;
  text-align: center;
}
.message_succes.visible {
  display: block;
}

/* FOOTER */
.pied_page {
  background: var(--ap2);
  border-top: 1px solid var(--bord);
  padding: 26px 0;
  z-index: 1;
}
.pied_interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pied_logo {
  font-family: "Syne", sans-serif;
  font-size: 17px;
  font-weight: 800;
  background: var(--deg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pied_copyright {
  font-size: 12px;
  color: var(--txt3);
}
.pied_reseaux {
  display: flex;
  gap: 14px;
}
.pied_icone {
  display: flex;
  opacity: 0.5;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.pied_icone:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* BOUTON HAUT */
.bouton_haut {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deg_btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--lueur);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.35s,
    transform 0.35s;
  pointer-events: none;
  z-index: 999;
}
.bouton_haut.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.bouton_haut:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--lueur);
}

/* RESPONSIVE GLOBAL */
@media (max-width: 968px) {
  .competences_container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .competences_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apropos_grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apropos_timeline {
    padding-left: 20px;
  }
  .apropos_timeline::before {
    left: 4px;
  }
  .stats_modernes {
    flex-wrap: wrap;
  }
  .stat_card {
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .section_competences {
    padding: 80px 0;
  }
  .competences_left,
  .competences_right {
    padding: 20px 16px;
  }
  .competences_grid {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
  }
  .competences_grid::-webkit-scrollbar {
    width: 4px;
  }
  .competences_grid::-webkit-scrollbar-track {
    background: var(--bord);
    border-radius: 4px;
  }
  .competences_grid::-webkit-scrollbar-thumb {
    background: var(--acc);
    border-radius: 4px;
  }
  .skill_card {
    padding: 14px;
  }
  .skill_icon {
    width: 36px;
    height: 36px;
  }
  .skill_icon img {
    width: 20px;
    height: 20px;
  }
  .certifications_grid {
    max-height: 350px;
  }
  .cert_card {
    padding: 12px;
    gap: 10px;
  }
  .cert_icon {
    width: 36px;
    height: 36px;
  }
  .cert_icon img {
    width: 18px;
    height: 18px;
  }
  .cert_title {
    font-size: 12px;
  }
  .cert_issuer {
    font-size: 10px;
  }
  .cert_badge {
    padding: 3px 8px;
    font-size: 9px;
  }
  .cert_filters {
    gap: 6px;
    margin-bottom: 20px;
  }
  .cert_filter_btn {
    padding: 5px 12px;
    font-size: 11px;
  }
  .filter_btn_new {
    padding: 6px 14px;
    font-size: 12px;
  }
  .competences_filters {
    gap: 8px;
    margin-bottom: 24px;
  }

  .section_apropos {
    padding: 60px 0;
  }
  .apropos_card {
    padding: 28px 20px 36px;
    border-radius: 32px;
  }
  .photo_container {
    width: 100px;
    height: 100px;
  }
  .orbit_arc {
    width: 118px;
    height: 118px;
  }
  .card_nom {
    font-size: 18px;
  }
  .tag {
    padding: 4px 12px;
    font-size: 11px;
  }
  .student_badge {
    padding: 4px 12px 4px 10px;
    font-size: 11px;
    top: 12px;
    right: 12px;
  }
  .card_dots_grid {
    top: 16px;
    left: 16px;
    gap: 4px;
  }
  .dot_grid {
    width: 3px;
    height: 3px;
  }
  .apropos_timeline {
    padding-left: 16px;
  }
  .apropos_timeline::before {
    left: 2px;
  }
  .timeline_item {
    gap: 12px;
    margin-bottom: 20px;
  }
  .timeline_icon {
    width: 30px;
    height: 30px;
  }
  .timeline_icon img {
    width: 14px;
    height: 14px;
  }
  .timeline_content p {
    font-size: 13px;
  }
  .stats_modernes {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .stat_card {
    width: 100%;
    max-width: 100%;
    padding: 16px 12px;
  }
  .stat_icon {
    width: 40px;
    height: 40px;
  }
  .stat_number {
    font-size: 24px;
  }

  .grille_projets {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 20px;
  }
  .projet_titre {
    font-size: 15px;
  }
  .projet_description {
    font-size: 12px;
  }

  .grille_contact {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 16px;
  }
  .carte_formulaire {
    padding: 24px 20px;
  }
  .champ_groupe {
    margin-bottom: 14px;
  }
  .saisie_texte {
    padding: 10px 12px;
    font-size: 13px;
  }
  .bouton_envoyer {
    padding: 12px;
    font-size: 13px;
  }
  .contact_infos {
    padding: 0;
  }

  .pied_interieur {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .bouton_haut {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .section_apropos,
  .section_competences,
  .section_projets,
  .section_contact {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .section_apropos,
  .section_competences,
  .section_projets,
  .section_contact {
    padding: 50px 0;
  }
  .apropos_card {
    padding: 24px 16px 32px;
  }
  .card_nom {
    font-size: 16px;
  }
  .card_role {
    font-size: 12px;
  }
  .tag {
    padding: 3px 10px;
    font-size: 10px;
  }
  .tag_icon {
    width: 10px;
    height: 10px;
  }
  .student_badge {
    padding: 3px 10px 3px 8px;
    font-size: 10px;
  }
  .badge_ping {
    width: 6px;
    height: 6px;
  }
  .timeline_content p {
    font-size: 12px;
  }
  .filter_btn_new,
  .cert_filter_btn {
    padding: 4px 10px;
    font-size: 10px;
  }
  .cert_card {
    padding: 10px;
    gap: 8px;
  }
  .cert_icon {
    width: 32px;
    height: 32px;
  }
  .cert_title {
    font-size: 11px;
  }
  .cert_badge {
    padding: 2px 6px;
    font-size: 8px;
  }
  .carte_formulaire {
    padding: 20px 16px;
  }
  .etiquette_champ {
    font-size: 12px;
  }
  .saisie_texte {
    padding: 8px 10px;
    font-size: 12px;
  }
  .competences_left,
  .competences_right {
    padding: 20px 16px;
  }
  .card_tags {
    gap: 8px;
  }
  .photo_container {
    width: 95px;
    height: 95px;
  }
  .orbit_arc {
    width: 112px;
    height: 112px;
  }
  .stats_modernes {
    flex-direction: column;
    align-items: center;
  }
  .stat_card {
    width: 100%;
    max-width: 100%;
  }
}

/* ICONES MODE SOMBRE */
[data-theme="sombre"] .lien_reseau img[alt="GitHub"],
[data-theme="sombre"] .icone_social img[alt="GitHub"],
[data-theme="sombre"] .pied_icone img[alt="GitHub"] {
  filter: brightness(0) invert(1);
}
[data-theme="sombre"] .lien_reseau img[alt="LinkedIn"],
[data-theme="sombre"] .icone_social img[alt="LinkedIn"],
[data-theme="sombre"] .pied_icone img[alt="LinkedIn"] {
  filter: none;
}
[data-theme="sombre"] .lien_reseau img,
[data-theme="sombre"] .icone_social img,
[data-theme="sombre"] .pied_icone img {
  filter: brightness(0) invert(1);
}
[data-theme="sombre"] .lien_reseau img[alt="LinkedIn"],
[data-theme="sombre"] .icone_social img[alt="LinkedIn"],
[data-theme="sombre"] .pied_icone img[alt="LinkedIn"] {
  filter: none !important;
}

/* ICONES SECTION À PROPOS */
.apropos_card .tag_icon,
.apropos_timeline .timeline_icon img,
.stats_modernes .stat_icon img {
  transition: filter 0.3s ease;
}
[data-theme="clair"] .tag_icon,
[data-theme="clair"] .timeline_icon img,
[data-theme="clair"] .stat_icon img {
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(350deg)
    brightness(95%) contrast(91%);
}
[data-theme="sombre"] .tag_icon,
[data-theme="sombre"] .timeline_icon img,
[data-theme="sombre"] .stat_icon img {
  filter: invert(73%) sepia(47%) saturate(498%) hue-rotate(141deg)
    brightness(92%) contrast(87%);
}
.tag:hover .tag_icon,
.timeline_item:hover .timeline_icon img,
.stat_card:hover .stat_icon img {
  filter: brightness(0) invert(1);
}

/* CERTIFICATION CERCLE */
.cert_icon_circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  border: 1.5px solid var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
[data-theme="sombre"] .cert_icon_circle {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--acc);
}
.cert_icon_circle:hover {
  transform: scale(1.05);
  background: var(--deg_btn);
  border-color: transparent;
}
.cert_circle_icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}
[data-theme="clair"] .cert_circle_icon {
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(350deg)
    brightness(95%) contrast(91%);
}
[data-theme="sombre"] .cert_circle_icon {
  filter: invert(73%) sepia(47%) saturate(498%) hue-rotate(141deg)
    brightness(92%) contrast(87%);
}
.cert_icon_circle:hover .cert_circle_icon {
  filter: brightness(0) invert(1);
}

/* FORMULAIRE ERREURS */
.error-message {
  display: block;
  font-size: 11px;
  color: #ef4444;
  margin-top: 6px;
  margin-left: 4px;
}
.message_error {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 13px;
  text-align: center;
}
.message_error.visible {
  display: block;
}
.saisie_texte.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.saisie_texte.valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}
