/* Image décorative en haut à droite */
.top-right-deco {
  position: absolute; /* position fixe par rapport à la page */
  right: 10px;
  z-index: -1; /* derrière le contenu */
  pointer-events: none; /* ne bloque pas les clics */
  top: 250px; /* un peu plus bas que la navbar */
}

.top-right-deco img {
  max-width: 400px; /* ajustable selon ton visuel */
  opacity: 0.8; /* très léger pour rester discret */
}

/* Image décorative à gauche du hero */
.hero-left-deco {
  position: absolute;
  left: 0;
  z-index: -1; /* derrière le contenu */
  pointer-events: none; /* pas de blocage pour les clics */
}

.hero-left-deco img {
  max-width: 600px; /* ajustable selon ton visuel */
  opacity: 0.7;    /* très léger pour rester discret */
  display: block;
}



/* Section À propos */
.about {
  padding: 80px 10%;
  background: #fff;
  color: #111;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-family: 'Chivo', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #f5a8c7; /* rose pastel */
  border-radius: 25px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #f5a8c7;
  color: #fff;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.projects-preview {
  padding: 80px 10%;
  background: #fff;
  color: #111;
  text-align: center;
}

.projects-preview h2 {
  font-family: 'Chivo', sans-serif;
  font-size: 2rem;
  margin-bottom: 40px;
}

.projects-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.project-card {
  position: relative;
  display: block; /* entire card clickable */
  text-decoration: none;
  background: #fff;
  border: 1px solid #f5a8c7;
  border-radius: 20px;
  padding: 30px 25px;
  width: 300px;
  color: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.project-card h3 {
  font-family: 'Chivo', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.project-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

/* Illustration légère dans la carte */
.card-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45; /* très légère */
}

.card-deco img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.falling-leaves {
  position: absolute;
  top: 80px; /* sous la navbar */
  left: 0;
  width: 100%;
  height: 700px; /* hauteur du hero */
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.leaf {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  opacity: 0.9;
}
