:root {
  --gradientbackground: linear-gradient(123deg,rgba(255, 255, 255, 1) 0%, rgba(195, 195, 195, 0.99) 100%);
  --bg: #f0f0f0;
  --btnhellow:linear-gradient(108deg,rgba(255, 255, 255, 1) 0%, rgba(234, 234, 233, 0.99) 100%);
  --html: linear-gradient(108deg,rgba(255, 255, 255, 1) 0%, rgba(235, 222, 209, 0.99) 100%);
  --css: linear-gradient(108deg,rgba(255, 255, 255, 1) 0%, rgba(202, 207, 224, 0.99) 100%);
  --javascript: linear-gradient(108deg,rgba(255, 255, 255, 1) 0%, rgba(224, 224, 202, 0.99) 100%);
  --react:linear-gradient(108deg,rgba(255, 255, 255, 1) 0%, rgba(194, 238, 253, 0.99) 100%);
  --tag1: linear-gradient(105deg, rgba(255, 255, 255, 1) 0%, rgba(205, 224, 202, 1) 100%);
  --tag2: linear-gradient(90deg, rgba(195, 217, 221, 1) 0%, rgba(255, 221, 218, 1) 100%);
  --text: #000000;
  --gris1: #EAEAE9;
  --gris2: #797979;
  --gris3: #2A2A2A;
  --vert: #CDE0CA;
  --bleu: #C3D9DD;
  --rose: #FFDDDA;
  --shadow: 0 14px 35px rgba(54, 54, 54, 0.08);
}
::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
@font-face {
  font-family: 'ClashDisplay-Bold';
  src: url('ClashDisplay-Bold.woff2')
}
html {
  scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--gradientbackground);
}

#intro {
  height: 130vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.name {
  font-size: 92px;
  font-family: "ClashDisplay-Bold", sans-serif;
  font-weight: 1000;
  line-height: 0.9;
}
#name-sticky {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "ClashDisplay-Bold", sans-serif;
  font-weight: 1000;
  font-size: 32px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.devdes {
  font-size: 36px;
  color: #2a2a2a;
  font-family: "ClashDisplay-Bold", sans-serif;

}
.hellow {
  font-family: "ClashDisplay-Bold", sans-serif;
  margin-top: 100px;
  font-size: 32px;
  padding-right: 60px;
  padding-left: 60px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  background: var(--btnhellow);
  filter: drop-shadow(4px 4px #0000004b);
}
.fleche1 {
  margin-top: 150px;
}
#apropos {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

h1 {
  font-family: "ClashDisplay-Bold", sans-serif;
  font-size: 36px;
}

.apropos-top {
  background: none;
  border: 4px solid transparent;
  background:
  var(--gradientbackground) padding-box,
  linear-gradient(90deg, #ffffff, #c3c3c3) border-box;
  border-radius: 28px;
  padding: 36px;
  max-width: 1000px;
  height: 400px;
  width: 100%;
  display: flex;
  gap: 36px;
  align-items: center;
}
#left-section {
  display: flex;
  flex-direction: column;
  column-gap: 14px;
  flex-shrink: 0;
}

.image-wrapper {
  padding: 10px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  gap: 10px;
  max-width: 100%;
}
.img-container {
  position: relative;
  border-radius: 12px;
}

.img1 {
  width: 350px;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  overflow: hidden;

}

.tags {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  width: calc(100% - 20px);
}

.tag {
flex: 1;
text-align: center;
border-radius: 10px;
font-size: 13px;
font-weight: 700;
}

.tag-disponible { 
font-family: "ClashDisplay-Bold", sans-serif;
background: var(--tag1); 
color: #000000;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 10px;
padding-top: 10px;
border-radius: 10px;
}
.tag-france { 
border-radius: 10px;
font-family: "ClashDisplay-Bold", sans-serif;
background: var(--tag2);
color: #000000;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 10px;
padding-top: 10px;
}

.btn-contact {
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(195, 195, 195, 0.99) 100%);
  border: none;
  border-radius: 14px;
  padding: 15px 0;
  font-family: "ClashDisplay-Bold", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  width: 363px;
}

#right-section { 
flex: 1; 
display: flex; 
flex-direction: column; 
gap: 18px; 
padding-top: 8px; 
}

.salut {
font-family: "ClashDisplay-Bold", sans-serif; 
font-size: 42px; 
font-weight: 800; 
}

.bio { 
font-family: "ClashDisplay-Bold", sans-serif;
font-size: 20px; 
line-height: 1.40; 
}
.bio p + p { 
margin-top: 12px; 
}

.social-icons { 
display: flex; 
gap: 10px; 
margin-top: 4px;
}

.social-icon {
width: 42px; height: 42px;
background: rgba(255,255,255,0.55);
border: 1.5px solid rgba(255,255,255,0.85);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
cursor: pointer;
}
.social-icon svg {
 width: 18px; height: 18px; fill: #2a2a2a; 
}

#botom-section{
flex: 1;
margin-top: 80px;
text-align: center;
border-radius: 10px;
font-size: 13px;
font-weight: 700;
}

.stats-box{
margin: 15px;
border-radius: 10px;
font-family: "ClashDisplay-Bold", sans-serif;
font-size: 24px;
background: white;
color: #000000;
padding-left: 55px;
padding-right: 55px;
padding-bottom: 35px;
padding-top: 35px;
}

#Projets {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  overflow: hidden;
  gap: 32px;
}

