/* ========================================
   IMPORTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mrs+Saint+Delafield&display=swap');

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #1f1f1f;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

body h1, 
body h2, 
body h3, 
body h4, 
body h5, 
body h6 {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  background-color: #000000ea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  height: 70px;
  padding: 0 60px;
}

.logo {
  font-size: 1.8rem;
  font-family: 'Mrs Saint Delafield', sans-serif;
  color: #ffffff;
  font-weight: bold;
}

.logo:hover {
  transition: all 0.3s ease;
  color: #7b00ff;
  text-shadow: 0 0 5px rgb(123, 0, 255), 0 0 5px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255);
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  text-transform: capitalize;
  font-family: 'Inter', sans-serif;
}

.nav-menu li a:hover {
  transition: all 0.3s ease;
  color: #7b00ff;
  text-shadow: 0 0 5px rgb(123, 0, 255), 0 0 5px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255);
  transform: scale(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo {
  display: none;
}

/* ========================================
   SECTION HERO
   ======================================== */
.section-hero {
  background-image: url('../../images/svg/mobile/m-hero.svg');
  display: flex;
  background-size: 100%;
  background-position: top center;
  align-items: center;
  text-align: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: aliceblue;
  padding-top: 0px;
  padding-bottom: 100px;
  padding: 0 20px;
}

.section-hero img {
  height: auto;
  width: 100px;
  position: relative;
  z-index: 1;
}

