
#overlayRoot {
  position: fixed;
  inset: 0;
  z-index: 40;                     
  display: flex;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s;
}

#overlayRoot.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .28s ease, visibility 0s;
}

#overlayScrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 0%,
              rgba(8, 14, 16, .72) 0%,
              rgba(3, 6, 7, .9) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#overlayPanel {
  position: relative;
  width: min(920px, 92vw);
  max-height: 100vh;
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(49, 199, 210, .28) transparent;
  -webkit-overflow-scrolling: touch;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px) 120px;
  color: #d6e7e9;
  transform: translateY(14px);
  transition: transform .32s cubic-bezier(.16, .84, .3, 1);
}
#overlayRoot.is-open #overlayPanel { transform: translateY(0); }

#overlayPanel::-webkit-scrollbar { width: 10px; }
#overlayPanel::-webkit-scrollbar-track { background: transparent; }
#overlayPanel::-webkit-scrollbar-thumb {
  background: rgba(49, 199, 210, .28);
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
#overlayPanel::-webkit-scrollbar-thumb:hover { background: rgba(49, 199, 210, .5); background-clip: padding-box; }

#overlayClose {
  position: sticky;
  top: 0;
  float: right;
  margin: -8px -8px 0 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(10, 20, 22, .55);
  border: 1px solid rgba(49, 199, 210, .35);
  border-radius: 50%;
  color: #7fe9f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .15s ease;
  z-index: 2;
}
#overlayClose:hover {
  color: #b9f6fb;
  border-color: rgba(49, 199, 210, .8);
  box-shadow: 0 0 22px rgba(49, 199, 210, .35);
  transform: scale(1.05);
}
#overlayClose:active { transform: scale(.96); }

.overlay-article { display: none; }
.overlay-article.is-active { display: block; }

.ov-kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #31c7d2;
  border: 1px solid rgba(49, 199, 210, .35);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 22px;
}

.overlay-article h1 {
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.05;
  color: #eafcfd;
  margin-bottom: 18px;
}
.overlay-article h1 .accent { color: #31c7d2; }

.ov-lead {
  font-size: clamp(15px, 2.3vw, 19px);
  line-height: 1.7;
  color: #a9c4c7;
  max-width: 64ch;
  margin-bottom: 40px;
}

.overlay-article h2 {
  font-size: clamp(19px, 3vw, 26px);
  font-weight: 400;
  color: #eafcfd;
  margin: 48px 0 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(49, 199, 210, .14);
}

.overlay-article h3 {
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7fe9f0;
  margin: 26px 0 10px;
}

.overlay-article p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #b7cfd1;
  margin-bottom: 16px;
  max-width: 68ch;
}

