body {
  background-color: #111;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

.avis-publics-container {
  max-width: 700px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

.header-simple {
  background-color: #1e1e1e;
  padding: calc(env(safe-area-inset-top) + 1.8rem) 1rem 1.2rem;
  text-align: center;
  border-bottom: 2px solid #f5a623;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-simple h1 {
  margin: 0;
  font-size: 1.2rem;
  color: #f5a623;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
}

.avis {
  background-color: #1c1c1c;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}
.avis:hover {
  transform: translateY(-3px);
}
.nom {
  font-weight: bold;
  font-size: 1.1rem;
  color: #f4f4f4;
}
.date {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}
.note {
  font-size: 1rem;
  margin: 0.3rem 0;
  color: #f5a623;
}
.commentaire {
  margin-top: 0.7rem;
  font-style: italic;
  color: #eee;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.pagination button {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.pagination button.active {
  background-color: #f5a623;
}
.pagination button:hover {
  background-color: #555;
}

.retour-accueil {
  display: inline-block;
  margin: 30px auto;
  text-align: center;
  background-color: #f5a623;
  color: #fff;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.retour-accueil:hover {
  background-color: #f5a623;
}
.retour-container {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

.retour-accueil {
  background-color: #f5a623;
  color: #fff;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.retour-accueil:hover {
  background-color: #f5a623;
}





.avis-card {
  background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 20px 26px;
  margin-bottom: 25px;
  color: #f0f0f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 165, 0, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: floatUp 0.7s ease forwards;
  position: relative;
  overflow: hidden;
}

.avis-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 165, 0, 0.05), transparent 70%);
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.avis-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 165, 0, 0.2);
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.avis-card h3 {
  font-size: 1.4rem;
  color: #f5a623;
  font-weight: bold;
  margin-bottom: 6px;
  text-shadow: 0 0 4px rgba(245, 166, 35, 0.4);
}

.avis-card .date {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 16px;
}

.avis-card p {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.avis-card strong {
  color: #f5a623;
  letter-spacing: 1px;
  text-shadow: 0 0 3px rgba(255, 193, 7, 0.4);
}

.avis-card .commentaire {
  margin-top: 14px;
  font-style: italic;
  color: #ddd;
  padding-top: 10px;
  border-top: 1px dashed #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

.avis-card .meta {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.avis-card .meta strong {
  color: #f5a623;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Scrollbar Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e; /* Fond du slider */
}

::-webkit-scrollbar-thumb {
  background-color: #f5a623; /* ✅ Orange Alex Grill House */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Pour Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #f5a623 #1e1e1e;
}

.footer-universel {
  background: #1e1e1e;
  color: #f5a623;
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: 0.85rem;
  border-top: 2px solid #f5a623;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  margin-top: 2rem;
  
}

.footer-universel p {
  margin: 0;
  font-weight: 500;
}

.footer-liens {
  margin-top: 0.5rem;
}

.footer-liens a {
  margin: 0 10px;
  color: #f5a623;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-liens a:hover {
  color: #ffffff;
}
