/* Geanmi — site vitrine
   Couleurs du logo : corail #FF8A5B → rose #FF4D6D, prune #2B2250, jaune #FFD166 */

@font-face {
	font-family: "Fredoka";
	src: url("../fonts/fredoka.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--plum: #2b2250;
	--plum-soft: #3a2f68;
	--coral: #ff8a5b;
	--pink: #ff4d6d;
	--sun: #ffd166;
	--cream: #fff8f2;
	--card: #ffffff;
	--text: #2b2250;
	--muted: #5e5780;
	--line: #efe4dc;
	--grad: linear-gradient(135deg, var(--coral), var(--pink));
	--radius: 22px;
	--shadow: 0 10px 30px rgba(43, 34, 80, 0.08);
	--font-title: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--pink);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--plum);
}

:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 3px;
	border-radius: 6px;
}

h1,
h2,
h3 {
	font-family: var(--font-title);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
	letter-spacing: -0.01em;
}

h2 {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
	font-size: 1.3rem;
}

p {
	margin: 0 0 1em;
}

.wrap {
	width: min(1120px, 100% - 32px);
	margin-inline: auto;
}

.skip {
	position: absolute;
	left: -999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	z-index: 10;
	background: var(--plum);
	color: #fff;
	padding: 8px 14px;
	border-radius: 10px;
}