.overlay-article a { color: #5fd8e2; text-decoration: none; border-bottom: 1px solid rgba(95, 216, 226, .3); }
.overlay-article a:hover { border-bottom-color: #5fd8e2; }

.ov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin: 28px 0 8px;
}

.ov-card {
  background: linear-gradient(160deg, rgba(20, 34, 37, .6), rgba(10, 18, 20, .6));
  border: 1px solid rgba(49, 199, 210, .16);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ov-card:hover {
  border-color: rgba(49, 199, 210, .45);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 30px rgba(49, 199, 210, .1);
}

.ov-thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(49,199,210,.05) 0 10px, transparent 10px 20px),
    linear-gradient(140deg, #123, #071114);
  color: rgba(127, 233, 240, .5);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ov-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ov-card-body { padding: 18px 20px 22px; }
.ov-card-body h3 { margin: 0 0 8px; color: #eafcfd; text-transform: none; letter-spacing: 0; font-size: 17px; }
.ov-card-body p { font-size: 14px; margin-bottom: 12px; color: #9fbabd; }

.ov-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.ov-tag {
  font-size: 0.75rem;
  letter-spacing: .04em;
  color: #7fe9f0;
  background: rgba(49, 199, 210, .1);
  border: 1px solid rgba(49, 199, 210, .22);
  padding: 4px 10px;
  border-radius: 30px;
}

.ov-callout {
  background: rgba(49, 199, 210, .06);
  border-left: 3px solid #31c7d2;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 22px 0;
}
.ov-callout p { margin: 0; color: #cfe6e8; }

.ov-stack { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.ov-stack li {
  font-size: 13px;
  color: #cbe4e6;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 8px 14px;
  border-radius: 10px;
}

.ov-contact-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.ov-contact-links a {
  border: 1px solid rgba(49, 199, 210, .3);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: .02em;
  border-bottom-width: 1px;
}
.ov-contact-links a:hover { background: rgba(49, 199, 210, .08); }

.ov-return-hint {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 0.75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(214, 231, 233, .35);
  text-align: center;
}

@media (max-width: 640px) {
  #overlayPanel { width: 100vw; padding-left: 20px; padding-right: 20px; border-radius: 0; }
  .ov-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #overlayRoot, #overlayPanel { transition: none; }
}

#seoNav {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#seoNav a:focus {
  position: fixed;
  top: 64px;               
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  z-index: 60;
  background: #05131a;
  color: #7fe9f0;
  padding: 10px 16px;
  border: 1px solid rgba(49, 199, 210, .5);
  border-radius: 8px;
}

#overlayContent.ov-wait > * { visibility: hidden; }

#overlayContent[aria-busy="true"] {
  min-height: 40vh;
  position: relative;
}
#overlayContent[aria-busy="true"]::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(49, 199, 210, .25);
  border-top-color: #31c7d2;
  border-radius: 50%;
  animation: ov-spin .8s linear infinite;
}
@keyframes ov-spin { to { transform: rotate(360deg); } }

.ov-error {
  padding: 40px 0;
  color: #a9c4c7;
  font-size: 15px;
}
.ov-error a { color: #5fd8e2; }

/* Géométrie du logo, partagée avec l'accroche : bord gauche, barre ambre, écart barre / texte. Le texte de
   l'accroche démarre où démarre « KoKo Fuze », le filet du slogan se pose sur la verticale de la barre. */
:root {
  --kf-marque-gauche: clamp(18px, 2.8vw, 34px);
  --kf-marque-barre: 3px;
  --kf-marque-ecart: 13px;
}
@media (max-width: 640px) {
  :root { --kf-marque-ecart: 10px; }
}

#brand {
  position: fixed;
  top: clamp(16px, 2.6vw, 30px);
  left: var(--kf-marque-gauche);
  z-index: 36;
  display: flex;
  align-items: stretch;
  gap: var(--kf-marque-ecart);
  pointer-events: none;       
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

#brand.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#brand .brand-bar {
  flex: 0 0 auto;
  width: var(--kf-marque-barre);
  border-radius: 3px;
  background: linear-gradient(180deg,
    rgba(255, 154, 60, .05) 0%,
    #ffb15c 40%,
    #ff9a3c 70%,
    rgba(255, 154, 60, .1) 100%);
  box-shadow:
    0 0 12px rgba(255, 154, 60, .85),
    0 0 30px rgba(255, 138, 40, .45);
  animation: brand-pulse 5.5s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%, 100% { opacity: .7; }
  50%      { opacity: 1; }
}

#brand .brand-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#brand .brand-text {
  position: relative;
  margin: 0;
  font-family: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  color: #dff4f6;
  text-shadow:
    -1.4px 0 0 rgba(255, 62, 62, .55),
     1.4px 0 0 rgba(49, 199, 210, .6),
     0 0 18px rgba(49, 199, 210, .45),
     0 0 42px rgba(49, 199, 210, .22),
     0 2px 16px rgba(0, 0, 0, .9);
  white-space: nowrap;
  animation: brand-glitch 9s steps(1, end) infinite;
}

#brand .brand-text b {
  font-weight: 700;
  color: #ffffff;
}

@keyframes brand-glitch {
  0%, 96.4%, 100% { transform: translateX(0); }
  96.8% { transform: translateX(-1.5px); }
  97.2% { transform: translateX(1.5px); }
  97.6% { transform: translateX(-.5px); }
  98%   { transform: translateX(0); }
}

#brand .brand-seam {
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #7fe9f0 0%,
    #31c7d2 42%,
    rgba(49, 199, 210, .35) 72%,
    rgba(49, 199, 210, 0) 100%);
  box-shadow:
    0 0 10px rgba(49, 199, 210, .8),
    0 0 26px rgba(49, 199, 210, .4);
}

