/* ========= BASE ========= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #000;
}

/* ========= PORTFOLIO PAGE ========= */
/* ========= PORTFOLIO HERO ========= */

.portfolio-hero {
  background: #000;
  color: white;
  padding: 140px 0 60px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  color: #b056ff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.site-menu a {
  position: relative;
  padding: 25px 0;
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-menu a:hover,
.site-menu a.active {
  color: #b056ff;
}

.site-menu a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: #9b35ff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.8);
  transform: translateX(-50%);
}

.portfolio-hero .row {
  min-height: auto;
  margin: 0;
}

.portfolio-hero .container {
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-brand {
  background: linear-gradient(90deg, #c859b4, #8a38f5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
/* Conteneur global */
.orbit-photo {
  position: relative;
  width: 560px;
  height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  overflow: visible;
}

/* Photo ronde au centre */
.profile-img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  position: relative;
  z-index: 5;
  box-shadow:
    -30px 0 55px rgba(0, 115, 255, 0.45),
    30px 0 55px rgba(255, 0, 200, 0.45),
    0 0 35px rgba(128, 0, 255, 0.5);
}

/* Base des arcs */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  z-index: 8;
  animation: spin 9s linear infinite;
}

/* Arc extérieur */
.ring-1 {
  width: 500px;
  height: 500px;
  border-top-color: #6a00ff;
  border-right-color: #ff00c8;
  animation-duration: 10s;
}

/* Arc 2 */
.ring-2 {
  width: 455px;
  height: 455px;
  border-left-color: #f2c6ff;
  border-bottom-color: #ff00c8;
  animation-duration: 8s;
  animation-direction: reverse;
}

/* Arc 3 */
.ring-3 {
  width: 410px;
  height: 410px;
  border-top-color: #5e17eb;
  border-right-color: #8a2eff;
  animation-duration: 12s;
}

/* Arc intérieur */
.ring-4 {
  width: 350px;
  height: 350px;
  border-left-color: #2d00f7;
  border-bottom-color: #6a00ff;
  animation-duration: 9s;
  animation-direction: reverse;
}

/* Points lumineux */
.ring::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 10px #fff,
    0 0 22px #fff,
    0 0 35px rgba(255, 255, 255, 0.8);
}

/* Points lumineux */
.ring::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 10px #fff,
    0 0 22px #fff,
    0 0 35px rgba(255, 255, 255, 0.8);
}

/* Animation rotation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.title {
  color: #fff;
  font-size: 55px;
  font-weight: 800;
}

.typing {
  display: inline-block;
  overflow: hidden; /* Cache la partie du texte qui dépasse. */
  white-space: nowrap; /* Empêche le texte de passer à la ligne. */
  border-right: 3px solid #fff;
  background: linear-gradient(90deg, #6a00ff, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 0;
  animation:
    typing 10s steps(22) infinite,
    cursor 1s step-end infinite;
}

@keyframes typing {
  0% {
    width: 0;
  }

  60% {
    width: 22ch;
  }

  80% {
    width: 22ch;
  }

  100% {
    width: 0;
  }
}

@keyframes cursor {
  50% {
    border-color: transparent;
  }
}
.tech-icons {
  color: #7c3aed;
}

/* Responsive téléphone */
@media (max-width: 768px) {
  .orbit-photo {
    width: 360px;
    height: 360px;
  }

  .profile-img {
    width: 210px;
    height: 210px;
  }

  .ring-1 {
    width: 330px;
    height: 330px;
  }

  .ring-2 {
    width: 295px;
    height: 295px;
  }

  .ring-3 {
    width: 260px;
    height: 260px;
  }

  .ring-4 {
    width: 210px;
    height: 210px;
  }

  .title {
    color: #fff;
    font-size: 50px;
    font-weight: 400;
  }
}
.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  width: 100%;
  padding: 0 40px;
  margin: 30px 0;
}

