:root { --blue: #00a6e3; --ink: #363838; --white: #fff; --section-x: 6%; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 15px/1.6 "Roboto", sans-serif; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; letter-spacing: 0; }
.faq-inner { width: 100%; max-width: 920px; margin: auto; }

/* Introduction : même construction que les pages Contact et Modules. */
.faq-intro { padding: 40px 6% 52px; background: #ebf8fd; }
.faq-breadcrumb { display: flex; gap: 12px; margin-bottom: 28px; color: #61717a; font-size: 14px; }
.faq-breadcrumb a { color: #006b93; text-decoration: none; }
.faq-breadcrumb a:hover { text-decoration: underline; }
.faq-intro h1 { margin-bottom: 18px; font-size: 36px; font-weight: 500; line-height: 1.2; }
.faq-intro p { max-width: 760px; color: #65747a; font-size: 17px; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq-jump a { padding: 9px 16px; border: 1px solid #cfe6ef; border-radius: 999px; background: var(--white); color: #006b93; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, background-color .2s; }
.faq-jump a:hover { border-color: var(--blue); background: #f3fbfe; }

/* Questions / réponses (éléments natifs <details>, accessibles au clavier). */
.faq-group { padding: 56px 6% 0; scroll-margin-top: 100px; }
.faq-group:nth-of-type(2) { padding-top: 64px; }
.faq-group h2 { margin-bottom: 22px; font-size: 28px; font-weight: 500; line-height: 1.3; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid #d3dfe4; border-radius: 10px; background: var(--white); scroll-margin-top: 100px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue); box-shadow: 0 8px 22px rgba(0, 120, 170, .08); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.faq-item summary:hover h3 { color: #006b93; }
.faq-toggle { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: #ebf8fd; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: #006b93; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { max-width: 760px; color: #65747a; font-size: 16px; line-height: 1.7; }
.faq-answer a { color: #006b93; text-underline-offset: 3px; }
.faq-answer a:hover { color: #004f6e; }

/* Appel à l'action final. */
.faq-cta { margin-top: 72px; padding: 56px 6% 64px; background: #ebf8fd; text-align: center; }
/* Photo ronde en noir et blanc, comme le bloc équipe de la page Contact ; son fond blanc forme un disque sur le fond bleu. */
.faq-cta-photo { width: 136px; height: 136px; margin: 0 auto 24px; border-radius: 50%; background: var(--white); object-fit: cover; object-position: 50% 25%; filter: grayscale(1); box-shadow: 0 6px 18px rgba(0, 80, 120, .12); }
.faq-cta h2 { margin-bottom: 14px; font-size: 28px; font-weight: 500; line-height: 1.3; }
.faq-cta p { max-width: 560px; margin: 0 auto 28px; color: #65747a; font-size: 17px; }
.faq-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 500; line-height: 1.4; text-decoration: none; }
.faq-button svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s ease; }
.faq-button:hover { background: #008dc1; }
.faq-button:is(:hover, :focus-visible) svg { transform: translateX(4px); }

a:focus-visible, .faq-item summary:focus-visible { outline: 2px solid #007dab; outline-offset: 4px; }
.faq-item summary:focus-visible { outline-offset: -2px; border-radius: 10px; }

@media (max-width: 780px) {
  .faq-intro, .faq-group, .faq-cta { padding-left: 24px; padding-right: 24px; }
  .faq-intro h1 { font-size: 30px; }
  .faq-group { padding-top: 40px; }
  .faq-group h2, .faq-cta h2 { font-size: 25px; }
  .faq-item summary { padding: 16px 18px; }
  .faq-item summary h3 { font-size: 16.5px; }
  .faq-answer { padding: 0 18px 20px; }
  .faq-cta { margin-top: 56px; padding-top: 44px; padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-toggle::before, .faq-toggle::after, .faq-button svg, .faq-item, .faq-jump a { transition: none; }
  .faq-button:is(:hover, :focus-visible) svg { transform: none; }
}
