
@font-face {
    font-family: 'DynaPuff';
    src: url('../fonts/DynaPuff.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('../fonts/PlusJakartaSans/PlusJakartaSans-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

img {
        max-width: 100%;
        height: auto;
    }

p {
    font-size: large;
}

body {
    overflow-y: scroll; 
    scrollbar-width: none; 
  }
  
body::-webkit-scrollbar {
    display: none; 
  }

html, body {
   scroll-behavior: smooth;
}



.darkened {
  --accent-grad: linear-gradient(135deg, #d946ef, #818cf8);
  position: relative;
  padding: 3rem 2.2rem;
  border-radius: 40px 15px 40px 15px;
  
  background: var(--bkn-surface); 

  color: var(--bkn-text);
}


.darkened::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; 
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.darkened::before {
  content: var(--label-text);
  font-family: "DynaPuff";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: #fff;
  font-size: 12px; font-weight: 400;
  padding: 4px 18px; border-radius: 6px;
  z-index: 10;
}

.kawaii-decor {
  position: absolute;
  bottom: -15px; right: -10px;
  width: 45px; height: 45px;
  background: var(--bkn-kawaii-bg);
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 11;

  background-image: linear-gradient(var(--bkn-kawaii-bg), var(--bkn-kawaii-bg)), var(--accent-grad);
  backdrop-filter: blur(5px);
}


.kawaii-decor::before { 
  content: var(--sticker-emoji); 
  font-size: 22px; 
  display: inline-block; 
  animation: var(--emoji-animation) 2s ease-in-out infinite;
}

.darkened[style*="--label-text: ''"]::before {
  display: none;
}


@keyframes floating {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-5px) rotate(20deg); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1) rotate(12deg); }
  50% { transform: scale(1.3) rotate(12deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(12deg); }
  25% { transform: rotate(25deg); }
  75% { transform: rotate(-5deg); }
}

.puff-font {
  font-family: 'PlusJakartaSans';
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.cartoon-font {
  font-family: 'DynaPuff';
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}


body.js-loaded .floating-logo {
  animation: float 4s ease-in-out infinite;
  transition: opacity 1s ease-out; 
}

.floating-logo {
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  will-change: transform; 
}

@media (max-width: 767.98px) {
  .floating-logo {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
  }

  .row:has(.floating-logo) {
    padding-top: 0.75rem;
    margin-bottom: 0.5rem;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98); 
  transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightened {
  background-color: rgba(255, 255, 255, 0.65);
}

.w-95 {
    width: 95%;
}

.equal-height-container {
    display: flex;
    flex-direction: row;
    min-height: 500px;
    gap: 1rem;
    margin-bottom: 50px;
  }
  
  .equal-height-child {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

.min-height {
    min-height: 500px;
    height: 100%;
}



.fullscreen-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, transparent 55%, var(--bkn-overlay-radial) 100%),
    linear-gradient(180deg, var(--bkn-overlay-linear-start) 0%, var(--bkn-overlay-linear-end) 100%);
}

#htmx-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

#htmx-main > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}

.site-footer {
  margin-top: 2rem;
  background: var(--bkn-footer-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--bkn-footer-border);
}

@media (max-width: 991.98px) {
  .site-footer {
    background: var(--bkn-footer-surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.site-footer a,
.site-footer .site-footer__line {
  color: var(--bkn-footer-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: #c084fc;
}

.site-footer a:hover .nav-mega-tile__ico {
  filter: drop-shadow(0 0 12px var(--mega-accent-35));
}

.site-footer hr {
  border-color: var(--bkn-footer-border);
}

.site-footer h6,
.site-footer h6.text-white,
.site-footer .text-white {
  color: rgba(250, 251, 255, 0.95) !important;
}

.site-footer p,
.site-footer p.small,
.site-footer p.text-white-50,
.site-footer p.small.text-white-50,
.site-footer .text-white-50,
.site-footer .small {
  color: var(--bkn-footer-text) !important;
}

.site-footer hr.border-secondary {
  border-color: var(--bkn-footer-border) !important;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .site-footer .container > .row:first-of-type > [class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer .container > .row:first-of-type ul {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .site-footer .container > .row:first-of-type li {
    display: block;
    width: 100%;
    text-align: left;
  }

  .site-footer a,
  .site-footer .site-footer__line {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 0.55rem;
    text-align: left;
  }

  .site-footer .nav-mega-tile__ico {
    flex: 0 0 1.15rem;
    width: 1.15rem;
    text-align: center;
    margin-top: 0.15em;
  }

  .site-footer a span,
  .site-footer .site-footer__line span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    line-height: 1.35;
  }
}

.page-home-gallery {
  --gallery-poster-height: clamp(220px, 40vw, 380px);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--bkn-gallery-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(90, 175, 235, 0.35);
  border-bottom: 1px solid rgba(90, 175, 235, 0.35);
}

@media (max-width: 991.98px) {
  .page-home-gallery {
    background: var(--bkn-gallery-bg-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.page-home-gallery .swiper {
  height: var(--gallery-poster-height);
  overflow: hidden;
}

.page-home-gallery .swiper-wrapper {
  align-items: center;
}

.page-home-gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--gallery-poster-height);
  max-height: var(--gallery-poster-height);
  box-sizing: border-box;
}

.page-home-gallery .swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
}

.page-home-gallery .swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 50%;
  width: 50%;
}

@media (min-width: 768px) {
  .page-home-gallery .swiper:not(.swiper-initialized) .swiper-slide {
    flex-basis: 33.333%;
    width: 33.333%;
  }
}

@media (min-width: 992px) {
  .page-home-gallery .swiper:not(.swiper-initialized) .swiper-slide {
    flex-basis: 25%;
    width: 25%;
  }
}

.page-home-gallery .carousel-img {
  display: block;
  width: auto;
  max-width: 85%;
  max-height: calc(var(--gallery-poster-height) - 8px);
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}


.sfs-1 { font-size: 2rem !important; }
.sfs-2 { font-size: 1.75rem !important; }
.sfs-3 { font-size: 1.5rem !important; }
.sfs-4 { font-size: 1.25rem !important; }
.sfs-5 { font-size: 1rem !important; }
.sfs-6 { font-size: 0.875rem !important; }

/* ≥ SM (576px) */
@media (min-width: 576px) {
  .sfs-sm-1 { font-size: 2rem !important; }
  .sfs-sm-2 { font-size: 1.75rem !important; }
  .sfs-sm-3 { font-size: 1.5rem !important; }
  .sfs-sm-4 { font-size: 1.25rem !important; }
  .sfs-sm-5 { font-size: 1rem !important; }
  .sfs-sm-6 { font-size: 0.875rem !important; }
}

/* ≥ MD (768px) */
@media (min-width: 768px) {
  .sfs-md-1 { font-size: 2rem !important; }
  .sfs-md-2 { font-size: 1.75rem !important; }
  .sfs-md-3 { font-size: 1.5rem !important; }
  .sfs-md-4 { font-size: 1.25rem !important; }
  .sfs-md-5 { font-size: 1rem !important; }
  .sfs-md-6 { font-size: 0.875rem !important; }
}

/* ≥ LG (992px) */
@media (min-width: 992px) {
  .sfs-lg-1 { font-size: 2rem !important; }
  .sfs-lg-2 { font-size: 1.75rem !important; }
  .sfs-lg-3 { font-size: 1.5rem !important; }
  .sfs-lg-4 { font-size: 1.25rem !important; }
  .sfs-lg-5 { font-size: 1rem !important; }
  .sfs-lg-6 { font-size: 0.875rem !important; }
}

/* ≥ XL (1200px) */
@media (min-width: 1200px) {
  .sfs-xl-1 { font-size: 2rem !important; }
  .sfs-xl-2 { font-size: 1.75rem !important; }
  .sfs-xl-3 { font-size: 1.5rem !important; }
  .sfs-xl-4 { font-size: 1.25rem !important; }
  .sfs-xl-5 { font-size: 1rem !important; }
  .sfs-xl-6 { font-size: 0.875rem !important; }
}

/* ≥ XXL (1400px) */
@media (min-width: 1400px) {
  .sfs-xxl-1 { font-size: 2rem !important; }
  .sfs-xxl-2 { font-size: 1.75rem !important; }
  .sfs-xxl-3 { font-size: 1.5rem !important; }
  .sfs-xxl-4 { font-size: 1.25rem !important; }
  .sfs-xxl-5 { font-size: 1rem !important; }
  .sfs-xxl-6 { font-size: 0.875rem !important; }
}


.carousel-img {
  width: 80%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .carousel-img {
    width: 100%;
  }


}

.bg-red {
  background-color: #f8d7da;
  border: 2px solid #dc3545;
}

.bg-orange {
  background-color: #ffe5b4;
  border: 2px solid #fd7e14;
}

.bg-yellow {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
}

.bg-green {
  background-color: #d4edda;
  border: 2px solid #28a745;
}

.bg-blue {
  background-color: #d1ecf1;
  border: 2px solid #007bff;
}

.bg-indigo {
  background-color: #e0d4f7;
  border: 2px solid #6610f2;
}

.bg-violet {
  background-color: #f3e5f5;
  border: 2px solid #6f42c1;
}


[data-theme="dark"] .text-white,
:root:not([data-theme="light"]) .text-white {
  color: #fafbff !important;
}

.text-black {
  color: #000000 !important;
}

.text-dark {
  color: #212529 !important;
}

.text-red {
  color: #dc3545 !important;
}

.text-orange {
  color: #fd7e14 !important;
}

.text-yellow {
  color: #ffc107 !important;
}

.text-green {
  color: #28a745 !important;
}

.text-blue {
  color: #007bff !important;
}

.text-indigo {
  color: #6610f2 !important;
}

.text-violet {
  color: #6f42c1 !important;
}


.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
body.js-loaded .reveal {
    opacity: 1;
    transform: translate(0, 0);
}
body.js-loaded .delay-1 { transition-delay: 0.2s; }
body.js-loaded .delay-2 { transition-delay: 0.4s; }
body.js-loaded .delay-3 { transition-delay: 0.6s; }



.countdown-item {
  background: var(--bkn-countdown-bg);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 10px 5px;
  /* On permet à l'élément de rétrécir si besoin */
  flex: 1; 
  min-width: 0; /* Important pour le flexbox sur mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--bkn-countdown-border);
}

.countdown-value {
  /* Taille adaptative : calculée selon la largeur de l'écran */
  font-size: clamp(1.2rem, 4vw, 2rem); 
  font-weight: bold;
  font-family: 'puff-font', sans-serif;
  color: var(--bkn-text);
  line-height: 1;
}

.countdown-label {
  /* Texte plus petit sur mobile */
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  text-transform: uppercase;
  color: var(--bkn-text-muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* Ajustement spécifique pour les très petits écrans */
@media (max-width: 380px) {
  .countdown-container {
      padding: 15px 5px !important;
  }
  .countdown-item {
      padding: 5px 2px;
  }
}