.moving-line {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 50px;
  overflow: hidden;

  background: linear-gradient(90deg, #6a00ff, #ff00c8, #00bfff, #6a00ff);

  background-size: 300% 100%;
  animation: gradientMove 4s linear infinite;
}

.moving-line::before {
  display: none;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.section-tag {
  background: linear-gradient(90deg, #6a00ff, #ff00c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 60px;
}
.about-section {
  background: black;
  color: white;
  background: black;
  color: white;
  padding: 70px 0;
}

.title-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.svg-dot {
  fill: #d946ef;
  stroke: none;
  stroke-width: 0;
  opacity: 0;
  filter: drop-shadow(0 0 8px #d946ef);
}

@keyframes showDot {
  to {
    opacity: 1;
  }
}

@keyframes showDot {
  to {
    opacity: 1;
  }
}
.title-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 120px;
  font-weight: 300;

  fill: transparent;
  stroke: white;
  stroke-width: 1.5;

  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}

.scroll-title-animation .title-text {
  fill: transparent;
  stroke-dashoffset: 1600;
}

.scroll-title-animation .svg-dot {
  opacity: 0;
}

.scroll-title-animation.title-visible .title-text {
  animation:
    drawTitle 5s ease forwards,
    fillTitle 5s ease forwards 2s;
}

.scroll-title-animation.title-visible .svg-dot {
  animation: showDot 0.5s ease forwards 5s;
}

@keyframes drawTitle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fillTitle {
  to {
    fill: white;
  }
}

.about-text {
  font-size: 20px;
  line-height: 1.6;
  max-width: 750px;
}

/* Responsive */
@media (max-width: 768px) {
  .title-text {
    font-size: 80px;
  }

  .about-text {
    font-size: 16px;
  }
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 999px;
  color: #b95cff;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: #a855f7;
  border-radius: 50%;
  box-shadow: 0 0 12px #a855f7;
}

.title-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: -10px;
  margin-bottom: 35px;
}

.line {
  width: 70px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ff4bd8, #8b5cf6);
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.8);
}

.small-dot {
  width: 9px;
  height: 9px;
  background: #a855f7;
  border-radius: 50%;
  box-shadow: 0 0 12px #a855f7;
}

.about-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.75),
    transparent 65%
  );
  filter: blur(10px);
  z-index: 0;
}

.about-img {
  width: 100%;
  max-width: 550px;
  border-radius: 28px;
}

.about-text {
  font-size: 20px;
  line-height: 1.6;
  max-width: 750px;
  margin-top: 20px;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  padding: 14px 42px;
  border-radius: 40px;

  color: white;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.04);
  border: 2px solid transparent;

  background-image:
    linear-gradient(#050505, #050505),
    linear-gradient(90deg, #ff4ecb, #7c3aed, #00bfff);

  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow:
    0 0 12px rgba(255, 78, 203, 0.8),
    0 0 25px rgba(124, 58, 237, 0.7),
    inset 0 0 12px rgba(255, 255, 255, 0.05);

  transition: 0.3s ease;
}

.download-btn i {
  color: #ff4ecb;
  font-size: 24px;
}

.download-btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(255, 78, 203, 1),
    0 0 35px rgba(124, 58, 237, 0.9),
    0 0 55px rgba(0, 191, 255, 0.5);
}

.download-btn:active {
  transform: scale(0.96); /*  changements plus fluides
*/
}

.custom-container {
  max-width: 1800px;
}
/* Cercle avec icône */
.circle-icon {
  width: 45px;
  height: 45px;
  border: 1px solid #d633ff;
  border-radius: 50%;
  background-color: #090919;
  color: #d633ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(214, 51, 255, 0.8);
}
.neon-box {
  position: relative;
  background: black;
  border: 1px solid #ff2df7;
  border-radius: 18px;
  padding: 70px 40px 45px;
  min-height: 300px;
  box-shadow:
    0 0 15px rgba(255, 45, 247, 0.5),
    inset 0 0 10px rgba(0, 195, 255, 0.2);
}
.animated-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: none;
  border-radius: 30px;
  padding: 2px;
  background: transparent;
  text-decoration: none;
}

/* Bordure animée */
.animated-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 160px;
  background: linear-gradient(180deg, #00b7ff, #ff30ff);
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: rotateBorder 3s linear infinite;
}

/* Intérieur du bouton */
.animated-btn span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 8px 22px;
  border-radius: 30px;
  background: #090919;
  color: white;
  font-weight: 600;
  box-shadow:
    0 0 12px rgba(255, 78, 203, 0.8),
    0 0 25px rgba(124, 58, 237, 0.7),
    inset 0 0 12px rgba(255, 255, 255, 0.05);

  transition: 0.3s ease;
}

.animated-btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(255, 78, 203, 1),
    0 0 35px rgba(124, 58, 237, 0.9),
    0 0 55px rgba(0, 191, 255, 0.5);
}

/* Animation */
@keyframes rotateBorder {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* ================= CONTACT SECTION ================= */

.Contact-section {
  position: relative;

  color: white;
  background: #000;
  overflow: hidden;
  padding: 90px 0 0;
}

/* Badge Let’s Connect */
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
  font-weight: 600;
}

