:root {
  --primary: #1f3a5f;
  --primary-dark: #172c47;
  --accent: #c9a227;
  --accent-light: #e4c86d;
  --bg-soft: #f5f7fa;
  --surface: #ffffff;
  --text-main: #1f2937;
  --text-muted: #4b5563;
}

body {
  font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #f7f9fc 0%, #edf2f7 100%);
  margin: 0;
  padding: 0;
}

h1 {
  color: var(--primary);
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  font-size: 2.5rem;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 12px #e5edf7;
}

.catalogue {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 30px 10px 50px 10px;
}

.produit {
  border: none;
  padding: 20px 16px 26px 16px;
  width: 270px;
  text-align: center;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(31, 58, 95, 0.12), 0 1px 6px rgba(31, 58, 95, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.produit:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 10px 30px rgba(31, 58, 95, 0.18), 0 2px 8px rgba(31, 58, 95, 0.15);
}

.produit img {
  width: 200px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.08);
}

.produit h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 12px 0 8px 0;
  font-weight: 600;
}

.produit p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 8px 0;
}

.produit strong {
  color: var(--primary-dark);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  background: #eef3fb;
  padding: 4px 10px;
  border-radius: 6px;
}

.table-commandes {
  width: 90%;
  margin: 0 auto 40px auto;
  border-collapse: separate;
  border-spacing: 0 12px;
  background: #f8fafc;
  box-shadow: 0 4px 24px rgba(31, 58, 95, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.table-commandes th, .table-commandes td {
  padding: 14px 18px;
  text-align: center;
}

.table-commandes th {
  background: var(--primary);
  color: #f9fafb;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.table-commandes tr {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.08);
  transition: box-shadow 0.2s;
}

.table-commandes tr:hover {
  box-shadow: 0 6px 18px rgba(31, 58, 95, 0.15);
}

.btn-action {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0 2px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.12);
  border: none;
  cursor: pointer;
}

.btn-valider {
  background: linear-gradient(90deg, var(--primary) 0%, #2f527f 100%);
  color: #f9fafb;
}
.btn-valider:hover {
  background: linear-gradient(90deg, #2f527f 0%, var(--primary) 100%);
  color: #ffffff;
}

.btn-supprimer {
  background: linear-gradient(90deg, #fee2e2 0%, #fecaca 100%);
  color: #7f1d1d;
}
.btn-supprimer:hover {
  background: linear-gradient(90deg, #fecaca 0%, #fee2e2 100%);
  color: #fff;
}

.btn-panier {
  background: linear-gradient(90deg, var(--primary) 0%, #2f527f 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
  margin: 0 2px;
  letter-spacing: 0.5px;
  font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
}
.btn-panier:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  transform: scale(1.07);
}

/* Responsive */
@media (max-width: 600px) {
  .catalogue {
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }
  .produit {
    width: 90vw;
    max-width: 350px;
  }
  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 700px) {
  .table-commandes {
    width: 99%;
    font-size: 0.95rem;
  }
  h1 {
    font-size: 2rem;
  }
}

/* === ACCUEIL === */
.header-accueil {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw 12px 7vw;
  background: linear-gradient(90deg, #f8fafc 60%, #e8edf5 100%);
  box-shadow: 0 2px 12px rgba(31, 58, 95, 0.12);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 1px;
}
.logo span {
  color: var(--accent);
  font-weight: 400;
}
.nav-accueil {
  display: flex;
  gap: 18px;
}
.nav-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 22px;
  transition: background 0.2s, color 0.2s;
}
.nav-link.active, .nav-link:hover {
  background: var(--primary);
  color: #fff;
}

.banniere-accueil {
  background: linear-gradient(120deg, #f8fafc 0%, #ecf1f7 100%);
  padding: 60px 0 40px 0;
  text-align: center;
  box-shadow: 0 4px 24px rgba(31, 58, 95, 0.12);
}
.banniere-contenu h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.banniere-contenu h1 span {
  color: var(--accent);
}
.banniere-contenu p {
  color: var(--text-main);
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.banniere-boutons {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.btn-accueil {
  background: linear-gradient(90deg, var(--primary) 0%, #2f527f 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
  letter-spacing: 0.5px;
  text-decoration: none;
  margin: 0 2px;
}
.btn-accueil:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  transform: scale(1.07);
}
.btn-secondaire {
  background: linear-gradient(90deg, #f7fafc 0%, #e8edf5 100%);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondaire:hover {
  background: linear-gradient(90deg, #e8edf5 0%, #f7fafc 100%);
  color: #fff;
}

.presentation-accueil {
  background: #ffffff;
  margin: 40px auto 0 auto;
  padding: 36px 0 30px 0;
  border-radius: 18px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 2px 12px rgba(31, 58, 95, 0.12);
  text-align: center;
}
.presentation-accueil h2 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 18px;
}
.presentation-accueil ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}
.presentation-accueil li {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-align: left;
  padding-left: 1.2em;
  position: relative;
}
.presentation-accueil li:before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
}

.footer-accueil {
  background: var(--primary);
  color: #f9fafb;
  text-align: center;
  padding: 18px 0 12px 0;
  font-size: 1rem;
  margin-top: 40px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 -2px 12px rgba(31, 58, 95, 0.12);
}

@media (max-width: 700px) {
  .header-accueil {
    flex-direction: column;
    gap: 10px;
    padding: 18px 2vw 8px 2vw;
  }
  .banniere-contenu h1 {
    font-size: 2rem;
  }
  .presentation-accueil {
    width: 98%;
    padding: 18px 0 12px 0;
  }
}

.btn-retour {
  display: inline-block;
  margin: 24px 0 0 4vw;
  background: linear-gradient(90deg, var(--primary) 0%, #2f527f 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.btn-retour:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.cta-button {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--primary) 0%, #2f527f 100%);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  outline: none;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.cta-button:hover {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  transform: scale(1.05);
}

.fiche-produit {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(31, 58, 95, 0.12);
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding: 36px 28px;
}
.fiche-img {
  width: 320px;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(31, 58, 95, 0.12);
  background: #f7f7f7;
}
.fiche-details {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fiche-details h1 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}
.fiche-description {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.fiche-prix {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .fiche-produit {
    flex-direction: column;
    align-items: center;
    padding: 18px 4vw;
  }
  .fiche-img {
    width: 98vw;
    max-width: 350px;
    height: auto;
  }
}

.panier-contenu {
  max-width: 900px;
  margin: 40px auto 0 auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(31, 58, 95, 0.12);
  padding: 36px 28px 28px 28px;
}
.table-panier {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-bottom: 24px;
}
.table-panier th, .table-panier td {
  padding: 12px 10px;
  text-align: center;
}
.table-panier th {
  background: var(--primary);
  color: #f9fafb;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}
.table-panier tr {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.08);
}
.panier-total {
  text-align: right;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.confirmation-contenu {
  max-width: 500px;
  margin: 80px auto 0 auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(31, 58, 95, 0.12);
  padding: 36px 28px 28px 28px;
  text-align: center;
}
.confirmation-contenu h1 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 18px;
}
.confirmation-contenu p {
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.form-payement {
  max-width: 400px;
  margin: 40px auto;
  background: #ffffff;
  padding: 28px 24px 18px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(31, 58, 95, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-payement label {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 6px;
}
.form-payement input, .form-payement select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  margin-top: 4px;
  font-size: 1rem;
}
.form-payement input:focus, .form-payement select:focus {
  border-color: var(--primary);
  outline: none;
}
.btn-supprimer {
  background: linear-gradient(90deg, #fee2e2 0%, #fecaca 100%);
  color: #7f1d1d;
  border: none;
  border-radius: 22px;
  padding: 6px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(31, 58, 95, 0.12);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
  margin: 0 2px;
}
.btn-supprimer:hover {
  background: linear-gradient(90deg, #fecaca 0%, #fee2e2 100%);
  color: #fff;
} 