/* ============================================================
   ANSPACH — Page FAQ (/faq)
   Onglets par theme, accordeon de questions, encart contact.
   ============================================================ */

/* Onglets : une ligne qui defile en mobile, tous les themes restent atteignables. */
.tabs { display:flex; border-bottom:1px solid rgba(35,0,68,.14); overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none }
.tabs::-webkit-scrollbar { display:none }
.tab { flex:none; appearance:none; background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; padding:16px 18px; cursor:pointer;
       font:700 14px Figtree,sans-serif; letter-spacing:.01em; color:rgba(35,0,68,.55); white-space:nowrap;
       transition:color .2s ease, border-color .2s ease }
.tab:first-child { padding-left:0 }
.tab:hover { color:#230044 }
.tab[aria-selected="true"] { color:#230044; border-bottom-color:#5554A0 }
@media (min-width:768px) { .tab { padding:18px 28px; font-size:15px } .tab:first-child { padding-left:0 } }

.faq-grid { display:grid; grid-template-columns:1fr; gap:40px; margin-top:8px }
@media (min-width:1024px) { .faq-grid { grid-template-columns:1fr 360px; gap:64px; align-items:start } }

/* Accordeon natif (<details>). Une seule question ouverte par theme. */
.faq-list details { border-bottom:1px solid rgba(35,0,68,.14) }
.faq-list summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; cursor:pointer;
                    font-family:'Bodoni Moda',serif; font-size:20px; line-height:1.2; font-weight:500; letter-spacing:-.015em; color:#230044;
                    transition:color .25s ease }
.faq-list summary::-webkit-details-marker { display:none }
.faq-list summary::marker { content:"" }
.faq-list summary:hover { color:#5554A0 }
.faq-ico { flex:none; width:36px; height:36px; border-radius:50%; border:1.5px solid rgba(35,0,68,.3); display:inline-flex; align-items:center; justify-content:center;
           font:400 22px Figtree,sans-serif; line-height:1; color:#230044; transition:transform .3s cubic-bezier(.22,.61,.36,1) }
.faq-list details[open] .faq-ico { transform:rotate(45deg) }
.faq-a { padding:0 0 26px; font-size:16px; line-height:1.7; color:rgba(35,0,68,.8); text-wrap:pretty }
.faq-a p { margin:0 0 12px }
.faq-a p:last-child { margin-bottom:0 }
.faq-a ul { margin:4px 0 0; padding-left:22px; display:flex; flex-direction:column; gap:6px }
@media (min-width:768px) {
  .faq-list summary { font-size:24px; padding:26px 0; gap:32px }
  .faq-a { padding:0 72px 30px 0 }
}

/* Encart « Vous n'avez pas trouvé ? » */
.faq-aside { background:#DFE9E5; padding:32px 28px 36px }
.faq-aside .kicker { margin-bottom:18px }
.faq-aside .h3 { font-size:30px; line-height:1.1 }
.faq-adr { margin-top:22px; font-size:15px; line-height:1.75; color:#230044 }
.faq-links { margin-top:16px; display:flex; flex-direction:column; gap:6px; font:600 15px Figtree,sans-serif; color:#230044 }
.faq-links a { color:#230044; word-break:break-all }
.faq-hours { margin-top:26px; padding-top:22px; border-top:1px solid rgba(35,0,68,.16) }
.faq-hours .kicker { margin-bottom:12px }
@media (min-width:768px) { .faq-aside { padding:40px 40px 44px } }
@media (min-width:1024px) { .faq-aside { margin-top:24px } }

/* Complements du theme */
.faq-adr--flush { margin-top:0 }
.faq-aside-btn { margin-top:26px; padding:14px 26px; font-size:14px }
.faq-grid--solo { grid-template-columns:1fr }
.faq-grid--solo > div { max-width:860px }
/* Reponses issues de l'editeur */
.faq-a a { color:#230044; text-decoration:underline }
.faq-a a:hover { color:#5554A0 }
.faq-a ol { margin:4px 0 0; padding-left:22px; display:flex; flex-direction:column; gap:6px }