#Projets h1 {
  font-family: "ClashDisplay-Bold", sans-serif;
  font-size: 36px;
  padding: 0 40px;
}

  .carousel {
    position: relative;
    width: min(1000px, 92vw);
  }
 
  .viewport {
    overflow: hidden;
    border-radius: 18px;
  }
 
  .track {
    display: flex;
    height: 500px;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
  }
 
  .slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
  }
 
.slide-image{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s ease;
}

.slide:hover .slide-image{
    transform:scale(1.06);
}

.slide-overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
    padding:28px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.45),
        rgba(0,0,0,.05)
    );
    opacity:0;
    transition:.35s;
    z-index:3;
}

.slide:hover .slide-overlay{
    opacity:1;
}

.discover-btn{
    text-decoration:none;
    color:white;
    font-family:"ClashDisplay-Bold", sans-serif;
    font-size:15px;
    padding:14px 24px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.3);
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transition:all .3s ease;
}

.discover-btn:hover{
    background:rgba(255,255,255,.25);
    transform:translateY(-3px);
}

.slide-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.slide-tag {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.25);
    color: white;
    font-family: "ClashDisplay-Bold", sans-serif;
    font-size: 13px;
    letter-spacing: .03em;
}
 
  .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
  }
 
  .slide-caption {
    position: relative;
    z-index: 2;
    padding: 32px 40px;
    color: #f5f4f3;
  }
 
  .slide-index {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 8px;
  }
 
  .slide-title {
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 6px 0;
  }
 
  .slide-alt {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    color: rgba(245,244,243,0.75);
    margin: 0;
  }
 
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(245,244,243,0.9);
    box-shadow: 0 4px 14px var(--ring);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    transition: 0.2s ease, transform 0.2s ease;
    z-index: 3;
  }
 
  .nav-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
  }
 
  .nav-btn:active {
    transform: translateY(-50%) scale(0.95);
  }
 
  .nav-prev { left: -22px; }
  .nav-next { right: -22px; }
 
  .nav-btn svg {
    width: 20px;
    height: 20px;
  }
 
  .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
 
  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d3cfc9;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: 0.25s ease, transform 0.25s ease, width 0.25s ease;
  }
 
  .dot.active {
    background: var(--gradientbackground);
    width: 24px;
    border-radius: 5px;
  }
 .slide {
    position: relative;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.6),
        rgba(0,0,0,.1)
    );
}

.slide-caption {
    position: relative;
    z-index: 2;
    color: white;
}
  @media (max-width: 640px) {
    .track { height: 380px; }
    .slide-title { font-size: 24px; }
    .nav-btn { width: 36px; height: 36px; }
    .nav-prev { left: 8px; }
    .nav-next { right: 8px; }
  }

#Compétence {
  width: 100%;
  align-items: center;
  text-align: center;
  align-content: center;
  display: block;
}

#card-competence{
  position: relative;
  display: flex;
  justify-content: center;
  gap: 100px;
  font-size: 24px;
  font-family: "ClashDisplay-Bold", sans-serif;
  cursor: pointer;

}

.card-competence-backend{
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 80px;
  padding-bottom: 80px;
  background: white;
  border-radius: 30px;
}

.card-competence-frontend{
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 80px;
  padding-bottom: 80px;
  background: white;
  border-radius: 30px;
}

.card-competence-design{
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 80px;
  padding-bottom: 80px;
  background: white;
  border-radius: 30px;
}
.card-comp-inner {
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 30px;
}

.card-comp-inner.flipped {
  transform: rotateY(180deg);
}

.card-comp-face {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.card-comp-back {
  transform: rotateY(180deg);
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  justify-content: center;
}

.comp-back-title {
  font-family: "ClashDisplay-Bold", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin: 0;
}

.comp-skill-html {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--html);
  color: #333;
}
.comp-skill-css {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--css);
  color: #333;
}
.comp-skill-js {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--javascript);
  color: #333;
}
.comp-skill-react {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--html);
  color: #333;
}
.comp-skill-figma {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--html);
  color: #333;
}

.comp-skills {
  font-family: "ClashDisplay-Bold", sans-serif;
  display: inline-block;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#Contact{
  gap: 100px;
  padding-top: 300px;
  text-align: center;

}

#Contact-section {
  padding-top: 50px;
  width: 100%;
  align-items: center;
  text-align: center;
  align-content: center;
  display: block;
  font-family: "ClashDisplay-Bold", sans-serif;

}
.input-wrapper {
  display: inline-block;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(105deg, #ffffff 0%, #c3c3c3 100%);
}

#mail {
  background: white;
  padding-left: 200px;
  padding-right: 200px;
  padding-top: 25px;
  padding-bottom: 25px;
  border-radius: 20px;
  border: none;
  font-family: "ClashDisplay-Bold", sans-serif;

}

#tel {
  background: white;
  padding-left: 200px;
  padding-right: 200px;
  padding-top: 25px;
  padding-bottom: 25px;
  border-radius: 20px;
  font-family: "ClashDisplay-Bold", sans-serif;
  border: none;
}

#request {
 background: var(--bg);
  padding-left: 200px;
  padding-right: 200px;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 20px;
  font-family: "ClashDisplay-Bold", sans-serif;
  border: none;
  display: block;
}

#send {
  
  padding-left: 270px;
  padding-right: 270px;
  padding-top: 25px;
  padding-bottom: 25px;
  font-family: "ClashDisplay-Bold", sans-serif;
  border-radius: 20px;
  margin-top: 30px;
}
#scroll-progress {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#scroll-label {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: "ClashDisplay-Bold", sans-serif;
  font-size: 11px;
  color: var(--gris2);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

#scroll-progress:hover #scroll-label {
  opacity: 1;
}