:root {
	--jc-cream: #fff6ed;
	--jc-ink: #1e1e1e;
	--jc-surface: #ffffff;
	--jc-border: #e5dbcb;
	--jc-muted: #8a8175;
	--jc-accent: #e2662f;
	--jc-accent-bg: #fdeee6;
	--jc-teal: #2f6e62;
	--jc-teal-bg: #e4f0ec;

	--jc-font-display: 'Fredoka', sans-serif;
	--jc-font-body: 'Work Sans', sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--jc-cream);
	color: var(--jc-ink);
	font-family: var(--jc-font-body);
	line-height: 1.55;
}

h1,
h2 {
	font-family: var(--jc-font-display);
	font-weight: 600;
	margin: 0 0 16px;
}

a {
	color: var(--jc-accent);
}

img {
	max-width: 100%;
	display: block;
}

/* --- Barre du haut --- */

.jc-topbar {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	padding: 16px 24px;
	background: var(--jc-surface);
	border-bottom: 1px solid var(--jc-border);
}

.jc-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--jc-ink);
	font-family: var(--jc-font-display);
	font-weight: 600;
	font-size: 20px;
	margin-right: auto;
}

.jc-brand img {
	width: 32px;
	height: 32px;
}

.jc-nav {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.jc-nav a {
	color: var(--jc-ink);
	text-decoration: none;
	font-size: 15px;
}

.jc-nav a:hover {
	color: var(--jc-accent);
}

.jc-topbar-cta {
	flex-shrink: 0;
}

/* --- Boutons --- */

.jc-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid var(--jc-border);
	background: var(--jc-surface);
	color: var(--jc-ink);
	text-decoration: none;
	font-family: var(--jc-font-body);
	font-weight: 500;
	font-size: 15px;
	cursor: pointer;
}

.jc-btn.jc-primary {
	background: var(--jc-accent);
	border-color: var(--jc-accent);
	color: #fff;
}

.jc-btn-lg {
	padding: 14px 26px;
	font-size: 16px;
}

/* --- Hero --- */

.jc-hero {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 24px 56px;
	text-align: center;
}

.jc-hero h1 {
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.15;
}

.jc-hero-sub {
	font-size: 18px;
	color: var(--jc-muted);
	margin: 0 0 28px;
}

.jc-hero-cta {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.jc-hero-note {
	font-size: 14px;
	color: var(--jc-muted);
	margin: 0;
}

/* --- Sections features --- */

.jc-feature {
	max-width: 1160px;
	margin: 0 auto;
	padding: 40px 24px;
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}

.jc-feature-reverse {
	flex-direction: row-reverse;
}

.jc-feature-text {
	flex: 1 1 380px;
	min-width: 280px;
}

.jc-feature-visual {
	flex: 1 1 460px;
	min-width: 280px;
}

.jc-feature-visual img {
	border-radius: 14px;
	border: 1px solid var(--jc-border);
	box-shadow: 0 8px 30px rgba(30, 26, 20, 0.12);
}

.jc-feature-visual-pair {
	display: flex;
	align-items: flex-end;
	gap: 16px;
}

.jc-shot-main {
	flex: 1 1 auto;
	min-width: 0;
}

.jc-shot-detail {
	flex: 0 0 130px;
	min-width: 0;
}

.jc-feature-kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--jc-teal);
	margin: 0 0 6px;
}

.jc-feature h2 {
	font-size: 28px;
}

.jc-feature-list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.jc-feature-list li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 10px;
	color: var(--jc-ink);
}

.jc-feature-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--jc-teal);
	font-weight: 600;
}

/* --- Notre histoire --- */

.jc-story {
	max-width: 720px;
	margin: 40px auto;
	padding: 40px 24px;
	background: var(--jc-surface);
	border-radius: 18px;
	border: 1px solid var(--jc-border);
}

.jc-story blockquote {
	margin: 20px 0;
	padding: 14px 20px;
	border-left: 4px solid var(--jc-accent);
	background: var(--jc-accent-bg);
	border-radius: 0 10px 10px 0;
	font-style: italic;
}

/* --- Accès --- */

.jc-access {
	max-width: 640px;
	margin: 0 auto;
	padding: 56px 24px 80px;
	text-align: center;
}

.jc-access .jc-btn {
	margin-top: 8px;
}

/* --- Pied de page --- */

.jc-footer {
	text-align: center;
	padding: 28px 24px;
	border-top: 1px solid var(--jc-border);
	color: var(--jc-muted);
	font-size: 14px;
}

.jc-footer p {
	margin: 4px 0;
}

.jc-footer a {
	color: var(--jc-muted);
}

@media (max-width: 700px) {
	/* En dessous de la largeur où .jc-feature tient sur une ligne, il
	   s'empile déjà via flex-wrap — mais row-reverse empilerait alors
	   l'image AVANT le texte pour la section "Illustrations", incohérent
	   avec la section précédente. On repasse en ordre normal (texte,
	   puis image) pour les deux. */
	.jc-feature-reverse {
		flex-direction: row;
	}

	/* Côte à côte, l'écran principal (paysage) et la carte memory
	   (portrait, plus haute que large) se disputent la même hauteur via
	   align-items:flex-end — sur un écran étroit ça écrase l'écran
	   principal à une taille illisible. On empile à la place. */
	.jc-feature-visual-pair {
		flex-direction: column;
		align-items: flex-start;
	}

	.jc-shot-detail {
		flex: 0 0 auto;
		width: 200px;
	}
}

@media (max-width: 640px) {
	.jc-topbar {
		justify-content: center;
		text-align: center;
	}

	.jc-brand {
		margin-right: 0;
	}
}
