/* =========================================================================
   FAQ d'accueil — thème enfant Divi (plandeaudevieure)
   Reprend le design de la section FAQ d'accueil (module DSM Advanced Tabs) :
   onglets sur desktop (≥ 981px) + accordéon sur mobile (≤ 980px).
   L'accordéon mobile réutilise les styles « pdvfaq- » de faq.css.
   Charte : vert #146A60 · vert clair #CBE8E2 · carte grise rgba(45,42,50,.05)
   ========================================================================= */

/* ---------- Onglets (desktop) ---------- */
.pdvfaqh-tabs {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}
.pdvfaqh-tablist {
	flex: 1 1 50%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Onglet = question cliquable */
.pdvfaqh-tab {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 20px 15px;
	border: 0;
	background: transparent;
	border-radius: 15px;
	color: #146A60;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	text-align: left;
	cursor: pointer;
	transition: background .25s ease;
}
.pdvfaqh-tab.is-active {
	background: #CBE8E2;
}
.pdvfaqh-tab:hover:not(.is-active) {
	background: rgba(203, 232, 226, .4);
}

/* Pastille ronde (verte pleine si actif, pâle sinon) */
.pdvfaqh-dot {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(20, 106, 96, .25);
	transition: background .25s ease;
}
.pdvfaqh-tab.is-active .pdvfaqh-dot {
	background: #146A60;
}

.pdvfaqh-tab-title {
	flex: 1 1 auto;
}

/* Chevron › à droite */
.pdvfaqh-tab-chevron {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-top: 2px solid #146A60;
	border-right: 2px solid #146A60;
	transform: rotate(45deg);
	opacity: .6;
}
.pdvfaqh-tab.is-active .pdvfaqh-tab-chevron {
	opacity: 1;
}

/* Panneaux (réponses) — encadré gris arrondi, un seul visible à la fois */
.pdvfaqh-panels {
	flex: 1 1 50%;
	min-width: 0;
}
.pdvfaqh-panel {
	background: rgba(45, 42, 50, .05);
	border-radius: 15px;
	padding: 50px 30px 50px 80px;
}
.pdvfaqh-panel[hidden] {
	display: none;
}
.pdvfaqh-panel-title {
	margin: 0 0 16px;
	color: #146A60;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}
.pdvfaqh-panel-content {
	color: #146A60;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}
.pdvfaqh-panel-content > *:first-child { margin-top: 0; }
.pdvfaqh-panel-content > *:last-child { margin-bottom: 0; }

/* ---------- Bascule responsive ---------- */
.pdvfaqh-accordion {
	display: none;
}

@media (max-width: 980px) {
	.pdvfaqh-tabs { display: none; }
	.pdvfaqh-accordion { display: block; }
}
