/* Feuille de style principale */
/* Feuille de style principale avec IvyPresto Display */
@charset "UTF-8";

/* Import IvyPresto Display via Adobe Fonts */
@import url("https://use.typekit.net/ifl8mwx.css");
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Import Work Sans depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600&display=swap');


/* =====================
   VARIABLES & BASE TYPO
   ===================== */
:root {
  --font-ui: 'Inter', sans-serif;
  --font-editorial: 'IvyPresto Display', 'IvyPresto text', 'ivypresto-display', 'ivypresto-text', serif;
  --font-text: "Work Sans", sans-serif;
  --accent-amber: #FFBF00;
  --sidebar-bg: #fafafa;
  --sidebar-line: #e9ecef;
  --sidebar-hover: #f2f4f6;
  --sidebar-active: #ffffff;
  --sidebar-text: #222;
  --sidebar-muted: #6c757d;
}

/* =====================
   Base globale
   ===================== */

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  display: flex;
}

p {
font-family: var(--font-text);
font-size: 1rem;
margin : .3em 0;
}
.stage{font-style:italic;color:#555;}
.name{font-weight:600;}

/* Contenu éditorial en IvyPresto */
#main-content,
article,
.post,
.postcard,
.card-like,
.dialogue,
blockquote,
.post-image figcaption,
#liste-recit {
  font-family: var(--font-editorial);
}

/* =====================
   SIDEBAR
   ===================== */
#sidebar {
  position: sticky;
  top: 64px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 0.75rem;
  background: var(--sidebar-bg);
  border: 1px solid var(--sidebar-line);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.98rem;
}

#sidebar .sidebar-heading {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
}

#sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#sidebar li { margin: 0; }

#sidebar ul ul {
  margin-left: .25rem;
  padding-left: .75rem;
  border-left: 1px dashed var(--sidebar-line);
}

/* marge contrôlée par la feuille de style (plus de inline) */
.sidebar-caption { 
  margin: 0 0 1.5rem;   /* colle le texte à l’image, un peu d’air dessous */
}

.sidebar-link {
  display: block;
  padding: .55rem .65rem;
  margin: .1rem 0;
  color: var(--sidebar-text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: .5rem;
  transition: background-color .15s ease, border-color .15s ease;
}
.sidebar-link:hover { background: var(--sidebar-hover); }

.sidebar-link.is-active,
.sidebar-link[aria-current="page"] {
  background: var(--sidebar-active);
  border-color: var(--sidebar-line);
  position: relative;
}
.sidebar-link.is-active::before,
.sidebar-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent-amber);
  border-radius: 4px;
}

#sidebar a:focus-visible,
#sidebar button:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
  border-radius: 6px;
}

.sidebar-link p,
.sidebar-link h3,
.sidebar-link h4 {
  margin-top: 0.2rem;     /* réduit l’espace au-dessus du texte */
}

#sidebar .group + .group{
  margin-top: .35rem;
  padding-top: .35rem;
  border-top: 1px solid var(--sidebar-line);
}

#sidebar .meta{
  font-size: .78rem;
  color: var(--sidebar-muted);
}

/* NAVBAR et Boutons */
.navbar,
.navbar-brand,
.navbar-nav li a,
.btn,
.meta-date {
  font-family: 'Inter', sans-serif;
}

/* Dates seules */
.meta-date {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}


#main-wrapper {
  max-width: 100%; /* ou 100%, selon ton choix */
  background-color: #f5f5f5;
  margin: 0 auto;
}
#site-header {
  padding: 0;
  margin-bottom: 0;
}
header .navbar {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
}
.barre-ambre {
  height: 5px;
  background-color: #FFBF00; /* ambre plus doré */
}
/* pour faire un blanc propre */
.barre-blanc {
  margin-top: 20px; /* espace au-dessus */
  margin-bottom: 20px; /* espace en dessous */
}

/* NAVBAR */

