/* === Section Avis === */
.avis-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.avis-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  animation: fadeIn .4s ease;
  box-shadow: 0 30px 30px rgba(0, 224, 255, .10);
}

.avis-card h2 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--accent);
}

.avis-card p.sub {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 25px;
  color: var(--muted);
}

/* Champs */
.avis-card .field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.avis-card label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.avis-card input,
.avis-card select,
.avis-card textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  color: #0b1220;
}

.avis-card textarea {
  resize: vertical;
  min-height: 90px;
}

/* Bouton */
.avis-card button {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.avis-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 600px) {
  .avis-card {
    padding: 20px;
  }
  .avis-card h2 {
    font-size: 1.4rem;
  }
}
/* ===== Popup Avis ===== */
.avis-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.avis-popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 14px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  animation: popIn .3s ease;
}

.avis-popup-content h3 {
  margin-top: 0;
  color: var(--accent-2);
}

.avis-popup-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s;
}

.avis-popup-content button:hover {
  background: var(--accent-2);
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