#brand .brand-tagline {
  margin: 3px 0 0;
  font-family: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: clamp(.16em, .55vw, .26em);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(223, 244, 246, .6);
  text-shadow:
    0 0 14px rgba(49, 199, 210, .3),
    0 2px 12px rgba(0, 0, 0, .9);
}

#brand .brand-tagline i {
  font-style: normal;
  color: rgba(49, 199, 210, .9);
  padding: 0 .5em 0 .3em;
  text-shadow: 0 0 10px rgba(49, 199, 210, .55);
}

#overlayRoot.is-open ~ #brand {
  opacity: 0;
  transition: opacity .2s ease;
}

@media (max-width: 640px) {
  #brand .brand-stack { gap: 6px; }
  #brand .brand-text { letter-spacing: .07em; }
  #brand .brand-seam { height: 1.5px; }
  #brand .brand-tagline { letter-spacing: .13em; }
}

@media (max-width: 360px) {
  #brand .brand-tagline {
    font-size: 0.75rem;
    letter-spacing: .1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #brand { transition: opacity .3s ease; transform: none; }
  #brand .brand-bar { animation: none; opacity: .95; }
  #brand .brand-text { animation: none; }
}

/* Accroche de la salle, sous #brand, sur le bord gauche du texte du logo. Apparaît avec #legalBar (.is-visible, posée
   par revealLegalBar dans overlay.js), se masque sous l'overlay par la même règle que lui. Jamais de clic :
   le raycaster de room.js écoute la fenêtre. */
#accroche {
  position: fixed;
  top: calc(clamp(16px, 2.6vw, 30px) + clamp(3.75rem, 1.75rem + 2.6vw, 5rem));
  left: calc(var(--kf-marque-gauche) + var(--kf-marque-barre) + var(--kf-marque-ecart));
  z-index: 35;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(40rem, calc(100vw - 2 * var(--kf-marque-gauche) - var(--kf-marque-barre) - var(--kf-marque-ecart)));
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .8s ease, transform .8s ease;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}
#accroche.is-visible { opacity: 1; transform: translateY(0); }
#overlayRoot.is-open ~ #accroche { opacity: 0; transition: opacity .2s ease; }

#accroche .accroche-titre {
  margin: 0;
  font-family: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.375rem, 0.9rem + 1.3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: #ffffff;
}
#accroche .accroche-titre-l1 { display: block; white-space: nowrap; }
/* Ligne 2 : même largeur rendue que la ligne 1. 0,4343 em = largeur de « Sites web et logiciels »
   (Chakra Petch 700, interlettrage .01em) / largeur de la ligne 2 (Barlow 400), mesurées dans Chrome. */
#accroche .accroche-titre-sous {
  display: block;
  margin-top: .45em;
  font-family: "Barlow", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  font-size: max(12px, .4343em);
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  color: #e6e4de;
}
#accroche .accroche-coupure { display: none; }

/* Slogan (ordinateur) : copie de celui de #accueil, sur le bord gauche commun au texte du logo, au h1 et à
   la cible ; 75 % du h1. Le filet cyan se place dans la marge, sur la verticale et à la largeur de la barre
   ambre du logo. */
