:root {
  --rose-clair: #fdeaf1;
  --rose-vif: #e0568c;
  --rose-fonce: #b8005c;
  --noir: #211a1d;
  --dore: #c9a227;
  --dore-clair: #f3e3b3;
  --texte-principal: #2c2226;
  --texte-secondaire: #6b5a60;
  --texte-muted: #a08e94;
  --bordure: #f0d6e2;
  --surface: #ffffff;
  --fond-page: var(--rose-clair);
  --rayon: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--fond-page);
  color: var(--texte-principal);
  line-height: 1.5;
}

a {
  color: var(--rose-fonce);
  text-decoration: none;
}

.conteneur {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* En-tête */
header.entete {
  background: var(--noir);
  padding: 16px 0;
}

.entete-barre {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--dore-clair);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.entete-nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
  align-items: center;
}

.entete-nav a, .entete-nav button {
  color: #fff;
  font-size: 14px;
}

.entete-nav a.actif {
  color: var(--dore-clair);
  font-weight: 700;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid var(--bordure);
  background: var(--surface);
  color: var(--texte-principal);
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.btn-accent {
  background: var(--rose-vif);
  border-color: var(--rose-vif);
  color: #fff;
  font-weight: 600;
}

.btn-accent:hover {
  background: var(--rose-fonce);
}

.btn-dore {
  background: var(--noir);
  border-color: var(--dore);
  color: var(--dore-clair);
  font-weight: 600;
}

.btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  font-weight: 600;
}

.btn-lien {
  border: none;
  background: none;
  color: var(--rose-fonce);
  padding: 0;
  cursor: pointer;
}

/* Champs */
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--texte-principal);
}

label {
  display: block;
  font-size: 13px;
  color: var(--texte-secondaire);
  margin-bottom: 4px;
  font-weight: 600;
}

.champ {
  margin-bottom: 16px;
}

/* Grille produits */
.grille-produits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.carte-produit {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(184, 0, 92, 0.06);
}

.carte-produit-image {
  height: 160px;
  background: var(--rose-clair);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texte-muted);
  font-size: 13px;
}

.carte-produit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carte-produit-corps {
  padding: 12px 14px;
}

.badge-type {
  display: inline-block;
  background: var(--dore-clair);
  color: #6b5518;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.carte-produit-nom {
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 2px;
}

.carte-produit-prix {
  font-size: 15px;
  color: var(--rose-fonce);
  font-weight: 700;
  margin: 4px 0 10px;
}

/* Panier */
.ligne-panier {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 12px;
  margin-bottom: 10px;
}

.ligne-panier-image {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rose-clair);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--texte-muted);
}

.ligne-panier-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.controle-quantite {
  display: flex;
  align-items: center;
  gap: 8px;
}

.controle-quantite button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--bordure);
  background: var(--surface);
  cursor: pointer;
  font-size: 16px;
}

/* Messages */
.message-erreur {
  background: #fce4ea;
  color: #8a1a45;
  padding: 10px 14px;
  border-radius: var(--rayon);
  font-size: 13px;
  margin-bottom: 16px;
}

.message-succes {
  background: #e8f7ee;
  color: #1e6b3d;
  padding: 10px 14px;
  border-radius: var(--rayon);
  font-size: 13px;
  margin-bottom: 16px;
}

.carte-formulaire {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 24px;
  max-width: 460px;
  margin: 32px auto;
}

.carte-formulaire h1 {
  font-size: 20px;
  margin-top: 0;
  color: var(--rose-fonce);
}

.vide {
  text-align: center;
  color: var(--texte-muted);
  padding: 40px 0;
}

/* Bouton flottant WhatsApp */
.whatsapp-flottant {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 100;
}

/* Bouton panier flottant */
.panier-flottant {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--noir);
  color: var(--dore-clair);
  padding: 12px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 100;
}

table.tableau-simple {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  margin-bottom: 24px;
}

table.tableau-simple th {
  background: var(--rose-clair);
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--texte-secondaire);
  font-weight: 600;
}

table.tableau-simple td {
  padding: 10px 12px;
  font-size: 14px;
  border-top: 1px solid var(--bordure);
}
