/* ===========================
   STYLE — INTENTION.NELLES v2.4
   =========================== */

body {
  background: url('../assets/bg-texture-lavande.png') repeat center center;
  font-family: 'Poppins', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* HEADER */
header.site {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
}
header nav a {
  margin: 0 14px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.3s ease;
}
header nav a:hover,
header nav a.active {
  color: #00B5B8;
  border-bottom: 2px solid #00B5B8;
  padding-bottom: 4px;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 700px;
}
.hero-bg img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}
.hero .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.6);
  padding: 40px 50px;
  border-radius: 20px;
  z-index: 5;
  max-width: 600px;
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}
.hero .lead {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
}
.wave {
  position: absolute;
  bottom: -100px; /* ✅ correction : alignée avec le bas de l’image */
  left: 0;
  width: 100%;
  z-index: 6;
}

/* BOUTONS */
.btn {
  display: inline-block;
  border-radius: 30px;
  padding: 12px 26px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary { background: #00B5B8; color: white; }
.btn-primary:hover { background: #00999C; }
.btn-secondary { background: #9AB9E3; color: white; }
.btn-secondary:hover { background: #88A6D6; }

/* SECTIONS */
section {
  padding: 80px 20px;
  text-align: center;
}
section h2 {
  font-family: 'Lora', serif;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 25px;
}
section p {
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.6;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* PHILOSOPHIE */
.arguments {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 700px;
  text-align: left;
  line-height: 1.8;
}

/* PROGRAMME */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.card {
  background: linear-gradient(to bottom right, #FFFFFF, #F6F5FA);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.card img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
  opacity: 0.95;
}

/* RECETTES */
.recettes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.recette {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}
.recette:hover { transform: translateY(-5px); }
.recette img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}
.recette h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* TEMOIGNAGES */
#temoignages { background: rgba(255,255,255,0.7); border-top: 2px solid #f0efed; }
.bubble {
  background: white;
  border-radius: 20px;
  padding: 25px;
  margin: 20px auto;
  max-width: 500px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* FORMULAIRES */
#espace-client, #contact {
  background: #fff;
}
.login-form, .contact-form {
  max-width: 400px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-form input,
.contact-form input,
.contact-form textarea {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 1rem;
}

/* GROUPE NELLES */
#groupe-nelles {
  background: #fff;
  padding: 60px 20px 80px;
}
.logos-nelles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.logos-nelles img {
  height: 50px;
  transition: transform 0.3s ease;
}
.logos-nelles img:hover { transform: scale(1.08); }

/* CITATION */
#citation {
  background: linear-gradient(to bottom, #F8F6F2, #E9E7F1);
  padding: 70px 20px;
}
#citation p { font-size: 1.3rem; font-style: italic; color: #333; }
#citation footer { margin-top: 10px; font-weight: 500; color: #666; }

/* FOOTER */
footer.site {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-top: 1px solid #eee;
  color: #444;
  font-size: 0.9rem;
}
footer p { font-style: italic; margin-bottom: 10px; }

/* FADE-IN animation (si non défini ailleurs) */
.fade-in { opacity: 0; transform: translateY(30px); animation: fadeIn 1s forwards ease-out; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