.nav-tabs li a {
    color: #777;
}
.navbar {
    margin-bottom: 0;
    background-color: #fff;
    border: 0;
    font-size: 13px !important;
    letter-spacing: 2px;
      min-height: 70px;           /* plus haute que la valeur par défaut */
  padding-top: 1rem;          /* plus d’air en haut */
  padding-bottom: 1rem;       /* plus d’air en bas */
}

/* S’assure que la barre garde une ligne compacte */
.navbar .container,
.navbar .container-fluid{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.navbar-brand {

    margin-left: 50px;
    margin-bottom: 0;
    font-weight: 700;
    color:#343857;
    border: 0;
    font-size: 28px !important;
    letter-spacing: 3px;
}
/* Add a gray color to all navbar links */
.navbar li a, .navbar .navbar-brand {
    color: #000000 !important;
}
/* On hover, the links will turn white */
.navbar-nav li a:hover {
    color: #E9B436 !important;
    background-color: #000000 !important;
}
/* The active link */
.navbar-nav li.active a {
    color: #000 !important;
    background-color: #29292c !important;
}
/* Remove border color from the collapsible button */
.navbar-default .navbar-toggle {
    border-color: transparent;
}
.navbar .nav-link { text-decoration: none; font-size: 1rem; }
.navbar .nav-link:hover { text-decoration: none; }
.navbar .dropdown-item {
  margin: 0 .25rem;    /* crée l’espace à droite/gauche */
  padding: .45rem .75rem;
  border-radius: .375rem;
}

/* Menu déroulant élargi pour grands titres */
.navbar .dropdown-menu {
  min-width: 18rem; /* élargit le menu */
  --bs-dropdown-padding-x: .5rem;
  --bs-dropdown-link-hover-bg: #f2f2f2;
  --bs-dropdown-link-active-bg: #f2f2f2;
  border-radius: .5rem;
  overflow: hidden;
}

/* Items avec retour à la ligne possible */
.navbar .dropdown-menu .dropdown-item {
  --bs-dropdown-item-padding-x: .75rem;
  margin: 0 .25rem;
  border-radius: .375rem;
  white-space: normal; /* autorise les lignes multiples */
} 

.navbar-toggler {
  border: none;
  margin-left:auto;
}
.navbar-toggler-icon {
  background-image: url("../assets/icons/navbar-icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

/* LOGO dans la navbar : version compacte, sans soulignement, bien aligné */
.navbar-brand.logo,
.navbar-brand.logo:hover,
.navbar-brand.logo:focus,
.navbar-brand.logo:active {
  font-family: var(--font-editorial, 'Inter'), sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  margin-right: .5rem;
  color: #000 !important;             /* fige la couleur (Bootstrap n’écrase plus) */
  text-decoration: none !important;   /* jamais de soulignement */
  margin-left: 0 !important;   /* enlève la marge automatique */
  padding-left: 0 !important;  /* enlève le padding par défaut de Bootstrap */
}

/* Accent sur EYE — et on le fige aussi au hover */
.navbar-brand.logo .eye {
  color: #f6c915;
  font-weight: inherit;
  display: inline-block;           /* important pour que transform marche */
  transition: transform 0.3s ease;
}

.navbar-brand.logo:hover .eye {
  transform: translateY(-5px) rotate(-5deg) scale(1.1);
}


/* Mobile : logo un poil plus petit + navbar un peu plus compacte */
@media (max-width: 575.98px){
  .navbar-brand.logo { font-size: 1.25rem; }
  .navbar { padding-top: .5rem; padding-bottom: .5rem; }
}


/* TITRES & META */

h1 {font-family: 'ivypresto-display', serif;
  font-weight: 600;
}
h1.text-end {
  font-weight: 500; /* plus léger que bold */
  font-size: 1.6rem; /* un peu plus compact */
  letter-spacing: 0.5px;
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
h5 {
  font-size: 1rem;
  color: gray;
}

.meta-date {
  font-size: 0.95rem;
  color: #6c757d;
  margin-right: 0.5rem;
}
/* ===============================
   Styles spécifiques à RECIT_INDEX
   =============================== */
#liste-recit > .container:first-of-type .postcard {
  margin-top: 2rem;
}
/* TEXTES & LISTES */

p {
    font-size: 1.12em;
    line-height: 1.5em;
   
}  

.dialogue {
  font-family: var(--font-editorial, 'Georgia', serif); /* tu peux remplacer par ta font */
  font-size: 1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.dialogue dt {
  font-weight: 600;           /* nom du personnage en plus marqué */
  margin-top: 1rem;
  color: #444;                /* gris doux */
}

.dialogue dd {
  margin: 0 0 0.75rem 1.5rem; /* léger retrait pour différencier */
  color: #222;                /* texte principal */
}

.dialogue dd::before {
  content: "— ";              /* petit tiret cadratin au début */
  color: #999;
}


.abstract {
      font-style: italic;
      color: #555;
      margin-top: 1rem;
    }


blockquote {
  font-style: italic;
  font-size: 1em;
  color: #555;
  border-left: 4px solid #ccc;
  padding-left: 16px;
}
.footnote {
  font-size: 0.85em;   /* plus petit que le texte principal */
  color: #555;         /* gris doux, évite le noir trop dur */
  line-height: 1.4;
  margin-top: .5em;
}
.footnote::before {
  content: "◆ ";
  font-size: 0.9em;
  color: #666;
} 
.dialogue {
  margin-left: 2em;
  margin-top: 1em;
  font-style: italic;
}

.separation {
  border-top: 1px dashed #aaa;
  margin: 30px 0;
}
ul {
  LIST-STYLE-TYPE: none;
  padding: 0px;
  margin-top: 0px;
  margin-right: 5px;
  margin-bottom: 0px;
  margin-left: 5px;
  font-size: 80%;
  line-height: 1.2em;
  color: #333333;
  text-align: justify;
}
li {
  MARGIN-BOTTOM: 3px;
  LIST-STYLE-TYPE: none;
}

/* CONTENU & SIDEBAR */

#main-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  background-color: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}
#main-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.sidebar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.70rem
}
.sidebar-box #btnRecherche,
.sidebar-box #btnTag {
  width: 100%;
  box-sizing: border-box;
}

.sidebar-box p {
  font-family: var(--font-ui);
}

/* TAGS */
/* Disposition en nuage + pastilles lisibles */
#sidebar-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
#sidebar-tags .tag{
  display: inline-block;
  background: #f2f2f2;
  color: #333;
  padding: .2rem .5rem;
  border-radius: 12px;
  font-size: .8rem;
  font-family: var(--font-ui);
  text-transform: none;          /* crucial pour garder la casse normale */
  cursor: pointer;
  transition: background .2s;
}
#sidebar-tags .tag:hover{ background: #e0e0e0; }



/*FOOTERS & Boutons */

#site-footer {
  background-color: #222;
  color: #ccc;
  font-size: 0.8rem;
  padding: 0.8rem 1rem;
  margin-top: 2rem;
  width: 100%;
}
#site-footer .footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* centre le contenu horizontalement */
  align-items: center; /* optionnel : centre verticalement si plus d’une ligne */
  text-align: center;
}
.btn-ambre {
  background-color: #FFC107;
  color: #212529;
  border: none;
  transition: background-color 0.3s;
}
.btn-ambre:hover {
  background-color: #e0a800; /* Ambre foncé au survol */
  color: #fff;
}

