/* Positize Docs — rendu des pages Markdown.
   Portée limitée à .positize-doc pour ne pas percuter le thème / Elementor.
   Couleurs pilotables : surcharge --pz-brand dans les réglages Elementor ou le
   Customizer si besoin d'aligner finement sur la charte. */
.positize-doc {
	--pz-brand: #533afd;
	--pz-brand-soft: #eef0fe;
	--pz-brand-dark: #3f28e0;
	--pz-ink: #1e2033;
	--pz-muted: #6b7280;


	margin: 0 auto;
	color: var(--pz-ink);
	/* Hérite de la typo du thème/Elementor plutôt que d'imposer une police. */
	font-family: inherit;
}


.positize-doc .lead {
	font-size: 19px;
	color: var(--pz-ink);
	font-weight: 600;
}
.positize-doc .lead strong {
	font-weight: 600;
}
.positize-doc ul,
.positize-doc ol {
	margin: 0 0 16px;
	padding-left: 24px;
}
.positize-doc li {
	line-height: 1.7;
	font-size: 16px;
	color: #33384a;
	margin-bottom: 8px;
}
.positize-doc code {
	background: var(--pz-brand-soft);
	border-radius: 6px;
	padding: 1px 6px;
	font-size: 14px;
}
.positize-doc a {
	color: var(--pz-brand);
	text-decoration: none;
}
.positize-doc a:hover {
	text-decoration: underline;
}

/* Note "Ce module fonctionne avec ..." */
.positize-doc .works-with {
	font-size: 14px;
	color: var(--pz-muted);
	border-top: 1px solid #eef1f8;
	padding-top: 18px;
	margin-top: 30px;
}

/* Images */
.positize-doc .doc-figure {
	margin: 22px 0;
}
.positize-doc img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	display: block;
}

/* Boutons CTA */
.positize-doc .cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 22px 0;
}
.positize-doc .btn {
	display: inline-block;
	background: var(--pz-brand);
	color: #fff;
	padding: 11px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.positize-doc .btn:hover {
	background: var(--pz-brand-dark);
	text-decoration: none;
}
/* Second bouton d'une rangée = style secondaire (outline). */
.positize-doc .cta-row .btn:nth-child(2) {
	background: #fff;
	color: var(--pz-brand);
	border: 1.5px solid var(--pz-brand);
}
.positize-doc .cta-row .btn:nth-child(2):hover {
	background: var(--pz-brand-soft);
}

.positize-doc--missing {
	color: var(--pz-muted);
	font-style: italic;
}

/* ---------- Guides utilisateur ---------- */

.positize-guide h2 {
	border-top: 1px solid #eef1f8;
	padding-top: 26px;
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
}
.positize-guide h2:first-of-type {
	border-top: none;
	padding-top: 0;
}
.positize-guide hr {
	border: none;
	border-top: 1px solid #eef1f8;
	margin: 30px 0;
}
.positize-guide li > ul,
.positize-guide li > ol {
	margin: 8px 0 4px;
}
.positize-guide blockquote {
	margin: 16px 0;
	background: #f6f7fd;
	border-left: 4px solid #c7cbf5;
	background: #eef3fc;
	border-left-color: #5b8def;
	border-radius: 0 12px 12px 0;
	padding: 12px 18px;
	color: #40465a;
	font-size: 15px;
	line-height: 1.6;
}


.positize-guide blockquote.subtitle {
	background: transparent;
	border-left: none;
	font-size: 1.2rem;
	width: 60%;
	margin: 0 auto 80px auto;
	text-align: center;
	border-bottom: 1px solid #e4eaf1;
}

/* ---------- Index /documentation/ ---------- */
.positize-docs-index {
	--pz-brand: #533afd;
	--pz-brand-soft: #eef0fe;
	--pz-ink: #1e2033;
	--pz-muted: #6b7280;
	max-width: 1160px;
	margin: 0 auto;
	color: var(--pz-ink);
	font-family: inherit;
}
.positize-docs-index .page-head {
	text-align: center;
	margin-bottom: 20px;
}
.positize-docs-index .page-head h1 {
	font-size: 34px;
	margin: 0 0 10px;
}
.positize-docs-index .page-head p {
	color: var(--pz-muted);
	font-size: 17px;
	margin: 0;
}
.positize-docs-index .hero {
	max-width: 760px;
	margin: 0 auto 16px;
	background: var(--pz-brand);
	color: #fff;
	border-radius: 20px;
	padding: 26px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 18px 40px -20px rgba(83, 58, 253, .7);
	text-decoration: none;
}
.positize-docs-index .hero:last-of-type {
	margin-bottom: 46px;
}
.positize-docs-index .hero.hero-alt {
	background: #12143a;
}
.positize-docs-index .hero .ic {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .16);
	display: flex;
	align-items: center;
	justify-content: center;
}
.positize-docs-index .hero .ic svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.positize-docs-index .hero h2 {
	margin: 0 0 4px;
	font-size: 20px;
}
.positize-docs-index .hero p {
	margin: 0;
	font-size: 14px;
	opacity: .9;
}
.positize-docs-index .hero .go {
	margin-left: auto;
	flex: 0 0 auto;
	background: #fff;
	color: var(--pz-brand);
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 11px;
	font-size: 14px;
	white-space: nowrap;
}
.positize-docs-index .hero.hero-alt .go {
	color: #12143a;
}
@media (max-width: 600px) {
	.positize-docs-index .hero { flex-direction: column; text-align: center; }
	.positize-docs-index .hero .go { margin: 0; }
}
.positize-docs-index .group-title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--pz-muted);
	margin: 34px 0 16px;
}
.positize-docs-index .grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
@media (max-width: 1000px) {
	.positize-docs-index .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.positize-docs-index .grid { grid-template-columns: 1fr; }
}
.positize-docs-index .card {
	background: #fff;
	border-radius: 18px;
	padding: 15px;
	box-shadow: 0 10px 30px -18px rgba(40, 50, 90, .35);
	border: 1px solid #eef1f8;
	transition: transform .15s ease, box-shadow .15s ease;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--pz-ink);
}
.positize-docs-index .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -18px rgba(40, 50, 90, .45);
}
.positize-docs-index .card .ic {
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: var(--pz-brand-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pz-brand);
	margin-bottom: 14px;
}
.positize-docs-index .card .ic svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.positize-docs-index .card h3 {
	font-size: 17px;
	margin: 0 0 8px;
}
.positize-docs-index .card p {
	color: var(--pz-muted);
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0;
}
