/* --- RESET GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
/* 
 Fichier : home.css
 Auteur : ElsaFlore
 Description : Page d'accueil
*/
@charset "UTF-8";

/* --- RESET GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- BODY & FOND --- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgb(12,36,50) 0%,
    rgb(8,33,140) 31%,
    rgb(44,146,209) 74%,
    rgb(155,81,224) 100%
  );
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  position: relative;
}

/* --- CANVAS POUR LES ÉTOILES --- */
canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* --- CONTENEUR DU CONTENU PRINCIPAL --- */
.container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 900px;
  padding: 20px;
  color: white;
  margin: auto;
}

/* --- LOGO (image ronde animée) --- */
.logo {
  width: clamp(120px, 25vw, 200px);
  height: clamp(120px, 25vw, 200px);
  margin: 0 auto 30px auto;
  border-radius: 50%;
  background-image: url('http://www.elsaflore.com/wp-content/uploads/2025/08/Illustration_sans_titre9.png');
  background-size: cover;
  background-position: center;
  animation: float 3s ease-in-out infinite alternate;
  box-shadow: 0 0 25px rgba(230,150,250,0.8),
              0 0 35px rgba(180,80,230,0.8);
  transition: box-shadow 0.3s ease-in-out;
}

/* Animation de flottement du logo */
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* --- TITRE PRINCIPAL --- */
h1 {
  font-family: "Circe", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 5rem);
  background: linear-gradient(135deg, rgb(255,160,0), rgb(255,0,230));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  animation: sparkle 2s infinite alternate;
}

/* Effet scintillant sur le titre */
@keyframes sparkle {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

/* --- SOUS-TEXTE --- */
p {
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-bottom: 40px;
  line-height: 1.6;
  color: white;
}

/* --- BOUTONS --- */
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  font-size: clamp(0.9rem, 3.5vw, 1.3rem);
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: linear-gradient(135deg, rgb(255,160,0), rgb(255,0,230));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.3);
}
