/* FAQ (/faq, app/pages/faq.vue) — mêmes cartes dépliables que la FAQ de /application */
.faq { padding-top: 56px; max-width: 980px; }

/* En-tête : coucher de soleil, recherche, sommaire */
.fq-heros { position: relative; border-radius: 32px; background: var(--degrade-soleil); padding: 48px 48px 40px; box-shadow: var(--ombre-forte); display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.fq-heros h1 { margin: 0; font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; color: var(--nuit); }
.fq-intro { margin: 0; font-size: 18px; line-height: 1.6; color: #2A3544; max-width: 640px; }
.fq-recherche { position: relative; max-width: 560px; color: var(--gris); }
.fq-recherche svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.fq-recherche input { width: 100%; min-height: 56px; padding: 0 20px 0 50px; border: 2px solid transparent; border-radius: 999px; background: rgba(255, 255, 255, .96); font: 400 17px Roboto, Arial, sans-serif; color: var(--encre); box-shadow: var(--ombre); }
.fq-recherche input:focus { outline: none; border-color: var(--nuit); }
.fq-aucun { margin: 0; font-size: 16px; color: var(--nuit); }
.fq-sommaire { display: flex; flex-wrap: wrap; gap: 10px; }
.fq-sommaire a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--nuit); font-weight: 700; font-size: 15px; text-decoration: none; }
.fq-sommaire a:hover { background: #fff; }
.fq-sommaire a.fq-vedette { background: var(--nuit); color: #fff; }
.fq-sommaire a.fq-vedette:hover { background: var(--nuit-2); }

/* Thèmes et questions */
.fq-theme { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.fq-theme .titre-section { margin-bottom: 8px; font-size: clamp(28px, 3.4vw, 42px); }
.fq-theme details { background: rgba(255, 255, 255, .94); border-radius: 18px; box-shadow: var(--ombre); scroll-margin-top: 90px; }
.fq-theme summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; color: var(--nuit); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.fq-theme summary::-webkit-details-marker { display: none; }
.fq-theme summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--orange-fonce); }
.fq-theme details[open] summary::after { content: '–'; }
.fq-theme summary:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 18px; }
.fq-theme details.fq-important { border: 2px solid var(--soleil); }
.fq-reponse { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: #3B4654; }
.fq-reponse p { margin: 0 0 12px; }
.fq-reponse p:last-child { margin-bottom: 0; }

/* Étapes numérotées */
.fq-etapes { counter-reset: etape; list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fq-etapes li { counter-increment: etape; position: relative; padding-left: 44px; min-height: 30px; }
.fq-etapes li::before { content: counter(etape); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--nuit); color: #fff; font: 700 15px/30px Roboto, Arial, sans-serif; text-align: center; }

/* Libellé d'un bouton du site, cité dans le texte */
.fq-btn { display: inline-block; padding: 0 8px; border-radius: 8px; background: var(--sable); color: var(--nuit); font-weight: 700; white-space: normal; }
.fq-astuce { padding: 12px 16px; border-radius: 14px; background: var(--creme); border-left: 4px solid var(--orange); }
.fq-raccourci { margin-top: 6px; }

@media (max-width: 600px) {
  .faq { padding-top: 24px; }
  .fq-heros { padding: 32px 20px 28px; border-radius: 24px; }
  .fq-intro { font-size: 16px; }
  .fq-theme { margin-top: 36px; }
  .fq-theme summary { padding: 16px 18px; font-size: 16px; }
  .fq-reponse { padding: 0 18px 18px; font-size: 15px; }
  .fq-etapes li { padding-left: 40px; }
}
