﻿/* =============================================
   CATÉGORIE : ROOT
   ============================================= */
:root
{
    /* Variables de couleurs */
    --color-primary: #C6C7C2; /* Cyan néon */
    --color-secondary: #D8C39B; /* Magenta néon */
    --color-background: rgba(0, 0, 0, 0.7); /* Fond semi-transparent pour les éléments UI */
    --color-text: #ffffff; /* Blanc pur pour le texte */
    --Gris-Estompe: #858986;
    --Gris-Clair: #A3A6A4;
    --Gris-Sombre:#606462;


    --blue: #00aaff;
    --blue-dim: #0066bb;
    --blue-glow: rgba(0,170,255,0.35);
    --golden-faint: rgba(216, 195, 155, 0.08);
    --white: #e8f4ff;
    --grey: rgba(200,220,255,0.55);
    --dark: rgba(0,5,15,0.82);
    --panel: rgba(0,10,30,0.72);
    --border: rgba(57, 48, 42, 0.607);
    --tab-h: 52px;
    
    /* Variables de typographie */
    --font-family: 'Arial', sans-serif;
    --font-size-base: 16px;
    --font-family-Name: 'Cinzel', serif;
    --font-family-Role: 'Rajdhani', sans-serif;
    --font-family-Tag: 'Cormorant Garamond', cursive;
    /* Variables de dimensions */
    --border-radius: 8px;
    --padding-base: 16px;
}



/* =============================================
   CATÉGORIE : RÉINITIALISATION & VARIABLES
   ============================================= */

body{
    font-family: var(--font-family);
    padding: 0;
    margin: 0;
    background-color: #000e12;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =============================================
   CATÉGORIE : KEYFRAMES & ANIMATIONS
   ============================================= */
@keyframes slideDownNav {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations pour les sections au scroll */
#about.animate-in,
#projects.animate-in,
#skills.animate-in,
#contact.animate-in {
  animation: fadeInUp 0.8s ease forwards !important;
}

/* =============================================
   CATÉGORIE : HERO
   ============================================= */
.HERO {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: visible;
    align-items: center;
    justify-content: center;  
}

.bg-img {
position: absolute;
  top: -50px;  /* Ajuste pour faire déborder en haut */
  /* left: -50px; /* Ajuste pour faire déborder à gauche */
  width: 100%; /* Plus grand que le container */
  height: 130vh;
  z-index: -1;  /* Place l'image derrière le contenu */
  object-fit: cover;
  
}
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  height: 115vh;
    object-fit: cover;
    z-index: -2; 
}
    
#topbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--tab-h); z-index: 100;
    display: flex; align-items: stretch;
    background: linear-gradient(to bottom, var(--border), transparent) ;
    backdrop-filter: blur(2px);
    /* border-bottom: 1px solid var(--border); */
    padding: 0 18px;
    animation: slideDownNav 0.8s cubic-bezier(0.26, 1.1, 0.64, 1);
}
.logo-area {
  display: flex; align-items: center; gap: 10px;
  padding-left: 32px;
  padding-bottom: 11px;
  animation: slideInLeft 0.8s ease 0.1s both;

}

.logo-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem; 
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--color-secondary);
  text-shadow: 0 0 18px var(--blue-glow);
  animation: fadeIn 0.8s ease 0.4s both;
}
.logo-sub {
  font-family: 'UnifrakturMaguntia', cursive;
  animation: fadeIn 0.8s ease 0.3s both;
  font-size: .75rem;
  color: var(--Gris-Estompe);
  letter-spacing: .08em;
  line-height: 1;
  display: block;
  margin-top: 2px;
}

.tabs {
  display: flex; align-items: stretch; flex: 1;
  padding: 0 16px;
  justify-content: center;
}

.tab {
  font-family: 'var(--font-family-Tag)', serif;
  font-size: .60rem; font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0 20px;
  display: flex; align-items: center;
  border: none; background: transparent;
  cursor: pointer;
  position: relative;
  transition: color .2s;
  animation: fadeInUp 0.8s ease both;
}