.section-hero,
.section-hero h1,
.section-hero h2,
.section-hero h3 {
  padding-left: 5%;
  padding-right: 5%;
  justify-content: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.section-hero h2 {
  font-size: 22px;
  display: block;
  white-space: normal;
}

.section-hero h3 {
  margin-top: 20px;
  font-size: 25px;
}

.contenu-hero {
  position: relative;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-fluo-hero {
  background-color: rgb(123, 0, 255);
  color: #ffffff;
  border: none;
  padding: 15px 25px;
  margin-top: 30px;
  font-size: 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  text-transform: uppercase;
  font-weight: bolder;
  box-shadow: 0 0 4px rgb(123, 0, 255), 0 0 4px rgb(123, 0, 255), 0 0 4px rgb(123, 0, 255), 0 0 4px rgb(123, 0, 255);
}

.btn-fluo-hero:hover {
  box-shadow: 0 0 10px #7b00ff, 0 0 10px rgb(123, 0, 255), 0 0 10px rgb(123, 0, 255), 0 0 10px rgb(123, 0, 255);
  transform: scale(1.1);
}

/* ========================================
   SECTION À PROPOS
   ======================================== */
.section-apropo {
  text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%237c64a3' fill-opacity='0.2' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E");
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-apropo h2 {
  justify-content: center;
  display: flex;
  align-items: center;
  color: white;
}

.propo img, 
.cv img {
  display: block;
  margin: 0 auto;
  max-width: 40%;
  height: auto;
}

.cv:hover {
  transform: rotate(-5deg);
}

.section-apropo .cv {
  margin-top: 20px;
}

/* ========================================
   SECTION COMPÉTENCES WEB
   ======================================== */
.compW {
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23474169' fill-opacity='0.55'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-color: #000;
  padding: 20px 10px;
  gap: 30px;
  text-align: center;
  color: #fff;
}

.compW h2 {
  justify-content: center;
  align-items: center;
  display: flex;
  color: white;
  margin-top: 70px;
  margin-bottom: 50px;
}

.compW p {
  color: white;
  margin-bottom: 70px;
  display: flex;
  padding-left: 340px;
  padding-right: 340px;
  line-height: 1.4;
}

.skills-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.skills-wrapper {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.skills-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
  align-items: stretch;
}

.skill-card {
  background: #1b1b1b;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  height: 200px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.skill-card:hover {
  transform: translateY(-6px);
  background: #252525;
}

.skill-card img {
  max-width: 64px;
  width: 20%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.6rem;
}

.skill-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-btn:hover:not([disabled]) {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots button.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  transform: scale(1.2);
}

.carousel-dots button:hover {
  background: #8b5cf699;
}

/* ========================================
   SECTION COMPÉTENCES DESIGN
   ======================================== */
.compD {
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23474169' fill-opacity='0.55'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-color: #000000;
  padding-top: 30px;
  padding: 10px 10px;
  gap: 30px;
  text-align: center;
}

.compD h2 {
  justify-content: center;
  align-items: center;
  display: flex;
  color: white;
  margin-top: 80px;
  margin-bottom: 50px;
}

.compD p {
  color: white;
  margin-bottom: 70px;
  display: flex;
  padding-left: 340px;
  padding-right: 340px;
  text-align: center;
  line-height: 1.4;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
  margin-top: 80px;
  gap: 40px;
  justify-content: center;
  height: 200px;
}

.skilld {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s;
  animation: float 6s ease-in-out infinite;
}

.skilld img {
  width: 50%;
  height: auto;
}

.skilld:hover {
  transform: scale(1.1);
  background: #d0d0d0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.skilld::after {
  content: attr(data-desc);
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  background: #333333;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.skilld:hover::after {
  opacity: 1;
}

.skill-name {
  position: absolute;
  bottom: -35px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

/* ========================================
   SECTION RÉALISATIONS
   ======================================== */
.projet {
  margin-bottom: 40px;
}

.projet h2 {
  color: white;
  justify-content: center;
  text-align: center;
  display: flex;
  margin-bottom: 50px;
  margin-top: 70px;
}

.contenu {
  color: white;
  margin-bottom: 70px;
  display: flex;
  padding-left: 340px;
  padding-right: 340px;
  text-align: center;
  line-height: 1.4;
}

.tech-icons {
  display: flex;
  align-items: center;
}

.tech-icons img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  border-color: rgba(147, 51, 234, 0.5);
  background: rgba(147, 51, 234, 0.2);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  border-color: #8b5cf6;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.cards-container {
  position: relative;
  overflow: visible;
  margin-bottom: 30px;
}

.cards-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
  width: 100%;
  justify-content: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  min-height: 400px;
  justify-content: center;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  height: 410px;
  width: 300px;
}

.card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tag.perso {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-tag.cours {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.card-tag.stage {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-tag.design {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  line-height: 1.3;
  min-height: 55px;
}

.card-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.964);
  margin-bottom: 8px;
  min-height: 50px;
}

.card-tech {
  display: flex;
  gap: 8px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visit-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-btn:hover:not(.disabled) {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.nav-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(139, 92, 246, 0.6);
}

.realisation-card {
  animation: fadeIn 0.5s ease-in-out;
}

/* ========================================
   SECTION CONTACT
   ======================================== */
.contact-section {
  background-color: #000;
  padding: 20px;
  text-align: center;
  padding-bottom: 70px;
}

.contact-section h2 {
  margin-bottom: 20px;
  color: white;
  padding: 10px 10px;
  justify-content: center;
  text-align: center;
  display: flex;
  margin-bottom: 30px;
  margin-top: 30px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.bouton-contact {
  margin-top: 30px;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  font-size: 15px;
  background-color: #373737;
  border-radius: 10px;
  cursor: pointer;
  color: #ddd;
  column-rule-color: #0ff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0fbcf9;
}

.success-message {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
  padding: 15px;
  margin-bottom: 20px;
}

.success-message a {
  color: #31708f;
  text-decoration: none;
}

.success-message a:hover {
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  font-family: Inter, sans-serif;
}

footer nav,
footer p,
footer .social-media {
  padding: 10px;
}

footer nav {
  display: flex;
  justify-content: center;
}

footer ul {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0;
  list-style: none;
  display: flex;
  font-size: 12px;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

.social-media a {
  display: inline-block;
  margin: 0 10px;
  font-size: 18px;
}

.social-media a:hover {
  color: #ffcc00;
}

.fa-brands,
.fa-solid {
  font-size: 25px;
  margin: -4px 0;
}

/* ========================================
   EFFETS SPÉCIAUX
   ======================================== */

/* Effet machine à écrire */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #8bf;
  width: fit-content;
  animation: typing 3s steps(30, end), blink 0.7s step-end infinite;
}

/* Effet fluo */
.fluo-text {
  color: rgb(123, 0, 255);
  font-size: 30px !important;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 0 0 3px rgb(123, 0, 255), 0 0 3px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255);
}

.fluo-text:hover {
  text-shadow: 0 0 10px rgb(132, 0, 255), 0 0 10px rgb(38, 0, 255), 0 0 10px rgb(68, 0, 255), 0 0 10px rgb(81, 10, 187);
}

.btn-fluo {
  background-color: rgb(123, 0, 255);
  color: #ffffff;
  border: none;
  padding: 15px 25px;
  margin-top: 30px;
  font-size: 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  text-transform: uppercase;
  font-weight: bolder;
  box-shadow: 0 0 4px rgb(123, 0, 255), 0 0 4px rgb(123, 0, 255), 0 0 4px rgb(123, 0, 255), 0 0 4px rgb(123, 0, 255);
}

.btn-fluo:hover {
  box-shadow: 0 0 10px rgb(123, 0, 255), 0 0 10px rgb(123, 0, 255), 0 0 10px rgb(123, 0, 255), 0 0 10px rgb(123, 0, 255);
  transform: scale(1.1);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clignoter {
  0%, 50%, 100% {
    opacity: 0.7;
    text-shadow: 0 0 5px rgb(123, 0, 255), 0 0 5px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255), 0 0 2px rgb(123, 0, 255);
  }
  25%, 75% {
    opacity: 0.5;
    text-shadow: none;
  }
}


/* Extra Small (480px et moins) */
@media (max-width: 480px) {
  .typewriter {
    font-size: 15px;
  }

  .section-hero h1 {
    font-size: 25px;
  }

  .section-hero h3 {
    font-size: 20px;
  }

  .section-apropo {
    margin-top: -100px;
  }

  .fluo-text {
    font-size: 20px !important;
  }
}

/* Medium (768px et moins) */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #000000;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    gap: 30px;
  }

  .nav-container {
    padding: 0 10px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li a {
    font-size: 18px;
    padding: 15px;
    display: block;
  }

  .contenu-hero {
    margin-top: 0;
    padding-top: 20px;
  }

  .section-hero h1 {
    font-size: 24px;
  }

  .section-hero h2 {
    font-size: 18px;
  }

  .section-hero h3 {
    font-size: 16px;
  }

  .propo img,
  .cv img {
    display: block;
    margin: 0 auto;
    min-width: 100%;
    height: auto;
  }

  .compD p,
  .compW p,
  .projet p {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .btn-fluo {
    padding: 10px 20px;
    font-size: 12px;
  }

  .contenu {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Large (900px et moins) */
@media (max-width: 900px) {

  .contenu {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Desktop (1024px et plus) */
@media (min-width: 1024px) {
  .section-hero {
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 50px;
    background-image: url(../../images/svg/ordinateur/o-hero.svg);
    min-height: 100vh;
  }

  .compW img {
    width: 700px;
    height: 650px;
  }

  .contenu-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .section-hero h1 {
    font-size: 48px;
    margin: 0 auto;
    padding: 20px;
  }

  .section-hero h2 {
    font-size: 25px;
  }

  .section-hero h3 {
    font-size: 30px;
  }

  .compW h2,
  .compD h2,
  .contact-section h2,
  .projet h2,
  .section-apropo h2 {
    font-size: 30px;
  }

  .fluo-text {
    font-size: 36px;
  }

  .footer,
  .footer p,
  .footer a {
    font-size: 16px;
  }

  .contact-form {
    padding: 0 30%;
  }
}

/* Extra Large (1200px et plus) */
@media (max-width: 1200px) {
  
  .contenu {
    padding-left: 150px;
    padding-right: 150px;
  }
}

/* Very Small Devices (500px et moins) */
@media (max-width: 500px) {

  .projet h2 {
    font-size: 2rem;
  }
}

/* ========================================
   MEDIA QUERIES - Card et Skills Cloud
   ======================================== */

@media (max-width: 768px) {
  
  .skills-cloud {
    height: auto; 
    width: 70%;
    gap: 40px; 
    margin: 0 auto;
  }

  .skilld {
    width: 80px;
    height: 80px;
    margin-bottom: 60px;
  }

.skilld::after{
    white-space: normal;
    text-align: center;
    bottom: -50px;
    width: 100px;
    font-size: 10px;
     position: absolute;
  }

  .skill-name {
    bottom: -30px; 
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .skills-page { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .skill-card img { max-width: 56px; }
}

@media (max-width: 900px) {
  .skills-page { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .skill-card { min-height: 100px; }
}

@media (max-width: 600px) {
  .skills-page { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem; }
  .skill-card img { max-width: 48px; }
}

@media (max-width: 420px) {
  .skills-page { grid-template-columns: 1fr; }
  .skill-card { padding: 1rem; min-height: 90px; }
}
       
@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center
  }

  .cards-container{
    margin: 0 auto 40px auto 
  }        
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
    justify-content: center
  }

  .cards-container{
   margin: 0 auto 40px auto 
  }
            
  .filters {
    gap: 10px;
  }
            
  .filter-btn {
    padding: 10px 18px;
    font-size: 12px;
  }
}
    
@media (max-width: 1200px) {
  .contenu {
    padding-left: 150px;
    padding-right: 150px;
  }
}

@media (max-width: 1024px) {
  .carousel-page {
    grid-template-columns: repeat(3, 1fr);
  }
            
  .contenu {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 768px) {

  .carousel-page {
    grid-template-columns: repeat(2, 1fr);
  }
            
  .contenu {
    padding-left: 20px;
    padding-right: 20px;
  }

  .filters {
    padding: 0 20px;
  }
}

@media (max-width: 500px) {

  .carousel-page {
    grid-template-columns: 1fr;
  }
            
.projet h2 {
  font-size: 2rem;
  }
}