/* Titre */
.contact-title {
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
  margin-top: 25px;
  line-height: 1.05;
  color: white;
}

.contact-title span {
  background: linear-gradient(90deg, #c084fc, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sous-titre */
.contact-subtitle {
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin-inline: auto;
}

/* Petite ligne lumineuse sous le texte */
.contact-line {
  width: 90px;
  height: 4px;
  margin: 28px auto 60px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.9);
}

/* ================= ILLUSTRATION GAUCHE CORRIGÉE ================= */

.contact-illustration {
  width: 430px;
  height: 430px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: visible;
}

/* Cercle pointillé intérieur */
.contact-illustration::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 2px dashed rgba(216, 180, 254, 0.55);
  z-index: 2;
}

/* Image au centre */
.contact-img {
  width: 260px;
  height: auto;
  position: relative;
  z-index: 3;

  /* important pour cacher le carré noir de l'image */
  mix-blend-mode: screen;

  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.9))
    drop-shadow(0 0 45px rgba(126, 34, 206, 0.55));
}

/* Icônes sociales */
.social-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 254, 0.7);
  background: #07030d;
  color: white;
  text-decoration: none;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  font-size: 26px;
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.9),
    0 0 35px rgba(168, 85, 247, 0.45),
    inset 0 0 14px rgba(168, 85, 247, 0.2);
  transition: 0.3s ease;
}

.social-icon:hover {
  color: white;
  box-shadow:
    0 0 25px rgba(168, 85, 247, 1),
    0 0 50px rgba(168, 85, 247, 0.65);
}

/* Position des icônes */
.instagram {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.instagram:hover {
  transform: translateX(-50%) scale(1.12);
}

.linkedin {
  top: 70px;
  right: 20px;
}

.linkedin:hover,
.email:hover,
.whatsapp:hover {
  transform: scale(1.12);
}

.email {
  top: 260px;
  right: 5px;
}

.whatsapp {
  bottom: -10px;
  right: 160px;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-illustration {
    width: 380px;
    height: 380px;
  }

  .contact-img {
    width: 230px;
  }

  .social-icon {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .contact-illustration {
    width: 310px;
    height: 310px;
  }

  .contact-img {
    width: 185px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .instagram {
    top: 25px;
  }

  .linkedin {
    top: 75px;
    right: 25px;
  }

  .email {
    top: 155px;
    right: -5px;
  }

  .whatsapp {
    bottom: 45px;
    right: 30px;
  }
}
/* ================= FORMULAIRE ================= */

.contact-card {
  position: relative;
  background: rgba(10, 10, 18, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.65);
  border-radius: 34px;
  padding: 55px;
  box-shadow:
    0 0 28px rgba(168, 85, 247, 0.25),
    0 0 65px rgba(88, 28, 135, 0.35),
    inset 0 0 28px rgba(255, 255, 255, 0.025);
}

/* Lumière en haut de la carte */
.contact-card::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 25px;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  box-shadow: 0 0 22px #a855f7;
}

/* Box des champs */
.input-box {
  position: relative;
}

/* Icônes dans les inputs */
.input-box i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #a855f7;
  font-size: 21px;
  z-index: 2;
}

.textarea-box i {
  top: 25px;
  transform: none;
}

/* Inputs */
.contact-card .form-control {
  width: 100%;
  background: rgba(5, 5, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  border-radius: 12px;
  padding: 18px 20px 18px 58px;
  font-size: 16px;
  box-shadow: none;
}

/* Textarea */
.contact-card textarea.form-control {
  resize: none;
  min-height: 170px;
  padding-top: 18px;
}

/* Placeholder */
.contact-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Focus input */
.contact-card .form-control:focus {
  background: rgba(5, 5, 12, 0.95);
  color: white;
  border-color: #a855f7;
  box-shadow:
    0 0 0 0.18rem rgba(168, 85, 247, 0.16),
    0 0 22px rgba(168, 85, 247, 0.35);
}

/* Bouton envoyer */
.send-btn {
  border: none;
  padding: 17px 42px;
  border-radius: 13px;
  color: white;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(90deg, #ec4899, #7c3aed);
  box-shadow:
    0 0 20px rgba(236, 72, 153, 0.6),
    0 0 38px rgba(124, 58, 237, 0.45);
  transition: 0.3s ease;
}

.send-btn i {
  margin-right: 12px;
}

.send-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 28px rgba(236, 72, 153, 0.85),
    0 0 55px rgba(124, 58, 237, 0.65);
}

/* Message sous le bouton */
#formMessage {
  margin-top: 15px;
  color: #d8b4fe;
}
/* ================= FOOTER ================= */
.footer-wave {
  width: 100%;
  background: rgba(30, 8, 74, 0.95);
  color: white;
  text-align: center;
  display: block;
  margin: 0;
}

/* SVG vague en haut du footer (transition noir → violet) */
.footer-path {
  display: block;
  width: 100%;
  height: 100px;
  background: #000;
}

.wave-fill {
  fill: rgba(30, 8, 74, 0.95);
}

.wave-line {
  fill: none;
  stroke: #c084fc;
  stroke-width: 1.5;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.8));
}