.tab:nth-child(1) { animation-delay: 0.15s; }
.tab:nth-child(2) { animation-delay: 0.2s; }
.tab:nth-child(3) { animation-delay: 0.25s; }
.tab:nth-child(4) { animation-delay: 0.3s; }
.tab:nth-child(5) { animation-delay: 0.35s; }
.tab:nth-child(6) { animation-delay: 0.4s; }

.topbar-right {
  display: flex; align-items: center; gap: 18px;
  padding-left: 0px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .72rem; letter-spacing: .1em;
  animation: slideInRight 0.8s ease 0.3s both;
}
.hero-content{
  display: flex; 
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 100vh;
  padding-top: var(--tab-h);
  padding-bottom: 80px;
}
.topbar-right-conteneur{
  display: flex; 
  align-items: center; 
  gap: 18px;
  padding-bottom: 80px;
  padding-right: 30px;

}
.currency { color: var(--color-primary); font-weight: 500; }
.level-badge {
  background: var(--color-secondary); color: #000;
  font-weight: 700; font-size: .8rem;
  padding: 2px 9px; letter-spacing: .05em;
}
.username { color: var(--white); letter-spacing: .12em; font-weight: 500; }
.rep { color: var(--grey); font-size: .68rem; letter-spacing: .1em; }


.tab::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--color-secondary);
  transition: left .2s, right .2s;
}
.tab:hover { color: var(--white); }
.tab.active { color: var(--white); }
.tab.active::after { left: 8px; right: 8px; box-shadow: 0 0 8px var(--blue); }








/* Hamburger Menu */

.mobile-menu {
  position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--blue);
    z-index: 99;
    transition: right 0.5s ease-in-out;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
    padding: 80px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hamburger {
    display: none;
    position: fixed;
    top: 10px;
    right: 18px;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 30px;
    cursor: pointer;
    z-index: 10005;
    background: rgba(232,244,255,0.04);
    border: 1px solid rgba(232,244,255,0.08);
    border-radius: 8px;
    padding: 6px 8px;
    box-shadow: 0 6px 20px rgba(0,170,255,0.08);
    backdrop-filter: blur(4px);
}

.hamburger span {
 display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: transform 260ms ease, opacity 200ms ease, background-color 200ms ease;
    box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

.hamburger:hover {
  background: rgba(232,244,255,0.07);
}

.hamburger:focus {
  outline: 2px solid rgba(0,170,255,0.18);
}

/* Mobile Navigation */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
  #topbar {
    backdrop-filter: none;
    background: none;
  }
  /* Overlay */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    opacity: 0;
    pointer-events: none;
    transition: background 380ms cubic-bezier(.22,.9,.35,1), opacity 380ms cubic-bezier(.22,.9,.35,1);
    z-index: 10000;
    backdrop-filter: blur(0px);
  }

  .overlay.open {
    background: rgba(0,5,15,0.65);
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(4px);
  }

  /* Off-canvas menu sliding from right */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,5,20,0.95) 0%, rgba(6,18,35,0.95) 50%, rgba(3,12,22,0.98) 100%);
    color: var(--white);
    transform: translateX(100%);
    transition: transform 380ms cubic-bezier(.22,.9,.35,1);
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0;
    z-index: 10001;
    box-shadow: -20px 0 60px rgba(0,170,255,0.12), -10px 0 40px rgba(0,0,0,0.6);
    border-left: 1px solid rgba(216, 195, 155, 0.08);
    overflow-y: auto;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu .tab {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--grey);
    padding: 18px 32px;
    border: none;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
    overflow: hidden;
  }

  .mobile-menu .tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-secondary), transparent);
    opacity: 0;
    transition: opacity 220ms ease;
  }

  .mobile-menu .tab:hover {
    color: var(--white);
    padding-left: 38px;
    background: linear-gradient(to right, rgba(216, 195, 155, 0.08), transparent);
  }

  .mobile-menu .tab:hover::before {
    opacity: 1;
  }

  .mobile-menu .tab.active {
    color: var(--color-secondary);
    background: linear-gradient(to right, rgba(216, 195, 155, 0.15), transparent);
    text-shadow: 0 0 15px var(--blue-glow);
    border-left: 3px solid var(--color-secondary);
    box-shadow: inset -30px 0 30px rgba(216, 195, 155, 0.03);
  }

  .mobile-menu .tab.active::before {
    opacity: 1;
  }

  /* Hamburger open -> X */
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: transform 260ms ease, opacity 200ms ease;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Ensure topbar layout adapts */
  .tabs { display: none; }
  .logo-area { padding-left: 12px; }
  nav { padding: 0 12px; }
}

