/* @import url('https://cdn-uicons.flaticon.com/4.0.0/uicons-bold-rounded/css/uicons-bold-rounded.css'); */


/* Déclaration du style Regular (normal) */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* Assure un affichage rapide du texte */
}

/* Déclaration du style Bold (gras) */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Déclaration du style Black (très gras) */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Déclaration du style ExtraBold (extra gras) */
@font-face {
  font-family: 'Onest';
  src: url('../fonts/Onest-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Inter font */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_24pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_24pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_24pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}




.purple-highlight {
    background: linear-gradient(90deg, #3259e1 0%, #9688ff 63%, #fbbbff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.red-highlight {
	background: -webkit-linear-gradient(0deg, #d10031, #6c001c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.orange-highlight {
	background: -webkit-linear-gradient(0deg, #ff3903, #ff6f06);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gray-highlight {
	background: -webkit-linear-gradient(0deg, #333, #555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* buttons */

.btn-black {
  background-color: #fff0;
  background-image: linear-gradient(-90deg, #232227 0%, #000000 100%);
}
.btn-black:hover {
  background-color: #fff0;
  background-image: linear-gradient(-90deg, #2e2d33 0%, #131313 100%);
}

.btn-purple {
  background-color: #fff0;
  background-image: linear-gradient(90deg, #3259E1 0%, #9688FF 100%);
}
.btn-purple:hover {
  background-color: #fff0;
  background-image: linear-gradient(90deg, #3c65f8 0%, #aca1ff 100%);
}

.btn-purple-full {
  background-color: #fff0;
  background: linear-gradient(90deg, #3259e1 0%, #9688ff 63%, #fbbbff 100%);
}
.btn-purple-full:hover {
  background-color: #fff0;
  background: linear-gradient(90deg, #3c65f8 0%, #aca1ff 63%, #f7c8fa 100%);
}

.btn-red {
    background-color: #fff0;
    background-image: linear-gradient(90deg, #D10031 0%, #6C001C 100%);
}
.btn-red:hover {
    background-color: #fff0;
    background-image: linear-gradient(90deg, #ff2155 0%, #880024 100%);
}
.btn-orange {
    background-color: #fff0;
    background-image: linear-gradient(90deg, #FF3903 0%, #FF6F06 100%);
}
.btn-orange:hover {
    background-color: #fff0;
    background-image: linear-gradient(90deg, #ff5a1c 0%, #ff8c3a 100%);
}
.btn-gray {
    background-color: #fff0;
    background-image: linear-gradient(90deg, #333 0%, #555 100%);
}
.btn-gray:hover {
    background-color: #fff0;
    background-image: linear-gradient(90deg, #444 0%, #666 100%);
}


.icon-purple {
  color: #9688FF;
  /* lueur externe de couleur violette */
  text-shadow: 0 0 15px #9688FF;
}

.bg-purple {
  background-color: #9688FF;
  /* lueur externe de couleur violette */
  box-shadow: 0 0 15px #9688FF;
}

.bg-purple:hover {
  background-color: #9688FF;
  /* lueur externe de couleur violette */
  box-shadow: 0 0 25px #9688FF;
}

.bg-purple-500 {
  background-color: #9688FF;
}
.border-purple-custom {
  border-color: #9688FF;
}
.bg-purple-custom-50 {
  background-color: #9688ff50;
}

.text-whity {
  color: #e0e0e0;
}

.text-purple-link {
  color: #9688FF;
}
.text-purple-link:hover {
  color: #b0a5ff;
}


.red-youtube-icon {
  color: #ff0033;
}




.h-logo {
  transition: height 0.3s ease-in-out;
}
.h-variation .h-logo {
  height: 65px;
}


.max-w-8xl {
  max-width: 100rem; /* 1920px */
}


.hover-gallery-img:hover {
  /* Light violette shadow on hover */
  box-shadow: 0 0 100px #9688ff42;
  z-index: 3;
}

.svg-reverse {
  left: 50%;
  transform: translateX(-50%) rotateY(180deg);
}



.bg-blue-accordion {
  background-color: #3259E1; /* Couleur de fond bleue plus foncée au survol */
}





.grid-container-bg {
  width: 100%;
  height: 100%;

  background: oklch(9.556% 0.02722 250.239);
  --gap: 5em;
  --line: 1px;
  --color: rgba(255, 255, 255, 0.1);

  background-image: linear-gradient(
      -90deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)
    ),
    linear-gradient(
      0deg,
      transparent calc(var(--gap) - var(--line)),
      var(--color) calc(var(--gap) - var(--line) + 1px),
      var(--color) var(--gap)
    );
  background-size: var(--gap) var(--gap);
}


.grid-container-bg-2 {
  width: 100%;
  height: 100%;
  --s: 100px; /* control the size */

  --_g: oklch(24.95% 0.04268 264.16 / 0.5) 90deg, rgb(30, 35, 56) 0;
  background: conic-gradient(from 90deg at 2px 2px, var(--_g)),
    conic-gradient(from 90deg at 1px 1px, var(--_g));
  background-size: var(--s) var(--s), calc(var(--s) / 5) calc(var(--s) / 5);
}

.grid-container-bg-3 {
  width: 100%;
  height: 100%;
  --s: 100px; /* control the size */

  --_g: oklch(10.653% 0.02544 256.48 / 0.562) 90deg, rgba(255, 255, 255, 0.01) 0;
  background: conic-gradient(from 90deg at 2px 2px, var(--_g)),
    conic-gradient(from 90deg at 1px 1px, var(--_g));
  background-size: var(--s) var(--s), calc(var(--s) / 5) calc(var(--s) / 5);
}







.articles-content img {
  display: none;
}
/* définir une limite de caractères pour le contenu de l'article */
.articles-content {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* nombre de lignes à afficher */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}









/* ═══════════════════════════════════════════
   OVERLAY PLEIN ÉCRAN
   ═══════════════════════════════════════════ */
.loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: #050814cc;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    opacity: 1;
    visibility: visible;
}

/* ── Disparition (ajouté par JS) ── */
.loader-overlay.loader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ── Variante HTMX : le loader ne couvre pas tout,
       juste une fine barre en haut ── */
.loader-overlay.loader-htmx-active {
    inset: auto auto auto 0;           /* barre en haut */
    height: 3px;
    width: 100%;
    background: transparent;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}
.loader-overlay.loader-htmx-active .loader,
.loader-overlay.loader-htmx-active .loader-text {
    display: none;                     /* on ne voit que la barre */
}
.loader-overlay.loader-htmx-active::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    animation: htmx-bar 1.2s ease-in-out infinite;
}
@keyframes htmx-bar {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


/* ── Texte ── */
.loader-text {
    font-family: 'Onest', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
}


/* - Loader Animation - */
/* From Uiverse.io by cosnametv */ 
.loader {
  --color: #a5a5b0;
  --size: 70px;
  width: var(--size);
  height: var(--size);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.loader span {
  width: 100%;
  height: 100%;
  background-color: var(--color);
  animation: keyframes-blink 0.6s alternate infinite linear;
}

.loader span:nth-child(1) {
  animation-delay: 0ms;
}

.loader span:nth-child(2) {
  animation-delay: 200ms;
}

.loader span:nth-child(3) {
  animation-delay: 300ms;
}

.loader span:nth-child(4) {
  animation-delay: 400ms;
}

.loader span:nth-child(5) {
  animation-delay: 500ms;
}

.loader span:nth-child(6) {
  animation-delay: 600ms;
}

@keyframes keyframes-blink {
  0% {
    opacity: 0.3;
    transform: scale(0.5) rotate(5deg);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}









/* =============== Home.css =============== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* On met en pause l'animation quand la classe .paused ou le survol est actif */
.animate-float:hover {
    animation-play-state: paused;
}


/* ============================================================
   NUKETOWN ZOMBIES V2 — Styles d'animation
   ============================================================ */

/* ── 1. Scroll Reveal ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes de direction */
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(0.9); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="zoom"].revealed {
    transform: translate(0, 0) scale(1);
}

/* ── 2. Stagger (cascade) ── */
[data-stagger-item] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-stagger-item].stagger-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── 3. Parallax (le JS gère le transform, on met juste will-change) ── */
[data-parallax] {
    will-change: transform;
}

/* ── 6. Scroll Progress ── */
#scroll-progress {
    will-change: width;
}

/* ── 7. Particules (canvas gère tout, rien à faire ici) ── */

/* ── 9. Tilt 3D ── */
[data-tilt] {
    will-change: transform;
    transform-style: preserve-3d;
}

/* ── 11. Ripple ── */
@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ── 12. Section transition ── */
[data-section-anim] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-section-anim].section-entered {
    opacity: 1;
    transform: translateY(0);
}

/* ── 13. CTA Pulse ── */
@keyframes cta-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    50%      { box-shadow: 0 0 25px 6px rgba(168, 85, 247, 0.15); }
}
.cta-pulsing {
    animation: cta-glow 2.5s ease-in-out infinite;
}

/* ── 14. Header sticky ── */
[data-sticky-header] {
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
[data-sticky-header].header-scrolled {
    background: rgba(17, 17, 17, 0.85) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ── 15. Typing cursor ── */
[data-typing]::after {
    content: '|';
    animation: blink-cursor 0.7s step-end infinite;
}
[data-typing].done::after {
    content: '';
}
@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* ── Bonus: Floating slow (pour les éléments décoratifs) ── */
@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}

/* ── Bonus: Spin slow (pour icônes) ── */
@keyframes spin-slow {
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

/* ── Performance: réduit les animations si l'utilisateur préfère ── */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-stagger-item], [data-section-anim] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .cta-pulsing, .animate-float-slow, .animate-spin-slow {
        animation: none !important;
    }
}














/* === Mouse Cursor === */
/* Cache le curseur natif sur tout le site */
* {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;      /* ne bloque pas le clic */
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease;
  opacity: 0;
  will-change: left, top;
}

/* État "hover" : le curseur grandit */
.cursor-dot.is-active {
  width: 56px;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Optionnel : effet sur les liens pour renforcer le feedback */
a, button {
  transition: opacity 0.2s ease;
}

/* Mobile / écrans tactiles : on réaffiche le curseur natif */
@media (hover: none), (pointer: coarse) {
  * {
    cursor: auto !important;
  }
  .cursor-dot {
    display: none;
  }
}

/* Accessibilité : respect de la préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot {
    transition: none;
  }
}

























/* ====== Scroll Bar ======== */
::-webkit-scrollbar {
  width: 16px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: linear-gradient(180deg, #3259e1 0%, #9688ff 63%, #fbbbff 100%);
  border: none;
  width: 5px;
  border: 7px solid #050c1d;
}
::-webkit-scrollbar-thumb:hover{
  background-color: #9688FF;
  transition: all 0.3s ease-in-out;
  border: 5px solid #050c1d;
}
::-webkit-scrollbar-track {
  background-color: #000308;
}