/* ComptesPro — home (design-reference/home-desktop.html, home-mobile.html), adapted to two pillars. */

.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: var(--cp-h1); max-width: 20ch; }
.hero-lead { font-size: 19px; color: var(--cp-muted); max-width: 54ch; line-height: 1.5; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.hero-trust { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--cp-muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--cp-petrol); }
.hero-trust a { color: inherit; }

.orientation { padding: 26px; box-shadow: var(--cp-shadow-hero); }
.orientation-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.orientation-head h2 { font-size: 18px; font-weight: 700; }
.orientation ul { display: flex; flex-direction: column; gap: 10px; }
.orientation-item {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 56px;
	border: 1px solid var(--cp-border); border-radius: var(--cp-radius-md); text-decoration: none; color: var(--cp-ink); background: #fff;
}
.orientation-item:hover { border-color: var(--cp-petrol); color: var(--cp-ink); }
.orientation-item > svg { color: var(--cp-petrol); }
.orientation-text { flex: 1 1 auto; min-width: 0; }
.orientation-text strong { display: block; font-weight: 600; font-size: 15px; }
.orientation-text span { display: block; font-size: 13px; color: var(--cp-muted); }
.orientation-note { font-size: 12px; color: var(--cp-muted); margin-top: 14px; }

/* Needs */
.need-card {
	display: flex; flex-direction: column; gap: 14px; padding: 24px; text-decoration: none; color: var(--cp-ink); height: 100%;
}
.need-card:hover { border-color: var(--cp-petrol); color: var(--cp-ink); }
.need-icon { width: 44px; height: 44px; border-radius: var(--cp-radius-md); background: var(--cp-petrol); color: #fff; display: grid; place-items: center; }
.need-title { font-family: var(--cp-font-display); font-weight: 700; font-size: 18px; color: var(--cp-petrol); }
.need-text { font-size: 14px; color: var(--cp-muted); }
.need-card .link { font-size: 14px; margin-top: auto; }

/* Guides */
.guides-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.guide-lead { display: flex; flex-direction: column; overflow: hidden; }
.guide-lead-body { background: var(--cp-petrol); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; }
.guide-lead h3 { font-size: 30px; font-weight: 800; color: #fff; max-width: 24ch; }
.guide-lead h3 a { color: inherit; text-decoration: none; }
.guide-lead h3 a:hover { text-decoration: underline; }
.guide-lead-body p { font-size: 16px; color: var(--cp-footer-text); max-width: 50ch; }
.guide-lead-foot { padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.guide-lead-foot a:not(.btn) { font-weight: 600; text-decoration: none; }
.guide-list { display: flex; flex-direction: column; gap: 12px; }
.guide-item { display: flex; gap: 16px; padding: 18px 20px; text-decoration: none; color: var(--cp-ink); align-items: flex-start; }
.guide-item:hover { border-color: var(--cp-petrol); color: var(--cp-ink); }
.guide-num { font-family: var(--cp-font-display); font-weight: 800; font-size: 22px; color: var(--cp-pink); line-height: 1; flex: none; width: 28px; }
.guide-item-text { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.guide-item-title { font-weight: 700; font-size: 16px; color: var(--cp-petrol); }
.guide-item-excerpt { font-size: 13px; color: var(--cp-muted); }

.trust-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.trust-card h3 { font-size: 18px; }
.trust-card p { font-size: 14px; color: var(--cp-muted); }
.trust-card .link { font-size: 14px; margin-top: auto; }

@media (max-width: 1000px) {
	.hero-grid, .guides-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.hero { padding: 32px 0 28px; }
	.hero-text { gap: 16px; }
	.hero-lead { font-size: 17px; }
	.hero-actions .btn { width: 100%; }
	.orientation { padding: 18px; box-shadow: none; }
	.need-card { padding: 16px; }
	.guide-lead-body { padding: 24px 20px; }
	.guide-lead h3 { font-size: 22px; }
	.guide-lead-foot { padding: 14px 20px; }
	.guide-item { padding: 14px 16px; }
}
@media (max-width: 640px) {
	.needs { grid-template-columns: 1fr 1fr; }
	.need-card { min-height: 130px; gap: 10px; }
	.need-title { font-size: 15px; }
	.need-text, .need-card .link { display: none; }
}