/* =============================================
   CATÉGORIE : Hero    
   ============================================= */

#heropres {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding-top: var(--tab-h);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
  padding-left: 10%;
  animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-tag {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 1.1rem; color: var(--color-primary);
  letter-spacing: .1em;
  margin-bottom: 6px;
  text-shadow: 0 0 20px var(--golden-faint);
  animation: fadeInUp .6s ease 0.2s both;
}
.hero-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500; letter-spacing: .1em;
  color: var(--color-secondary);
  text-shadow: 0 0 40px rgba(0,120,255,0.4);
  line-height: 1;
  animation: fadeInUp .7s 0.3s ease both;
}
.hero-role {
  font-family: 'Rajdhani', sans-serif;
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 8px;
  animation: fadeInUp .7s 0.4s ease both;
}
.hero-divider {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--color-secondary), transparent);
  margin: 18px 0;
  animation: fadeInUp .8s 0.5s ease both;
}
.hero-blurb {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--Gris-Sombre);
  max-width: 380px; line-height: 1.7;
  letter-spacing: .03em;
  animation: fadeInUp .7s 0.6s ease both;
}

.topbar-right-conteneur {
  animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}


/* =============================================
   LEFT SIDE MENU 
   ============================================= */

  
#sidemenu {
  position: absolute;
  left: 0; 
  width: 280px; z-index: 90;
  display: flex; 
  flex-direction: column;
  padding: 90px 0 28px 0;
  animation: slideInLeft 0.8s ease 0.1s both;
}

.menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 26px 11px 22px;
  cursor: pointer;
  border: none; background: transparent;
  text-align: left; width: 100%;
  position: relative;
  transition: background .15s;
  animation: fadeIn 0.8s ease 0.4s both;
}
.menu-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background .15s;
}
.menu-item:hover { background: linear-gradient(to right, var(--golden-faint), transparent); }
.menu-item:hover::before { background: var(--Gris-Sombre); }
.menu-item.active {
  background: linear-gradient(to right, rgba(216, 195, 155, 0.18), transparent);
}
.menu-item.active::before { background: var(--color-secondary); box-shadow: 0 0 10px var(--color-secondary); }

.menu-icon {
  width: 16px; height: 16px;
  color: var(--Gris-Estompe);
  flex-shrink: 0;
}
.menu-item.active .menu-icon { color: var(--color-secondary); }

.menu-text { display: flex; flex-direction: column; gap: 2px; }
.menu-label {
  font-family: 'var(--font-family-Tag)', serif;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.menu-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey);
  line-height: 1;
}
.menu-item.active .menu-label { color: var(--color-secondary); text-shadow: 0 0 12px var(--blue-glow); }

.menu-sep { flex: 1; }

/* =============================================
   CATÉGORIE : About    
   ============================================= */
.main{
  position: relative; 
  z-index: 10;
  min-height: auto;
  padding-top: 0;
  background: linear-gradient(to bottom, transparent, rgb(0, 14, 18) 8%);
}
#about {
  background: linear-gradient(to bottom, transparent, rgb(0, 14, 18) 8%);
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: 120px 10% 100px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(30px);
}

.section-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.section-num {
  font-family: 'Cinzel', serif;
  font-weight: 300;
  color: var(--Gris-Estompe);
  line-height: 1;
  letter-spacing: .05em;
}
.section-titles { display: flex; flex-direction: column; }
.section-label {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: .9rem; color: var(--blue);
  letter-spacing: .1em;
}
.section-main {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem; 
  font-weight: 500;
  letter-spacing: .1em; color: var(--white);
  text-shadow: 0 0 30px var(--blue-glow);
}
.section-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  min-height: 600px;
}

