/* ============================================ */
/* SECTION PROJETS - STYLE NETFLIX              */
/* ============================================ */

/* ============================================ */
/* CORRECTION POLICES — UTF-8 / Hebergement     */
/* Les polices Gilroy chargees depuis           */
/* paul-themes.com sont bloquees par CORS sur   */
/* Infomaniak. On importe Nunito (Google Fonts) */
/* comme fallback UTF-8 complet.                */
/* ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap");

body,
.nf-projects-wrapper,
.nf-project-content,
.nf-project-description,
.nf-meta-value,
.nf-meta-label,
.nf-section-label,
.nf-project-tagline {
  font-family: gilroy, "Nunito", "Helvetica Neue", Arial, sans-serif;
}

/* ============================================ */
/* CORRECTION BARRE DE SCROLL HORIZONTALE — CV  */
/* ============================================ */
.cv-fullscreen-container,
[data-anchor="CV"] {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* ============================================ */
/* WRAPPER PRINCIPAL                            */
/* ============================================ */
.nf-projects-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0 1.5rem;
  overflow: hidden;
  position: relative;
}

.nf-projects-header {
  text-align: center;
  margin-bottom: 1.2rem;
  padding: 0 2rem;
}

.nf-projects-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #f1bcce !important;
  margin: 0;
  letter-spacing: -0.02em;
}

.nf-accent {
  color: #f1bcce;
}

/* ============================================ */
/* GRILLE DES CARTES — HAUTEURS ALTERNEES       */
/* Cartes tall (impaires) : 480px               */
/* Cartes short (paires)  : 340px               */
/* align-items: flex-end = alignement par le bas*/
/* ============================================ */
/* ============================================ */
/* CARTES HORIZONTALES                          */
/* Format paysage, espacées, angles arrondis    */
/* Titre centré, fade out au hover              */
/* ============================================ */

.nf-cards-grid {
  display: flex;
  gap: 0;
  width: 100%;
  align-items: center;
  overflow: hidden;
}

/* Carte horizontale : rapport 16/9 — 200% de la taille d'origine */
.nf-card {
  position: relative;
  flex: none;
  width: 560px;
  height: 320px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
  margin: 0 12px;
  transition:
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Suppression des anciennes classes tall/short */
.nf-card--tall,
.nf-card--short {
  height: 320px;
  width: 560px;
}

.nf-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(241, 188, 206, 0.4);
}

.nf-card.nf-card--active {
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 2px #f1bcce;
}

/* Image de fond */
.nf-card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px;
}

.nf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.55);
}

/* Au hover : image plus lumineuse */
.nf-card:hover .nf-card-image img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

/* Gradient via ::after sur .nf-card — pas besoin de div supplémentaire dans le HTML */
.nf-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 15, 6, 0.95) 0%,
    rgba(0, 15, 6, 0.55) 45%,
    transparent 100%
  );
  z-index: 2;
  border-radius: 0 0 12px 12px;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Au hover : gradient s'efface */
.nf-card:hover::after {
  opacity: 0;
}

/* Titre : centré en bas de la carte — même approche que main_style.css */
.nf-card-title {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  top: auto;
  right: auto;
  width: 85%;
  text-align: center;
  z-index: 3;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

/* Texte du titre */
.nf-card-title span {
  display: inline-block;
  font-family: gilroy, "Nunito", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  border-bottom: 2px solid rgba(241, 188, 206, 0.75);
  padding-bottom: 3px;
}

/* Suppression des styles parasites sur h3 et p dans le titre */
.nf-card-title h3,
.nf-card-title p {
  display: none;
}

/* Au hover : titre fade out simple — pas d'agrandissement */
.nf-card:hover .nf-card-title {
  opacity: 0;
  transform: translateX(-50%);
}

/* Annuler l'agrandissement du span défini dans main_style.css */
.nf-card:hover .nf-card-title span {
  font-size: 1rem !important;
}

/* Suppression de l'ancienne div gradient (si présente dans le HTML) */
.nf-card-gradient {
  display: none;
}

/* Icone expand — supprimée dans le nouveau design */
.nf-card-expand-icon {
  display: none;
}

/* ============================================ */
/* PANNEAU D'EXPANSION                          */
/* ============================================ */
.nf-expand-panel {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 20px;
  margin-top: 0;
  visibility: hidden;
}

.nf-expand-panel.nf-panel--open {
  border-color: rgba(241, 188, 206, 0.35);
  background: #001f10;
  margin-top: 12px;
  visibility: visible;
}

.nf-expand-panel.nf-expand-panel--open,
.nf-expand-panel.nf-panel--open {
  max-height: 85vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  /* Scrollbar discrète */
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 188, 206, 0.4) transparent;
}

