/* ═══════════════════════════════════════════════════════════════════════════
   UNIVERS CRAMPONS — Bloc FAQ de Yoast
   Reprend la FAQ des articles de l'agence (uc-blog.css, section 16 « FAQ »),
   transposée sur le balisage Yoast : .schema-faq-section, -question, -answer.
   L'accordéon (.uc-faq-ready, .uc-faq-toggle) est posé par assets/js/uc-faq.js ;
   sans script, questions et réponses restent affichées avec le même style.
   ═══════════════════════════════════════════════════════════════════════════ */

.schema-faq {
  --uc-ink:        #0A0A0B;
  --uc-ink-3:      #3A3C43;
  --uc-line:       #E2E4E9;
  --uc-brand:      #6699FF;
  --uc-brand-ink:  #1D4FD8;

  margin: 2rem 0 0;
  border-top: 3px solid var(--uc-ink);
}
.schema-faq .schema-faq-section {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--uc-line);
}

/* Question : `strong` de Yoast, ou bouton posé dedans par le script. */
.schema-faq .schema-faq-question {
  display: block;
  padding: 1rem 2.6rem 1rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--uc-ink);
}
.schema-faq.uc-faq-ready .schema-faq-question { padding: 0; }

/* Le bouton reprend le texte de la question : on efface l'aspect bouton du
   navigateur et du thème. */
.schema-faq .uc-faq-toggle {
  position: relative;
  display: flex; align-items: flex-start;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 1rem 2.6rem 1rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: color .18s ease;
}
.schema-faq .uc-faq-toggle::after {          /* chevron */
  content: "";
  position: absolute; right: .55rem; top: 1.35rem;
  width: .7rem; height: .7rem;
  border: solid var(--uc-brand); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.schema-faq .uc-faq-toggle:hover,
.schema-faq .uc-faq-toggle[aria-expanded="true"] { color: var(--uc-brand-ink); }
.schema-faq .uc-faq-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); top: 1.6rem; }
.schema-faq .uc-faq-toggle:focus-visible {
  outline: 3px solid var(--uc-brand-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.schema-faq .schema-faq-answer {
  margin: 0;
  padding: 0 2.6rem 1.5rem 0;
  color: var(--uc-ink-3);
  line-height: 1.65;
}

@media (max-width: 47.9375em) {
  .schema-faq .schema-faq-question { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .schema-faq .uc-faq-toggle,
  .schema-faq .uc-faq-toggle::after { transition: none; }
}

/* Impression : toutes les réponses, sans chevron. */
@media print {
  .schema-faq .schema-faq-answer[hidden] { display: block !important; }
  .schema-faq .uc-faq-toggle::after { display: none; }
}
