/* ==========================================================================
   « QUI SOMMES-NOUS ? » REFAIT (8 nov. 2026) - chargée par inc/peau-site.php sur cette page, après qsn-v3.css
   Vianney : « refaire entièrement le Qui sommes-nous », récit en photos, textes courts, voix « nous », Léa seule ;
   parties : l'histoire et la psychomotricité, l'atelier, la sélection. « Pas toujours des photos de toute la largeur :
   parfois de la largeur comme dans "Notre atelier" » → on alterne photo à côté du texte et grande photo en bande.
   Le contenu est le post 3362 (classes fl-qs-*) : textes et photos se changent au clic dans Personnaliser.
   L'ancienne version est gardée dans les révisions de la page et sur le serveur (~/flowly-backup-2026-11-08-qsn.html).
   Palette de Léa ; encre #2D2F52 pour le texte, les icônes et les traits fins.
   ========================================================================== */

html body.page-qsn .fl-qs { padding-block: clamp(36px, 5vw, 80px) !important; }
html body.page-qsn .fl-qs + .fl-qs { padding-top: 0 !important; }

/* ---------- Les titres ---------- */
html body.page-qsn .fl-qs-sur {
	display: inline-block;
	margin: 0 0 1rem !important;
	padding: .2rem .65rem;
	border-radius: 8px;
	background: linear-gradient(100deg, color-mix(in srgb, #7B8CF6 22%, #FFFFFF), color-mix(in srgb, #D7C5F3 58%, #FFFFFF));
	font-size: .8rem !important;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--v3-encre) !important;
}
html body.page-qsn .fl-qs-h1 {
	margin: 0 0 1.3rem !important;
	font-size: clamp(2.2rem, 4vw, 3.7rem) !important;
	line-height: 1.02 !important;
	font-weight: 500 !important;
	letter-spacing: -.05em !important;
	color: var(--v3-encre);
	text-wrap: balance;
}
html body.page-qsn .fl-qs-h2 {
	margin: 0 0 1.1rem !important;
	font-size: clamp(1.9rem, 3.1vw, 2.9rem) !important;
	line-height: 1.04 !important;
	font-weight: 500 !important;
	letter-spacing: -.045em !important;
	color: var(--v3-encre);
	text-wrap: balance;
}
html body.page-qsn .fl-qs :is(p, li) { font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.65; color: var(--v3-encre); }
html body.page-qsn .fl-qs .fl-qs-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important; line-height: 1.6; }
html body.page-qsn .fl-qs-texte > p:not(.fl-qs-sur) { max-width: 46ch; margin: 0 0 1rem !important; }

