/* Page « Protocole personnalisé » (ID 248) — voir protocole-landing.js */

/* Les sections s'empilent (la section du formulaire met main en flex) */
html main#brx-content { flex-direction: column; }

/* Bascule accueil / étape 1 (uniquement si JS actif) */
.hb-js:not(.hb-started) #etape-1 { display: none; }
.hb-started .hb-landing,
.hb-started .hb-intro { display: none !important; }
#etape-1 { scroll-margin-top: 120px; }

/* Étapes du formulaire : la section occupe au moins toute la fenêtre sous
   le header (--hb-header-h est mesuré par protocole-landing.js). */
#brxe-ypjxcd { min-height: calc(100svh - var(--hb-header-h, 108px)); }
.hb-js:not(.hb-started) main#brx-content:has(.hb-landing) > #brxe-ypjxcd { min-height: 0; }

/* Sur l'accueil : sections à leur hauteur naturelle (le CSS de la page
   les étire pour remplir l'écran), et pas d'encart « Besoin d'aide ? »,
   qui reste affiché pendant le formulaire. */
.hb-js:not(.hb-started) main#brx-content:has(#etape-1) > section { flex: none; }
.hb-js:not(.hb-started) #brxe-pxbrcv:has(#etape-1) > .brxe-pfsjuc { display: none; }

/* Réassurance sous l'introduction */
.hb-proof {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2xs) var(--space-m);
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
	color: var(--text-title);
}
.hb-proof li::before {
	content: "✔";
	margin-right: .4em;
	color: var(--tertiary);
}

/* FAQ : questions en cartes, pleine largeur du conteneur */
.hb-faq {
	display: grid;
	gap: var(--space-xs);
	width: 100%;
}
.hb-faq details {
	background: var(--tertiary-5); /* comme les cartes .aura-card */
	border-radius: var(--radius-m);
	padding: var(--space-s) var(--space-m);
}
.hb-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-s);
	font-weight: 700;
	font-size: var(--text-l);
	color: var(--text-title);
}
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 1.6em;
	height: 1.6em;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-size: 1em;
	line-height: 1;
	transition: transform .2s;
}
.hb-faq details[open] summary::after { transform: rotate(45deg); }
.hb-faq details p { margin: var(--space-xs) 0 0; }