/* Posts / ¨Postcards */

.date-header {
  FONT-SIZE: 70%;
  COLOR: #996600;
  margin-left: 20px;
}
.example-image {
  width: 100%;
  height: auto;
  display: block;
}
.post {
  BORDER-BOTTOM: #ddd 1px solid;
  text-align: justify;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 20px;
  clip: rect(auto, auto, auto, auto);
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
.post-image {
  margin: 2rem 0;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
}
.post-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}
.post-image figcaption {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.5rem;
  font-style: italic;
}
.post-title {
  MARGIN-TOP: 0px;
  FONT-SIZE: 180%;
  COLOR: #000000;
  LETTER-SPACING: normal;
  font-weight: normal;
font-family: 'ivypresto-display', serif;
  text-align: left;
  line-height: 120%;
}
/* Add a card effect for articles */
.postcard {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  text-align: justify;
}

/* Ajoute un espacement vertical entre les rangées successives */
.postcard .row + .row {
  margin-top: 0.5rem; /* ou 24px */
}

figure.centered img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* === Bloc image moderne === */

.image-container {
  position: relative;
  max-width: 800px;       /* Largeur max centrée */
  margin: 20px auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background-color: #fff;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.image-container .content {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 100%;
  padding: 0.4rem 0.6rem;
}

