/* FAQ BioAqtiv — maquette « BioAqtiv en questions » (rangées 108 px à 1440).
   ⚠️ Aucune couleur en dur : tokens de section uniquement. */
.bq-faq { --faq-pad: clamp(1.25rem, 2.6vw, 2.25rem); border-top: 1px solid var(--line); }

/* Filets pleine largeur : le texte reste dans le conteneur, mais filets et
   fond de la question ouverte sont peints par un pseudo-élément qui déborde
   jusqu'aux bords de la fenêtre. ⚠️ Pas de `margin: calc(50% - 50vw)` : le
   pourcentage se résoudrait contre la mauvaise boîte selon le conteneur
   Elementor. Le débordement est coupé par `overflow-x: clip` sur <body>
   (critical.css), donc jamais d'ascenseur horizontal. */
.bq-faq--bleed { position: relative; border-top: 0; }
.bq-faq--bleed::before { content: ''; position: absolute; top: 0; left: -100vmax; right: -100vmax; border-top: 1px solid var(--line); }
.bq-faq--bleed .bq-faq__item { position: relative; isolation: isolate; border-bottom: 0; }
.bq-faq--bleed .bq-faq__item::before {
	content: '';
	position: absolute;
	inset: 0 -100vmax;
	z-index: -1;
	border-bottom: 1px solid var(--line);
	transition: background-color .25s ease;
}
.bq-faq--bleed .bq-faq__item[open] { background-color: transparent; }
.bq-faq--bleed .bq-faq__item[open]::before { background-color: var(--surface); }
.t-dark .bq-faq--bleed .bq-faq__item[open]::before { background-color: color-mix(in srgb, var(--paper) 8%, transparent); }
.bq-faq--bleed .bq-faq__q,
.bq-faq--bleed .bq-faq__a { padding-inline: 0; }

.bq-faq__item { border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.bq-faq__item[open] { background-color: var(--surface); color: var(--ink); }
.t-dark .bq-faq__item[open] { background-color: color-mix(in srgb, var(--paper) 8%, transparent); color: var(--fg); }

.bq-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-8);
	padding: var(--faq-pad) var(--gutter);
	font-size: var(--fs-lead);
	font-weight: var(--fw-light);
	line-height: var(--lh-snug);
	list-style: none;
	cursor: pointer;
}
.bq-faq__q::-webkit-details-marker { display: none; }
.bq-faq__q:focus-visible { outline-offset: -6px; }

/* Pastille : noire fermée, verte ouverte (sur fond gris la pastille verte est
   décorative — l'état « ouvert » est porté par <details>, pas par la couleur). */
.bq-faq__dot {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background-color: var(--fg);
	transition: background-color .25s ease, transform .25s var(--ease);
}
.bq-faq__q:hover .bq-faq__dot { transform: scale(1.2); }
.bq-faq__item[open] .bq-faq__dot { background-color: var(--brand); }

.bq-faq__a {
	max-width: calc(60rem + var(--gutter) * 2);
	padding: 0 var(--gutter) var(--faq-pad);
	font-size: var(--fs-base);
}
.bq-faq__a > * + * { margin-top: var(--sp-3); }
.bq-faq__a ul { padding-left: 1.2em; }

/* Ouverture animée là où le navigateur sait animer `details` (2025+). */
@supports (interpolate-size: allow-keywords) {
	.bq-faq { interpolate-size: allow-keywords; }
	.bq-faq__item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
	.bq-faq__item[open]::details-content { height: auto; }
}