.about-left {
  flex: 1;
  position: sticky;
  top: 150px;
  height: fit-content;
  max-width: 500px;
  animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px 40px; 
  max-width: 900px;
  max-height: 900px;
}

.about-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.img-large {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  animation: scaleIn 0.6s ease 0.2s both;
}

.img-small {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.img-small:first-of-type {
  animation: slideInLeft 0.6s ease 0.3s both;
}

.img-small:last-of-type {
  animation: slideInRight 0.6s ease 0.4s both;
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
}

.block-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); display: flex; align-items: center; gap: 8px;
}
.block-tag::before {
  content: '';
  display: inline-block; width: 20px; height: 1px;
  background: var(--blue);
}
.block-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem; font-weight: 500;
  letter-spacing: .08em; color: var(--white);
}
.block-title b {
  color: var(--color-secondary);
  text-shadow: 0 0 12px var(--color-secondary);
}
.block-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; line-height: 1.8;
  color: var(--grey); letter-spacing: .02em;
}

/* stat bars */
.stat-list { display: flex; flex-direction: column; gap: 14px; }
.stat-row { display: flex; flex-direction: column; gap: 5px; }
.stat-header { display: flex; justify-content: space-between; }
.stat-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--white);
}
.stat-score { font-size: .7rem; color: var(--blue); letter-spacing: .05em; }
.stat-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  position: relative;
}
.stat-bar-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(to right, var(--blue-dim), var(--blue));
  box-shadow: 0 0 8px var(--blue-glow);
  transition: width 1.5s cubic-bezier(.16,1,.3,1);
  width: 0;
}

/* timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: flex; gap: 18px;
  padding-bottom: 24px;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute; left: 5px; top: 14px; bottom: 0;
  width: 1px; background: var(--border);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 0 10px var(--blue);
}
.tl-content { display: flex; flex-direction: column; gap: 3px; }
.tl-year {
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue);
}
.tl-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: .9rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
}
.tl-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: .92rem; color: var(--grey); line-height: 1.6;
}

/* full width block */
.about-full {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.about-images {
  display: grid; 
  grid-template-columns:  1fr 1fr;
  gap: 18px;
}
.about-images img{
  width: 100%; height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: 0 0 12px var(--color-primary 0.5);
  border: 1px solid var(--color-primary);
}




/* ── SCROLL INDICATOR ── */
.scroll-hint {
  position: absolute;
  bottom: 90px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
  animation: pulse 2s infinite;
  z-index: 10;
}
.scroll-hint span {
  font-family: 'Rajdhani', sans-serif;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue);
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  transform: rotate(45deg);
}

/* =============================================
   CATÉGORIE : PROJETS    
   ============================================= */
#projects {
  position: relative;
  z-index: 10;
  min-height: auto;
  padding: 120px 10% 100px 10%;
  background: linear-gradient(135deg, rgba(0,170,255,0.03) 0%, rgba(216,195,155,0.02) 100%);
  display: flex;
  flex-direction: column;
  gap: 60px;
  opacity: 0;
  transform: translateY(30px);
}

#projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
}

#projects .section-header {
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #000;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.project-card:nth-child(1).animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0s forwards;
}

.project-card:nth-child(2).animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.project-card:nth-child(3).animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.project-card:nth-child(4).animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.project-card:nth-child(5).animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.project-card:nth-child(6).animate-in {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.project-card img,
.project-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img,
.project-card:hover video {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,5,20,0.95) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-date {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--color-secondary);
  background: rgba(216,195,155,0.15);
  border: 1px solid var(--color-secondary);
  padding: 6px 12px;
  border-radius: 3px;
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-date {
  opacity: 1;
  transform: translateY(0);
}

.project-type {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: .85rem;
  color: var(--color-secondary);
  letter-spacing: .08em;
  margin-bottom: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
}

.project-card:hover .project-type {
  opacity: 1;
  transform: translateY(0);
}

.project-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--white);
  line-height: 1.3;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease 0.15s;
}

