/* Ajustements propres à ULYCOM, chargés après base.css (export du design) et custom.css. */

/* La police de titres d'origine (PP Mori, licence commerciale) n'est pas fournie :
   Geist prend le relais tant que public/assets/fonts/PPMori.woff2 est absent. */
:root {
  --_typography---font--primary: Ppmori, Geist, Arial, sans-serif;
}

/* Le nom « ULYCOM » est plus large que le logotype d'origine. */
.logo__text {
  width: 5.1em;
  overflow: visible;
}


/* ------------------------------------------------------------------ */
/* Bleu ULYCOM : il remplace le noir du design d'origine.             */
/* Même bleu que la référence (rgb 1, 113, 227). Le texte courant     */
/* reste sombre pour la lisibilité.                                   */
/* ------------------------------------------------------------------ */
:root {
  --brand--blue: #0171e3;
  --brand--blue-light: #cce6ff;
  --neutral--black: #0171e3; /* surfaces « sombres » : preloader, cartes showcase, modale, panneaux */
  --neutral--gray: #2f8cf0; /* surfaces secondaires : boutons vidéo, infobulles */
  --gr-dark: linear-gradient(127deg, #1f86f2 -3.14%, #0162c8 106.44%);
  --gr-btn: linear-gradient(220deg, #3f9bf7 0%, #0168d2 100%);
  --gr-gray: radial-gradient(60.39% 100% at 50.26% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%), #2f8cf0;
  --sh-btn: -21px 16px 10px 0 rgba(1, 72, 150, 0.04), -12px 9px 9px 0 rgba(1, 72, 150, 0.12), -5px 4px 6px 0 rgba(1, 72, 150, 0.2),
    -1px 1px 4px 0 rgba(1, 72, 150, 0.24);
  --sh-logo: -5px 4px 6px 0 rgba(1, 72, 150, 0.1), -1px 1px 4px 0 rgba(1, 72, 150, 0.18);
}
.show_logo__bg {
  background-color: var(--brand--blue);
}
@media screen and (max-width: 991px) {
  /* panneau « Plus d'informations » de la page projet (tablette et mobile) */
  .project_details__wrap {
    background-color: color-mix(in srgb, var(--brand--blue) 92%, transparent);
  }
}

/* ------------------------------------------------------------------ */
/* Section d'appel à l'action (avant le pied de page)                 */
/* Fond : shader « Wave Gradient » dessiné dans le canvas (main.js).  */
/* ------------------------------------------------------------------ */
.cta_flux {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 6.25em 1.25em;
  color: #fff;
  /* aperçu statique tant que le canvas n'a pas démarré (ou si WebGL est indisponible) */
  background: linear-gradient(115deg, #0171e3 0%, #0171e3 38%, #9ccbfb 62%, #2a86ee 78%, #0171e3 100%);
}
.cta_flux__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.cta_flux__canvas[data-ready="true"] {
  opacity: 1;
}
.cta_flux__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  width: 100%;
  max-width: 37.5em;
  text-align: center;
}
.cta_flux__pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1em;
  overflow: hidden;
  padding: 0.5em 0.875em 0.5em 1em;
  border-radius: 99px;
  background-color: rgba(204, 230, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-size: 0.875em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.cta_flux__pill-line {
  flex: none;
  width: 1.7em;
  height: 1px;
  background-color: #fff;
}
.cta_flux__pill-shine {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.45em;
  height: 1.45em;
  margin-top: -0.725em;
  border-radius: 50%;
  background-color: #f0f0f0;
  filter: blur(5px);
  opacity: 0.35;
  animation: cta-flux-shine 4s linear infinite;
  pointer-events: none;
}
@keyframes cta-flux-shine {
  from {
    transform: translateX(-3.5em);
  }
  to {
    transform: translateX(26em);
  }
}
.cta_flux__title {
  margin: 0;
  font-size: 3.5em;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #fff;
}
.cta_flux__text {
  margin: 0;
  font-size: 1.25em;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}
/* Le bouton du site, en blanc sur le fond bleu */
.cta_flux .btn_wrap {
  --btn-text-color: #1d1d1f;
  --btn-bg-color: #fff;
  --btn-shadow: 0 10px 24px -10px rgba(1, 50, 110, 0.45), 0 1px 2px 0 rgba(1, 50, 110, 0.14);
}
.cta_flux .btn_border__bg {
  --main-color: var(--brand--blue);
  --bg-color: color-mix(in srgb, var(--brand--blue) 22%, transparent);
}
.cta_flux__note {
  margin: 0;
  font-size: 0.75em;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .cta_flux {
    padding: 5em 1.25em;
  }
  .cta_flux__title {
    font-size: 2.5em;
  }
  .cta_flux__text {
    font-size: 1.125em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta_flux__pill-shine {
    animation: none;
    opacity: 0;
  }
}

/* Vidéo de démonstration dans la galerie d'un projet */
.project_video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
  margin: 0;
}
.project_video video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 1.125em;
}

/* ------------------------------------------------------------------ */
/* Pied de page révélé au scroll (reprise du footer de good-fella.com) */
/* Le contenu de la page passe au-dessus (z-index 1, fond opaque) et  */
/* se lève ; le pied de page, dessous, reste immobile (main.js).      */
/* ------------------------------------------------------------------ */
.main-content > :not(.footer_flux) {
  position: relative;
  z-index: 1;
  background-color: var(--neutral--light);
}
.footer_flux {
  --ff-muted: rgba(255, 255, 255, 0.66);
  --ff-faint: rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 100svh;
  padding-top: 3em;
  background-color: var(--brand--blue);
  color: #fff;
  will-change: transform;
}
.footer_flux__ascii {
  position: absolute;
  top: 12.5%;
  bottom: 0;
  z-index: 1;
  width: 50%;
  pointer-events: none;
}
.footer_flux__ascii.cc-left {
  left: 0;
}
.footer_flux__ascii.cc-right {
  right: 0;
}
.footer_flux__ascii canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.footer_flux__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 3em);
  padding: 0 var(--_responsive---padding--padding-horizontal);
  pointer-events: none;
}
.footer_flux__inner a,
.footer_flux__inner button,
.footer_flux__col {
  pointer-events: auto;
}
.footer_flux__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.25em;
}
.footer_flux__col.cc-left {
  grid-column: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1em;
}
.footer_flux__col.cc-center {
  grid-column: 6 / span 2;
}
.footer_flux__col.cc-right {
  grid-column: 10 / span 3;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.footer_flux__lead {
  margin: 0;
  font-weight: 500;
}
.footer_flux__muted {
  margin: 0;
  font-size: 0.875em;
  color: var(--ff-muted);
}
.footer_flux .btn_wrap {
  --btn-text-color: #1d1d1f;
  --btn-bg-color: #fff;
  --btn-shadow: 0 10px 24px -10px rgba(1, 50, 110, 0.45), 0 1px 2px 0 rgba(1, 50, 110, 0.14);
}
.footer_flux .btn_border__bg {
  --main-color: var(--brand--blue);
  --bg-color: color-mix(in srgb, var(--brand--blue) 22%, transparent);
}
.footer_flux__status {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  margin-top: 0.5em;
}
.footer_flux__status-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  font-family: var(--_typography---font--mono);
  font-size: 0.8125em;
  text-transform: uppercase;
  color: var(--ff-muted);
}
.footer_flux__pulse {
  flex: none;
  width: 0.5em;
  height: 0.5em;
  background-color: #fff;
  animation: footer-flux-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes footer-flux-pulse {
  50% {
    opacity: 0.35;
  }
}
.footer_flux__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer_flux__link {
  font-family: var(--_typography---font--mono);
  font-size: 0.875em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ff-muted);
  text-decoration: none;
  transition: color var(--animation);
}
.footer_flux__link:hover {
  color: #fff;
}
.footer_flux__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125em;
}
.footer_flux__underline {
  color: var(--ff-muted);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: color var(--animation), background-size var(--animation);
}
.footer_flux__underline:hover {
  color: #fff;
  background-position: 100% 100%;
  background-size: 0% 1px;
}
.footer_flux__keys {
  opacity: 0.55;
}
.footer_flux__key {
  display: flex;
  align-items: center;
  gap: 0.375em;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--_typography---font--mono);
  font-size: 0.8125em;
  color: #fff;
  cursor: pointer;
}
.footer_flux__key kbd {
  padding: 0.125em 0.3em;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.16);
}
.footer_flux__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12.5%;
  text-align: center;
  color: var(--ff-muted);
  pointer-events: auto;
}
.footer_flux__word {
  position: relative;
  margin-top: auto;
  overflow: hidden;
}
.footer_flux__word-inner {
  display: flex;
  justify-content: space-between;
  font-family: var(--_typography---font--primary);
  font-weight: 600;
  font-size: 23vw; /* ajusté au pixel près par main.js pour remplir la largeur */
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--ff-faint);
  user-select: none;
}
.footer_flux .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.footer_flux__word-inner span {
  display: inline-block;
  will-change: transform;
}
@media screen and (max-width: 991px) {
  .footer_flux__grid {
    row-gap: 3em;
  }
  .footer_flux__col.cc-left,
  .footer_flux__col.cc-center,
  .footer_flux__col.cc-right {
    grid-column: 1 / -1;
  }
  .footer_flux__nav {
    align-items: flex-start;
  }
  .footer_flux__copy {
    padding-top: 4em;
    padding-bottom: 2em;
  }
  .footer_flux__ascii {
    top: 40%;
    opacity: 0.35;
  }
}
/* Pied de page clair : quand la section juste au-dessus est bleue (appel à l'action),
   les couleurs s'inversent (fond blanc, textes et motifs bleus). main.js lit la même règle pour l'ASCII. */
