/* ============================================================
   Guides — Listing V1 (Cards éditoriales)
   Tokens scopés à .guides-v1 pour ne pas polluer le reste du site.
   ============================================================ */

.guides-v1 {
	--pr-orange: #f37b33;
	--pr-orange-hover: #e26a22;
	--pr-orange-soft: #ffefe0;
	--pr-orange-ring: rgba(243, 123, 51, 0.35);
	--pr-indigo: #2a2266;
	--pr-cream: #fbf5ec;
	--pr-cream-border: #ece6da;
	--pr-fg-1: #1f1b33;
	--pr-fg-2: #3a3742;
	--pr-fg-3: #6b6772;
	--pr-shadow-sm: 0 1px 2px rgba(31, 27, 77, 0.06), 0 2px 4px rgba(31, 27, 77, 0.04);
	--pr-shadow-md: 0 4px 8px rgba(31, 27, 77, 0.06), 0 12px 24px rgba(31, 27, 77, 0.08);
	--pr-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
	--pr-font-display: "Fredoka", "Lexend", system-ui, sans-serif;
	--pr-font-body: "Inter", "Lexend", system-ui, sans-serif;

	background: var(--pr-cream);
	font-family: var(--pr-font-body);
	color: var(--pr-fg-2);
}

.guides-v1 * {
	box-sizing: border-box;
}

/* ----- Hero ----- */

.guides-v1__hero {
	padding: 80px 28px 32px 0px;
}
.guides-v1__hero-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 42px;
}
.guides-v1__breadcrumb {
	max-width: 1280px;
	margin: 0 auto 24px;
	margin-top: 14px;
	margin-left: 6px;
}
.guides-v1__breadcrumb-inner {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--pr-fg-3);
	flex-wrap: nowrap;
	white-space: nowrap;
	overflow: hidden;
}
.guides-v1__breadcrumb a {
	color: var(--pr-fg-3);
	text-decoration: none;
	transition: color 0.15s ease;
	flex: 0 0 auto;
	font-family: "Yantramanav", sans-serif;
}
.guides-v1__breadcrumb a:hover {
	color: var(--pr-orange);
}
.guides-v1__breadcrumb i {
	font-size: 9px;
	opacity: 0.6;
	flex: 0 0 auto;
}
.guides-v1__breadcrumb-current {
	color: var(--pr-fg-1);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	font-family:
		"Yantramanav",
		system-ui,
		-apple-system,
		"Segoe UI",
		sans-serif;
}
@media (max-width: 900px) {
	.guides-v1__breadcrumb-inner {
		font-size: 12px;
		gap: 6px;
	}
	.guides-v1__breadcrumb i {
		font-size: 8px;
	}
}
.guides-v1__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pr-orange);
}
.guides-v1__title {
	font-family: var(--pr-font-display);
	font-size: 52px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--pr-fg-1);
	margin: 10px 0 0;
	max-width: 820px;
}
.guides-v1__title .pr-accent {
	color: var(--pr-orange);
}
.guides-v1__subtitle {
	font-size: 17px;
	color: var(--pr-fg-2);
	max-width: 680px;
	margin: 18px 0 0;
	line-height: 1.55;
}
.guides-v1__stats {
	display: flex;
	gap: 24px;
	margin-top: 28px;
	font-size: 14px;
	color: var(--pr-fg-3);
	flex-wrap: wrap;
}
.guides-v1__stats strong {
	color: var(--pr-fg-1);
	font-family: var(--pr-font-display);
	font-size: 18px;
	font-weight: 600;
}

/* ----- Grid ----- */

.guides-v1__grid-section {
	padding: 32px 0px;
}
.guides-v1__grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	padding: 24px;
}

/* ----- Card ----- */

