/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151026 0, #050508 55%, #020204);
  color: #f5f5f7;
  min-height: 100vh;
}

/* NAVBAR */

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: 1.2rem;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ================================
   LOGO ANIMÉ (avec GSAP)
================================== */
.nav-logo {
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5f5ff;
  text-decoration: none;
  cursor: pointer;

  /* Variable CSS animée par GSAP */
  --underline-scale: 0;
}

.nav-logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #a66bff, #6b4bff);
  border-radius: 999px;

  /* Ligne animable */
  transform-origin: left;
  transform: scaleX(var(--underline-scale));
}

/* Accent sur une partie du texte */
.nav-logo span {
  color: #a884ff;
}


/* Liens desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #d8d4ff;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a66bff, #6b4bff);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Burger */
.nav-toggle {
  display: none; /* caché en desktop */
  background: transparent;
  border: none;
  padding: 0.4rem;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f5f5ff;
}

/* NAVBAR RESPONSIVE */

@media (max-width: 1000px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 1.5rem;
    left: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(6, 5, 15, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(190, 176, 255, 0.18);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    gap: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  /* Quand le menu est ouvert (classe ajoutée sur <body>) */
  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}


/* GLOBAL */
.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.section-soft {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title span {
  color: #9f7bff;
  position: relative;
}

.section-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9f7bff, #6a4cff);
}

.section-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #d3d3dd;
  max-width: 680px;
}

.section-text.center {
  text-align: center;
  margin: 0 auto 3rem;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: #b8a5ff;
}

.highlight {
  color: #a884ff;
}

.center {
  text-align: center;
}

.section-title {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #a66bff, #6b4bff);
  color: #fff;
  box-shadow: 0 0 35px rgba(132, 90, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(132, 90, 255, 0.7);
}

.btn-outline {
  border: 1px solid rgba(159, 123, 255, 0.7);
  color: #f1ecff;
  background: rgba(5, 5, 12, 0.8);
}

.btn-outline:hover {
  background: rgba(159, 123, 255, 0.12);
  box-shadow: 0 0 25px rgba(159, 123, 255, 0.4);
}

.btn-full {
  width: 100%;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(170, 170, 180, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 16, 0.95);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.icon-btn svg {
  width: 18px;
  fill: #f5f5f7;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 123, 255, 0.85);
  box-shadow: 0 0 20px rgba(159, 123, 255, 0.5);
}

.icon-btn-ghost {
  background: transparent;
  border-color: transparent;
}

/* Tags */
.tag,
.tag-pill {
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #9f7bff, #422b88);
  color: #f8f5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tag-pill {
  margin: 0.35rem;
}

/* HERO (HOME) */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 7rem;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #b7b0ff;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  color: #d6caff;
  text-shadow: 0 0 38px rgba(152, 108, 255, 0.8);
}

.hero-title-sub {
  display: block;
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: #b28dff;
  text-shadow: 0 0 35px rgba(152, 108, 255, 0.9);
}

.hero-text {
  margin-top: 1.8rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #dcd7ff;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
}

.scroll-down {
  margin: 3rem auto 0;
  border: none;
  background: none;
  color: #a884ff;
  font-size: 1.5rem;
  cursor: pointer;
  animation: float 1.5s ease-in-out infinite alternate;
}

/* Orbes lumineuses animées derrière le hero */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.9;
  mix-blend-mode: screen;
}

/* Orbe gauche */
.orb-1 {
  width: 320px;
  height: 320px;
  left: 8%;
  top: 35%;
  background: radial-gradient(
    circle at center,
    rgba(170, 110, 255, 0.9),
    rgba(90, 60, 190, 0.1) 70%,
    transparent 100%
  );
}

/* Orbe droite */
.orb-2 {
  width: 280px;
  height: 280px;
  right: 12%;
  top: 25%;
  background: radial-gradient(
    circle at center,
    rgba(120, 200, 255, 0.9),
    rgba(40, 90, 200, 0.1) 70%,
    transparent 100%
  );
}