section:has(.cta_flux) + .footer_flux {
  --ff-muted: color-mix(in srgb, var(--brand--blue) 72%, transparent);
  --ff-faint: color-mix(in srgb, var(--brand--blue) 10%, transparent);
  background-color: #fff;
  color: var(--brand--blue);
}
section:has(.cta_flux) + .footer_flux .btn_wrap {
  --btn-text-color: #fff;
  --btn-bg-color: var(--brand--blue);
}
section:has(.cta_flux) + .footer_flux .btn_border__bg {
  --main-color: #fff;
  --bg-color: rgba(255, 255, 255, 0.25);
}
section:has(.cta_flux) + .footer_flux .footer_flux__pulse {
  background-color: var(--brand--blue);
}
section:has(.cta_flux) + .footer_flux .footer_flux__link:hover,
section:has(.cta_flux) + .footer_flux .footer_flux__underline:hover,
section:has(.cta_flux) + .footer_flux .footer_flux__key {
  color: var(--brand--blue);
}
section:has(.cta_flux) + .footer_flux .footer_flux__key kbd {
  background-color: color-mix(in srgb, var(--brand--blue) 12%, transparent);
}
/* La barre de navigation s'efface quand le pied de page occupe l'écran (comme sur la référence) */
.header {
  transition: translate 0.6s var(--smooth-ease);
}
body[data-footer-open] .header {
  translate: 0 -130% !important; /* GSAP écrit « translate: none » en ligne sur .header */
}
@media (prefers-reduced-motion: reduce) {
  .footer_flux__pulse {
    animation: none;
  }
}

/* ===== Header « île » =====
   Forme reprise de supaste.com, animée comme l'encoche d'un Mac (≥ 810px)
   et comme la Dynamic Island d'un iPhone (< 810px).
   Les dimensions (--sp-w / --sp-h) sont posées par initSpHeader dans main.js ;
   data-island vaut full | compact (desktop) ou pill | mini | open (mobile). */
