/* ============================================================
   Floko Cercle Élégant — cercle-elegant.css v2.0
   Rendu aligné sur la maquette Floko (mesures au pixel).
============================================================ */

.fce-section {
	--fce-blue:         #3E73D6;
	--fce-blue-soft:    #6397E7;
	--fce-blue-deep:    #2E5AB0;
	--fce-navy:         #1C3A6B;
	--fce-sky:          #EEF4FB;
	--fce-line:         #E4EAF3;
	--fce-ink:          #2B3444;
	--fce-grey:         #69738C;

	--fce-ring:         #E0EAF7;
	--fce-node-bg:      #ffffff;
	--fce-node-border:  #E5EEF7;
	--fce-node-num:     #1C3A6B;

	--fce-panel-bg:     #E9F1FA;
	--fce-panel-border: #CCDEF6;
	--fce-panel-radius: 14px;

	--fce-taille:       300px;
	--fce-dur:          .32s;

	font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
	padding: 100px 0;
	background: #fff;
}

.fce-container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 28px;
}

/* ── En-tête ─────────────────────────────────────────────── */
.fce-header {
	text-align: center;
	margin-bottom: 48px;
}

.fce-eyebrow {
	color: var(--fce-blue);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.fce-titre {
	font-size: 40px;
	font-weight: 800;
	color: var(--fce-navy);
	letter-spacing: -.02em;
	line-height: 1.18;
	margin: 0 0 18px;
}

.fce-intro {
	max-width: 680px;
	margin: 0 auto;
	color: var(--fce-grey);
	font-size: 17px;
	line-height: 1.75;
}

/* ── Corps : cercle + panneau ────────────────────────────── */
.fce-corps {
	display: grid;
	grid-template-columns: var(--fce-taille) minmax(0, 1fr);
	gap: 44px;
	align-items: center;
}

/* ── Cercle ──────────────────────────────────────────────── */
.fce-disque {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

.fce-svg {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

.fce-ring { stroke: var(--fce-ring); }

/* Nœuds */
.fce-node { cursor: pointer; }

.fce-node-bg {
	fill: var(--fce-node-bg);
	stroke: var(--fce-node-border);
	stroke-width: 1.5;
	transition: fill var(--fce-dur) ease, stroke var(--fce-dur) ease;
}

.fce-node-num {
	fill: var(--fce-node-num);
	font-family: inherit;
	font-size: 19px;
	font-weight: 800;
	pointer-events: none;
	transition: fill var(--fce-dur) ease;
}

.fce-node:hover .fce-node-bg { stroke: var(--fce-blue-soft); }

.fce-node.on .fce-node-bg {
	fill: var(--fce-blue);
	stroke: var(--fce-blue);
}

.fce-node.on .fce-node-num { fill: #fff; }

.fce-node:focus { outline: none; }

.fce-node:focus-visible .fce-node-bg {
	stroke: var(--fce-blue);
	stroke-width: 3;
}

/* Libellés optionnels sous le cercle */
.fce-labels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	width: 100%;
}

.fce-label-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--fce-sky);
	border: 1.5px solid var(--fce-line);
	border-radius: 10px;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	color: var(--fce-navy);
	text-align: left;
	line-height: 1.35;
	cursor: pointer;
	transition: background var(--fce-dur), border-color var(--fce-dur), color var(--fce-dur);
}

.fce-label-btn:hover {
	border-color: var(--fce-blue-soft);
}

.fce-label-btn.on {
	background: var(--fce-blue);
	border-color: var(--fce-blue);
	color: #fff;
}

.fce-label-icn { font-size: 16px; flex-shrink: 0; }

/* ── Panneaux ────────────────────────────────────────────── */
.fce-panneaux { position: relative; }

.fce-panneau {
	display: flex;
	gap: 28px;
	background: var(--fce-panel-bg);
	border: 1px solid var(--fce-panel-border);
	border-radius: var(--fce-panel-radius);
	padding: 33px 44px 35px;
}

.fce-panneau[hidden] { display: none; }
.fce-panneau:focus { outline: none; }

.fce-panneau.fce-in { animation: fce-in var(--fce-dur) cubic-bezier(.4, 0, .2, 1) both; }

@keyframes fce-in {
	from { opacity: 0; transform: translateX(14px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.fce-panneau.fce-in { animation: none; }
}

/* Grand numéro */
.fce-p-num {
	flex: 0 0 66px;
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--fce-blue);
	opacity: .9;
	user-select: none;
	margin-top: -4px;
}

.fce-p-corps { flex: 1 1 auto; min-width: 0; }

/* Tête : icône + titre */
.fce-p-head {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-bottom: 9px;
}

.fce-p-icn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 25px;
	height: 25px;
	color: var(--fce-navy);
}

.fce-p-icn svg { width: 25px; height: 25px; }

.fce-p-titre {
	font-size: 21px;
	font-weight: 800;
	color: var(--fce-blue-deep);
	line-height: 1.25;
	margin: 0;
}

/* Accroche */
.fce-p-sous {
	color: var(--fce-blue);
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1.5;
	margin: 0 0 17px;
}

/* Texte */
.fce-p-texte {
	color: var(--fce-ink);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 20px;
}

/* Points clés */
.fce-p-points {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fce-p-points li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--fce-ink);
}

.fce-p-check {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--fce-blue);
}

.fce-p-check svg { width: 20px; height: 20px; display: block; }

/* Bouton */
.fce-p-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--fce-blue);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	padding: 16px 27px;
	border-radius: 9px;
	text-decoration: none;
	transition: background var(--fce-dur), transform var(--fce-dur);
}

.fce-p-btn:hover,
.fce-p-btn:focus {
	background: var(--fce-blue-deep);
	color: #fff;
	transform: translateY(-1px);
}

/* Points de progression (optionnels) */
.fce-p-prog {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-top: 24px;
}

.fce-prog-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--fce-panel-border);
	cursor: pointer;
	transition: background var(--fce-dur), width var(--fce-dur);
}

.fce-prog-dot.on {
	background: var(--fce-blue);
	width: 22px;
	border-radius: 4px;
}

/* ── Astuce ──────────────────────────────────────────────── */
.fce-hint {
	text-align: center;
	margin: 32px 0 0;
	color: var(--fce-grey);
	font-size: 13.5px;
	line-height: 1.6;
	opacity: .8;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
	.fce-corps {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		justify-items: center;
	}
	.fce-disque { width: 100%; max-width: var(--fce-taille); }
	.fce-panneaux { width: 100%; }
}

@media (max-width: 760px) {
	.fce-section { padding: 70px 0; }
	.fce-titre   { font-size: 28px; }
	.fce-panneau {
		flex-direction: column;
		gap: 6px;
		padding: 26px 24px 30px;
	}
	.fce-p-num   { font-size: 52px; flex: 0 0 auto; }
	.fce-p-titre { font-size: 18px; }
	.fce-labels  { grid-template-columns: 1fr; }
}
