@font-face{
    font-family: 'Herison Brushes', cursive, sans-serif;
    src: url(../font/Herison\ Brushes.ttf);
}

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

body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fffaf5;
  color: #000000;
  line-height: 1.6;
}
.contener{
    display: flex;
    flex-direction: column;
}
.separateur{
    color: #F40C0C;
}
header {
  background-color: white;
  padding: 10px 0;
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: 178px;
  list-style: none;
  font-weight: bold;
  font-family: 'Herison Brushes', cursive, sans-serif;
}

.nav a {
  text-decoration: none;
  color: black;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #F40C0C;
}

.user-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

/* Séparateur */
.separateur {
  border: none;
  height: 5px;
  background: #F40C0C;
  margin: 20px auto;
  width: 95%;
}

/* Section intro */
.intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 5%;
}

.intro .logo img {
  width: 180px;
  margin-bottom: 20px;
}

.intro h1 {
  font-size: 1.8rem;
  font-weight: bold;
  max-width: 502px;
  font-family: 'Herison Brushes', cursive, sans-serif;
  margin-top:308px;
}

.intro-image img {
  max-width:639px;
  width: 180%;
}

/* Section générale */
.section {
  padding: 40px 5%;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Herison Brushes', cursive, sans-serif;
  color: #000000;
}

/* Cartes */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  max-width:300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.card p {
  font-size: 0.95rem;
  color: #444;
}

.card:hover {
  transform: translateY(-5px);
}

/* Footer */
footer {
  background-color: #fff;
  padding: 30px 5%;
  font-size: 0.9rem;
}

footer img {
  width: 100px;
  margin-bottom: 10px;
}

footer p {
  margin: 8px 0;
  color: #000000;
}

footer a {
  color: #000000;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}