.header.sp_header {
  position: fixed;
  inset: 0 0 auto 0;
  width: auto;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 100;
}
.sp_nav {
  --sp-spring: cubic-bezier(0.3, 1.35, 0.5, 1);
  --sp-dur: 0.75s;
  position: relative;
  pointer-events: auto;
  width: var(--sp-w, auto);
  height: var(--sp-h, 53px);
  background: #000;
  color: #fff;
  border-radius: 0 0 18px 18px;
  font-family: var(--_typography---font--primary);
  transition:
    width var(--sp-dur) var(--sp-spring),
    height var(--sp-dur) var(--sp-spring),
    border-radius 0.5s ease;
  will-change: width, height;
}
@supports (transition-timing-function: linear(0, 1)) {
  .sp_nav {
    --sp-spring: linear(0, 0.035, 0.124, 0.242, 0.373, 0.504, 0.626, 0.733, 0.824, 0.898, 0.954, 0.996, 1.024, 1.042, 1.051, 1.054, 1.053, 1.048, 1.042, 1.035, 1.027, 1.021, 1.015, 1.01, 1.006, 1.003, 1, 0.999, 0.998, 0.997, 0.997, 0.997, 1);
  }
}
.sp_nav[data-island='compact'] {
  border-radius: 0 0 14px 14px;
}
.sp_clip {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
.sp_content {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  height: 100%;
  padding: 0 10px;
}
.sp_logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: #fff;
  text-decoration: none;
}
.sp_logo_icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4aa3ff 0%, #0171e3 55%, #0a4fb8 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.sp_logo_name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}
/* île rétractée : l'icône seule */
.sp_nav[data-island='compact'] .sp_logo_name {
  opacity: 0;
  filter: blur(6px);
}
.sp_panel {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: none;
  transform-origin: left center;
  transition:
    opacity 0.4s ease 0.08s,
    filter 0.4s ease 0.08s,
    transform var(--sp-dur) var(--sp-spring);
}
.sp_nav[data-island='compact'] .sp_panel {
  opacity: 0;
  filter: blur(8px);
  transform: translateX(-14px) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease,
    transform 0.35s ease;
}
.sp_links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp_links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}
.sp_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}
.sp_btn:hover {
  background: #e5e5e5;
}
/* Pastille « activité en cours » de l'encoche repliée */
.sp_live {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #34c759;
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.sp_nav[data-island='compact'] .sp_live {
  opacity: 1;
  transform: none;
  animation: sp-pulse 2.2s ease-out infinite;
  transition:
    opacity 0.35s ease 0.2s,
    transform 0.6s var(--sp-spring) 0.2s;
}
@keyframes sp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(52, 199, 89, 0);
  }
}
.sp_burger {
  display: none;
}
.sp_flare {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.sp_flare_svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sp_flare_r {
  left: 100%;
}
.sp_flare_l {
  right: 100%;
  transform: rotate(90deg);
}
@media (hover: hover) {
  .sp_links a:hover {
    opacity: 0.6;
  }
}

/* ----- Mobile : Dynamic Island ----- */
@media (max-width: 809px) {
  .sp_nav {
    margin-top: 10px;
    width: var(--sp-w, 180px);
    height: var(--sp-h, 44px);
    border-radius: 22px;
    transition:
      width var(--sp-dur) var(--sp-spring),
      height var(--sp-dur) var(--sp-spring),
      border-radius 0.55s cubic-bezier(0.32, 0.72, 0, 1),
      transform 0.4s var(--sp-spring),
      box-shadow 0.5s ease;
  }
  .sp_nav[data-island='open'] {
    border-radius: 34px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
  }
  .sp_nav[data-island='pill']:active,
  .sp_nav[data-island='mini']:active {
    transform: scale(0.95);
  }
  .sp_flare,
  .sp_live {
    display: none;
  }
  .sp_content {
    display: block;
    height: auto;
    padding: 0;
  }
  .sp_logo {
    width: max-content;
    height: 44px;
    padding-left: 7px;
    transition: transform var(--sp-dur) var(--sp-spring);
  }
  .sp_nav[data-island='open'] .sp_logo {
    transform: translate(9px, 8px);
  }
  .sp_logo_name {
    transition:
      opacity 0.3s ease,
      filter 0.3s ease;
  }
  .sp_nav[data-island='mini'] .sp_logo_name,
  .sp_nav[data-island='pill'] .sp_logo_name {
    opacity: 0;
    filter: blur(6px);
  }
  .sp_burger {
    position: absolute;
    top: 4px;
    right: 4px;
    display: block;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--sp-dur) var(--sp-spring);
  }
  .sp_nav[data-island='open'] .sp_burger {
    transform: translate(-9px, 8px);
  }
  .sp_burger_line {
    position: absolute;
    left: 9px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #8e8e93;
    transition:
      transform 0.6s var(--sp-spring),
      top 0.6s var(--sp-spring),
      background-color 0.3s ease;
  }
  .sp_burger_line:nth-child(1) {
    top: 13px;
  }
  .sp_burger_line:nth-child(2) {
    top: 21px;
  }
  .sp_nav[data-island='open'] .sp_burger_line {
    top: 17px;
    background: #fff;
  }
  .sp_nav[data-island='open'] .sp_burger_line:nth-child(1) {
    transform: rotate(45deg);
  }
  .sp_nav[data-island='open'] .sp_burger_line:nth-child(2) {
    transform: rotate(-45deg);
  }
  .sp_panel {
    display: block;
    width: var(--sp-open-w, calc(100vw - 20px));
    padding: 16px 10px 10px;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.3s;
  }
  .sp_nav[data-island='open'] .sp_panel {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .sp_links {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 18px 22px 30px;
  }
  .sp_links a {
    font-size: 26px;
    font-weight: 400;
  }
  .sp_btn {
    display: flex;
    justify-content: center;
    height: 48px;
    border-radius: 24px;
    font-size: 14px;
  }
  .sp_links li,
  .sp_btn {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px) scale(0.96);
    transition:
      opacity 0.18s ease,
      filter 0.18s ease,
      transform 0.18s ease;
  }
  .sp_nav[data-island='open'] .sp_links li,
  .sp_nav[data-island='open'] .sp_btn {
    opacity: 1;
    filter: none;
    transform: none;
    transition:
      opacity 0.45s ease,
      filter 0.45s ease,
      transform 0.7s var(--sp-spring);
    transition-delay: calc(0.1s + var(--i, 0) * 0.06s);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp_nav,
  .sp_nav * {
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* ===== Réservation (page /rendez-vous) =====
   Composants dans l'esprit de shadcn/ui (Calendar, Button, Input, Select, ToggleGroup),
   aux couleurs et boutons du site. Logique : initBooking dans main.js ; réglages : booking dans site.json. */
.bk {
  --bk-border: #e7e7ea;
  --bk-muted: #f4f4f5;
  --bk-muted-fg: #71717a;
  --bk-fg: var(--neutral--dark, #1c1c1c);
  --bk-blue: var(--brand--blue, #0171e3);
  --bk-ring: color-mix(in srgb, var(--bk-blue) 35%, transparent);
  --bk-radius: 0.625em;
  --bk-spring: cubic-bezier(0.3, 1.3, 0.5, 1);
  color: var(--bk-fg);
  font-family: var(--_typography---font--secondary, Geist, Arial, sans-serif);
  padding-top: 4em;
}
.bk *,
.bk *::before,
.bk *::after {
  box-sizing: border-box;
}
.bk p,
.bk h1,
.bk h2,
.bk h3 {
  margin: 0;
}
.bk_ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bk_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875em;
  margin-bottom: 2.5em;
  text-align: center;
}
.bk_tag {
  padding: 0.3em 0.8em;
  border-radius: 99em;
  font-size: 0.75em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bk-blue);
  background: color-mix(in srgb, var(--bk-blue) 8%, transparent);
}
.bk_title {
  font-family: var(--_typography---font--primary);
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.bk_lead {
  max-width: 44ch;
  color: var(--bk-muted-fg);
  line-height: 1.5;
}

/* Carte */
.bk_card {
  display: grid;
  grid-template-columns: minmax(15em, 17.5em) 1fr;
  max-width: 64em;
  margin: 0 auto;
  border: 1px solid var(--bk-border);
  border-radius: 1.5em;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 24px 60px -24px color-mix(in srgb, var(--bk-blue) 22%, transparent);
  overflow: hidden;
}
.bk_info {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1.75em;
  border-right: 1px solid var(--bk-border);
}
.bk_host {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.875em;
  font-weight: 500;
  color: var(--bk-muted-fg);
}
.bk_host_icon {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 0.55em;
  color: #fff;
  background: linear-gradient(180deg, #4aa3ff 0%, #0171e3 55%, #0a4fb8 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
}
.bk_event {
  font-family: var(--_typography---font--primary);
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.bk_meta {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875em;
  font-weight: 500;
}
.bk_meta li {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.bk_meta .bk_ico {
  color: var(--bk-muted-fg);
}
.bk_desc {
  font-size: 0.875em;
  line-height: 1.55;
  color: var(--bk-muted-fg);
}
.bk_pick,
.bk_done_slot {
  display: flex;
  gap: 0.75em;
  align-items: flex-start;
  padding: 0.875em 1em;
  border-radius: 0.875em;
  color: var(--bk-blue);
  background: color-mix(in srgb, var(--bk-blue) 7%, transparent);
  animation: bk-in 0.5s var(--bk-spring) both;
}
.bk_pick[hidden] {
  display: none;
}
.bk_pick .bk_ico,
.bk_done_slot .bk_ico {
  margin-top: 0.15em;
}
.bk_pick_date {
  font-size: 0.875em;
  font-weight: 600;
  color: var(--bk-fg);
}
.bk_pick_date::first-letter {
  text-transform: uppercase;
}
.bk_pick_time {
  font-size: 0.875em;
  color: var(--bk-muted-fg);
}

/* Étapes */
.bk_stage {
  position: relative;
  min-width: 0;
}
.bk_step[hidden] {
  display: none !important;
}
.bk_step {
  animation: bk-in 0.55s var(--bk-spring) both;
}
@keyframes bk-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.bk_step_date {
  display: grid;
  grid-template-columns: 1fr minmax(12.5em, 15em);
  min-height: 27em;
}

/* Calendrier (shadcn Calendar) */
.bk_cal {
  padding: 1.5em 1.75em;
}
.bk_cal_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
}
.bk_cal_caption {
  font-size: 0.9375em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bk_cal_caption::first-letter {
  text-transform: uppercase;
}
.bk_icon_btn {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  padding: 0;
  border: 1px solid var(--bk-border);
  border-radius: 0.5em;
  background: #fff;
  color: var(--bk-fg);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}
.bk_icon_btn:hover:not(:disabled) {
  background: var(--bk-muted);
}
.bk_icon_btn:active:not(:disabled) {
  transform: scale(0.94);
}
.bk_icon_btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.bk_cal_week,
.bk_cal_grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25em;
}
.bk_cal_week {
  margin-bottom: 0.4em;
}
.bk_cal_week span {
  text-align: center;
  font-size: 0.75em;
  font-weight: 500;
  color: var(--bk-muted-fg);
}
.bk_cal_grid.is-next {
  animation: bk-month-next 0.45s var(--bk-spring) both;
}
.bk_cal_grid.is-prev {
  animation: bk-month-prev 0.45s var(--bk-spring) both;
}
@keyframes bk-month-next {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
}
@keyframes bk-month-prev {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}
.bk_day {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-height: 3.25em;
  padding: 0;
  border: 0;
  border-radius: var(--bk-radius);
  background: transparent;
  color: var(--bk-fg);
  font: inherit;
  font-size: 0.875em;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.35s var(--bk-spring);
}
.bk_day.is-available {
  font-weight: 600;
  background: var(--bk-muted);
}
.bk_day.is-available:hover {
  background: color-mix(in srgb, var(--bk-blue) 12%, #fff);
  color: var(--bk-blue);
}
.bk_day:active:not(:disabled) {
  transform: scale(0.92);
}
.bk_day:disabled {
  color: color-mix(in srgb, var(--bk-muted-fg) 55%, transparent);
  cursor: default;
}
.bk_day.is-outside {
  visibility: hidden;
}
.bk_day.is-today::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 0.3em;
  height: 0.3em;
  margin-left: -0.15em;
  border-radius: 50%;
  background: currentColor;
}
.bk_day[aria-selected='true'] {
  color: #fff;
  background: var(--bk-blue);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--bk-blue) 70%, transparent);
  animation: bk-pop 0.45s var(--bk-spring);
}
@keyframes bk-pop {
  0% {
    transform: scale(0.85);
  }
  100% {
    transform: none;
  }
}
.bk_day:focus-visible,
.bk_icon_btn:focus-visible,
.bk_slot:focus-visible,
.bk_slot_next:focus-visible,
.bk_back:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bk-ring);
}

/* Créneaux */
.bk_slots {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.5em 1.25em 0 0;
}
.bk_slots_day {
  height: 2em;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  font-size: 0.9375em;
  font-weight: 600;
}
.bk_slots_day::first-letter {
  text-transform: uppercase;
}
.bk_slots_list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  max-height: 22em;
  overflow-y: auto;
  padding: 0.2em 0.3em 1.5em 0.2em;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  -webkit-mask: linear-gradient(to bottom, #000 85%, transparent);
  mask: linear-gradient(to bottom, #000 85%, transparent);
}
.bk_slot_item {
  display: flex;
  gap: 0.5em;
  animation: bk-in 0.45s var(--bk-spring) both;
  animation-delay: calc(var(--i, 0) * 25ms);
}
.bk_slot,
.bk_slot_next {
  height: 2.75em;
  border-radius: var(--bk-radius);
  font: inherit;
  font-size: 0.875em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.bk_slot {
  flex: 1 1 100%;
  min-width: 0;
  border: 1px solid var(--bk-border);
  background: #fff;
  color: var(--bk-fg);
  transition:
    flex-basis 0.45s var(--bk-spring),
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.bk_slot:hover {
  border-color: var(--bk-blue);
  color: var(--bk-blue);
}
.bk_slot_next {
  flex: 0 0 0;
  width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  background: var(--gr-btn, var(--bk-blue));
  box-shadow: var(--sh-btn, none);
  opacity: 0;
  margin-left: -0.5em;
  transition:
    flex-basis 0.45s var(--bk-spring),
    opacity 0.25s ease,
    margin 0.45s var(--bk-spring);
}
.bk_slot_item.is-selected .bk_slot {
  flex-basis: 50%;
  color: #fff;
  border-color: var(--neutral--dark, #1c1c1c);
  background: var(--neutral--dark, #1c1c1c);
}
.bk_slot_item.is-selected .bk_slot_next {
  flex-basis: 50%;
  width: auto;
  opacity: 1;
  margin-left: 0;
}
.bk_slots_empty {
  padding: 1em;
  border: 1px dashed var(--bk-border);
  border-radius: var(--bk-radius);
  font-size: 0.875em;
  line-height: 1.5;
  color: var(--bk-muted-fg);
}

/* Formulaire (shadcn Input / Select / ToggleGroup) */
.bk_step_form,
.bk_step_done {
  padding: 1.5em 1.75em 1.75em;
}
.bk_back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 1.25em -0.5em;
  padding: 0.4em 0.6em;
  border: 0;
  border-radius: 0.5em;
  background: none;
  color: var(--bk-muted-fg);
  font: inherit;
  font-size: 0.875em;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.bk_back:hover {
  color: var(--bk-fg);
  background: var(--bk-muted);
}
.bk_form {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}
.bk_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
.bk_field {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  min-width: 0;
}
.bk_fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.bk_label {
  padding: 0;
  font-size: 0.875em;
  font-weight: 500;
}
.bk_req {
  color: var(--bk-blue);
}
.bk_input {
  width: 100%;
  height: 2.5em;
  padding: 0 0.85em;
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius);
  background: #fff;
  color: var(--bk-fg);
  font: inherit;
  font-size: 0.9375em;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.bk_input::placeholder {
  color: color-mix(in srgb, var(--bk-muted-fg) 80%, transparent);
}
.bk_input:focus {
  outline: none;
  border-color: var(--bk-blue);
  box-shadow: 0 0 0 3px var(--bk-ring);
}
.bk_input[aria-invalid='true'] {
  border-color: var(--system--red, #f34e52);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--system--red, #f34e52) 20%, transparent);
}
.bk_textarea {
  height: auto;
  min-height: 6.5em;
  padding: 0.65em 0.85em;
  line-height: 1.5;
  resize: vertical;
}
.bk_select {
  position: relative;
}
.bk_select .bk_input {
  padding-right: 2.25em;
  cursor: pointer;
}
.bk_select .bk_ico {
  position: absolute;
  right: 0.85em;
  top: 50%;
  margin-top: -0.5em;
  color: var(--bk-muted-fg);
  pointer-events: none;
}
.bk_err {
  min-height: 0;
  font-size: 0.8125em;
  color: var(--system--red, #f34e52);
}
.bk_err:empty {
  display: none;
}
.bk_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.bk_chip {
  position: relative;
  cursor: pointer;
}
.bk_chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bk_chip span {
  display: inline-flex;
  align-items: center;
  height: 2.25em;
  padding: 0 0.95em;
  border: 1px solid var(--bk-border);
  border-radius: 99em;
  background: #fff;
  font-size: 0.8125em;
  font-weight: 500;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.35s var(--bk-spring);
}
.bk_chip:hover span {
  border-color: color-mix(in srgb, var(--bk-blue) 45%, var(--bk-border));
}
.bk_chip:active span {
  transform: scale(0.95);
}
.bk_chip input:checked + span {
  color: #fff;
  border-color: var(--bk-blue);
  background: var(--bk-blue);
}
.bk_chip input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--bk-ring);
}
.bk_hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bk_form_error {
  padding: 0.75em 1em;
  border-radius: var(--bk-radius);
  font-size: 0.875em;
  line-height: 1.5;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
}
.bk_form_error[hidden] {
  display: none;
}
.bk_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em;
  padding-top: 0.25em;
}
.bk_submit {
  border: 0;
  background: none;
  font: inherit;
}
.bk_submit[aria-busy='true'] {
  opacity: 0.7;
  pointer-events: none;
}
.bk_note {
  font-size: 0.8125em;
  color: var(--bk-muted-fg);
}

/* Confirmation */
.bk_step_done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  min-height: 27em;
  justify-content: center;
  text-align: center;
}
.bk_done_icon svg {
  width: 3.5em;
  height: 3.5em;
  fill: none;
  stroke: var(--bk-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bk_done_circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: bk-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}
.bk_done_check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: bk-draw 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.65s forwards;
}
@keyframes bk-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.bk_done_title {
  font-family: var(--_typography---font--primary);
  font-size: 1.75em;
  font-weight: 500;
  letter-spacing: -0.03em;
  outline: none;
}
.bk_done_text {
  max-width: 40ch;
  line-height: 1.55;
  color: var(--bk-muted-fg);
}
.bk_done_slot {
  text-align: left;
}
.bk_done_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
}
.bk_restart {
  margin: 0.5em 0 0;
}

/* Tablette et mobile */
@media (max-width: 991px) {
  .bk_card {
    grid-template-columns: 1fr;
  }
  .bk_info {
    border-right: 0;
    border-bottom: 1px solid var(--bk-border);
  }
  .bk_desc {
    display: none;
  }
}
@media (max-width: 767px) {
  .bk {
    padding-top: 2.5em;
  }
  .bk_card {
    border-radius: 1.25em;
  }
  .bk_info,
  .bk_cal,
  .bk_step_form,
  .bk_step_done {
    padding: 1.25em;
  }
  .bk_step_date {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .bk_slots {
    padding: 0 1.25em 1.25em;
    border-top: 1px solid var(--bk-border);
    padding-top: 1.25em;
  }
  .bk_slots_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: none;
    overflow: visible;
    padding: 0;
    -webkit-mask: none;
    mask: none;
  }
  .bk_slot_item.is-selected {
    grid-column: 1 / -1;
  }
  .bk_row {
    grid-template-columns: 1fr;
  }
  .bk_actions .bk_submit {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bk *,
  .bk {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
    transition-duration: 0.01s !important;
  }
}
.bk_fieldset .bk_label {
  margin-bottom: 0.6em;
}

/* ===== Logos clients : carrousel en défilement continu =====
   Sens : de droite à gauche (--marquee-from / --marquee-to), à toutes les tailles d'écran.
   Vitesse : --marquee-duration. Le survol met en pause ; les logos sont listés deux fois pour boucler.
   Logo relié à un projet : lien « Voir le projet ». Sinon : « Bientôt disponible ». */
.logo_marquee {
  --marquee-duration: 55s;
  --marquee-gap: 3.5em;
  --marquee-from: 0%;
  --marquee-to: -50%;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0.75em 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo_marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee var(--marquee-duration) linear infinite;
  will-change: transform;
}
.logo_marquee:hover .logo_marquee__track,
.logo_marquee:focus-within .logo_marquee__track {
  animation-play-state: paused;
}
.logo_marquee__set {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
}
.logo_marquee__cell {
  flex: none;
}
.logo_marquee__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.5em;
  height: 3.25em;
  border-radius: 0.75em;
  text-decoration: none;
  color: inherit;
}
.logo_marquee__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1),
    opacity 0.3s ease,
    filter 0.3s ease;
}
.logo_marquee__pill {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0.35em 0.75em;
  border-radius: 99em;
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: var(--brand--blue, #0171e3);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand--blue, #0171e3) 70%, transparent);
  opacity: 0;
  transform: translate(-50%, -30%) scale(0.9);
  transition:
    opacity 0.25s ease,
    transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1);
  pointer-events: none;
}
.logo_marquee__item.is-soon .logo_marquee__pill {
  color: var(--neutral--dark, #1c1c1c);
  background: #fff;
  box-shadow:
    0 0 0 1px #e7e7ea,
    0 8px 20px -10px rgba(0, 0, 0, 0.25);
}
.logo_marquee__item:hover .logo_marquee__img,
.logo_marquee__item:focus-visible .logo_marquee__img {
  opacity: 0.18;
  filter: blur(1px);
  transform: scale(0.94);
}
.logo_marquee__item:hover .logo_marquee__pill,
.logo_marquee__item:focus-visible .logo_marquee__pill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.logo_marquee__item:focus-visible {
  outline: 2px solid var(--brand--blue, #0171e3);
  outline-offset: 2px;
}
@keyframes logo-marquee {
  from {
    transform: translate3d(var(--marquee-from), 0, 0);
  }
  to {
    transform: translate3d(var(--marquee-to), 0, 0);
  }
}
@media (max-width: 991px) {
  .logo_marquee {
    --marquee-gap: 2.75em;
    --marquee-duration: 45s;
  }
}
@media (max-width: 767px) {
  .logo_marquee {
    --marquee-gap: 2em;
    --marquee-duration: 38s;
  }
  .logo_marquee__item {
    width: 6.5em;
    height: 2.75em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo_marquee__track {
    animation-duration: 180s;
  }
}

/* ===== Aperçu du site dans la page projet (façon Webflow) =====
   data-mode="live" : le vrai site dans une iframe, rendu à 1440 px (ou 390 px en mobile) puis mis à l'échelle.
   data-mode="shots" : capture complète du site, que l'on fait défiler dans le cadre.
   Logique : initLivePreview dans main.js. */
.lp {
  --lp-radius: 1.25em;
  --lp-border: #e7e7ea;
  --lp-spring: cubic-bezier(0.3, 1.3, 0.5, 1);
  position: relative;
  width: 100%;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: #f4f4f5;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 30px 70px -30px color-mix(in srgb, var(--brand--blue, #0171e3) 30%, transparent);
  overflow: hidden;
  font-family: var(--_typography---font--secondary, Geist, Arial, sans-serif);
}
.lp_ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp_bar {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.6em 0.75em;
  background: #fff;
  border-bottom: 1px solid var(--lp-border);
}
.lp_dots {
  display: flex;
  gap: 0.4em;
  padding-left: 0.25em;
}
.lp_dots span {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #ff5f57;
}
.lp_dots span:nth-child(2) {
  background: #febc2e;
}
.lp_dots span:nth-child(3) {
  background: #28c840;
}
.lp_url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  height: 2.1em;
  padding: 0 0.85em;
  border-radius: 0.6em;
  background: #f4f4f5;
  color: #52525b;
  font-size: 0.8125em;
  white-space: nowrap;
}
.lp_url_text {
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp_live {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: 0.4em;
  padding: 0.15em 0.55em;
  border-radius: 99em;
  color: #15803d;
  background: #dcfce7;
  font-size: 0.85em;
  font-weight: 600;
}
.lp_live_dot {
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: currentColor;
  animation: lp-pulse 1.8s ease-out infinite;
}
@keyframes lp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}
.lp_tabs {
  position: relative;
  display: flex;
  padding: 0.2em;
  border-radius: 0.7em;
  background: #f4f4f5;
}
.lp_tabs_bg {
  position: absolute;
  top: 0.2em;
  bottom: 0.2em;
  left: 0.2em;
  width: var(--lp-tab-w, 50%);
  border-radius: 0.55em;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
  transform: translateX(var(--lp-tab-x, 0));
  transition:
    transform 0.5s var(--lp-spring),
    width 0.5s var(--lp-spring);
}
.lp_tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 1.9em;
  padding: 0 0.8em;
  border: 0;
  border-radius: 0.55em;
  background: none;
  color: #71717a;
  font: inherit;
  font-size: 0.8125em;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease;
}
.lp_tab[aria-selected='true'] {
  color: var(--neutral--dark, #1c1c1c);
}
.lp_tab:focus-visible,
.lp_open:focus-visible,
.lp_scroll:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand--blue, #0171e3) 35%, transparent);
}
.lp_open {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 2.1em;
  padding: 0 0.9em;
  border-radius: 0.6em;
  color: #fff;
  background: var(--brand--blue, #0171e3);
  font-size: 0.8125em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.35s var(--lp-spring),
    filter 0.25s ease;
}
.lp_open:hover {
  filter: brightness(1.08);
}
.lp_open:active {
  transform: scale(0.96);
}

/* Scène */
.lp_stage {
  position: relative;
  height: clamp(26em, 72vh, 46em);
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--brand--blue, #0171e3) 10%, transparent), transparent 60%),
    #f4f4f5;
}
.lp_pane {
  position: absolute;
  inset: 0;
  animation: lp-in 0.6s var(--lp-spring) both;
}
.lp_pane[hidden] {
  display: none;
}
@keyframes lp-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    filter: blur(6px);
  }
}
.lp_scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #fff;
}
.lp_scroll img {
  display: block;
  width: 100%;
  height: auto;
}
.lp_frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}
.lp_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  transform-origin: 0 0;
  background: #fff;
}
.lp_loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  color: #71717a;
  font-size: 0.875em;
  background: #fff;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.lp_loading span {
  width: 1em;
  height: 1em;
  border: 2px solid #e4e4e7;
  border-top-color: var(--brand--blue, #0171e3);
  border-radius: 50%;
  animation: lp-spin 0.8s linear infinite;
}
.lp_frame.is-loaded .lp_loading {
  opacity: 0;
}
@keyframes lp-spin {
  to {
    transform: rotate(360deg);
  }
}
.lp_hint {
  position: absolute;
  left: 50%;
  bottom: 1.25em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.95em;
  border-radius: 99em;
  color: #fff;
  background: rgba(17, 17, 19, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.8125em;
  font-weight: 500;
  transform: translateX(-50%);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--lp-spring);
  animation: lp-hint 2.4s ease-in-out infinite;
}
.lp.is-touched .lp_hint {
  opacity: 0;
  transform: translate(-50%, 10px);
  animation: none;
}
@keyframes lp-hint {
  50% {
    translate: 0 -4px;
  }
}