.wave-line-2 {
  stroke: #7c3aed;
  stroke-width: 1;
  opacity: 0.4;
}

/* Contenu */
.footer-content-simple {
  padding: 22px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo */
.footer-wave .footer-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(46, 16, 101, 0.8);
  box-shadow:
    0 0 18px rgba(168, 85, 247, 0.9),
    0 0 35px rgba(168, 85, 247, 0.4);
}

.footer-wave .footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-wave p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
  .footer-path { height: 70px; }

  .footer-wave .footer-logo {
    width: 48px;
    height: 48px;
  }

  .footer-wave .footer-logo img {
    width: 36px;
    height: 36px;
  }

  .footer-wave p { font-size: 12px; }
}

@media (max-width: 760px) {
  .site-nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: center;
  }

  .site-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 14px;
  }

  .site-menu a {
    padding: 6px 0 10px;
  }
}

/* ========================================= */
/* PROJECTS & TECH STACK                     */
/* ========================================= */

.projects-tech-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;

  color: #ffffff;

  background: #000;
}

.projects-tech-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  opacity: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px
    );

  background-size: 45px 45px;
}

.projects-tech-section .container {
  position: relative;
  z-index: 1;
}

/* Titres */

.pt-heading {
  position: relative;
}

.pt-small-title {
  display: block;
  margin-bottom: 7px;

  color: #a96cff;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

.pt-main-title {
  margin: 0 0 12px;

  color: #ffffff;

  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.pt-title-line {
  display: block;

  width: 65px;
  height: 4px;

  border-radius: 50px;

  background:
    linear-gradient(
      90deg,
      #7b2cff,
      #b267ff
    );

  box-shadow:
    0 0 18px rgba(139, 61, 255, 0.65);
}

/* Lien du projet */

.pt-project-link {
  display: block;

  color: inherit;
  text-decoration: none;
}

.pt-project-link:hover {
  color: inherit;
}

/* Carte du projet */

.pt-project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  padding: 38px;

  border: 1px solid rgba(190, 194, 220, 0.2);
  border-radius: 22px;

  background:
    linear-gradient(
      135deg,
      rgba(35, 20, 59, 0.82),
      rgba(12, 14, 25, 0.93) 58%
    );

  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.4);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pt-project-card:hover {
  border-color: rgba(139, 61, 255, 0.7);

  transform: translateY(-6px);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(139, 61, 255, 0.14);
}

/* Lumière de la carte */

.pt-project-glow {
  position: absolute;
  top: -120px;
  left: -110px;
  z-index: -1;

  width: 290px;
  height: 290px;

  border-radius: 50%;

  background: rgba(139, 61, 255, 0.23);
  filter: blur(85px);

  pointer-events: none;

  transition:
    top 0.15s linear,
    left 0.15s linear;
}

/* Icône principale */

.pt-project-icon {
  display: grid;
  place-items: center;

  width: 92px;
  height: 92px;

  border: 1px solid #893cff;
  border-radius: 50%;

  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      rgba(139, 61, 255, 0.32),
      rgba(139, 61, 255, 0.06)
    );

  box-shadow:
    inset 0 0 25px rgba(139, 61, 255, 0.12),
    0 0 25px rgba(139, 61, 255, 0.24);

  font-size: 2.4rem;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.pt-project-card:hover .pt-project-icon {
  transform: rotate(-6deg) scale(1.05);

  box-shadow:
    inset 0 0 28px rgba(139, 61, 255, 0.18),
    0 0 36px rgba(139, 61, 255, 0.36);
}

/* Texte du projet */

.pt-project-title {
  margin-bottom: 12px;

  color: #ffffff;

  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
}

.pt-project-description {
  max-width: 520px;
  margin: 0;

  color: #adb0c0;

  font-size: 1rem;
  line-height: 1.7;
}

/* Flèche */

.pt-project-arrow {
  display: grid;
  place-items: center;

  width: 65px;
  height: 65px;

  border: 1px solid #893cff;
  border-radius: 50%;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      rgba(139, 61, 255, 0.34),
      rgba(139, 61, 255, 0.08)
    );

  box-shadow:
    0 0 22px rgba(139, 61, 255, 0.22);

  font-size: 1.7rem;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.pt-project-card:hover .pt-project-arrow {
  background: #8134f4;

  transform: translateX(5px);

  box-shadow:
    0 0 32px rgba(139, 61, 255, 0.52);
}

/* Built with passion */

.pt-passion {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #a8aaba;

  font-size: 1rem;
}

.pt-passion i {
  color: #9e58ff;
  font-size: 1.7rem;
}

/* Catégories du Tech Stack */

.pt-stack-category {
  margin-bottom: 32px;
}

.pt-category-title {
  margin-bottom: 16px;

  color: #dedfe8;

  font-size: 1.1rem;
  font-weight: 650;
}

/* Cartes technologies */

.pt-tech-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  overflow: hidden;

  min-height: 78px;
  padding: 14px 17px;

  border: 1px solid rgba(190, 194, 220, 0.2);
  border-radius: 12px;

  color: #f7f7fb;

  background:
    linear-gradient(
      145deg,
      rgba(17, 19, 31, 0.94),
      rgba(8, 10, 18, 0.94)
    );

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25);

  font-size: 0.95rem;
  font-weight: 600;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.pt-tech-card::before {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0;

  background:
    linear-gradient(
      115deg,
      transparent,
      rgba(139, 61, 255, 0.14),
      transparent
    );

  transform: translateX(-100%);

  transition:
    transform 0.65s ease,
    opacity 0.65s ease;
}