.project-card:hover .project-title {
  opacity: 1;
  transform: translateY(0);
}

.projects-cta {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.btn-see-all {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  padding: 14px 45px;
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 2px;
  position: relative;
  font-weight: 500;
  animation: pulse-btn 2s infinite;
}

.btn-see-all::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 2px;
  z-index: -1;
}

.btn-see-all:hover {
  background: var(--color-secondary);
  color: #000;
  text-shadow: 0 0 20px rgba(216,195,155,0.5);
  box-shadow: 0 0 30px rgba(216,195,155,0.6), inset 0 0 20px rgba(216,195,155,0.2);
  transform: scale(1.05);
}

@keyframes pulse-btn {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(216,195,155,0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(216,195,155,0);
  }
}

/* =============================================
   CATÉGORIE : COMPÉTENCES    
   ============================================= */
#skills {
  position: relative;
  z-index: 10;
  min-height: 120vh;
  padding: 120px 10% 100px 10%;
  background: linear-gradient(135deg, rgba(0,170,255,0.03) 0%, rgba(216,195,155,0.02) 100%);
  display: flex;
  flex-direction: column;
  gap: 80px;
  opacity: 0;
  transform: translateY(30px);
}

#skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
}

#skills .section-header {
  margin-bottom: 60px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.skill-card {
  position: relative;
  background: linear-gradient(135deg, rgba(0,170,255,0.08) 0%, rgba(216,195,155,0.05) 100%);
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.skill-card:nth-child(1).animate-in {
  animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0s forwards;
}

.skill-card:nth-child(2).animate-in {
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.skill-card:nth-child(3).animate-in {
  animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.skill-card:nth-child(4).animate-in {
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.skill-card:nth-child(5).animate-in {
  animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.skill-card:nth-child(6).animate-in {
  animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-secondary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(0,170,255,0.2), inset 0 0 30px rgba(216,195,155,0.1);
  background: linear-gradient(135deg, rgba(0,170,255,0.15) 0%, rgba(216,195,155,0.1) 100%);
}

.skill-card:hover::before {
  opacity: 0.3;
}

.skill-icon {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
}

.skill-name {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.skill-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.skill-icon {
  font-size: 3rem;
}

.skill-name {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--white);
}

.skill-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;
  color: var(--grey);
  line-height: 1.6;
}

/* =============================================
   CATÉGORIE : CONTACT    
   ============================================= */
#contact {
  position: relative;
  z-index: 10;
  min-height: auto;
  padding: 120px 10% 100px 10%;
  background: linear-gradient(135deg, rgba(0,170,255,0.03) 0%, rgba(216,195,155,0.02) 100%);
  opacity: 0;
  transform: translateY(30px);
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--color-secondary);
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(216,195,155,0.3);
}

.contact-subtitle {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 1rem;
  color: var(--color-secondary);
  letter-spacing: .1em;
}

.contact-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
  max-width: 400px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--Gris-Estompe);
}

.contact-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--blue);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--border);
  padding: 30px;
  background: rgba(0,10,30,0.3);
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: .9rem;
  color: var(--white);
  transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.form-full {
  grid-column: 1 / -1;
}

.form-textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: var(--white);
  color: #000;
  border: none;
  padding: 14px 30px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
  margin-top: 10px;
}

.btn-submit:hover {
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
}

/* =============================================
   CATÉGORIE : FOOTER    
   ============================================= */
footer {
  position: relative;
  z-index: 10;
  background: linear-gradient(to bottom, transparent, rgb(0, 5, 10));
  border-top: 1px solid var(--border);
  padding: 60px 10% 30px 10%;
  opacity: 0;
  transform: translateY(30px);
}

footer.animate-in {
  animation: fadeInUp 0.8s ease forwards !important;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--color-secondary);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(216,195,155,0.3);
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  font-family: 'Rajdhani', sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-credit {
  font-family: 'Rajdhani', sans-serif;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--Gris-Estompe);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-secondary);
  font-weight: bold;
}

.footer-social:hover {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 0 15px rgba(216,195,155,0.5);
}