.nf-expand-panel.nf-panel--open::-webkit-scrollbar {
  width: 5px;
}

.nf-expand-panel.nf-panel--open::-webkit-scrollbar-track {
  background: transparent;
}

.nf-expand-panel.nf-panel--open::-webkit-scrollbar-thumb {
  background: rgba(241, 188, 206, 0.4);
  border-radius: 3px;
}

.nf-close-btn {
  position: sticky !important;
  top: 16px;
  float: right;
  margin: 16px 20px 0 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(241, 188, 206, 0.15);
  border: 1px solid rgba(241, 188, 206, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.nf-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: #f1bcce;
}

.nf-close-btn:hover {
  background: rgba(241, 188, 206, 0.3);
  transform: scale(1.1);
}

.nf-project-content {
  display: none;
  padding: 0 0 60px !important;
  animation: nfFadeIn 0.5s ease forwards;
}

.nf-project-content.nf-project-content--visible,
.nf-project-content.nf-content--active {
  display: block !important;
}

@keyframes nfFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nf-project-hero {
  position: relative;
  width: 100%;
  height: 55vh !important;
  min-height: 300px;
  max-height: 600px;
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden;
  margin-bottom: 0 !important;
}

.nf-project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.nf-project-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 60px !important;
  background: linear-gradient(
    to top,
    rgba(0, 31, 16, 1) 0%,
    transparent 100%
  ) !important;
}

.nf-project-hero-overlay h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #f1bcce;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}

.nf-project-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem 0;
  font-style: italic;
}

.nf-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: #f1bcce;
  color: #003920;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #f1bcce;
  align-self: flex-start;
}

.nf-project-link:hover {
  background: transparent;
  color: #f1bcce;
  border-color: #f1bcce;
}

.nf-project-details {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 40px 60px !important;
  border-bottom: 1px solid rgba(241, 188, 206, 0.1);
}

.nf-project-meta {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nf-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(241, 188, 206, 0.2);
}

.nf-meta-item:last-child {
  border-bottom: none;
}

.nf-meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(241, 188, 206, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nf-meta-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.nf-meta-highlight {
  color: #ffd700 !important;
  font-weight: 700;
  font-size: 1rem;
}

.nf-project-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.nf-project-description p {
  margin: 0 0 1.2rem 0;
  font-size: 1rem;
}

.nf-project-description p:last-child {
  margin-bottom: 0;
}

.nf-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(241, 188, 206, 0.5);
  font-weight: 700;
  padding: 40px 60px 16px;
  border-top: 1px solid rgba(241, 188, 206, 0.08);
  margin-top: 10px;
  display: block;
}

.nf-inline-link {
  color: #f1bcce;
  text-decoration: none;
  border-bottom: 1px solid rgba(241, 188, 206, 0.4);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.nf-inline-link:hover {
  color: #fff;
  border-color: #fff;
}

/* ============================================ */
/* GALERIE MACONNERIE                           */
/* ============================================ */
.nf-masonry-gallery {
  columns: 4;
  column-gap: 6px;
  padding: 0 60px 10px;
}

.nf-gallery-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.nf-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  filter: brightness(0.9);
}

.nf-gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* ============================================ */
/* VIDEO YOUTUBE                                */
/* ============================================ */
.nf-video-wrapper {
  padding: 0 60px 10px;
}

.nf-video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 6px;
  display: block;
}

/* ============================================ */
/* GIF ANIME — taille reduite pour le logo      */
/* ============================================ */
.nf-gif-wrapper {
  padding: 0 60px 10px;
  text-align: center;
}

.nf-gif-wrapper img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: inline-block;
}

/* ============================================ */
/* PROTOTYPE FIGMA — centre, format mobile      */
/* ============================================ */
.nf-figma-wrapper {
  padding: 0 60px 10px;
  display: flex;
  justify-content: center;
}

.nf-figma-wrapper iframe {
  width: 390px;
  height: 750px;
  border: none;
  border-radius: 12px;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}

/* ============================================ */
/* DOCUMENTS PDF                                */
/* ============================================ */
.nf-docs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 60px 10px;
}

.nf-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(241, 188, 206, 0.06);
  border: 1px solid rgba(241, 188, 206, 0.2);
  border-radius: 6px;
  padding: 16px 20px;
  flex: 1;
  min-width: 240px;
  max-width: 400px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.nf-doc-card:hover {
  background: rgba(241, 188, 206, 0.1);
  border-color: rgba(241, 188, 206, 0.4);
}

.nf-doc-icon {
  width: 36px;
  height: 36px;
  color: #f1bcce;
  flex-shrink: 0;
}

.nf-doc-icon svg {
  width: 100%;
  height: 100%;
}