/* Orbe centrale basse */
.orb-3 {
  width: 360px;
  height: 360px;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle at center,
    rgba(190, 120, 255, 0.9),
    rgba(120, 70, 220, 0.1) 70%,
    transparent 100%
  );
}

/* background glow global hero */
.hero-bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at top, rgba(126, 92, 255, 0.16), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(126, 92, 255, 0.14), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(70, 58, 145, 0.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  width: 310px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-glow {
  position: absolute;
  width: 320px;      
  height: 420px;      
  border-radius: 999px;
  background: radial-gradient(
    rgba(170, 110, 255, 0.8),
    transparent 80%
  );
  filter: blur(40px); 
  z-index: 0;
}


/* Photo interne */
.about-photo {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 450px;
  object-fit: cover;
  object-position: center;
  border-radius: 160px;
}

.passions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.passion-card {
  background: radial-gradient(circle at top, rgba(122, 90, 255, 0.35), #0c0714);
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
  border: 1px solid rgba(229, 229, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
  white-space: normal;
  min-height: 100px;
}

.passion-icon {
  font-size: 1.3rem;
}

.passion-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  max-width: 100%;
}

/* PROJECTS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.project-card {
  background: radial-gradient(circle at top, rgba(94, 72, 187, 0.35), #050509);
  border-radius: 26px;
  border: 1px solid rgba(236, 234, 255, 0.05);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-media {
  position: relative;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.project-media-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0.6rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  font-size: 0.82rem;
  font-weight: 600;
}

.project-badge {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #a66bff, #6b4bff);
  font-size: 0.75rem;
}

.project-body {
  padding: 1.6rem 1.7rem 1.7rem;
}

.project-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.9rem;
  color: #d8d5f5;
  margin-bottom: 1.1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Cartes projets cliquables + hover */
.project-card--link {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card--link .project-card-click {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.project-card--link:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.9);
}

/* Zoom léger sur l'image au survol */
.project-media img {
  transition: transform 0.35s ease;
}

.project-card--link:hover .project-media img {
  transform: scale(1.05);
}

/* SKILLS */

.skills-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: radial-gradient(circle at top, rgba(88, 62, 170, 0.38), #050509);
  border-radius: 26px;
  padding: 1.6rem 1.4rem 1.4rem;
  border: 1px solid rgba(234, 230, 255, 0.05);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.8);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.skill-card-header h3 {
  font-size: 1.05rem;
}

.skill-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #a66bff, #6b4bff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.skill-icon-green {
  background: linear-gradient(135deg, #38975a, #1b8e50);
}

.skill-icon-blue {
  background: linear-gradient(135deg, #53aaf9, #2762c2);
}

.skill-icon-orange {
  background: linear-gradient(135deg, #ff9446, #c94720);
}

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.86rem;
}

.badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(206, 182, 255, 0.8);
  color: #e5ddff;
}

.badge-soft {
  border-color: rgba(181, 112, 234, 0.4);
  color: #9d67c5;
}

.badge-strong {
  border-color: rgba(122, 226, 144, 0.7);
  color: #b9ffd1;
}

.skill-bar {
  margin-top: 0.35rem;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(33, 30, 59, 0.9);
  overflow: hidden;
}

.skill-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a66bff, #6b4bff);
}

.skill-bar-green span {
  background: linear-gradient(90deg, #54e68a, #1b8e50);
}

.skill-bar-blue span {
  background: linear-gradient(90deg, #53aaf9, #2762c2);
}

.skill-bar-orange span {
  background: linear-gradient(90deg, #ff9446, #c94720);
}

/* TECHNOLOGIES */

/* ====== TECHNOLOGIES ====== */

.tech-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 2.2rem;
}

.tags-row {
  display: inline-flex;
  gap: 1rem;
  width: max-content;
  animation: tech-marquee 25s linear infinite;
}

.tags-row .tag-pill {
  white-space: nowrap; /* pour que les tags ne passent pas à la ligne */
}

/* Pause de l'animation au survol (facultatif mais agréable) */
.tech-marquee:hover .tags-row {
  animation-play-state: paused;
}

@keyframes tech-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* on décale suffisamment pour traverser la largeur de la première série */
    transform: translateX(-50%);
  }
}


/* CONTACT */

.contact-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.6rem;
}