/* ------------------------------------------------------------ en-tête */
.site-header {
	position: sticky;
	top: 0;
	z-index: 5;
	background: rgba(255, 248, 242, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.brand img {
	height: 40px;
	width: auto;
}

.nav {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-title);
	font-weight: 500;
}

.nav a {
	color: var(--text);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 999px;
}

.nav a:hover {
	background: #fff;
}

.nav .lang {
	border: 2px solid var(--plum);
	padding: 4px 12px;
	margin-left: 6px;
	font-weight: 600;
}

.nav .lang:hover {
	background: var(--plum);
	color: #fff;
}

/* ------------------------------------------------------------ boutons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 1.1rem;
	text-decoration: none;
	padding: 14px 26px;
	border-radius: 999px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 8px 22px rgba(255, 77, 109, 0.35);
}

.btn-primary:hover {
	color: #fff;
	box-shadow: 0 12px 28px rgba(255, 77, 109, 0.45);
}

.btn-ghost {
	color: var(--plum);
	border: 2px solid var(--plum);
}

.btn-ghost:hover {
	background: var(--plum);
	color: #fff;
}

.btn-light {
	background: #fff;
	color: var(--plum);
}

.btn-light:hover {
	color: var(--pink);
}

/* ------------------------------------------------------------ hero */
.hero {
	padding: 72px 0 96px;
	overflow: hidden;
}

.hero .wrap {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	align-items: center;
	gap: 48px;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-title);
	font-weight: 600;
	color: var(--pink);
	background: #ffe7ea;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.hero h1 .accent {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero .lead {
	font-size: 1.2rem;
	color: var(--muted);
	max-width: 34ch;
	margin-bottom: 28px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-art {
	position: relative;
	display: grid;
	place-items: center;
}

.hero-art::before {
	content: "";
	position: absolute;
	width: 92%;
	aspect-ratio: 1;
	border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
	background: radial-gradient(circle at 30% 30%, #ffe0d1, #ffd3dc 60%, #f6e3ff);
}

.hero-art img {
	position: relative;
	width: min(420px, 90%);
	animation: bounce 3.2s ease-in-out infinite;
}

.spark {
	position: absolute;
	border-radius: 50%;
	background: var(--sun);
}

.spark.s1 {
	width: 22px;
	height: 22px;
	top: 8%;
	right: 12%;
}

.spark.s2 {
	width: 14px;
	height: 14px;
	bottom: 14%;
	left: 6%;
	background: var(--coral);
}

.spark.s3 {
	width: 10px;
	height: 10px;
	top: 22%;
	left: 14%;
	background: var(--pink);
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(0) rotate(-2deg);
	}
	50% {
		transform: translateY(-16px) rotate(2deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.hero-art img {
		animation: none;
	}
	.btn {
		transition: none;
	}
}

/* ------------------------------------------------------------ sections */
.section {
	padding: 88px 0;
}

.section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}

.section-head p {
	color: var(--muted);
	font-size: 1.15rem;
}

/* jeux à venir */
.coming {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 40px;
	background: var(--card);
	border-radius: 32px;
	padding: 40px;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}

.coming-art {
	width: 200px;
	aspect-ratio: 1;
	border-radius: 28px;
	background: var(--plum);
	display: grid;
	place-items: center;
	position: relative;
}

.coming-art img {
	width: 78%;
}

.coming-art .badge {
	position: absolute;
	top: -12px;
	right: -12px;
	background: var(--sun);
	color: var(--plum);
	font-family: var(--font-title);
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	transform: rotate(8deg);
}

.coming h3 {
	font-size: 1.8rem;
}

.coming p {
	color: var(--muted);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.tags li {
	background: var(--cream);
	border: 1px solid var(--line);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.95rem;
}

/* valeurs */
.values {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.value {
	background: var(--card);
	border-radius: var(--radius);
	padding: 32px 28px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.value .icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	font-size: 1.7rem;
	margin-bottom: 18px;
	background: #ffe7ea;
}

.value:nth-child(2) .icon {
	background: #fff1cc;
}

.value:nth-child(3) .icon {
	background: #ece6ff;
}

.value p {
	color: var(--muted);
	margin: 0;
}

/* bandeau contact */
.contact {
	background: var(--plum);
	color: #fff;
	border-radius: 36px;
	padding: 64px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.contact::after {
	content: "";
	position: absolute;
	width: 340px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--grad);
	opacity: 0.18;
	right: -120px;
	bottom: -160px;
}

.contact h2 {
	color: #fff;
}

.contact p {
	color: #d9d3f2;
	max-width: 46ch;
	margin: 0 auto 28px;
	font-size: 1.15rem;
}

.contact .btn {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------ pages de texte (légal) */
.page {
	padding: 64px 0 96px;
}

.prose {
	max-width: 760px;
	margin-inline: auto;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: clamp(28px, 5vw, 56px);
	box-shadow: var(--shadow);
}

.prose h1 {
	font-size: clamp(2rem, 5vw, 2.8rem);
}

.prose h2 {
	font-size: 1.45rem;
	margin-top: 1.8em;
}

.prose .updated {
	color: var(--muted);
	font-size: 0.95rem;
}

.prose ul {
	padding-left: 1.2em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.2em;
	font-size: 0.97rem;
}

.prose th,
.prose td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.prose th {
	font-family: var(--font-title);
	font-weight: 600;
	width: 38%;
}

.table-scroll {
	overflow-x: auto;
}

/* ------------------------------------------------------------ pied de page */
.site-footer {
	background: var(--plum);
	color: #d9d3f2;
	padding: 48px 0 40px;
	margin-top: 40px;
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-footer img {
	height: 36px;
	width: auto;
}

.site-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--sun);
}

.site-footer small {
	display: block;
	width: 100%;
	font-size: 0.9rem;
	opacity: 0.8;
}

.home .site-footer {
	margin-top: 0;
}

/* ------------------------------------------------------------ 404 */
.notfound {
	text-align: center;
	padding: 96px 0;
}

.notfound img {
	width: 180px;
	margin: 0 auto 24px;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 860px) {
	.hero {
		padding: 40px 0 64px;
	}
	.hero .wrap {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 32px;
	}
	.hero .lead {
		margin-inline: auto;
	}
	.actions {
		justify-content: center;
	}
	.hero-art {
		order: -1;
	}
	.hero-art img {
		width: min(260px, 70%);
	}
	.values {
		grid-template-columns: 1fr;
	}
	.coming {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 32px 24px;
	}
	.coming-art {
		margin: 0 auto;
		width: 160px;
	}
	.tags {
		justify-content: center;
	}
	.section {
		padding: 64px 0;
	}
}

@media (max-width: 560px) {
	.nav .hide-sm {
		display: none;
	}
	.brand img {
		height: 32px;
	}
	.contact {
		padding: 48px 22px;
		border-radius: 28px;
	}
}
