/*
 * AXEK Elements – FAQ (accordéon) — par 6LEX (https://6lex.co)
 * Fidèle à la maquette : en-tête (sur-titre + titre), puis colonne centrée
 * de cartes arrondies <details> (question + pastille +→×, réponse).
 */
.axek-faq, .axek-faq * { box-sizing: border-box; }

/* ---- en-tête ---- */
.axek-faq-head{ margin-bottom: 48px; }
.axek-faq-eyebrow{ display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: var(--ax-meta); letter-spacing: 0; text-transform: uppercase; color: var(--ax-terra); margin: 0 0 22px; line-height: 1.2;}
.axek-faq-eyebrow::before{
	content: ""; flex: none;
	width: var(--ax-sur-barre-w); height: var(--ax-sur-barre-h);
	border-radius: calc(var(--ax-sur-barre-w) / 2);
	background: currentColor;
	transform: rotate(var(--ax-sur-barre-a));
}
.axek-faq-title.axek-faq-title{ margin: 0; font-weight: 600; font-size: var(--ax-section); line-height: 1.12; letter-spacing: -.025em; color: var(--ax-encre); text-wrap: balance; }

/* ---- liste ---- */
.axek-faq-list{ max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

/* ---- carte (details) ---- */
.axek-faq-item{ border: 1px solid var(--ax-filet); border-radius: 18px; background: #fff; overflow: hidden;
	transition: border-color var(--axk-dur) var(--axk-ease), box-shadow var(--axk-dur) var(--axk-ease); }
.axek-faq-item:hover{ border-color: rgba(171,64,20,.28);
	/* Même principe que la coche du bloc service : la teinte est dérivée de
	   la couleur d'accent, la déclaration ci-dessus servant de repli. */
	border-color: color-mix(in srgb, var(--faq-accent, var(--ax-terra)) 28%, transparent); }
.axek-faq-item[open]{ box-shadow: 0 14px 34px -20px rgba(16,20,40,.24); }

.axek-faq-item summary{ list-style: none; cursor: pointer; padding: 22px 26px;
	font-weight: 500; font-size: var(--ax-chapo); line-height: 1.55; color: var(--ax-encre);
	display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.axek-faq-item summary::-webkit-details-marker{ display: none; }
.axek-faq-qt{ flex: 1 1 auto; }

/* pastille + → × */
.axek-faq-plus{ flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ax-terra-voile); color: var(--ax-terra);
	display: grid; place-items: center; font-size: var(--ax-carte); line-height: 1.25;
	transition: transform var(--axk-dur) var(--axk-ease), background var(--axk-dur) var(--axk-ease); }
.axek-faq-item[open] .axek-faq-plus{ transform: rotate(45deg); }

.axek-faq-rep{ padding: 0 26px 24px; color: var(--ax-encre); font-size: var(--ax-corps); line-height: 1.6; font-weight: 500;}

@media (max-width: 600px){
	.axek-faq-head{ margin-bottom: 32px; }
	.axek-faq-item summary{ padding: 18px 20px; font-size: var(--ax-corps); line-height: 1.6; font-weight: 500;}
	.axek-faq-rep{ padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce){
	.axek-faq-item, .axek-faq-plus{ transition: none; }
}