.nf-doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nf-doc-title {
  color: #f1bcce;
  font-size: 0.9rem;
  font-weight: 600;
}

.nf-doc-type {
  color: rgba(241, 188, 206, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nf-doc-btn {
  padding: 8px 16px;
  background: rgba(241, 188, 206, 0.12);
  border: 1px solid rgba(241, 188, 206, 0.35);
  border-radius: 4px;
  color: #f1bcce;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition:
    background 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}

.nf-doc-btn:hover {
  background: rgba(241, 188, 206, 0.25);
  border-color: #f1bcce;
}

/* ============================================ */
/* IMAGE HERO DE MARQUE                         */
/* ============================================ */
.nf-brand-hero {
  padding: 0 60px 10px;
}

.nf-brand-hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ============================================ */
/* GRILLE EXULT                                 */
/* ============================================ */
.nf-exult-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 60px 10px;
  align-items: center;
  justify-content: center;
}

.nf-exult-item {
  flex: 0 1 auto;
  max-width: 320px;
  overflow: hidden;
  border-radius: 6px;
}

.nf-exult-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.nf-exult-item:hover img {
  transform: scale(1.03);
}

/* ============================================ */
/* CORRECTIONS BARRES DE COMPETENCES           */
/* Piste fine + progression rose visible       */
/* ============================================ */

/* Piste de la barre (fond) */
.vlt-progress-bar__bar {
  background: rgba(241, 188, 206, 0.15) !important;
  border: 1px solid rgba(241, 188, 206, 0.35) !important;
  border-radius: 3px !important;
  height: 4px !important;
  overflow: hidden !important;
}

/* Barre de progression (remplissage) */
.vlt-progress-bar__bar span {
  background: #f1bcce !important;
  border-radius: 3px !important;
  box-shadow: 0 0 6px rgba(241, 188, 206, 0.6) !important;
  display: block !important;
  height: 100% !important;
}

/* Titre de la barre (nom logiciel + pourcentage) */
.vlt-progress-bar__title {
  color: rgba(241, 188, 206, 0.9) !important;
}

.vlt-progress-bar__title > span {
  color: #f1bcce !important;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 1024px) {
  .nf-card--tall {
    height: 380px;
  }
  .nf-card--short {
    height: 270px;
  }
  .nf-masonry-gallery {
    columns: 3;
  }
  .nf-project-details {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }
  .nf-project-hero {
    height: 280px !important;
  }
  .nf-project-hero-overlay h2 {
    font-size: 2.5rem;
  }
  .nf-figma-wrapper iframe {
    width: 320px;
    height: 620px;
  }
}

@media (max-width: 768px) {
  .nf-projects-title {
    font-size: 2.5rem;
  }
  .nf-card--tall {
    height: 300px;
  }
  .nf-card--short {
    height: 210px;
  }
  .nf-card-title span {
    font-size: 1rem;
  }
  .nf-section-label,
  .nf-video-wrapper,
  .nf-gif-wrapper,
  .nf-docs-grid,
  .nf-brand-hero,
  .nf-exult-grid {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .nf-masonry-gallery {
    columns: 2;
    padding: 0 24px 10px;
  }
  .nf-project-hero {
    height: 220px !important;
  }
  .nf-project-hero-overlay {
    padding: 24px !important;
  }
  .nf-project-hero-overlay h2 {
    font-size: 2rem;
  }
  .nf-project-details {
    padding: 30px 24px !important;
    grid-template-columns: 1fr !important;
  }
  .nf-project-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .nf-meta-item {
    flex: 1;
    min-width: 140px;
    border-bottom: none;
    border-right: 1px solid rgba(241, 188, 206, 0.2);
    padding-right: 1rem;
    padding-bottom: 0;
  }
  .nf-meta-item:last-child {
    border-right: none;
  }
  .nf-figma-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-figma-wrapper iframe {
    width: 100%;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .nf-projects-title {
    font-size: 2rem;
  }
  .nf-card--tall {
    height: 240px;
  }
  .nf-card--short {
    height: 170px;
  }
  .nf-card-title span {
    font-size: 0.85rem;
  }
  .nf-project-hero {
    height: 180px !important;
  }
  .nf-project-hero-overlay h2 {
    font-size: 1.6rem;
  }
  .nf-project-tagline {
    font-size: 0.9rem;
  }
  .nf-masonry-gallery {
    columns: 1;
  }
  .nf-gif-wrapper img {
    max-width: 200px;
  }
}

/* ============================================ */
/* FIN SECTION PROJETS NETFLIX                  */
/* ============================================ */

/* ============================================ */
/* CARROUSEL INFINI — DÉFILEMENT À LA SOURIS    */
/* ============================================ */

.nf-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: default;
}

/* Dégradés transparents sur les bords via mask-image */
/* Les divs .nf-carousel-fade sont masquées, le masque est sur le conteneur */
.nf-carousel-fade {
  display: none !important;
}

/* Masque CSS sur le conteneur : fondu réel vers la transparence */
.nf-carousel-container {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

/* Grille carrousel — largeur naturelle, déplacement via JS */
.nf-carousel-container .nf-cards-grid {
  display: flex;
  gap: 0;
  width: max-content;
  align-items: center;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  padding: 20px 0;
}

/* Cartes dans le carrousel : taille fixe horizontale 200% */
.nf-carousel-container .nf-card {
  flex: none;
  width: 560px;
  height: 320px;
  margin: 0 12px;
}

.nf-carousel-container .nf-card:hover {
  width: 560px;
  flex: none;
  transform: translateY(-6px) scale(1.03);
}

.nf-carousel-container .nf-card.nf-card--active {
  width: 560px;
  flex: none;
}

/* ============================================ */
/* VIDÉOS MP4 — LECTURE AUTO + CONTOUR ROSE/VERT*/
/* ============================================ */

/* Contour dégradé rose → vert via box-shadow */
.nf-autoplay-video {
  display: block;
  width: 100%;
  border-radius: 6px;
  outline: none;
  box-shadow:
    0 0 0 3px #f1bcce,
    0 0 0 6px #003920,
    0 0 20px rgba(241, 188, 206, 0.3);
  transition: box-shadow 0.3s ease;
}

.nf-autoplay-video:hover,
.nf-autoplay-video:focus {
  box-shadow:
    0 0 0 3px #f1bcce,
    0 0 0 6px #003920,
    0 0 40px rgba(241, 188, 206, 0.55);
}

/* ============================================ */
/* GRILLE VIDÉOS MP4 PORTRAIT (Reels)           */
/* ============================================ */

.nf-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 0 60px 10px;
}

.nf-video-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 9 / 16;
  background: #000;
}

.nf-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================ */
/* GRILLE VIDÉOS LANDSCAPE (Trekway)            */
/* ============================================ */

.nf-videos-grid--landscape {
  grid-template-columns: 2fr 1fr 1fr;
  align-items: stretch;
}

.nf-video-item--landscape {
  aspect-ratio: 16 / 9;
}

.nf-video-item--portrait {
  aspect-ratio: 9 / 16;
}

/* ============================================ */
/* FIGMA PLEINE LARGEUR (Trekway, Workshop)     */
/* ============================================ */

.nf-figma-wrapper--wide {
  padding: 0 60px 10px;
  display: block;
}

.nf-figma-wrapper--wide iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 6px;
  display: block;
  background: #1e1e1e;
}