.contact-card {
  background: radial-gradient(circle at top, rgba(95, 73, 189, 0.35), #050509);
  border-radius: 24px;
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(234, 230, 255, 0.05);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}

.contact-card h3 {
  margin-bottom: 0.4rem;
}

.contact-subtext {
  font-size: 0.88rem;
  color: #c2bedf;
  margin-bottom: 1.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  gap: 0.35rem;
}

.field span {
  color: #e0ddff;
}

input,
textarea {
  background: #0b0711;
  border: 1px solid rgba(225, 219, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  color: #f5f5fc;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #7f7a9f;
}

input:focus,
textarea:focus {
  border-color: rgba(159, 123, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(159, 123, 255, 0.6);
  background: #07030f;
}

textarea {
  resize: vertical;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-info-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-info-list li {
  display: flex;
  gap: 0.8rem;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: rgba(159, 123, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-label {
  font-size: 0.78rem;
  color: #a8a4c9;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ce07b;
  box-shadow: 0 0 12px rgba(76, 224, 123, 0.8);
}

.input-error {
  border-color: rgba(255, 120, 120, 0.9) !important;
  box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.6);
}

/* Form feedback */
.form-feedback {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  min-height: 1.1rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid #131218;
  padding: 1.3rem 1.5rem 2.2rem;
  background: #050507;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9f9bad;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ddd9ff;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

/* ANIMATIONS / REVEAL */

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(6px);
  }
}

/* caché par défaut, GSAP rend visible */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* PAGE PARCOURS (GLOBAL) */

.page-parcours {
  background: radial-gradient(circle at top, #151026 0, #050508 55%, #020204);
}

/* Top bar retour */
.parcours-topbar {
  max-width: 1180px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(160, 160, 190, 0.35);
  background: rgba(5, 5, 10, 0.9);
  color: #f5f5ff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}

.back-button:hover {
  background: rgba(159, 123, 255, 0.12);
  border-color: rgba(159, 123, 255, 0.85);
  box-shadow: 0 0 22px rgba(159, 123, 255, 0.4);
  transform: translateY(-1px);
}

/* HERO parcours */

.parcours-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.parcours-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.parcours-avatar-wrapper {
  position: relative;
}

.parcours-avatar {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  border: 1px solid rgba(190, 170, 255, 0.7);
  background: radial-gradient(circle at top, #1d153b, #07040f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #f5f5ff;
  position: relative;
  z-index: 2;
}

.parcours-avatar-glow {
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  background: radial-gradient(
    circle at center,
    rgba(170, 110, 255, 0.85),
    transparent 65%
  );
  filter: blur(20px);
  opacity: 0.6;
  z-index: 1;
}

.parcours-hero-text {
  text-align: center;
}

.parcours-title {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #d6caff;
  text-shadow: 0 0 35px rgba(152, 108, 255, 0.8);
}

.parcours-firstname {
  display: block;
}

.parcours-lastname {
  display: block;
  color: #b28dff;
}

.parcours-subtitle {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: #d1ccff;
}

/* Carte formation actuelle */

.parcours-card {
  background: radial-gradient(
      circle at top right,
      rgba(110, 80, 220, 0.4),
      transparent 55%
    ),
    #09050f;
  border-radius: 24px;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(236, 234, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
}

.formation-card {
  margin-top: 0.5rem;
}

.formation-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.formation-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(159, 123, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.formation-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.formation-school {
  font-size: 0.9rem;
  color: #d4d1ff;
  margin-bottom: 0.7rem;
}

.formation-school span {
  color: #b9a2ff;
  font-weight: 600;
}

.formation-track {
  margin-top: 0.3rem;
}

.formation-tag {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: radial-gradient(circle at top left, #9f7bff, #422b88);
  color: #f6f2ff;
}

/* Timeline */

.parcours-timeline-section {
  padding-top: 2rem;
}

.parcours-timeline {
  position: relative;
  margin-top: 2.2rem;
}

.timeline-line {
  position: absolute;
  left: 18px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(159, 123, 255, 0.7),
    rgba(70, 50, 180, 0.2)
  );
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.8rem;
}

.timeline-bullet {
  position: absolute;
  left: 10px;
  top: 1.1rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #050309;
  border: 3px solid rgba(159, 123, 255, 0.9);
  box-shadow: 0 0 16px rgba(159, 123, 255, 0.7);
}

.timeline-card {
  background: radial-gradient(
      circle at top right,
      rgba(90, 70, 190, 0.4),
      transparent 55%
    ),
    #07040d;
  border-radius: 22px;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid rgba(236, 234, 255, 0.04);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.timeline-card-green {
  background: radial-gradient(
      circle at top right,
      rgba(80, 200, 150, 0.35),
      transparent 55%
    ),
    #040b0b;
}

.timeline-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.timeline-tagline {
  font-size: 0.9rem;
  color: #c2beff;
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.9rem;
  color: #d7d4ff;
}

.timeline-label {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: #a6f2c2;
}

.timeline-label span {
  font-weight: 600;
}

/* Pourquoi le développement web */

.parcours-why-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.why-card {
  margin-top: 1.5rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.why-item {
  background: #050509;
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(234, 230, 255, 0.05);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
}

.why-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(159, 123, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.why-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.why-item p {
  font-size: 0.9rem;
  color: #cbc8f0;
}

.why-quote {
  margin-top: 1.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 123, 255, 0.5);
  background: linear-gradient(
    120deg,
    rgba(159, 123, 255, 0.25),
    rgba(40, 20, 90, 0.8)
  );
  font-size: 0.9rem;
  text-align: center;
  color: #f2efff;
}

.why-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* SITEMAP */
.sitemap-grid {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(10, 10, 16, 0.8);
    border-radius: 18px;
    border: 1px solid rgba(236, 234, 255, 0.04);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}

.sitemap-grid h2 {
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
    color: #d6caff;
}

.sitemap-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.sitemap-list li {
    margin: 0.8rem 0;
}

.sitemap-list a {
    color: #c4b8ff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.sitemap-list a:hover {
    color: #fff;
    letter-spacing: 0.5px;
}

/* PAGE LÉGALE */

.page-legal .legal-container {
  padding-bottom: 4rem; /* espace en bas de page */
}

/* RESPONSIVE GLOBAL */

@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 5rem;
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 4.5rem 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .passions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-photo-wrapper {
    width: 300px;
    height: 410px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero {
    padding-bottom: 5rem;
  }

  .project-card,
  .skill-card,
  .contact-card {
    border-radius: 20px;
  }

  .passions-grid {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE PARCOURS */

@media (max-width: 900px) {
  .parcours-card {
    padding: 1.5rem 1.2rem;
  }

  .timeline-item {
    padding-left: 3rem;
  }
}

@media (max-width: 768px) {
  .parcours-topbar {
    padding: 0 1.2rem;
  }

  .parcours-hero {
    padding-top: 2.5rem;
  }

  .parcours-hero-inner {
    gap: 1.3rem;
  }

  .parcours-card {
    padding: 1.4rem 1.2rem;
  }

  .timeline-item {
    padding-left: 2.8rem;
  }

  .timeline-line {
    left: 16px;
  }

  .timeline-bullet {
    left: 8px;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why-quote {
    border-radius: 16px;
  }
}
