/* Reset et base */
body {
  font-family: 'Roboto', 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
}

/* Conteneur général */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barre de navigation pro */
nav {
  background-color: #f8f8f8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.2em;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover {
  background-color: #007bff;
  color: #fff;
  transform: scale(1.05);
}

/* Alignement à gauche */
section.marques .container,
section.features .container,
section.products .container,
section.avis .container,
footer .container {
  text-align: left;
}

/* Titres en mode sombre */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
  color: #e0e0e0;
}

/* Hero */
section.hero h2 {
  margin-bottom: 0.3em;
}

/* Logos marques */
section.marques .logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

/* Barre de recherche */
#searchBar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

#searchBar input {
  width: 300px;
  text-align: center;
}

#searchBar button {
  margin-left: 10px;
}

/* Grille 3 colonnes */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card produit */
.product-card {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  background-color: #fafafa;
  text-align: left;
}

/* Mode sombre */
.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode header,
.dark-mode footer {
  background-color: #1e1e1e;
  color: #ddd;
}

.dark-mode a,
.dark-mode a:visited {
  color: #80b3ff;
}

.dark-mode nav {
  background-color: #1e1e1e;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

.dark-mode nav ul li a {
  color: #ccc;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.dark-mode nav ul li a:hover {
  background-color: #333;
  color: #fff;
  transform: scale(1.05);
}

/* Grille images */
.grille-images {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.grille-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Services */
.services {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px auto;
  text-align: center;
  flex-wrap: wrap;
}

.service {
  font-size: 1.2em;
  color: #c3bfbf;
}

.service i {
  color: #007bff;
  margin-right: 8px;
  font-size: 1.8em;
}

/* Emojis clairs et sombres */
.emoji {
  font-size: 1.2rem;
  margin-left: 8px;
}

.emoji-dark {
  display: none;
}

body.dark-mode .emoji-light {
  display: none;
}

body.dark-mode .emoji-dark {
  display: inline;
}

/* Responsive menu */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  nav ul li a {
    display: block;
    text-align: center;
    width: 100%;
  }
}
/* Contenu des blocs produit en mode sombre */
.dark-mode .product-card {
  background-color: #faf5f5; /* Fond légèrement plus sombre */
  color: #120606;            /* Texte principal plus clair */
}

.dark-mode .product-card h3 {
  color: #a0c9ff;            /* Titre bleu pâle pour bonne lisibilité */
}

.dark-mode .product-card p {
  color: #080000;            /* Texte descriptif avec bon contraste */
}

.dark-mode .product-card button {
  background-color: #2e2e2e; /* Bouton discret mais visible */
  color: #0a0a0a;
  border: 1px solid #555;
  transition: background-color 0.3s ease;
}

.dark-mode .product-card button:hover {
  background-color: #0c325c;
  color: #120606;
}
.info-bloc {
  font-size: 1.1rem;
  padding: 8px 12px;
  margin: 4px;
  background-color: #292929;
  color: #f0f0f0;
  border-radius: 6px;
  display: inline-block;
}
.commande-box {
  background-color: #f3f3f3; /* même couleur que le cadre livraison */
  padding: 12px 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  margin: 20px 0;
}
.commande-box a {
  color: #007bff;
  text-decoration: none;
}
.commande-box a:hover {
  text-decoration: underline;
}
