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

/* GLOBAL */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #031937;
  scroll-behavior: smooth;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  background-color: #031937;
  color: white;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 20px 30px;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-zone {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-header {
  height: 60px;
  width: auto;
}

.titre-site {
  font-size: 1.8rem;
  font-weight: 600;
  color: #D1AA00;
}

/* NAVIGATION */
.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav ul li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.nav ul li a:hover {
  background-color: #D1AA00;
  color: #031937;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav ul li a {
    display: block;
    width: 100%;
  }

  .titre-site {
    font-size: 1.5rem;
  }

  .logo-header {
    height: 50px;
  }
}

/* WRAPPER GENERAL POUR LES SECTIONS */
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ACCROCHE HEADER */
.accroche-header {
  font-size: 1.1rem;
  color: #ffffffcc;
  margin-top: 8px;
  font-style: italic;
}

/* TITRES DES SECTIONS */
section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #D1AA00;
  border-bottom: 2px solid #D1AA00;
  display: inline-block;
  padding-bottom: 10px;
}

/* ALIGNEMENT DU TEXTE */
section p, section ul {
  font-size: 1.05rem;
  color: #031937;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}


/* STYLE UNIFIÉ POUR .fiche-produit DANS PHILOSOPHIE AUSSI */
#philosophie ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

#philosophie ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

#philosophie ul li::before {
  content: '•';
  color: #D1AA00;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}



/* Sections */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

/* Titres */
h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  color: #D1AA00;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid #D1AA00;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0 auto 40px;
}

/* Accueil */
#accueil {
  background-color: #031937;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

#accueil p {
  font-size: 1.2rem;
  margin-top: 10px;
}


/* Blog */
.articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.articles article {
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #031937;
  border-radius: 10px;
}

.articles article h3 {
  margin-bottom: 10px;
}

.btn-blog {
  display: block;
  margin: 30px auto 0;
  text-align: center;
  padding: 10px 20px;
  background: #D1AA00;
  color: #031937;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-blog:hover {
  background: #031937;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #031937;
  color: white;
}

/* Responsive */
@media (min-width: 768px) {
  .produit {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Grille produits responsive */
.produits-grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .produits-grille {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .produits-grille {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Carte produit */
.produit {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produit:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Image produit */
.produit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #D1AA00;
}

/* Contenu produit */
.fiche-produit {
  padding: 20px;
}

.fiche-produit h3 {
  color: #031937;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.fiche-produit p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

/* Liens */
.fiche-produit a,
.lien-achat a {
  display: inline-block;
  margin-right: 10px;
  background-color: #D1AA00;
  color: #031937;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.fiche-produit a:hover,

.boutons {
  margin-top: auto; /* Pousse les boutons vers le bas */
  display: flex;
  justify-content: space-between;
  gap: 10px; /* Espace entre les boutons */
}

.btn {
  text-align: center;
  background-color: #D1AA00;
  color: #031937;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #031937;
  color: #fff;
}




/* HEADER FIXE ET RESPONSIVE */
.site-header {
  position: sticky;
  top: 0;
  background-color: #031937;
  color: white;
  padding: 10px 20px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Logo + titre */
.logo-header {
  height: 150px;
  margin-right: 10px;
}

.titre-site {
  font-size: 1.5rem;
  color: #D1AA00;
  margin-right: auto;
  font-weight: 600;
}

/* MENU */
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.nav ul li a:hover {
  background-color: #D1AA00;
  color: #031937;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .nav ul li a {
    display: block;
    width: 100%;
  }
}

#philosophie,#accueil{
  background-color: white;
}


#philosophie{
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
}

#philosophie h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #D1AA00;
  border-bottom: 2px solid #D1AA00;
  display: inline-block;
  padding-bottom: 10px;
}

#philosophie h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #031937;
}

#philosophie p {
  margin-bottom: 20px;
  text-align: justify;
}

#philosophie ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

#philosophie ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

#philosophie ul li::before {
  content: '•';
  color: #D1AA00;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 768px) {
  #philosophie {
    padding: 40px 15px;
    font-size: 1rem;
  }

  #philosophie h2 {
    font-size: 1.6rem;
  }

  #philosophie h3 {
    font-size: 1.2rem;
  }
}


.site-footer {
  background-color: #031937;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.site-footer a {
  color: #D1AA00;
  text-decoration: none;
}

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