.pt-tech-card:hover {
  border-color: rgba(139, 61, 255, 0.68);

  background:
    linear-gradient(
      145deg,
      rgba(29, 22, 48, 0.95),
      rgba(11, 13, 23, 0.97)
    );

  transform: translateY(-5px);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(139, 61, 255, 0.12);
}

.pt-tech-card:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

.pt-tech-card > * {
  position: relative;
  z-index: 1;
}

/* Conteneur de chaque icône */

.pt-tech-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;

  width: 43px;
  height: 43px;

  border-radius: 10px;

  font-size: 1.55rem;
}

/* Couleurs des icônes */

.pt-bootstrap-icon {
  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      #9b50ff,
      #6418d5
    );

  box-shadow:
    0 0 18px rgba(139, 61, 255, 0.38);
}

.pt-javascript-icon {
  color: #f7df1e;
  background: rgba(247, 223, 30, 0.09);
}

.pt-scss-icon {
  color: #cf649a;
  background: rgba(207, 100, 154, 0.1);
}

.pt-symfony-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pt-php-icon {
  color: #8993be;
  background: rgba(137, 147, 190, 0.1);
}

.pt-node-icon {
  color: #67c23a;
  background: rgba(103, 194, 58, 0.1);
}

.pt-mysql-icon {
  color: #2e9ed0;
  background: rgba(46, 158, 208, 0.1);
}

.pt-git-icon {
  color: #f05032;
  background: rgba(240, 80, 50, 0.1);
}

.pt-vscode-icon {
  color: #24a8f2;
  background: rgba(36, 168, 242, 0.1);
}

.pt-figma-icon {
  color: #f24e1e;
  background: rgba(242, 78, 30, 0.1);
}

/* Animation au défilement */

.pt-reveal {
  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.pt-reveal.pt-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive tablette */

@media (max-width: 991.98px) {
  .projects-tech-section {
    min-height: auto;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .pt-project-card {
    padding: 32px;
  }
}

/* Responsive téléphone */

@media (max-width: 575.98px) {
  .pt-main-title {
    font-size: 2rem;
  }

  .pt-project-card {
    padding: 25px 21px;
  }

  .pt-project-icon {
    width: 74px;
    height: 74px;

    font-size: 2rem;
  }

  .pt-project-arrow {
    width: 100%;
    height: 52px;

    border-radius: 12px;
  }

  .pt-project-card:hover .pt-project-arrow {
    transform: translateY(-2px);
  }

  .pt-tech-card {
    min-height: 69px;
  }
}

/* Accessibilité */

@media (prefers-reduced-motion: reduce) {
  .pt-project-card,
  .pt-project-icon,
  .pt-project-arrow,
  .pt-tech-card,
  .pt-reveal {
    transition: none;
  }

  .pt-reveal {
    opacity: 1;
    transform: none;
  }
}
