
body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
h2 {color:#365e8f;padding-bottom:20px;}
.fond-nuage {background-color: #D8E5F6;}

.btn-valider {font-weight: 800;width: 100%;
height: 57px;
border-radius: 28.5px;
background: #365e8f;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);}
.btn-livret {height: 40px;
border-radius: 18px;
background: #365e8f;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);}
.btn-video {color:#FFF;text-decoration: none;}

.fond-blanc {background-color: white;}

.custom-input {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  border: 0px solid #dee2e6; /* bord discret */
}

.custom-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25),
              0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-color: #86b7fe;
  outline: none;
}
.card {border: 0px;border-radius: 14px;
}
.card img { object-fit: contain; font-weight: 300;}

/* Image de la carte */
.card img {
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  border-radius: 0 0 0.5rem 0.5rem; /* cohérent avec card rounded */
}

/* Effet au survol */
.card:hover img {
  transform: scale(1.03); /* zoom léger */
  filter: brightness(1.1); /* lumière douce */
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.35); /* halo clair */
}

/* Optionnel : effet global de mise en valeur de la carte */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}


/* Espace réservé pour l’image de bestioles */


/* Image de bestioles en pied du conteneur */
.container.fond-blanc::after {
  content: "";
  position: absolute;
  bottom: 0px;                /* léger débordement vers le bas */
  right: -50px;                 /* débordement sur la droite */
  width: 100%;                 /* ajuste selon ton image */
  height: 200px;                /* idem : hauteur visible */
  background: url('img/bestioles.webp') no-repeat bottom right;
  background-size: contain;
  pointer-events: none;         /* ne gêne pas les clics */
  z-index: 2;                   /* au-dessus du fond mais sous le texte */
  opacity: 0.98;
}

/* Pour s'assurer que le contenu reste au-dessus */
.container {
  position: relative;
  z-index: 3;
}
.pad-bot {  padding-bottom: 180px!important;
}


/* Zone plein écran derrière le contenu */
.sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;                 /* derrière le contenu */
  pointer-events: none;       /* ne bloque pas les interactions */
}

/* Style générique d'un nuage */
.cloud {
  position: absolute;
  left: -25vw;                /* démarre hors écran à gauche */
  will-change: transform;
  opacity: 0.9;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
  animation-name: cloud-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transform: translateX(0) translateZ(0);
}

/* Tailles (ajuste si besoin) */
.size-lg { width: clamp(260px, 22vw, 420px); }
.size-md { width: clamp(180px, 18vw, 300px); }
.size-sm { width: clamp(120px, 14vw, 220px); }

/* Vitesses différentes */
.speed-slow { animation-duration: 70s; }
.speed-med  { animation-duration: 55s; }
.speed-fast { animation-duration: 40s; }

/* Animation de gauche -> droite (hors écran) */
@keyframes cloud-drift {
  0%   { transform: translateX(-5vw);  opacity: 0.85; }
  5%   { opacity: 1; }
  100% { transform: translateX(110vw); opacity: 0.95; }
}

/* Footer principal */
.footer {
  background-color: #365E8F;
  color: white;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Liens du footer */
.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #D8E5F6; /* couleur claire au survol */
  text-decoration: underline;
}
.footer-link {
  color: #ffffff;
  text-decoration: none; /* désactive le soulignement natif */
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Ligne animée personnalisée */
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #D8E5F6; /* bleu clair doux */
  transition: width 0.3s ease;
}

/* Effet au survol */
.footer-link:hover {
  color: #D8E5F6;
  transform: translateY(-2px);
  text-decoration: none; /* évite toute double ligne */
}

.footer-link:hover::after {
  width: 100%;
}
/* html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
} */

/* Masque pour les mois non disponibles */
    .mois-locked::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(50, 50, 50, 0.75);
      z-index: 10;
      border-radius: 0.375rem;
      backdrop-filter: blur(2px);
    }

    .mois-locked::after {
      content: 'Bientôt disponible';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(255, 255, 255, 0.95);
      color: #333;
      padding: 1rem 2rem;
      border-radius: 0.5rem;
      font-weight: bold;
      font-size: 1.25rem;
      z-index: 11;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      pointer-events: none;
    }

    .mois-locked {
      pointer-events: none;
    }


/* Respecte l’accessibilité : réduit/stoppe l’animation si demandé */
@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; }
}

/* Assure que ton contenu passe au-dessus des nuages */
.container,
.card,
.fond-blanc {
  position: relative;
  z-index: 1;
}