.image-container .caption {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Pour LightGallery */

.my-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
.my-gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}
.my-gallery img:hover {
    transform: scale(1.02);
}

/* Masonry simple en colonnes */

.masonry {
    column-gap: 1rem;
    /* Desktop par défaut */
    column-count: 3;
    }
    /* Responsive (si tu veux rester surtout desktop, garde quand même ça) */
    @media (max-width: 1200px) { .masonry { column-count: 2; } }
    @media (max-width: 576px)  { .masonry { column-count: 1; } }

.masonry a {
      display: inline-block;
      width: 100%;
      margin: 0 0 1rem;
      break-inside: avoid;
    }
.masonry img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.masonry img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}  

/* Encadrés propres */
.card-like {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;     /* déjà présent */
  line-height: 1.5;  /* meilleur confort de lecture */
}
.card-like p {
  margin: 0 0 0.75rem; /* espace entre paragraphes */
}      
.card-like:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}  
   
/* PROGRESS-bar */

  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(240, 240, 240, 0.85);
    z-index: 9999;
  }
  #scroll-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #ff7a00;
    transition: width 0.2s ease-out;
  }


/* STYLES PAGE INDEX */

.thumbnail a {
    display: block;
    color: #000;
    background-color: #000;
    position: relative;
}
.thumbnail figure {
    position: relative;
}
.thumbnail img {
    position: relative;
    transition: all 0.2s ease-in-out;
}
.thumbnail figcaption {
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    top: 7.5%;
    text-align: center;
    left: 5%;
    width: 90%;
    line-height: 1.2rem;
    height: 85%;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    transition: all 0.2s ease-in-out 0.2s;
    opacity: 0;
    transform: scale(0.8);
}
.thumbnail a:hover figcaption {
    opacity: 1;
    transform: scale(1);
}
.thumbnail a:hover img {
    opacity: 0.5;
}
.thumbnail figcaption .title {
    font-size: 20px;
    margin-bottom: 5px;
}
.thumbnail figcaption .date {
    font-size: 14px;
    margin-bottom: 10px;
}
    