/* Téléphone */
.lp_pane_mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25em;
}
.lp_phone {
  position: relative;
  height: 100%;
  aspect-ratio: 390 / 844;
  max-width: 100%;
  border: 0.55em solid #111113;
  border-radius: 2.6em;
  background: #fff;
  box-shadow:
    0 0 0 1px #3f3f46,
    0 30px 60px -20px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  isolation: isolate;
}
.lp_island {
  position: absolute;
  z-index: 3;
  top: 0.5em;
  left: 50%;
  width: 30%;
  height: 1.5em;
  border-radius: 99em;
  background: #111113;
  transform: translateX(-50%);
}
.lp_phone .lp_scroll,
.lp_phone .lp_frame {
  border-radius: 2em;
  scrollbar-width: none;
}
.lp_phone .lp_scroll::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .lp_dots,
  .lp_tab span,
  .lp_open span {
    display: none;
  }
  .lp_bar {
    gap: 0.5em;
    padding: 0.5em;
  }
  .lp_open {
    padding: 0 0.65em;
  }
  .lp_stage {
    height: 34em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp {
    animation: none !important;
    transition-duration: 0.01s !important;
  }
}

/* Aperçu animé (vidéo) : un clic ouvre le vrai site */
.lp_live_video {
  color: var(--brand--blue, #0171e3);
  background: color-mix(in srgb, var(--brand--blue, #0171e3) 10%, #fff);
}
.lp_live_video .lp_live_dot {
  animation-name: lp-pulse-blue;
}
@keyframes lp-pulse-blue {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand--blue, #0171e3) 55%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 6px transparent;
  }
}
.lp_video {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.lp_phone .lp_video {
  border-radius: 2em;
}
.lp_video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition:
    transform 0.6s cubic-bezier(0.3, 1.3, 0.5, 1),
    filter 0.4s ease;
}
.lp_video_cta {
  position: absolute;
  left: 50%;
  bottom: 1.25em;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 1em;
  border-radius: 99em;
  color: #fff;
  background: rgba(17, 17, 19, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.8125em;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, 0);
  transition:
    background-color 0.25s ease,
    transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.lp_video:hover .lp_video_cta,
.lp_video:focus-visible .lp_video_cta {
  background: var(--brand--blue, #0171e3);
  transform: translate(-50%, -4px) scale(1.04);
}
.lp_video:hover video {
  transform: scale(1.015);
  filter: brightness(0.96);
}
.lp_video:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--brand--blue, #0171e3) 45%, transparent);
}

/* Visuel détouré (fond transparent, ex. Nefsy) */
.project_visual__group.is-transparent .project_visual__inner,
.project_visual__group.is-transparent .project_visual__before {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Outil confidentiel : pas d'aperçu public (ex. Le Cockpit) */
.conf {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 28em;
  border: 1px solid #e7e7ea;
  border-radius: 1.25em;
  overflow: hidden;
  background: #0b0d12;
  isolation: isolate;
}
.conf_visual {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.conf_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.2) brightness(0.55);
  transform: scale(1.15);
}
.conf_grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 2.5em 2.5em;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
  mask: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
}
.conf_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
  max-width: 24em;
  margin: 2em;
  padding: 2em 1.75em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25em;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.conf_lock {
  display: grid;
  place-items: center;
  width: 3.25em;
  height: 3.25em;
  border-radius: 1em;
  background: linear-gradient(180deg, #4aa3ff 0%, #0171e3 55%, #0a4fb8 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 10px 24px -8px rgba(1, 113, 227, 0.8);
  animation: conf-float 3.2s ease-in-out infinite;
}
.conf_lock svg {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes conf-float {
  50% {
    transform: translateY(-4px);
  }
}
.conf_tag {
  padding: 0.3em 0.75em;
  border-radius: 99em;
  font-size: 0.7em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ecbff;
  background: rgba(1, 113, 227, 0.22);
}
.conf_title {
  margin: 0;
  font-family: var(--_typography---font--primary);
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.conf_text {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.conf_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.5em;
  padding: 0.7em 1.15em;
  border-radius: 99em;
  color: #0b0d12;
  background: #fff;
  font-size: 0.875em;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.conf_btn:hover {
  transform: translateY(-2px) scale(1.03);
}
.conf_btn svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.conf_visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(1, 113, 227, 0.28), rgba(11, 13, 18, 0.82) 70%);
}

/* ===== Logo ULYCOM (repris d'Ulyhost) =====
   Bleu dégradé partout (partial ulylogo), blanc sur la Dynamic Island (ulylogo-white). */
.uly_logo {
  display: block;
  height: 100%;
  width: auto;
  overflow: visible;
}
.sp_logo_icon.is-bare {
  width: auto;
  height: 26px;
  padding: 2px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.bk_host_icon.is-bare {
  width: auto;
  height: 1.6em;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.heading_logo.is-bare {
  width: auto;
  height: 0.85em;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.mask_logo__dot.uly_preload {
  display: block;
  height: 100%;
  width: auto;
  max-height: 100%;
  margin: 0 auto;
}
.preload_logo .mask_logo {
  display: flex;
  justify-content: center;
  aspect-ratio: 1;
}

/* Carrousel « Made by ULYCOM » : vrais logos clients sur pastille claire */
.real_logo__item.is-client {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9em;
}
.real_logo__item.is-client img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Variante vignette (cartes Réalisations, carrousel d'accueil) */
.conf.is-mini {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  font-size: clamp(13px, 1.3vw, 20px);
}
.conf.is-mini .conf_card {
  margin: 1em;
  padding: 1.5em 1.75em;
}
.conf.is-mini .conf_title {
  font-size: 1.25em;
}

/* Aperçu d'une application (vidéo mobile seule, sans site en ligne) */
.lp.is-app .lp_phone {
  aspect-ratio: var(--lp-ratio, 400 / 720);
}
.lp.is-app .lp_video {
  cursor: default;
}
.lp.is-app .lp_video:hover video {
  transform: none;
  filter: none;
}
.lp.is-app .lp_video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Avis : étoiles non attribuées (champ stars de reviews.json) */
.hero_review__item.is-stars-4 .hero_review__star:nth-child(n + 5) img,
.hero_review__item.is-stars-3 .hero_review__star:nth-child(n + 4) img,
.hero_review__item.is-stars-2 .hero_review__star:nth-child(n + 3) img,
.hero_review__item.is-stars-1 .hero_review__star:nth-child(n + 2) img {
  opacity: 0.25;
  filter: grayscale(1);
}