.guides-v1__card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--pr-cream-border);
	box-shadow: var(--pr-shadow-sm);
	display: flex;
	flex-direction: column;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	transition:
		box-shadow 220ms var(--pr-ease-out),
		transform 220ms var(--pr-ease-out);
}
.guides-v1__card:hover {
	box-shadow: var(--pr-shadow-md);
	transform: translateY(-2px);
	color: inherit;
	text-decoration: none;
}
.guides-v1__card-visual {
	position: relative;
	height: 180px;
	background: var(--pr-indigo);
	background-size: cover;
	background-position: center;
}
.guides-v1__card-count {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--pr-indigo);
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.guides-v1__card-count svg {
	width: 13px;
	height: 13px;
}
.guides-v1__card-icon {
	position: absolute;
	bottom: -22px;
	left: 20px;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--pr-orange);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(243, 123, 51, 0.4);
	color: #fff;
}
.guides-v1__card-icon svg {
	width: 22px;
	height: 22px;
}
.guides-v1__card-body {
	padding: 34px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.guides-v1__card-title {
	font-family: var(--pr-font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--pr-fg-1);
	margin: 0;
}
.guides-v1__card-summary {
	margin: 0;
	font-size: 14.5px;
	color: var(--pr-fg-2);
	line-height: 1.5;
	flex: 1;
}
.guides-v1__card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--pr-cream-border);
}
.guides-v1__card-time {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: var(--pr-fg-3);
	font-weight: 500;
}
.guides-v1__card-time svg {
	width: 14px;
	height: 14px;
}
.guides-v1__card-cta {
	color: var(--pr-orange);
	font-weight: 600;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.guides-v1__card-cta svg {
	width: 14px;
	height: 14px;
}

/* ----- CTA banner ----- */

.guides-v1__cta-section {
	padding: 0px;
	margin-top: 60px;
	padding-bottom: 60px;
}
.guides-v1__cta {
	max-width: 1280px;
	margin: 0 auto;
	background: var(--pr-indigo);
	color: #fff;
	border-radius: 20px;
	padding: 56px 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	position: relative;
	overflow: hidden;
	box-shadow: var(--pr-shadow-md);
}
.guides-v1__cta-ring,
.guides-v1__cta-ring--lg {
	position: absolute;
	right: -80px;
	top: -80px;
	width: 240px;
	height: 240px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	pointer-events: none;
}
.guides-v1__cta-ring--lg {
	right: -120px;
	top: -120px;
	width: 360px;
	height: 360px;
	border-color: rgba(255, 255, 255, 0.06);
}
.guides-v1__cta-content {
	position: relative;
	max-width: 620px;
}
.guides-v1__cta-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pr-orange);
}
.guides-v1__cta-title {
	font-family: var(--pr-font-display);
	font-weight: 600;
	color: #fff;
	font-size: 40px;
	margin: 12px 0 0;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.guides-v1__cta-title .pr-accent {
	color: var(--pr-orange);
}
.guides-v1__cta-text {
	margin: 14px 0 0;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.55;
}
.guides-v1__cta-actions {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
	flex-shrink: 0;
}
.guides-v1__cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pr-orange);
	color: #fff;
	padding: 18px 32px;
	font-family: var(--pr-font-body);
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: var(--pr-shadow-sm);
	text-decoration: none;
	transition:
		background-color 150ms var(--pr-ease-out),
		transform 150ms var(--pr-ease-out),
		box-shadow 150ms var(--pr-ease-out);
}
.guides-v1__cta-button:hover {
	background: var(--pr-orange-hover);
	transform: translateY(-1px);
	box-shadow: var(--pr-shadow-md);
	color: #fff;
	text-decoration: none;
}
.guides-v1__cta-button svg {
	width: 16px;
	height: 16px;
}
.guides-v1__cta-note {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

/* ----- Responsive ----- */

@media (max-width: 992px) {
	.guides-v1__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.guides-v1__hero {
		padding: 28px 18px 16px;
	}
	.guides-v1__title {
		font-size: 30px;
	}
	.guides-v1__subtitle {
		font-size: 15px;
	}
	.guides-v1__stats {
		gap: 14px;
		font-size: 12.5px;
	}
	.guides-v1__stats strong {
		font-size: 16px;
	}
	.guides-v1__grid-section {
		padding: 8px 18px 32px;
	}
	.guides-v1__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.guides-v1__cta-section {
		padding: 0 18px 40px;
	}
	.guides-v1__cta {
		padding: 32px 22px;
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}
	.guides-v1__cta-content {
		text-align: center;
	}
	.guides-v1__cta-title {
		font-size: 26px;
	}
	.guides-v1__cta-text {
		font-size: 15px;
	}
	.guides-v1__cta-actions {
		align-items: center;
	}
	.guides-v1__hero-inner {
		padding-left: 0;
	}
	.guides-v1__grid {
		padding: 0px;
	}

	body.homepage .guides-v1 {
		padding: 16px;
	}
}
