/* IMPORT DE LA POLICE */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: #5a4632; /* marron doux pour le texte */
  background-color: #fdf6ec; /* beige très clair */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px; /* hauteur du header */
}

/* --- HEADER --- */
header {
  background-color: #d9c5a1; /* beige moyen */
  color: #5a4632;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-right: 10px;
}

nav a {
  color: #5a4632;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #a78f5c; /* accent beige/miel */
}

/* --- HERO --- */
/* --- HERO AVEC IMAGE --- */
.hero {
  background-color: #fdf6ec; /* beige clair */
  padding: 6rem 2rem;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #5a4632;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #6b5640;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }
}

.cta {
  background-color: #a78f5c; /* bouton miel/beige */
  color: #fdf6ec; /* texte clair */
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s;
}

.cta:hover {
  background-color: #917647;
}

/* --- SECTIONS --- */
section {
  scroll-margin-top: 100px;
}

.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #5a4632;
}

.section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #8b6f50; /* marron clair */
}

.section p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- CARDS FORMATIONS --- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background-color: #fffaf0; /* beige très clair */
  padding: 25px;
  border-radius: 15px;
  flex: 1 1 320px;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 10px;
  color: #a78f5c;
  font-size: 1.4em;
}

.price {
  font-weight: 700;
  color: #5a4632;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.details p {
  margin-bottom: 12px;
  line-height: 1.5;
}

.details p strong {
  color: #8b6f50;
  display: block;
  margin-bottom: 4px;
}


/* --- FOOTER --- */
footer {
  text-align: center;
  background-color: #d9c5a1; /* beige moyen */
  color: #5a4632;
  padding: 1rem;
  margin-top: auto;
  font-size: 0.9rem;
}


.credits {
  font-size: 0.9rem;        /* un peu plus grand */
  color: #5a4632;           /* couleur beige/marron harmonieuse */
  text-align: center;
  margin-top: 20px;
  font-weight: 500;          /* léger poids */
}

.credits-link {
  color: #a67c52;           /* couleur chaude pour se détacher du texte */
  font-weight: 700;          /* ton nom ressort */
  font-size: 1rem;           /* légèrement plus grand */
  text-decoration: none;
  padding: 2px 5px;          /* petit padding discret */
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.credits-link:hover {
  background-color: #e6d8c6; /* léger surlignage beige clair au survol */
  color: #5a4632;             /* couleur inverse au survol pour contraste */
}
