
:root {
  --parme: #d5c1e5;
  --or: #c7a746;
  --blanc: #ffffff;
  --violet-fonce: #5c3c84;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #f3e8ff, #e7d6f2);
  color: var(--violet-fonce);
  line-height: 1.7;
}
.intro-section {
  backdrop-filter: blur(4px);
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding: 2rem;
}
.intro-section.hidden {
  opacity: 0;
  transform: translateY(-50px);
  pointer-events: none;
  display: none; /* ✅ Ajoute cette ligne */
}

.intro-section h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3em;
  color: var(--or);
  margin-bottom: 0.2em;
}
.intro-section p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
}
#countdown {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 2em;
  overflow-x: hidden;
}
.countdown-box {
  width: clamp(60px, 20vw, 90px);
  aspect-ratio: 1 / 1; /* ✅ garde forme carrée sans forcer la hauteur */
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--violet-fonce);
  border-radius: 20px;
  background: #f8f2fd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.countdown-box span {
  display: block;
  font-size: 2em;
  font-weight: 600;
  font-size: clamp(1.4rem, 5vw, 2rem); /* ✅ adapte en douceur */

}
.countdown-box label {
  font-family: 'Great Vibes', cursive;
  font-size: 1em;
  color: #6d4c8d;
  margin-top: 5px;
  font-size: clamp(0.9rem, 3vw, 1.2rem);

}
.btn-primary {
  background-color: var(--or);
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 1.1em;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background-color 0.3s;
}
.btn-primary:hover {
  background-color: #af8f36;
  transform: scale(1.05);
}
.image-section {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  animation: fadeIn 1s ease-in-out forwards;
  background-color: rgba(255, 255, 255, 0.95);
}
.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}
.image-section img:hover {
  transform: scale(1.01);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
footer {
  background: linear-gradient(to right, #e7d6f2, #f3e8ff);
  backdrop-filter: blur(5px);
  text-align: center;
  padding: 60px 20px;
  color: var(--violet-fonce);
  border-top: 2px solid #c7a746;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
  font-family: 'Great Vibes', cursive;
}

.footer-btn {
  background-color: var(--violet-fonce);
  color: white;
  font-size: 1.1em;
  padding: 15px 35px;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s;
}

.footer-btn:hover {
  background-color: #3d295b;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .intro-section h1 {
    font-size: 2.2em;
  }

  .btn-primary, .footer-btn {
    font-size: 1em;
    padding: 12px 24px;
  }

  #countdown {
    gap: 8px;
  }

  .countdown-box {
    padding: 10px;
    min-width: auto;
    flex: 1 1 0;
  }

  .countdown-box span {
    font-size: 1.6em;
  }

  .countdown-box label {
    font-size: 0.9em;
  }
}