/* ---------- Photo à côté du texte (comme « Notre atelier » à l'accueil) ---------- */
html body.page-qsn .fl-qs-duo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 88px);
	align-items: center;
}
html body.page-qsn .fl-qs-duo--inverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
html body.page-qsn .fl-qs-photo {
	margin: 0 !important;
	aspect-ratio: 1;
	border-radius: 28px;
	overflow: hidden;
	background: color-mix(in srgb, #D7C5F3 35%, #FFFFFF);
	box-shadow: 0 30px 60px -36px rgba(45, 47, 82, .45);
}
html body.page-qsn .fl-qs-photo--paysage { aspect-ratio: 6 / 5; }
html body.page-qsn .fl-qs-photo--haut { aspect-ratio: 4 / 5; max-height: 640px; justify-self: center; width: 100%; max-width: 520px; }
html body.page-qsn .fl-qs :is(.fl-qs-photo, .fl-qs-large) img,
html body.page-qsn .fl-qs :is(.fl-qs-photo, .fl-qs-large) p { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; }
html body.page-qsn .fl-qs :is(.fl-qs-photo, .fl-qs-large) img { object-fit: cover; max-width: none !important; border-radius: 0 !important; }

/* ---------- Grande photo en bande, sur la largeur de la page ---------- */
html body.page-qsn .fl-qs-large {
	position: relative;
	margin: 0 !important;
	height: clamp(300px, 42vw, 560px);
	border-radius: 32px;
	overflow: hidden;
	background: color-mix(in srgb, #D7C5F3 35%, #FFFFFF);
}
html body.page-qsn .fl-qs-large img { object-position: 50% 30%; }
html body.page-qsn .fl-qs-large figcaption {
	position: absolute;
	left: 20px;
	bottom: 20px;
	padding: .45rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	font-size: .9rem;
	font-weight: 600;
	color: var(--v3-encre);
}

/* ---------- La psychomotricité : centré ---------- */
html body.page-qsn .fl-qs-centre { display: grid; justify-items: center; text-align: center; }
html body.page-qsn .fl-qs-centre .fl-qs-h2 { max-width: 22ch; }
html body.page-qsn .fl-qs-metier .fl-qs-lead { max-width: 46ch; margin: 1.2rem auto 0 !important; }
html body.page-qsn .fl-qs-metier :is(.fl-venn, svg) { max-width: min(460px, 100%); margin-inline: auto; }

/* ---------- Les repères de l'atelier ---------- */
html body.page-qsn .fl-qs-reperes { list-style: none; margin: 1.4rem 0 1.6rem !important; padding: 0; display: grid; gap: .8rem; }
html body.page-qsn .fl-qs-reperes li { display: flex; align-items: center; gap: .85rem; margin: 0; line-height: 1.3; }
html body.page-qsn .fl-qs-reperes li > span:last-child { display: grid; font-size: .92rem; color: var(--v3-encre-doux); }
html body.page-qsn .fl-qs-reperes b { font-size: 1rem; color: var(--v3-encre); font-weight: 600; }
html body.page-qsn .fl-qs-rond {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #FFFFFF;
	color: #7B8CF6;
	box-shadow: 0 6px 16px -10px rgba(45, 47, 82, .4);
}
html body.page-qsn .fl-qs-rond svg { width: 22px; height: 22px; }

/* ---------- Les critères : quatre cartes ---------- */
html body.page-qsn .fl-qs-cartes {
	list-style: none;
	margin: clamp(20px, 3vw, 36px) 0 0 !important;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
html body.page-qsn .fl-qs-carte {
	display: grid;
	align-content: start;
	gap: .55rem;
	margin: 0;
	padding: 24px 22px 26px;
	border-radius: 24px;
	background: rgba(255, 255, 255, .78);
	border: 1px solid #FFFFFF;
	box-shadow: 0 20px 44px -34px rgba(45, 47, 82, .45);
}
html body.page-qsn .fl-qs-carte .fl-qs-rond { background: color-mix(in srgb, #7B8CF6 12%, #FFFFFF); box-shadow: none; margin-bottom: .35rem; }
html body.page-qsn .fl-qs-carte b { font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--v3-encre); }
html body.page-qsn .fl-qs-carte > span:last-child { font-size: .95rem; line-height: 1.5; color: var(--v3-encre-doux); }

/* ---------- Les boutons ---------- */
html body.page-qsn .fl-qs-boutons { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 !important; }
html body.page-qsn .fl-qs-centre .fl-qs-boutons { justify-content: center; margin-top: .6rem !important; }
html body.page-qsn .fl-qs-btn {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 1.5rem;
	border-radius: 999px;
	background: var(--v3-peri-plein, #8E9CF7);
	color: var(--v3-encre) !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: transform .25s var(--v3-lent), box-shadow .25s;
}
html body.page-qsn .fl-qs-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(45, 47, 82, .55); }
html body.page-qsn .fl-qs-btn--doux { background: #FFFFFF; border: 1px solid var(--v3-trait-fin); }
html body.page-qsn .fl-qs-fin { padding-bottom: clamp(56px, 7vw, 110px) !important; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1000px) {
	html body.page-qsn .fl-qs-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	html body.page-qsn .fl-qs-duo, html body.page-qsn .fl-qs-duo--inverse { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	/* sur une colonne, le texte d'abord, puis la photo (même ordre pour toutes les parties) */
	html body.page-qsn .fl-qs-duo--inverse > .fl-qs-photo { order: 2; }
	html body.page-qsn .fl-qs-photo, html body.page-qsn .fl-qs-photo--paysage { aspect-ratio: 4 / 3.4; }
	html body.page-qsn .fl-qs-photo--haut { aspect-ratio: 4 / 4.4; max-width: none; }
	html body.page-qsn .fl-qs-large { height: clamp(260px, 70vw, 420px); border-radius: 24px; }
	html body.page-qsn .fl-qs-texte > p:not(.fl-qs-sur) { max-width: none; }
}
@media (max-width: 560px) {
	html body.page-qsn .fl-qs-cartes { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	html body.page-qsn .fl-qs-carte { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 18px; }
	html body.page-qsn .fl-qs-carte .fl-qs-rond { grid-row: span 2; margin: 0; }
	html body.page-qsn .fl-qs-btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   8 nov. 2026, 2e tour (Léa et Vianney) : fond dégradé BEIGE comme l'accueil, plus de grande bande photo,
   « Mon histoire » à la première personne avec un petit portrait rond de Léa, les six sens en illustration.
   ========================================================================== */
html body.page-qsn {
	background:
		radial-gradient(55% 22% at 0% 4%, color-mix(in srgb, #F7D1C0 70%, transparent), transparent 70%),
		radial-gradient(45% 20% at 100% 14%, color-mix(in srgb, #D9B7D1 45%, transparent), transparent 72%),
		radial-gradient(50% 20% at 100% 48%, color-mix(in srgb, #F7D1C0 60%, transparent), transparent 70%),
		radial-gradient(50% 20% at 0% 68%, color-mix(in srgb, #FFABB3 20%, transparent), transparent 70%),
		radial-gradient(60% 18% at 50% 96%, color-mix(in srgb, #D7C5F3 40%, transparent), transparent 72%),
		color-mix(in srgb, #F4EEEE 85%, #FFFFFF) !important;
}

/* Le petit portrait rond de Léa, à côté de « Mon histoire » */
html body.page-qsn .fl-qs-signature { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
html body.page-qsn .fl-qs-signature .fl-qs-sur { margin: 0 !important; }
html body.page-qsn .fl-qs-portrait {
	flex: 0 0 auto;
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #FFFFFF;
	box-shadow: 0 10px 22px -12px rgba(45, 47, 82, .5);
}
html body.page-qsn .fl-qs-portrait img, html body.page-qsn .fl-qs-portrait p { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; object-position: 50% 30%; }

/* Les six sens en illustration */
html body.page-qsn .fl-qs-sens {
	margin: 0 !important;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 26px);
	padding: clamp(22px, 3vw, 40px);
	border-radius: 28px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #FFFFFF;
	box-shadow: 0 30px 60px -40px rgba(45, 47, 82, .45);
}
html body.page-qsn .fl-qs-sens > span { display: grid; justify-items: center; gap: .55rem; text-align: center; font-size: .95rem; font-weight: 600; color: var(--v3-encre); }
html body.page-qsn .fl-qs-sens img { width: clamp(64px, 7vw, 104px) !important; height: auto !important; margin: 0 !important; border-radius: 50%; }
@media (max-width: 560px) {
	html body.page-qsn .fl-qs-sens { gap: 12px 8px; padding: 18px 12px; }
	html body.page-qsn .fl-qs-sens > span { font-size: .8rem; }
}

/* « Mon histoire » : la photo dans le cadre ondulé envoyé par Léa (8 nov. 2026, assets/cadre-ondule.png).
   Le cadre sert de MASQUE : sa forme est gardée, sa couleur est la pervenche de la palette (l'original était bleu vif). */
html body.page-qsn .fl-qs-histoire .fl-qs-photo { position: relative; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
/* La photo remplit la forme du cadre (assets/cadre-plein.png : le trait + l’intérieur) : plus de fond beige entre
   les deux ; le trait ondulé passe par-dessus. */
html body.page-qsn .fl-qs-histoire .fl-qs-photo img {
	position: absolute; inset: 0; width: 100% !important; height: 100% !important; border-radius: 0 !important;
	-webkit-mask: url("cadre-plein.png") center / 100% 100% no-repeat;
	mask: url("cadre-plein.png") center / 100% 100% no-repeat;
}
html body.page-qsn .fl-qs-histoire .fl-qs-photo { filter: drop-shadow(0 22px 26px rgba(45, 47, 82, .18)); }
html body.page-qsn .fl-qs-histoire .fl-qs-photo::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; background: #7B8CF6;
	-webkit-mask: url("cadre-ondule.png") center / 100% 100% no-repeat;
	mask: url("cadre-ondule.png") center / 100% 100% no-repeat;
}
@media (max-width: 860px) {
	html body.page-qsn .fl-qs-histoire .fl-qs-photo { aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
}

/* « Le sensoriel nous concerne tous » : les cinq dessins des sens de Léa (médias 4985-4989), éparpillés à droite et
   qui flottent doucement (8 nov. 2026). Chaque dessin se change au clic dans Personnaliser. */
html body.page-qsn .fl-qs-eparpille { position: relative; margin: 0 !important; top: 28px; /* 8 nov. : un peu plus bas (Léa) */ width: 100%; aspect-ratio: 1 / .82; }
html body.page-qsn .fl-qs-dessin { position: absolute; display: block; animation: qs-flotte 7s ease-in-out infinite; }
html body.page-qsn .fl-qs-dessin img, html body.page-qsn .fl-qs-dessin p { display: block; width: 100% !important; height: auto !important; margin: 0 !important; }
/* 8 nov. 2026 (Léa : « plus éparpillés, qu’ils ne forment pas un cercle », puis « un peu plus rapprochés ») : en zigzag, tailles variées. */
html body.page-qsn .fl-qs-dessin--main    { left: 9%;  top: 6%;  width: 23%; --r: -12deg; animation-delay: 0s; }
html body.page-qsn .fl-qs-dessin--oeil    { left: 50%; top: 0;   width: 30%; --r: 6deg;   animation-delay: -1.5s; }
html body.page-qsn .fl-qs-dessin--oreille { left: 33%; top: 36%; width: 20%; --r: 11deg;  animation-delay: -3s; }
html body.page-qsn .fl-qs-dessin--nez     { left: 68%; top: 46%; width: 18%; --r: -6deg;  animation-delay: -4.5s; }
html body.page-qsn .fl-qs-dessin--bouche  { left: 12%; top: 64%; width: 29%; --r: -10deg; animation-delay: -2.2s; }
@keyframes qs-flotte {
	0%, 100% { transform: translateY(0) rotate(var(--r)); }
	50%      { transform: translateY(-10px) rotate(calc(var(--r) + 2deg)); }
}
@media (prefers-reduced-motion: reduce) {
	html body.page-qsn .fl-qs-dessin { animation: none; transform: rotate(var(--r)); }
}
@media (max-width: 860px) {
	html body.page-qsn .fl-qs-eparpille { max-width: 460px; justify-self: center; }
}

/* Des mots mis en avant à l’effet surligneur pervenche (8 nov. 2026, Léa) : « Pas besoin d’un diagnostic… »,
   « ne sont pas des jouets ». Le trait couvre le bas des lettres, comme un vrai surligneur. */
html body.page-qsn .fl-qs-surligne {
	font-weight: 600;
	color: var(--v3-encre);
	padding: 0 .12em;
	margin: 0 -.06em;
	/* 8 nov. 2026 (Léa : « trop strict ») : plus transparent, et qui s'estompe aux deux bouts comme un vrai coup de surligneur */
	background:
		linear-gradient(90deg, rgba(244, 238, 238, .9), transparent 7%, transparent 93%, rgba(244, 238, 238, .9)),
		linear-gradient(transparent 46%, rgba(123, 140, 246, .26) 46%, rgba(123, 140, 246, .26) 90%, transparent 90%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	border-radius: 3px;
}

/* La mascotte en haut de la page (8 nov. 2026, Léa) : dans un rond, qui « respire » doucement (elle gonfle et flotte un
   peu, lentement), comme son visage endormi. Immobile avec « réduire les animations ». */
html body.page-qsn .fl-qs-mascotte {
	margin: 0 !important;
	justify-self: center;
	width: min(460px, 100%);
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 34px 70px -34px rgba(123, 140, 246, .6), 0 0 0 10px rgba(255, 255, 255, .55);
	animation: qs-respire 7s ease-in-out infinite;
}
html body.page-qsn .fl-qs-mascotte img, html body.page-qsn .fl-qs-mascotte p { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; border-radius: 0 !important; }
@keyframes qs-respire {
	0%, 100% { transform: translateY(0) scale(1); }
	50%      { transform: translateY(-8px) scale(1.035); }
}
@media (prefers-reduced-motion: reduce) { html body.page-qsn .fl-qs-mascotte { animation: none; } }
@media (max-width: 860px) { html body.page-qsn .fl-qs-mascotte { width: min(300px, 80%); } }

/* Les petits titres surlignés (« POUR TOUT LE MONDE »…) : plus transparents, moins stricts (8 nov. 2026, Léa). */
html body.page-qsn .fl-qs-sur {
	background: linear-gradient(100deg, rgba(123, 140, 246, .16), rgba(215, 197, 243, .34) 70%, rgba(215, 197, 243, .12)) !important;
}

/* « Notre atelier » : 4 photos rondes de nos objets, éparpillées dans la place libre, chacune dans un cadre festonné de
   Léa (assets/cadre-rond-*.png) choisi pour contraster avec elle ; la photo remplit la forme du cadre
   (cadre-rond-plein-*.png). Elles flottent doucement, comme les dessins des sens (8 nov. 2026). */
html body.page-qsn .fl-qs-ronds { position: relative; margin: 0 !important; width: 100%; aspect-ratio: 1 / 1.1; }
html body.page-qsn .fl-qs-rond-photo { position: absolute; display: block; aspect-ratio: 1; animation: qs-flotte 8s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(45, 47, 82, .16)); }
html body.page-qsn .fl-qs-rond-photo img, html body.page-qsn .fl-qs-rond-photo p {
	display: block; width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: cover; border-radius: 0 !important;
}
html body.page-qsn .fl-qs-rond-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: center / 100% 100% no-repeat; }
html body.page-qsn .fl-qs-rond-photo--pervenche img { -webkit-mask: url("cadre-rond-plein-pervenche.png") center / 100% 100% no-repeat; mask: url("cadre-rond-plein-pervenche.png") center / 100% 100% no-repeat; }
html body.page-qsn .fl-qs-rond-photo--peche img     { -webkit-mask: url("cadre-rond-plein-peche.png") center / 100% 100% no-repeat; mask: url("cadre-rond-plein-peche.png") center / 100% 100% no-repeat; }
html body.page-qsn .fl-qs-rond-photo--lavande img   { -webkit-mask: url("cadre-rond-plein-lavande.png") center / 100% 100% no-repeat; mask: url("cadre-rond-plein-lavande.png") center / 100% 100% no-repeat; }
html body.page-qsn .fl-qs-rond-photo--rose img      { -webkit-mask: url("cadre-rond-plein-rose.png") center / 100% 100% no-repeat; mask: url("cadre-rond-plein-rose.png") center / 100% 100% no-repeat; }
html body.page-qsn .fl-qs-rond-photo--pervenche::after { background-image: url("cadre-rond-pervenche.png"); }
html body.page-qsn .fl-qs-rond-photo--peche::after     { background-image: url("cadre-rond-peche.png"); }
html body.page-qsn .fl-qs-rond-photo--lavande::after   { background-image: url("cadre-rond-lavande.png"); }
html body.page-qsn .fl-qs-rond-photo--rose::after      { background-image: url("cadre-rond-rose.png"); }
html body.page-qsn .fl-qs-rp1 { left: 0;   top: 0;   width: 52%; --r: -4deg; animation-delay: 0s; }
html body.page-qsn .fl-qs-rp2 { left: 54%; top: 6%;  width: 44%; --r: 5deg;  animation-delay: -2s; }
html body.page-qsn .fl-qs-rp3 { left: 6%;  top: 50%; width: 42%; --r: 6deg;  animation-delay: -4s; }
html body.page-qsn .fl-qs-rp4 { left: 50%; top: 48%; width: 50%; --r: -5deg; animation-delay: -6s; }
@media (prefers-reduced-motion: reduce) { html body.page-qsn .fl-qs-rond-photo { animation: none; transform: rotate(var(--r)); } }
@media (max-width: 860px) { html body.page-qsn .fl-qs-ronds { max-width: 480px; justify-self: center; } }

/* 13 nov. 2026 (Vianney, téléphone seulement ; tout reste sur ordinateur) : la photo de Léa de dos à l'atelier (« Chaque
   objet répond à un besoin ») et le bloc final « Trouvez l'objet qui vous accompagnera au quotidien » et ses boutons. */
@media (max-width: 600px) {
	.fl-qs-selection .fl-qs-duo > figure.fl-qs-photo { display: none; }
	section.fl-qs-fin { display: none; }
}
