html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Sherlyn', sans-serif;
  color: #6f998b;
  overflow-x: hidden;
}

body {
  position: relative;
  opacity: 0;
  animation: fadeInBG 1s forwards;
}

body::before {
  content: '';
  position: fixed;
  inset: 0; /* top:0; left:0; bottom:0; right:0; */
  background: url('https://ekizophotographie.fr/img/imgc1/Home-Volley.webp') no-repeat center center/cover;
  filter: blur(4px);  /* intensité du flou */
  z-index: -1; /* derrière le contenu */
}

/* Animation fade */
@keyframes fadeInBG {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.overlay {
  min-height: 100vh;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  animation: fadeInOverlay 1s forwards 1s;
}

@keyframes fadeInOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
h1 {
  font-family: 'Histora Beralin Regular', serif;
  font-size: 6rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeInUp 1s forwards 2s;
}

h2 {
  font-family: 'Sherlyn', sans-serif;
  font-size: 3rem;
  margin-bottom: 40px;
  font-style: italic;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeInUp 1s forwards 2.5s;
}

@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(20px); }
  100% { opacity:1; transform: translateY(0); }
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s forwards 3s;
}

.btn {
  padding: 15px 30px;
  border: 2px solid #A3CFC0;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: #A3CFC0;
  color: #111;
  transform: translateY(-3px);
}

.btn:active {
  transform: scale(0.95);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.site-footer {
  position: fixed;
  bottom: -220px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 18px;
  background: linear-gradient(270deg, #A3CFC0, #E099B1, #A3CFC0);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: bottom 0.4s ease-in-out;
  z-index: 10;
}

.footer-toggle {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: #A3CFC0;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  z-index: 20;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #111;
  line-height: 20px;
}

.footer-toggle:hover + .site-footer,
.site-footer:hover {
  bottom: 0;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-footer a {
  color: #111;
  text-decoration: none;
  font-weight: bold;
}

.site-footer a:hover {
  text-decoration: underline;
}


.note-fixed {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.4rem;
  font-family: Arial, sans-serif;
  z-index: 99999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  pointer-events: auto;
}

.note-fixed a {
  color: #A3CFC0;
  text-decoration: underline;
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.2rem; }
  .buttons { flex-direction: column; gap: 15px; }
  .footer-toggle { display: none; }
  .site-footer {
    bottom: 0 !important;
    font-size: 12px;
    padding: 10px;
    position: relative;
  }
  .note-fixed {
    font-size: 0.8rem;
    padding: 6px 10px;
    bottom: 8px;
    right: 8px;
  }
}
.dev-credit {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,0.7);
}
.overlay h1 {
  font-family: 'Sherlyn', cursive;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.overlay h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
}

.btn-back {
  position: relative;
  margin-bottom: 25px;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  background: #d5646485;
  border: 2px solid #A3CFC0;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  backdrop-filter: blur(4px);

  will-change: transform;
  transition:
    transform 0.45s cubic-bezier(.34,1.56,.64,1),
    box-shadow 0.35s ease,
    background 0.25s ease,
    color 0.25s ease;
}

/* Hover */
.btn-back:hover {
  background: #A3CFC0;
  color: #111;
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.35),
    0 0 0 6px rgba(163,207,192,0.25);
}

/* Press (clic) */
.btn-back:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.25);
}

.site-footer a { color:#111; text-decoration:none; font-weight:bold;}
.site-footer a:hover { text-decoration:underline;}
.dev-credit { margin-top:10px; font-size:12px; color:rgba(0,0,0,0.7);}

.fast-load *,
.fast-load *::before,
.fast-load *::after {
  animation: none !important;
  transition: none !important;
}

.fast-load body {
  opacity: 1 !important;
}

.fast-load .overlay {
  opacity: 1 !important;
}

.fast-load h1,
.fast-load h2,
.fast-load .buttons {
  opacity: 1 !important;
  transform: none !important;
}