#accroche .accroche-slogan {
  position: relative;
  margin: 1.3em 0 0;
  font-family: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: calc(.75 * clamp(1.375rem, 0.9rem + 1.3vw, 2.25rem));
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  color: #ffffff;
}
#accroche .accroche-slogan::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * (var(--kf-marque-barre) + var(--kf-marque-ecart)));
  width: var(--kf-marque-barre);
  background: #31c7d2;
}

/* Téléphone : ligne 2 sur deux lignes, coupée après « PME » ; 0,8745 em = largeur de la ligne 1 / largeur
   de la plus longue des deux moitiés, plafonné à 15 px. */
@media (max-width: 640px) {
  #accroche .accroche-titre-sous { font-size: min(15px, .8745em); }
  #accroche .accroche-coupure { display: inline; }
}

/* Consigne de la salle, dans #legalBar : elle apparaît et se masque avec lui. Ordinateur : centrée
   au-dessus du CTA du blog ; téléphone : au-dessus de la boussole des rubriques (--kf-boussole-h, posé
   par room.js). Part au premier choix d'une rubrique (.is-partie, overlay.js) et ne revient pas. */
#legalBar .kf-consigne {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + var(--kf-boussole-h, 0px) + 10px + 48px + 14px);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-family: "Barlow", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #31c7d2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
  pointer-events: none;
  transition: opacity .6s ease;
}
#legalBar .kf-consigne.is-partie { opacity: 0; }

/* Slogan (téléphone) : copie de celui de #accueil, centré sur l'axe de la consigne et du blog, juste au-dessus
   de la consigne (14,4 px de haut). Sur ordinateur, c'est celui de #accroche qui s'affiche. */
#legalBar .kf-slogan { display: none; }

@media (max-width: 640px) {
  #accroche .accroche-slogan { display: none; }
  #legalBar .kf-slogan {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + var(--kf-boussole-h, 0px) + 10px + 14.4px + 10px);
    margin: 0;
    text-align: center;
    white-space: nowrap;
    font-family: "Chakra Petch", ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: .01em;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
    pointer-events: none;
  }
}

@media (max-width: 640px) {
  #legalBar .kf-consigne {
    bottom: calc(100% + var(--kf-boussole-h, 0px) + 10px);
    letter-spacing: .1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #accroche,
  #accroche.is-visible,
  #overlayRoot.is-open ~ #accroche,
  #legalBar .kf-consigne { transition: none; transform: none; }
}

#legalBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;                 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 4vw, 34px);
  padding: 13px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 70%, rgba(0,0,0,0) 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .8s ease, transform .8s ease, visibility 0s linear .8s;
}
#legalBar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .8s ease, transform .8s ease, visibility 0s;
}

#legalBar a {
  color: rgba(214, 231, 233, .62);
  font-size: 0.75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
  transition: color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
#legalBar a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: #31c7d2;
  transition: right .28s ease;
}
#legalBar a:hover { color: #b9f6fb; }
#legalBar a:hover::after { right: 0; }

#overlayRoot.is-open ~ #legalBar { opacity: 0; pointer-events: none; transition: opacity .2s ease; }

/* CTA du blog : ligne à part, au-dessus des liens légaux et, sur téléphone, de la boussole des stations
   (--kf-boussole-h, posé par room.js). Dans #legalBar : il apparaît, se masque sous l'overlay et
   s'empile (35) avec lui. Bureau : largeur du contenu (V1) ; .kf-cta-blog--large : toute la largeur (V2). */
