/* ==========================================================
   L'Expert Local — Page Devis : sections avis + FAQ
========================================================== */

/* ---- Sections communes ---- */
.dv-section { padding: 5rem 0; }

.dv-section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 3rem;
}
.dv-section-title strong { color: var(--blue); }

/* ---- Témoignages ---- */
.dv-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dv-review-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.dv-review-card--featured {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(26,115,232,.10);
}
.dv-quote-mark {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 56px;
  line-height: 1;
  color: #E5ECF6;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.dv-review-card--featured .dv-quote-mark { color: #C7DFFE; }
.dv-review-title { font-weight: 700; font-size: 16px; color: var(--ink); }
.dv-review-stars { color: #FBBC04; font-size: 15px; letter-spacing: 1px; }
.dv-review-text { font-size: 14px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.dv-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: .5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.dv-review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.dv-review-author strong { display: block; font-size: 14px; color: var(--ink); }
.dv-review-author span { font-size: 12px; color: var(--ink-2); }

/* ---- FAQ ---- */
.dv-faq-wrap { max-width: 760px; margin: 0 auto; }

.dv-faq {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.dv-faq-item { border-bottom: 1px solid var(--border); }
.dv-faq-item:last-child { border-bottom: none; }

.dv-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 1rem;
  transition: background .12s ease;
}
.dv-faq-q::-webkit-details-marker { display: none; }
.dv-faq-q::after {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235F6368' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .2s ease;
}
.dv-faq-item[open] .dv-faq-q { background: #F5F8FE; color: var(--blue); }
.dv-faq-item[open] .dv-faq-q::after { transform: rotate(180deg); }

.dv-faq-a {
  padding: .75rem 1.5rem 1.25rem;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  background: #F5F8FE;
  border-top: 1px solid #E3EAF4;
}

/* ---- Textarea (page devis) ---- */
.devis-right textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .15s ease;
  outline: none;
  resize: vertical;
}
.devis-right textarea:focus { border-color: var(--blue); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .dv-reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dv-reviews { grid-template-columns: 1fr; }
}
