/* ==========================================================================
   FAQ « Ondes » — maquette 2406:3767, mobile 2406:4193
   Interlignes en pixels arrondis comme Figma (38 × 1,1 = 41,8 → 42 ; 18 × 1,25 = 22,5 → 23).
   ========================================================================== */
.pm-page-faq :where(p, h1, h2) { margin: 0; }
.pm-page-faq section { position: relative; scroll-margin-top: var(--pm-entete-h); }
.pm-page-faq .pm-cadre { position: relative; margin: 0 auto; }
.pm-fq-titre, .pm-fq-cat h2, .pm-fq-autre h2 { font-family: var(--pm-police-titre); font-weight: 700; }

/* Accroche */
.pm-fq-acc { overflow: hidden; color: var(--pm-nuit); }
.pm-fq-acc .pm-cadre { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.pm-fq-logo { position: absolute; pointer-events: none; }
.pm-fq-logo img { display: block; width: 100%; height: 100%; }
.pm-fq-titre, .pm-fq-cats { position: relative; z-index: 1; }
.pm-fq-cats { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }

/* Catégories : fonds alternés */
.pm-fq-cat { background: var(--pm-vert-leger); }
.pm-fq-cat .pm-faq-item { background: #fff; border-radius: 16px; }
.pm-fq-cat-2 { background: #fff; }
.pm-fq-cat-2 .pm-faq-item { background: var(--pm-vert-leger); }
.pm-fq-cat h2 { color: var(--pm-nuit); }
.pm-fq-cat .pm-faq-liste { display: flex; flex-direction: column; gap: 12px; }
.pm-insecable { white-space: nowrap; }

/* Une autre question */
.pm-fq-autre { background: var(--pm-nuit); }
.pm-fq-autre .pm-cadre { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pm-fq-autre h2 { width: 100%; color: #fff; text-align: center; }

/* ORDINATEUR */
@media (min-width: 1024px) {
	.pm-page-faq .pm-cadre { width: 1280px; zoom: var(--pm-zoom, 1); }

	.pm-fq-acc { background: linear-gradient(13.02deg, #dddb00 0%, #9ec252 50%, #008d36 100%); }
	.pm-fq-acc .pm-cadre { padding: 72px 64px; }
	.pm-fq-logo { left: 800px; top: 10px; width: 528px; height: 528px; }
	.pm-fq-titre { width: 660px; font-size: 64px; line-height: 68px; letter-spacing: -1.28px; }

	.pm-fq-cat .pm-cadre { display: flex; align-items: flex-start; gap: 32px; padding: 72px 96px; }
	.pm-fq-cat h2 { flex-shrink: 0; width: 280px; font-size: 38px; line-height: 42px; letter-spacing: -.76px; }
	.pm-fq-cat .pm-faq-liste { flex: 1 0 0; min-width: 0; }
	.pm-fq-cat .pm-faq-item { padding: 24px; }

	.pm-fq-autre .pm-cadre { padding: 72px 96px; }
	.pm-fq-autre h2 { font-size: 56px; line-height: 59px; letter-spacing: -1.12px; }
}

/* MOBILE */
@media (max-width: 1023px) {
	.pm-fq-acc { background: linear-gradient(33.49deg, #dddb00 0%, #9ec252 50%, #008d36 100%); }
	.pm-fq-acc .pm-cadre { padding: 44px 20px; }
	.pm-fq-logo { left: 200px; top: 120px; width: 336px; height: 336px; }
	.pm-fq-titre { font-size: 38px; line-height: 40px; letter-spacing: -.76px; }
	.pm-ondes .pm-fq-cats .pm-bouton { height: 48px; padding: 16px; }

	.pm-fq-cat .pm-cadre { display: flex; flex-direction: column; gap: 20px; padding: 44px 20px; }
	.pm-fq-cat-1 .pm-cadre { padding-top: 64px; } /* maquette : le bouton flottant chevauche le haut de la 1re catégorie */
	.pm-fq-cat h2 { font-size: 32px; line-height: 35px; letter-spacing: -.64px; }
	.pm-fq-cat .pm-faq-liste { width: 100%; }
	.pm-fq-cat .pm-faq-item { padding: 18px; }
	.pm-fq-cat .pm-faq-item summary > span:first-child { font-size: 18px; line-height: 23px; }

	.pm-fq-autre .pm-cadre { padding: 48px 20px; }
	.pm-fq-autre h2 { font-size: 32px; line-height: 34px; letter-spacing: -.64px; }
}
