/* THERVALIA — présentation de l’aventure et questions fréquentes.
   Textes dans index.html ; aucun JavaScript nécessaire à la FAQ. */

.adventure, .faq { scroll-margin-top:100px; }
.section-kicker { color:var(--gold); font-size:.72rem; font-weight:500; letter-spacing:.18em; line-height:1.6; text-transform:uppercase; }

/* Une explication du récit et un exemple illustratif. */
.adventure { padding-top:24px; }
.adventure-heading { margin-bottom:36px; }
.adventure-heading .section-kicker { text-align:center; margin-bottom:14px; }
.adventure-heading h2 { font-family:'Cormorant Garamond',Georgia,serif; font-size:clamp(2.1rem,4.6vw,3.5rem); font-weight:600; line-height:1.1; }
.adventure-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:clamp(30px,5vw,64px); align-items:center; }
.adventure-copy { color:var(--mute); line-height:1.85; }
.adventure-copy p + p { margin-top:22px; }
.adventure-example { position:relative; overflow:hidden; padding:34px 30px; border:1px solid var(--line); border-radius:20px; background:var(--card); }
.adventure-example::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(var(--gold),var(--eth)); }
.adventure-example .section-kicker { margin-bottom:22px; padding-right:22px; }
.example-number { position:absolute; top:6px; right:24px; color:var(--gold); opacity:.12; font-family:Cinzel,Georgia,serif; font-size:7rem; line-height:1; pointer-events:none; }
.adventure-example h3 { position:relative; margin-bottom:20px; font-family:'Cormorant Garamond',Georgia,serif; font-size:clamp(1.7rem,3vw,2.25rem); font-weight:600; line-height:1.15; }
.adventure-example p:not(.section-kicker) { position:relative; color:var(--mute); font-size:.94rem; line-height:1.8; }
.adventure-example p.example-conclusion { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); color:var(--ink); font-family:'Cormorant Garamond',Georgia,serif; font-size:1.3rem; font-style:italic; line-height:1.4; }
.text-link { display:table; margin:32px auto 0; padding:8px 2px; color:var(--gold); text-decoration:underline; text-underline-offset:5px; font-size:.88rem; }
.text-link span { margin-left:8px; }

/* Accordéon HTML natif, utilisable sans JavaScript. */
.faq { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); gap:clamp(28px,6vw,72px); align-items:start; padding-top:64px; padding-bottom:64px; }
.faq-heading .section-kicker { margin-bottom:16px; }
.faq-heading h2 { text-align:left; margin-bottom:20px; font-size:clamp(1.7rem,3.8vw,2.5rem); overflow-wrap:anywhere; }
.faq-heading > p:last-child { color:var(--mute); max-width:28ch; }
.faq-list { min-width:0; border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-item summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:23px 4px; color:var(--ink); cursor:pointer; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary h3 { font-family:Inter,system-ui,sans-serif; font-size:.98rem; font-weight:500; line-height:1.6; }
.faq-item summary:hover, .faq-item[open] summary { color:var(--gold); }
.faq-toggle { position:relative; flex:0 0 16px; width:16px; height:16px; color:var(--gold); }
.faq-toggle::before, .faq-toggle::after { content:""; position:absolute; top:7px; left:1px; width:14px; height:1px; background:currentColor; }
.faq-toggle::after { transform:rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform:rotate(0); }
.faq-answer { padding:0 40px 26px 4px; color:var(--mute); font-size:.94rem; line-height:1.85; }
.faq-item summary:focus-visible, .text-link:focus-visible { outline:2px solid var(--eth); outline-offset:5px; border-radius:4px; }

/* Disposition sur tablette et téléphone. */
@media(max-width:760px) {
  .adventure-layout, .faq { grid-template-columns:minmax(0,1fr); }
  .adventure-heading { margin-bottom:28px; }
  .adventure-example { padding:30px 24px; }
  .faq { gap:30px; }
  .faq-heading > p:last-child { max-width:44ch; }
}
@media(max-width:420px) {
  .faq-item summary { gap:16px; padding-block:20px; }
  .faq-answer { padding-right:8px; }
}