#legalBar a.kf-cta-blog {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: calc(100% + var(--kf-boussole-h, 0px) + 10px);
  width: max-content;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 2px;
  overflow: hidden;
  background: #0A0A0D;
  border: 2px solid #ff9a3c;
  color: #ff9a3c;
  letter-spacing: 0;
  text-transform: none;
}
#legalBar a.kf-cta-blog--large { width: auto; max-width: none; }
#legalBar a.kf-cta-blog::after { content: none; }
#legalBar a.kf-cta-blog:hover { color: #ff9a3c; }
#legalBar a.kf-cta-blog:focus-visible { outline: 2px solid #31c7d2; outline-offset: 2px; }
.kf-cta-blog-titre {
  font-family: 'Chakra Petch', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kf-cta-blog-sous {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  color: #c9d3d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kf-cta-blog-fleche {
  margin-left: auto;
  padding-left: 14px;
  font-family: 'Chakra Petch', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
}
/* Rail Acier et segment cyan (30 %, aplat) : trois passages à l'arrivée (.is-arrivee, posée et retirée
   par overlay.js), un au survol et au focus. 333,33 % = largeur du rail en largeurs de segment. */
.kf-cta-blog-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: #14171C;
}
.kf-cta-blog-rail i {
  display: block;
  width: 30%;
  height: 100%;
  background: #31c7d2;
  transform: translateX(-100%);
}
@keyframes kf-fil { from { transform: translateX(-100%); } to { transform: translateX(333.34%); } }
@keyframes kf-fil-bis { from { transform: translateX(-100%); } to { transform: translateX(333.34%); } }
#legalBar a.kf-cta-blog.is-arrivee .kf-cta-blog-rail i { animation: kf-fil 1.1s cubic-bezier(.45, 0, .25, 1) .3s 3 both; }
#legalBar a.kf-cta-blog:hover .kf-cta-blog-rail i,
#legalBar a.kf-cta-blog:focus-visible .kf-cta-blog-rail i { animation: kf-fil-bis 1.1s cubic-bezier(.45, 0, .25, 1) 1; }

@media (max-width: 640px) {
  #legalBar { gap: 16px; padding: 11px 14px; }
  #legalBar a { font-size: 0.75rem; letter-spacing: .12em; }
  /* Téléphone : le CTA entre dans le flux du bandeau, en première ligne pleine largeur ; la boussole, posée
     par room.js sur la hauteur du bandeau, passe donc au-dessus de lui. */
  /* Mentions légales sur une ligne (390 et 412 px) : 12 px, plancher de la charte, en casse normale. */
  #legalBar { row-gap: 8px; column-gap: 14px; }
  #legalBar a:not(.kf-cta-blog) { text-transform: none; letter-spacing: .02em; }
  #legalBar a.kf-cta-blog {
    position: relative;
    left: auto; right: auto; bottom: auto;
    order: -1;
    flex: 0 0 100%;
    width: auto;
    max-width: none;
    min-height: 42px;
    padding: 0 14px 2px;
    letter-spacing: 0;
  }
  .kf-cta-blog-titre { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #legalBar { transition: opacity .3s ease; transform: none; }
  .kf-cta-blog-rail i { display: none; }
}


#overlayRoot.ov-page #overlayScrim {
  background: #F3F2EE;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#overlayRoot.ov-page #overlayPanel {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  padding: 0;
  color: #0F1115;
  border-radius: 0;
  transform: none;
  transition: none;
}
#overlayRoot.ov-page #overlayPanel::-webkit-scrollbar-thumb { background: rgba(15, 17, 21, .28); background-clip: padding-box; }
#overlayRoot.ov-page #overlayClose { display: none; }
#overlayRoot.ov-page #overlayContent { min-height: 100vh; }
@media (max-width: 640px) {
  #overlayRoot.ov-page #overlayPanel { padding: 0; }
}
#overlayRoot.ov-page .overlay-article,
#overlayRoot.ov-page .overlay-article h1,
#overlayRoot.ov-page .overlay-article h2,
#overlayRoot.ov-page .overlay-article h3,
#overlayRoot.ov-page .overlay-article p,
#overlayRoot.ov-page .overlay-article a:not([class]) {
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  border: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  text-decoration: none;
}
#overlayRoot.ov-page .overlay-article a:not([class]):hover { border: 0; }
#overlayRoot.ov-page .overlay-article { color: #0F1115; display: block; }