/* ============================================ */
/* RESPONSIVE — NOUVEAUX COMPOSANTS             */
/* ============================================ */

@media (max-width: 1024px) {
  .nf-carousel-container .nf-card {
    width: 420px;
    height: 240px;
  }
  .nf-carousel-container .nf-card:hover {
    width: 420px;
  }
  .nf-videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nf-figma-wrapper--wide iframe {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .nf-carousel-container .nf-card {
    width: 320px;
    height: 180px;
    margin: 0 8px;
  }
  .nf-carousel-container .nf-card:hover {
    width: 320px;
  }
  .nf-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .nf-videos-grid--landscape {
    grid-template-columns: 1fr;
  }
  .nf-video-item--landscape,
  .nf-video-item--portrait {
    aspect-ratio: 16 / 9;
  }
  .nf-figma-wrapper--wide {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-figma-wrapper--wide iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .nf-carousel-container .nf-card {
    width: 240px;
    height: 136px;
    margin: 0 6px;
  }
  .nf-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-figma-wrapper--wide iframe {
    height: 300px;
  }
}

/* ============================================ */
/* FIN AJOUTS CARROUSEL + VIDÉOS               */
/* ============================================ */

/* ============================================ */
/* GALERIE 2 COLONNES (Trekway identité)        */
/* ============================================ */

.nf-two-col-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 60px 10px;
}

.nf-two-col-gallery .nf-gallery-item {
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.nf-two-col-gallery .nf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nf-gallery-item--placeholder {
  background: transparent !important;
  pointer-events: none;
}

/* ============================================ */
/* GRILLE VIDÉOS 2 PORTRAIT CÔTE À CÔTE        */
/* ============================================ */

.nf-videos-grid--two-portrait {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 60px 10px;
  align-items: start;
}

.nf-videos-grid--two-portrait .nf-video-item--portrait {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.nf-videos-grid--two-portrait .nf-video-item--portrait video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nf-video-caption {
  font-size: 0.75rem;
  color: rgba(241, 188, 206, 0.7);
  text-align: center;
  margin: 6px 0 0;
  font-style: italic;
}

/* ============================================ */
/* FIGMA PAYSAGE (16:9)                         */
/* ============================================ */

.nf-figma-wrapper--landscape {
  padding: 0 60px 10px;
  display: block;
}

.nf-figma-wrapper--landscape iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 6px;
  display: block;
  background: #1e1e1e;
}

/* ============================================ */
/* GALERIE PLEINE LARGEUR (GameBoy rendus)      */
/* ============================================ */

.nf-full-width-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 60px 10px;
}

.nf-full-width-gallery .nf-gallery-item {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.nf-full-width-gallery .nf-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================ */
/* GALERIE UNIFORME (GameBoy wireframes)        */
/* ============================================ */

.nf-uniform-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 60px 10px;
}

.nf-uniform-gallery .nf-gallery-item {
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 4 / 3;
}

.nf-uniform-gallery .nf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================ */
/* GALERIE BROCHURES CENTRÉE (Imderplam)        */
/* ============================================ */

.nf-brochure-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 60px 10px;
}