/* DES BOUTONS */
.btn-style {
  background: #FFBF00;
  color: #111;
  border: 1px solid #e5e5e5;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  padding: .75em 1.3em;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-style:hover:not(.disabled) {
  background: #ffc933;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}
.btn-style.disabled { opacity:.6; pointer-events:none; }



/* Bouton minimaliste, sans soulignement, avec micro-mouvement */
.btn-minimal {
  background: none;
  border: none;
  color: inherit;
  padding: .4em .6em;
  font: inherit;
  cursor: pointer;
  text-decoration: none;                 /* enlève le soulignement par défaut des <a> */
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn-minimal:hover:not(.disabled),
.btn-minimal:active:not(.disabled) {
  text-decoration: none;                 /* sécurité anti-underline */
  transform: translateY(-1px);           /* petit lift */
  box-shadow: 0 4px 10px rgba(0,0,0,.10);
}

/* Focus accessible, sans soulignement */
.btn-minimal:focus-visible {
  outline: 2px solid #FFBF00;
  outline-offset: 2px;
  text-decoration: none;
}

/* État disabled */
.btn-minimal.disabled {
  opacity: .4;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

/* Respecte la préférence “réduire les animations” */
@media (prefers-reduced-motion: reduce) {
  .btn-minimal { transition: none; }
  .btn-minimal:hover:not(.disabled),
  .btn-minimal:active:not(.disabled) { transform: none; box-shadow: none; }
}





.btn.btn-info {
  background: #111;           /* fond noir */
  color: #fff;                /* texte blanc */
  border: 1px solid #e5e5e5;  /* bord discret */
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  padding: .7em 1.1em;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.btn.btn-info:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}


#btnRecherche,
#btnTag {
      display: inline-flex; align-items: center; justify-content: center;
      gap: .5em;
      padding: .7em 1.1em;
      border-radius: 10px;
      border: 1px solid #e5e5e5;
      background: #111;
      color: #fff;
      text-decoration: none;
      font-family: var(--font-system);
      font-weight: 600;
      font-size: 0.95rem;
      transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
      box-shadow: 0 6px 16px rgba(0,0,0,.12);
    }

#btnRecherche,
#btnTag :hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(0,0,0,.16);
      background:#000;
    }


/* Pour centrer sur la page */
.btn-container {
  text-align: center;
} 

/* Lien non bleus */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* ===== Menu mobile : effet "coulure DS" lisible ===== */
@media (max-width: 768px) {
  .navbar-collapse{
    --ease: cubic-bezier(.22,1,.36,1);
    --dur: 1s;         /* durée d’un item */
    --stagger: .12s;   /* décalage entre items */
    --bgA: .9;
    position: fixed; inset: 0;
    background: rgba(0,0,0,var(--bgA));
    padding: 72px 24px 24px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform .8s var(--ease);
    z-index: 90;
  }
  .navbar-collapse.show{ transform: translateY(0); }

  .navbar-nav{ gap:0; margin:0; }
  .navbar-nav .nav-item{ margin:0; }
  .navbar-nav .nav-link{
    color:#fff !important;
    text-transform: uppercase;
    font-weight:300;
    font-size: clamp(22px, 6.2vw, 40px);
    line-height:1.05;
    padding:.08rem 0 !important;
    letter-spacing:.03em;
    display:inline-block;
    opacity:0.4; /* visible dès le début */
    transform: translateY(-8px);
    filter: blur(1px);

    -webkit-mask-image: linear-gradient(#000 0 0);
            mask-image: linear-gradient(#000 0 0);
    -webkit-mask-position: 0 0;
            mask-position: 0 0;
    -webkit-mask-size: 100% 0%;
            mask-size: 100% 0%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
  }

  .navbar-collapse.show .nav-item .nav-link{
    animation: dsFlowReadable var(--dur) var(--ease) both;
    animation-delay: var(--delay, 0s);
  }

  .navbar-collapse.show .nav-item:nth-child(1) .nav-link{ --delay: calc(1 * var(--stagger)); }
  .navbar-collapse.show .nav-item:nth-child(2) .nav-link{ --delay: calc(2 * var(--stagger)); }
  .navbar-collapse.show .nav-item:nth-child(3) .nav-link{ --delay: calc(3 * var(--stagger)); }
  .navbar-collapse.show .nav-item:nth-child(4) .nav-link{ --delay: calc(4 * var(--stagger)); }
  .navbar-collapse.show .nav-item:nth-child(5) .nav-link{ --delay: calc(5 * var(--stagger)); }
}

/* Animation : opacité visible dès le début, coulure douce */
@keyframes dsFlowReadable{
  0%{
    opacity:0.4;
    transform: translateY(-8px);
    filter: blur(1px);
    -webkit-mask-size: 100% 30%;
            mask-size: 100% 30%;
  }
  60%{
    opacity:1;
  }
  100%{
    transform: translateY(0);
    filter: blur(0);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
  }
}