#overlayRoot.ov-page.ov-dark #overlayScrim { background: #0A0A0D; }
#overlayRoot.ov-page.ov-dark #overlayPanel { color: #E6E4DE; }
#overlayRoot.ov-page.ov-dark #overlayPanel::-webkit-scrollbar-thumb { background: rgba(230, 228, 222, .22); background-clip: padding-box; }
#overlayRoot.ov-page.ov-dark .overlay-article { color: #E6E4DE; }

#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;                     
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s,
              bottom .25s ease, box-shadow .2s ease, border-color .2s ease;
}
#scrollTopBtn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease, bottom .25s ease; }
#scrollTopBtn.above-floatcta { bottom: 88px; }   

#scrollTopBtn.dark {
  background: rgba(10, 20, 22, .55);
  border: 1px solid rgba(49, 199, 210, .35);
  color: #7fe9f0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#scrollTopBtn.dark:hover, #scrollTopBtn.dark:focus-visible {
  border-color: rgba(49, 199, 210, .8);
  box-shadow: 0 0 22px rgba(49, 199, 210, .35);
}

#scrollTopBtn.light {
  background: #0F1115;
  border: 1px solid #ff9a3c;
  color: #ff9a3c;
  box-shadow: 0 0 14px 0 rgba(255, 154, 60, .45);
}
#scrollTopBtn.light:hover, #scrollTopBtn.light:focus-visible {
  box-shadow: 0 0 22px 2px rgba(255, 154, 60, .6);
}

@media (max-width: 640px) {
  #scrollTopBtn { right: 14px; bottom: 14px; }
  #scrollTopBtn.above-floatcta { bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  #scrollTopBtn { transition: opacity .01s linear, visibility 0s; }
}

#ovBalai {
  --bal-angle: -26.5deg;
  --bal-course: 120%;
  --bal-entree: .92s;               
  --bal-sortie: 1s;                 
  --bal-courbe: cubic-bezier(.55, 0, .1, 1);
  position: fixed;
  inset: 0;
  z-index: 95;                      
  pointer-events: none;             
  visibility: hidden;
  overflow: hidden;
}
#ovBalai.is-actif { visibility: visible; pointer-events: auto; }  

#ovBalai i {
  position: absolute;
  left: -60%;
  top: -60%;
  width: 220%;
  height: 220%;
  display: block;
  overflow: hidden;                 
  transform: rotate(var(--bal-angle)) translateY(calc(-1 * var(--bal-course)));
  will-change: transform;           
}
#ovBalai i:nth-child(1) { background: #0A0A0D; }
#ovBalai i:nth-child(2) { background: #31c7d2; }

#ovBalai b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateY(var(--bal-course)) rotate(calc(-1 * var(--bal-angle)));
  font-family: 'Chakra Petch', system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;               
  font-size: clamp(34px, 8vw, 104px);
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
  user-select: none;                
}
#ovBalai i:nth-child(1) b { color: #31c7d2; }   
#ovBalai i:nth-child(2) b { color: #0A0A0D; }   

#ovBalai.is-entree i,
#ovBalai.is-entree b {
  transform: rotate(var(--bal-angle)) translateY(0);
  transition: transform var(--bal-entree) var(--bal-courbe);
}
#ovBalai.is-entree b { transform: translateY(0) rotate(calc(-1 * var(--bal-angle))); }
#ovBalai.is-entree i:nth-child(2),
#ovBalai.is-entree i:nth-child(2) b { transition-delay: .08s; }

#ovBalai.is-sortie i,
#ovBalai.is-sortie b {
  transform: rotate(var(--bal-angle)) translateY(var(--bal-course));
  transition: transform var(--bal-sortie) var(--bal-courbe);
}
#ovBalai.is-sortie b { transform: translateY(calc(-1 * var(--bal-course))) rotate(calc(-1 * var(--bal-angle))); }
#ovBalai.is-sortie i:nth-child(1),
#ovBalai.is-sortie i:nth-child(1) b { transition-delay: .08s; }   

@media (prefers-reduced-motion: reduce) {
  #ovBalai { display: none; }
}