.nf-brochure-gallery .nf-gallery-item {
  width: calc(33.33% - 12px);
  min-width: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.nf-brochure-gallery .nf-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================ */
/* LANDING PAGE COMPLÈTE (Imderplam)            */
/* ============================================ */

.nf-landing-page-wrapper {
  padding: 0 60px 10px;
  overflow-y: auto;
  max-height: 600px;
  border-radius: 6px;
  border: 1px solid rgba(241, 188, 206, 0.2);
}

.nf-landing-page-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================ */
/* VIDÉO PETITE DANS GALERIE (Imderplam JPO)    */
/* ============================================ */

.nf-gallery-item--video-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  padding: 8px;
}

.nf-gallery-item--video-small video {
  width: 100%;
  max-width: 280px;
  border-radius: 4px;
  display: block;
}

/* ============================================ */
/* TABLEAU SANS CROP (Tableau animé)            */
/* ============================================ */

.nf-tableau-wrapper {
  padding: 0 60px 10px;
}

.nf-tableau-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

/* ============================================ */
/* RESPONSIVE — CORRECTIONS NOUVELLES CLASSES  */
/* ============================================ */

@media (max-width: 1024px) {
  .nf-two-col-gallery {
    padding-left: 32px;
    padding-right: 32px;
  }
  .nf-videos-grid--two-portrait {
    padding-left: 32px;
    padding-right: 32px;
  }
  .nf-figma-wrapper--landscape {
    padding-left: 32px;
    padding-right: 32px;
  }
  .nf-full-width-gallery {
    padding-left: 32px;
    padding-right: 32px;
  }
  .nf-uniform-gallery {
    padding-left: 32px;
    padding-right: 32px;
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-brochure-gallery {
    padding-left: 32px;
    padding-right: 32px;
  }
  .nf-landing-page-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }
  .nf-tableau-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px) {
  .nf-two-col-gallery {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-videos-grid--two-portrait {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-figma-wrapper--landscape {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-full-width-gallery {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-uniform-gallery {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-brochure-gallery {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nf-brochure-gallery .nf-gallery-item {
    width: calc(50% - 8px);
  }
  .nf-landing-page-wrapper {
    padding-left: 24px;
    padding-right: 24px;
    max-height: 400px;
  }
  .nf-tableau-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .nf-two-col-gallery {
    grid-template-columns: 1fr;
  }
  .nf-uniform-gallery {
    grid-template-columns: 1fr;
  }
  .nf-brochure-gallery .nf-gallery-item {
    width: 100%;
  }
}

/* ============================================ */
/* BOUTON FERMETURE — BANDEAU DÉGRADÉ          */
/* ============================================ */

/* Masquer l'ancien bouton fixe */
#nfCloseBtn {
  display: none !important;
}

/* Bandeau dégradé en haut de la cover */
.nf-project-hero {
  position: relative !important;
}

.nf-close-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(0, 57, 32, 0.92) 0%,
    rgba(0, 57, 32, 0.4) 60%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 32px;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
  cursor: pointer;
}

/* Afficher le bandeau au hover sur la cover */
.nf-project-hero:hover .nf-close-banner {
  opacity: 1;
}

/* Toujours visible sur mobile */
@media (max-width: 768px) {
  .nf-close-banner {
    opacity: 1;
    height: 60px;
  }
}

/* Bouton ✕ dans le bandeau */
.nf-close-banner__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1bcce;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(241, 188, 206, 0.5);
  border-radius: 30px;
  padding: 6px 18px 6px 14px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.nf-close-banner__btn:hover {
  background: rgba(241, 188, 206, 0.15);
  border-color: #f1bcce;
}

.nf-close-banner__btn svg {
  width: 16px;
  height: 16px;
  stroke: #f1bcce;
  flex-shrink: 0;
}

/* Indicateur "Cliquer pour fermer" toujours visible en bas de la cover */
.nf-close-hint {
  position: absolute;
  bottom: 16px;
  right: 24px;
  color: rgba(241, 188, 206, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ============================================ */
/* STYLES LIENS YOUTUBE (vidéos non-embarquables) */
/* ============================================ */

.nf-youtube-link {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background: #000;
}

.nf-youtube-thumb {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nf-youtube-link:hover .nf-youtube-thumb {
  opacity: 1;
}

.nf-youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  transition: transform 0.2s;
}

.nf-youtube-link:hover .nf-youtube-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.nf-youtube-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}


/* ============================================ */
/* BOUTON FERMER FIXE EN BAS DE CHAQUE PANNEAU  */
/* ============================================ */

.nf-close-project-btn-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 60px 60px;
  margin-top: 20px;
}

.nf-close-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #f1bcce;
  color: #f1bcce;
  font-family: gilroy, "Nunito", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.nf-close-project-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nf-close-project-btn:hover {
  background: #f1bcce;
  color: #003920;
  transform: scale(1.04);
}

.nf-close-project-btn:hover svg {
  transform: rotate(90deg);
}

/* ============================================ */
/* GRILLE VIDÉOS TREKWAY — LOGO + LOADING       */
/* Logo : moitié de largeur, centré             */
/* Loading : 1/6 de largeur, sous le logo       */
/* ============================================ */

.nf-trekway-anim-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 60px 20px;
}

.nf-trekway-logo-vid {
  width: 50%;
  max-width: 500px;
}

.nf-trekway-logo-vid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  border: 2px solid rgba(241, 188, 206, 0.4);
}

.nf-trekway-loading-vid {
  width: 16.67%; /* 1/6 de la largeur */
  max-width: 120px;
  min-width: 80px;
}

.nf-trekway-loading-vid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  border: 2px solid rgba(0, 57, 32, 0.6);
}

/* ============================================ */
/* PDF EMBARQUÉ — IFRAME INLINE                 */
/* ============================================ */

.nf-pdf-embed-section {
  padding: 0 60px 24px;
}

.nf-pdf-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(241, 188, 206, 0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.nf-pdf-embed-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(241, 188, 206, 0.2);
  background: #1a1a1a;
}

.nf-pdf-embed {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.nf-pdf-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: rgba(241, 188, 206, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}

.nf-pdf-open-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.nf-pdf-open-btn:hover {
  color: #f1bcce;
}

/* Responsive PDF */
@media (max-width: 768px) {
  .nf-pdf-embed {
    height: 400px;
  }
  .nf-pdf-embed-section {
    padding: 0 20px 20px;
  }
  .nf-trekway-anim-grid {
    padding: 0 20px 20px;
  }
  .nf-trekway-logo-vid {
    width: 80%;
  }
  .nf-trekway-loading-vid {
    width: 30%;
  }
  .nf-close-project-btn-wrapper {
    padding: 30px 20px 40px;
  }
}

@media (max-width: 480px) {
  .nf-pdf-embed {
    height: 300px;
  }
  .nf-trekway-logo-vid {
    width: 90%;
  }
  .nf-trekway-loading-vid {
    width: 40%;
  }
}

/* ============================================ */
/* OPTION B — CARROUSEL MASQUÉ AU CLIC          */
/* ============================================ */

/* Masquer le carrousel et le header quand panneau ouvert */
.nf-carousel--hidden {
  opacity: 0;
  pointer-events: none;
  max-height: 0 !important;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nf-header--hidden {
  opacity: 0;
  pointer-events: none;
  max-height: 0 !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  transition: opacity 0.35s ease, max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Le carrousel visible par défaut */
.nf-carousel-container {
  opacity: 1;
  max-height: 600px;
  transition: opacity 0.35s ease, max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nf-projects-header {
  max-height: 200px;
  transition: opacity 0.35s ease, max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation d'entrée du panneau */
.nf-expand-panel.nf-panel--open {
  animation: nfPanelSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes nfPanelSlideIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/* BOUTON FERMER EN HAUT — SUR LA COVER         */
/* Visible au hover de la cover, centré en haut */
/* ============================================ */

/* Masquer l'ancien conteneur sticky hérité */
#nfCloseBtn {
  display: none !important;
}

/* Conteneur injecté dans .nf-project-hero */
#nfFloatingCloseBtn {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: transparent;
  border: none;
  margin: 0;
}

/* Visible quand le panneau est ouvert ET qu'on hover la cover */
.nf-project-hero:hover #nfFloatingCloseBtn,
#nfFloatingCloseBtn.nf-floating-close--hover {
  opacity: 1;
}

/* Le vrai bouton à l'intérieur */
#nfFloatingCloseBtn .nf-close-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(0, 31, 16, 0.85);
  border: 2px solid #f1bcce;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

#nfFloatingCloseBtn .nf-close-circle svg {
  width: 22px;
  height: 22px;
  stroke: #f1bcce;
  flex-shrink: 0;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

#nfFloatingCloseBtn .nf-close-circle:hover {
  background: #f1bcce;
  transform: scale(1.1);
  box-shadow: 0 4px 28px rgba(241, 188, 206, 0.4);
}

#nfFloatingCloseBtn .nf-close-circle:hover svg {
  stroke: #003920;
  transform: rotate(90deg);
}

/* Alignement des cartes — centré verticalement */
.nf-carousel-container .nf-cards-grid {
  align-items: center !important;
}

/* Flip supprimé — transition smooth simple conservée */


/* ============================================================ */
/* SECTION COMPÉTENCES — Réduction pour tenir en 100vh          */
/* ============================================================ */

/* Section About : pas d'overflow hidden pour ne pas bloquer fullPage.js */
.vlt-section[data-anchor="About"] .vlt-section__content {
  overflow: visible;
}

/* Réduire les spacers Elementor dans la section About */
.vlt-section[data-anchor="About"] .elementor-spacer-inner {
  height: 8px !important;
  min-height: 0 !important;
}

/* Réduire les paddings des colonnes */
.vlt-section[data-anchor="About"] .elementor-column-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.vlt-section[data-anchor="About"] .elementor-widget-wrap {
  padding: 0 !important;
}

/* Supprimer l'espace au-dessus du titre */
.vlt-section[data-anchor="About"] .elementor-widget-heading {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.vlt-section[data-anchor="About"] .elementor-section {
  padding-top: 0 !important;
}

/* Réduire les marges des widgets */
.vlt-section[data-anchor="About"] .elementor-widget {
  margin-bottom: 4px !important;
}

/* Réduire la taille du titre "Mes compétences" */
.vlt-section[data-anchor="About"] .elementor-heading-title {
  font-size: 1.6rem !important;
  margin-bottom: 6px !important;
}

/* Espacement entre les barres de progression */
.vlt-section[data-anchor="About"] .vlt-progress-bar {
  margin-bottom: 12px !important;
}

.vlt-section[data-anchor="About"] .vlt-progress-bar__title {
  font-size: 0.7rem !important;
  margin: 0 0 4px !important;
}

.vlt-section[data-anchor="About"] .vlt-progress-bar__bar {
  height: 5px !important;
}

/* Réduire le texte de description */
.vlt-section[data-anchor="About"] .elementor-text-editor p,
.vlt-section[data-anchor="About"] p {
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
}

/* Réduire les paddings de la section elle-même */
.vlt-section[data-anchor="About"] .elementor-section {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.vlt-section[data-anchor="About"] .elementor-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Réduire les images/icônes de compétences si présentes */
.vlt-section[data-anchor="About"] .elementor-image img {
  max-height: 60px !important;
  width: auto !important;
}

/* Réduire les listes de compétences */
.vlt-section[data-anchor="About"] ul,
.vlt-section[data-anchor="About"] li {
  margin-bottom: 2px !important;
  padding-bottom: 2px !important;
  font-size: 0.85rem !important;
}


/* ============================================================ */
/* FOND IMAGE — Sections Projects, About, Cursus, Contact       */
/* ============================================================ */

.vlt-section[data-anchor="Projects"],
.vlt-section[data-anchor="About"],
.vlt-section[data-anchor="Cursus"],
.vlt-section[data-anchor="Contact"] {
  background-image: url('./Fond portfolio.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: local !important;
}

/* Supprimer le fond uni vert foncé hérité pour ces sections */
.vlt-section[data-anchor="Projects"] .vlt-section__content,
.vlt-section[data-anchor="About"] .vlt-section__content,
.vlt-section[data-anchor="Cursus"] .vlt-section__content,
.vlt-section[data-anchor="Contact"] .vlt-section__content {
  background: transparent !important;
}

/* Supprimer le fond vert du ken-burn si présent */
.vlt-section[data-anchor="Projects"] .vlt-section__ken-burn-background,
.vlt-section[data-anchor="About"] .vlt-section__ken-burn-background,
.vlt-section[data-anchor="Cursus"] .vlt-section__ken-burn-background,
.vlt-section[data-anchor="Contact"] .vlt-section__ken-burn-background {
  display: none !important;
}


/* ============================================================ */
/* SECTION COMPÉTENCES — Animation haut vers bas                */
/* Réinitialiser les délais pour un ordre croissant             */
/* ============================================================ */

/* Réinitialiser tous les délais d'animation Elementor dans About */
.vlt-section[data-anchor="About"] .vlt-animate-element {
  --animate-delay: 0ms !important;
}

/* Appliquer des délais croissants du haut vers le bas */
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(1) { --animate-delay: 0ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(2) { --animate-delay: 80ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(3) { --animate-delay: 160ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(4) { --animate-delay: 240ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(5) { --animate-delay: 320ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(6) { --animate-delay: 400ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(7) { --animate-delay: 480ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(8) { --animate-delay: 560ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(9) { --animate-delay: 640ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(10) { --animate-delay: 720ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(11) { --animate-delay: 800ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(12) { --animate-delay: 880ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(13) { --animate-delay: 960ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(14) { --animate-delay: 1040ms !important; }
.vlt-section[data-anchor="About"] .elementor-widget:nth-child(15) { --animate-delay: 1120ms !important; }


/* ============================================================ */
/* SECTIONS — Projets, Compétences, Cursus                      */
/* NE PAS mettre overflow:hidden sur vlt-section car ça bloque  */
/* le scroll fullPage.js                                        */
/* ============================================================ */

/* Section Projets : centrage vertical du contenu */
.vlt-section[data-anchor="Projects"] .vlt-section__vertical-align {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Section Compétences : centrage vertical du contenu */
.vlt-section[data-anchor="About"] .vlt-section__vertical-align {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 0 !important;
}

/* Section Cursus : réduire les éléments pour tenir en 100vh */
.vlt-section[data-anchor="Cursus"] .elementor-spacer-inner {
  height: 6px !important;
  min-height: 0 !important;
}

.vlt-section[data-anchor="Cursus"] .elementor-widget-wrap {
  padding: 0 !important;
}

.vlt-section[data-anchor="Cursus"] .elementor-column-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.vlt-section[data-anchor="Cursus"] .elementor-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.vlt-section[data-anchor="Cursus"] .elementor-widget {
  margin-bottom: 4px !important;
}

/* Titre de la section Cursus */
.vlt-section[data-anchor="Cursus"] .elementor-heading-title {
  font-size: 1.6rem !important;
  margin-bottom: 6px !important;
}

/* Timeline items — réduire le padding entre items */
.vlt-section[data-anchor="Cursus"] .vlt-timeline-item:not(:last-of-type) {
  padding-bottom: 1rem !important;
}

.vlt-section[data-anchor="Cursus"] .vlt-timeline-item + .vlt-timeline-item {
  padding-top: 1rem !important;
}

/* Texte de la timeline */
.vlt-section[data-anchor="Cursus"] .vlt-timeline-item__date {
  font-size: 0.8rem !important;
  margin-bottom: 2px !important;
}

.vlt-section[data-anchor="Cursus"] .vlt-timeline-item__title {
  font-size: 1rem !important;
  margin: 0 !important;
}

.vlt-section[data-anchor="Cursus"] .vlt-timeline-item__text {
  font-size: 0.82rem !important;
}

.vlt-section[data-anchor="Cursus"] .vlt-timeline-item__text p {
  margin-bottom: 2px !important;
  line-height: 1.3 !important;
}

/* Bouton CV */
.vlt-section[data-anchor="Cursus"] .vlt-btn {
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
}

/* Plus d'espace entre le titre/bouton CV et le premier cursus */
.vlt-section[data-anchor="Cursus"] .vlt-timeline-slider {
  margin-top: 1.5rem !important;
}

/* ============================================ */
/* CORRECTION CURSEUR                           */
/* Le script cursor-canvas n'est pas inclus     */
/* On neutralise le cursor:none du CSS principal*/
/* ============================================ */
body,
html,
*,
a,
button,
input,
textarea,
select,
.clickable {
  cursor: auto !important;
}
a,
button,
[role="button"],
.nf-card,
.nf-close-btn,
.nf-close-top-btn,
.nf-carousel-btn,
.nf-gallery-item,
.nf-project-link,
.nf-close-bottom-btn {
  cursor: pointer !important;
}

/* ============================================ */
/* CORRECTION CURSEUR                           */
/* Le script cursor-canvas n'est pas inclus     */
/* On neutralise le cursor:none du CSS principal*/
/* ============================================ */
body,
html,
*,
a,
button,
input,
textarea,
select,
.clickable {
  cursor: auto !important;
}
a,
button,
[role="button"],
.nf-card,
.nf-close-btn,
.nf-close-top-btn,
.nf-carousel-btn,
.nf-gallery-item,
.nf-project-link,
.nf-close-bottom-btn {
  cursor: pointer !important;
}
