/*
 * FasoTouma, feuille de style du thème enfant, version 0.5.0.
 * Bloc 2.1 : variables de la charte, en tête, bandes tricolores, pied de
 * page, cartes, boutons, pastilles, fil d'Ariane, champs et menu des métiers,
 * styles mobiles.
 * Bloc 2.2 : fiche prestataire, section 12.
 * Bloc 2.3 : page produit, fin de la section 12.
 * Bloc 2.4 : profil de chercheur d'emploi, fin de la section 12.
 *
 * Valeurs reprises des maquettes version 7 et de la charte arrêtée
 * (fiche technique, A3, point 41) : fond bleu roi #3558D0, #2A47B3 sous la
 * recherche de l'accueil ; textes blancs, textes secondaires #E4EAFB, liens
 * jaune clair #FFE066 sur le bleu ; cartes blanches à texte #1E1A16 ;
 * rouge #C8102E et vert #007A3D pour les boutons à texte blanc ; rouge
 * #EF2B2D, vert #009E49 et jaune #FCD116 pour le logo et les accents, jamais
 * de jaune pour du texte ; bordures fixes blanches sur les encadrés noirs,
 * gris souris #9E9E9E sur les encadrés clairs.
 *
 * Mobile d'abord : les règles de base visent le téléphone, les règles pour
 * écran large arrivent à la fin. Toutes les animations s'arrêtent quand le
 * téléphone demande de réduire les animations.
 */

/* Polices hébergées sur le site (licence SIL Open Font License 1.1). */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
}

/* 1. Variables de la charte */
:root {
	/* Fonds bleu roi */
	--ft-roi: #3558D0;
	--ft-roi-fonce: #2A47B3;

	/* Textes */
	--ft-blanc: #FFFFFF;
	--ft-sur-bleu: #E4EAFB;
	--ft-lien-bleu: #FFE066;
	--ft-encre: #1E1A16;
	--ft-doux: #5F574D;
	--ft-libelle: #3D362F;
	--ft-doux-sombre: #D8D1C4;

	/* Couleurs du drapeau */
	--ft-rouge: #C8102E;
	--ft-rouge-logo: #EF2B2D;
	--ft-vert: #007A3D;
	--ft-vert-logo: #009E49;
	--ft-jaune: #FCD116;
	--ft-jaune-trait: #B88A00;

	/* Encadrés */
	--ft-gris: #9E9E9E;
	--ft-rose: #FBE9EA;
	--ft-note: #FFF7D6;
	--ft-photo: #EAE2D4;
	--ft-vert-pale: #E3F3EA;
	--ft-vert-texte: #00592C;
	--ft-gris-pale: #ECEAE6;
	--ft-ko: #8E0B20;

	/* Polices */
	--ft-police-titre: "Fraunces", Georgia, "Times New Roman", serif;
	--ft-police-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Arrondis */
	--ft-arrondi-petit: 9px;
	--ft-arrondi: 12px;
	--ft-arrondi-grand: 14px;
	--ft-arrondi-pilule: 999px;

	/* Espacements */
	--ft-marge: 16px;
	--ft-espace-1: 4px;
	--ft-espace-2: 8px;
	--ft-espace-3: 10px;
	--ft-espace-4: 14px;
	--ft-espace-5: 18px;

	/* Hauteurs : 44 pixels au moins pour tout ce qui se touche du doigt */
	--ft-cible: 44px;
	--ft-hauteur-champ: 46px;
	--ft-hauteur-bouton: 50px;
	--ft-hauteur-bouton-petit: 44px;

	/* Bordures */
	--ft-bordure: 2px;

	/* Largeur maximale du contenu sur grand écran */
	--ft-largeur: 1100px;
}

/* 2. Base */
/* Fond blanc de la fenêtre : sous le pied de page blanc d'une page courte,
   le fond bleu du corps de page n'apparaît plus (version 0.7.1). */
html {
	background-color: var(--ft-blanc);

	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	background-color: var(--ft-roi);
	color: var(--ft-blanc);
	font-family: var(--ft-police-texte);
	font-size: 16px;
	line-height: 1.5;
	overflow-wrap: break-word;
}

h1, h2, h3,
.ft-titre {
	font-family: var(--ft-police-titre);
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }

/* Liens posés sur le bleu : jaune clair */
a,
a:visited,
a:hover,
a:focus {
	color: var(--ft-lien-bleu);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--ft-jaune);
	outline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
}

/* Contenu de GeneratePress : cartes blanches sur le bleu */
.site,
.site-content,
.separate-containers .site-main {
	background-color: transparent;
}

.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .container,
.separate-containers .paging-navigation {
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
}

.separate-containers .inside-article a,
.separate-containers .page-header a,
.separate-containers .comments-area a,
.separate-containers .paging-navigation a {
	color: var(--ft-rouge);
}

.entry-title,
.page-title,
.inside-article h1,
.inside-article h2,
.inside-article h3 {
	color: var(--ft-encre);
}

/* Sur téléphone, les blocs de contenu gardent une marge de chaque côté */
@media (max-width: 768px) {
	/* GeneratePress annule cette marge par l'identifiant #main : on le cible aussi */
	.separate-containers #main.site-main {
		margin: var(--ft-espace-5) var(--ft-marge);
	}

	.separate-containers .inside-article,
	.separate-containers .page-header,
	.separate-containers .comments-area,
	.separate-containers .paging-navigation {
		padding: var(--ft-espace-5) var(--ft-marge);
	}
}

/* 3. En tête */
.ft-en-tete {
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
}

.ft-en-tete__dedans {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ft-espace-3);
	max-width: var(--ft-largeur);
	margin: 0 auto;
	padding: var(--ft-espace-4) var(--ft-marge);
}

.ft-logo,
.ft-logo:visited,
.ft-logo:hover,
.ft-logo:focus {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	text-decoration: none;
	color: var(--ft-encre);
}

.ft-logo__nom {
	align-self: flex-start;
	font-family: var(--ft-police-titre);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.ft-logo__faso {
	color: var(--ft-rouge-logo);
}

.ft-logo__touma {
	color: var(--ft-vert-logo);
}

/* Petite étoile jaune posée sur le « o » de Faso, qui scintille */
.ft-logo__lettre {
	position: relative;
	display: inline-block;
}

.ft-logo__etoile {
	position: absolute;
	left: 50%;
	top: -9px;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	fill: var(--ft-jaune);
	stroke: var(--ft-jaune-trait);
	stroke-width: 0.8;
	transform-origin: 50% 50%;
	animation: ft-scintille 5s ease-in-out infinite;
}

.ft-logo__slogan {
	font-size: 10.5px;
	letter-spacing: 0.02em;
	color: var(--ft-doux);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ft-en-tete__compte,
.ft-en-tete__compte:visited,
.ft-en-tete__compte:hover,
.ft-en-tete__compte:focus {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	padding: 0 14px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.ft-en-tete__compte:hover,
.ft-en-tete__compte:focus {
	border-color: var(--ft-encre);
}

/* 4. Bandes tricolores qui défilent */
.ft-bande {
	height: 3px;
	background: linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D);
	background-size: 200% 100%;
	animation: ft-defile 6s linear infinite;
}

/* 4 bis. Bloc 2.16 : bandeau vert « Installez FasoTouma » (cahier,
   section 8, point 8) : une vague vert clair ondule à sa base, un reflet
   lumineux le traverse, l'icône F garde une lueur jaune. Caché par défaut,
   montré par assets/js/application.js. */
.ft-installer[hidden],
.ft-installer-iphone[hidden] {
	display: none !important;
}

.ft-installer__dedans {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: var(--ft-largeur);
	margin: 0 auto;
	padding: 10px 12px 14px;
	overflow: hidden;
	background: linear-gradient(135deg, #00863F 0%, var(--ft-vert) 55%, #006633 100%);
	color: var(--ft-blanc);
}

.ft-installer {
	background: var(--ft-vert);
}

/* Vague vert clair à la base */
.ft-installer__dedans::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 8px;
	background: radial-gradient(14px 8px at 14px 8px, rgba(126, 217, 160, 0.55) 98%, transparent 100%) 0 0 / 28px 8px repeat-x;
	animation: ft-installer-vague 3.5s linear infinite;
	pointer-events: none;
}

/* Reflet lumineux qui traverse le bandeau */
.ft-installer__dedans::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
	transform: skewX(-18deg);
	animation: ft-installer-reflet 5s ease-in-out infinite;
	pointer-events: none;
}

.ft-installer__icone {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	animation: ft-installer-lueur 2.2s ease-in-out infinite alternate;
}

.ft-installer__texte {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	color: #EAF7EF;
}

.ft-installer__texte strong {
	font-size: 14.5px;
	color: var(--ft-blanc);
}

.ft-installer__bouton {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	padding: 8px 12px;
	border: 0;
	border-radius: var(--ft-arrondi);
	background: var(--ft-blanc);
	color: var(--ft-vert);
	font: 700 13.5px/1.2 var(--ft-police-texte);
	white-space: nowrap;
	cursor: pointer;
}

.ft-installer__fermer {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 28px;
	height: 32px;
	margin-right: -4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ft-blanc);
	font: 400 24px/1 var(--ft-police-texte);
	cursor: pointer;
}

@keyframes ft-installer-vague {
	from { background-position: 0 0; }
	to { background-position: 28px 0; }
}

@keyframes ft-installer-reflet {
	0% { left: -60%; }
	45%, 100% { left: 130%; }
}

@keyframes ft-installer-lueur {
	from { box-shadow: 0 0 0 rgba(252, 209, 22, 0); }
	to { box-shadow: 0 0 12px 2px rgba(252, 209, 22, 0.7); }
}

/* Explication pour l'iPhone, en fenêtre par-dessus la page */
.ft-installer-iphone {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 12px;
	background: rgba(30, 26, 22, 0.55);
}

.ft-installer-iphone__carte {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	padding: 20px 18px 18px;
	border: 3px solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
	background: var(--ft-blanc);
	color: var(--ft-encre);
	text-align: center;
}

.ft-installer-iphone__icone {
	width: 64px;
	height: 64px;
	border-radius: 15px;
}

.ft-installer-iphone__titre {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.ft-installer-iphone__etapes {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding-left: 22px;
	text-align: left;
	font-size: 14.5px;
	line-height: 1.5;
}

.ft-installer-iphone__compris {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.ft-installer__dedans::before,
	.ft-installer__dedans::after,
	.ft-installer__icone {
		animation: none;
	}
}

@media print {
	.ft-installer,
	.ft-installer-iphone {
		display: none !important;
	}
}

/* 4 ter. Bloc 2.17 : bouton « Écouter », lien des avertissements et
   lecteur en bas de l'écran (maquette validée le 15 novembre 2026). */
.ft-ecouter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.ft-ecouter__icone {
	flex: 0 0 auto;
}

.ft-ecouter--page {
	width: 100%;
}

.ft-ecouter-lien {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ft-rouge);
	font: 700 14px/1.3 var(--ft-police-texte);
	text-decoration: underline;
	cursor: pointer;
}

.ft-lecteur {
	position: fixed;
	left: 8px;
	right: 8px;
	bottom: calc(8px + env(safe-area-inset-bottom, 0px));
	z-index: 900;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 520px;
	margin: 0 auto;
	padding: 10px 12px;
	border: 2px solid var(--ft-blanc);
	border-radius: 16px;
	background: var(--ft-encre);
	color: var(--ft-blanc);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	font-family: var(--ft-police-texte);
}

.ft-lecteur__jouer {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ft-rouge);
	color: var(--ft-blanc);
	cursor: pointer;
}

.ft-lecteur__milieu {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.ft-lecteur__titre {
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ft-lecteur__piste {
	height: 8px;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
}

.ft-lecteur__fait {
	width: 0;
	height: 100%;
	border-radius: 4px;
	background: var(--ft-jaune);
}

.ft-lecteur__piste--attente .ft-lecteur__fait {
	width: 100% !important;
	background: repeating-linear-gradient(90deg, var(--ft-jaune) 0 14px, rgba(252, 209, 22, 0.35) 14px 28px);
	background-size: 28px 100%;
	animation: ft-lecteur-attente 0.8s linear infinite;
}

.ft-lecteur__temps {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: var(--ft-doux-sombre);
}

.ft-lecteur__fermer {
	flex: 0 0 auto;
	width: 28px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ft-blanc);
	font: 400 24px/1 var(--ft-police-texte);
	cursor: pointer;
}

/* La page garde de la place sous le lecteur, pour que le bas reste lisible. */
body.ft-lecteur-ouvert {
	padding-bottom: 96px;
}

/* Petits téléphones : l'icône du bouton « Écouter » s'efface pour que les
   trois boutons de la fiche tiennent sur une ligne. */
@media (max-width: 359px) {
	.ft-fiche__rangee .ft-ecouter__icone {
		display: none;
	}
}

@keyframes ft-lecteur-attente {
	from { background-position: 0 0; }
	to { background-position: 28px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ft-lecteur__piste--attente .ft-lecteur__fait {
		animation: none;
	}
}

@media print {
	.ft-ecouter,
	.ft-ecouter-lien,
	.ft-lecteur {
		display: none !important;
	}
}

/* 5. Pied de page */
.site-footer {
	background-color: transparent;
}

.ft-pied {
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
}

.ft-pied__dedans {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-3);
	max-width: var(--ft-largeur);
	margin: 0 auto;
	padding: var(--ft-marge);
}

.ft-pied__nav {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-2);
}

.ft-pied__liens {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ft-pied__liens a,
.ft-pied__liens a:visited,
.ft-pied__liens a:hover,
.ft-pied__liens a:focus {
	display: flex;
	align-items: center;
	min-height: var(--ft-cible);
	color: var(--ft-rouge);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ft-pied__liens--juridiques {
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: var(--ft-espace-4);
}

.ft-pied__liens--juridiques a,
.ft-pied__liens--juridiques a:visited {
	color: var(--ft-doux);
	font-size: 13px;
}

.ft-pied__mention {
	margin: 0;
	font-size: 12px;
	color: var(--ft-doux);
}

/* 6. Titres et textes posés sur le bleu */
.ft-titre-page {
	margin: 0;
	font-size: 24px;
	text-align: center;
	color: var(--ft-blanc);
}

.ft-titre-section {
	margin: 0;
	font-size: 20px;
	color: var(--ft-blanc);
}

.ft-sous-titre {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ft-sur-bleu);
}

.ft-lien,
.ft-lien:visited {
	color: var(--ft-lien-bleu);
	font-size: 14px;
	font-weight: 600;
}

/* 7. Cartes */
.ft-carte {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-2);
	min-width: 0;
	padding: var(--ft-espace-4);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
}

.ft-carte p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.ft-carte a:not(.ft-bouton),
.ft-carte a:not(.ft-bouton):visited {
	color: var(--ft-rouge);
}

.ft-carte--sombre {
	background-color: var(--ft-encre);
	color: var(--ft-blanc);
	border-color: var(--ft-blanc);
}

.ft-carte--sombre a:not(.ft-bouton),
.ft-carte--sombre a:not(.ft-bouton):visited {
	color: var(--ft-lien-bleu);
}

.ft-carte--rose {
	background-color: var(--ft-rose);
}

.ft-carte--avant {
	border-color: var(--ft-rouge);
}

.ft-carte--centree {
	align-items: center;
	text-align: center;
}

.ft-mut {
	font-size: 13px;
	line-height: 1.45;
	color: var(--ft-doux);
}

.ft-carte--sombre .ft-mut {
	color: var(--ft-doux-sombre);
}

.ft-tuile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 96px;
	padding: 12px;
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
	text-align: center;
	text-decoration: none;
}

a.ft-tuile,
a.ft-tuile:visited,
a.ft-tuile:hover,
a.ft-tuile:focus {
	color: var(--ft-encre);
}

.ft-tuile strong {
	font-size: 14px;
	line-height: 1.25;
}

.ft-tuile span {
	font-size: 12px;
	color: var(--ft-doux);
}

.ft-tuile--sombre,
a.ft-tuile--sombre,
a.ft-tuile--sombre:visited {
	background-color: var(--ft-encre);
	color: var(--ft-blanc);
	border-color: var(--ft-blanc);
}

.ft-tuile--sombre span {
	color: var(--ft-doux-sombre);
}

/* Pictogramme : dessin blanc sur un carré arrondi rouge, vert ou noir */
.ft-picto {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: var(--ft-arrondi-petit);
	background-color: var(--ft-encre);
	color: var(--ft-blanc);
}

.ft-picto svg {
	width: 17px;
	height: 17px;
}

.ft-picto--grand {
	width: 34px;
	height: 34px;
}

.ft-picto--grand svg {
	width: 19px;
	height: 19px;
}

.ft-picto--rouge { background-color: var(--ft-rouge); }
.ft-picto--vert { background-color: var(--ft-vert); }

.ft-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background-color: var(--ft-photo);
	color: var(--ft-doux);
	font-size: 12px;
	text-align: center;
	object-fit: cover;
}

.ft-grille-2,
.ft-grille-3 {
	display: grid;
	gap: var(--ft-espace-3);
}

.ft-grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ft-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 8. Boutons */
.ft-bouton,
.ft-bouton:visited,
.ft-bouton:hover,
.ft-bouton:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--ft-espace-2);
	width: 100%;
	min-height: var(--ft-hauteur-bouton);
	padding: 12px;
	border: var(--ft-bordure) solid var(--ft-blanc);
	border-radius: var(--ft-arrondi-grand);
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
	font-family: var(--ft-police-texte);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.ft-bouton:hover,
.ft-bouton:focus {
	filter: brightness(0.92);
}

/* Dans une carte blanche, le liseré blanc disparaîtrait : il prend la couleur du bouton */
.ft-carte .ft-bouton {
	border-color: var(--ft-rouge);
}

.ft-bouton--whatsapp,
.ft-bouton--whatsapp:visited,
.ft-bouton--whatsapp:hover,
.ft-bouton--whatsapp:focus,
.ft-carte .ft-bouton--whatsapp {
	background-color: var(--ft-vert);
	border-color: var(--ft-vert);
	color: var(--ft-blanc);
}

.ft-bouton--contour,
.ft-bouton--contour:visited,
.ft-bouton--contour:hover,
.ft-bouton--contour:focus,
.ft-carte .ft-bouton--contour {
	background-color: transparent;
	border-color: var(--ft-vert);
	color: var(--ft-vert);
}

.ft-bouton--fantome,
.ft-bouton--fantome:visited,
.ft-bouton--fantome:hover,
.ft-bouton--fantome:focus {
	background-color: transparent;
	border-color: var(--ft-blanc);
	color: var(--ft-blanc);
}

.ft-carte .ft-bouton--fantome,
.ft-carte .ft-bouton--fantome:visited {
	border-color: var(--ft-gris);
	color: var(--ft-encre);
}

.ft-bouton--petit,
.ft-bouton--petit:visited,
.ft-bouton--petit:hover,
.ft-bouton--petit:focus {
	min-height: var(--ft-hauteur-bouton-petit);
	padding: 9px;
	font-size: 14px;
}

.ft-bouton--ajuste {
	width: auto;
	padding-left: 16px;
	padding-right: 16px;
}

/* 9. Pastilles, statuts et encadrés d'information */
.ft-pastille {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--ft-arrondi-pilule);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.ft-pastille--jaune { background-color: var(--ft-jaune); color: var(--ft-encre); }
.ft-pastille--vert { background-color: var(--ft-vert-pale); color: var(--ft-vert-texte); }
.ft-pastille--rouge { background-color: var(--ft-rouge); color: var(--ft-blanc); }
.ft-pastille--gris { background-color: var(--ft-gris-pale); color: var(--ft-encre); }

.ft-ok {
	font-size: 13px;
	font-weight: 600;
	color: var(--ft-vert);
}

.ft-ko {
	font-size: 13px;
	font-weight: 600;
	color: var(--ft-ko);
}

.ft-note {
	padding: 12px;
	border: var(--ft-bordure) solid var(--ft-jaune);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
	color: var(--ft-encre);
	font-size: 13px;
	line-height: 1.5;
}

/* Thème 0.21.2 (option 1 retenue par Soul le 7 novembre 2026) : tous les
   avertissements contre les arnaques sur le fond jaune des notes, avec un
   bord gauche rouge qui les distingue d'une simple information. */
.ft-alerte {
	padding: 12px 12px 12px 14px;
	border: var(--ft-bordure) solid var(--ft-jaune);
	border-left: 6px solid var(--ft-rouge);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
	color: var(--ft-encre);
	font-size: 13px;
	line-height: 1.5;
}

.ft-note a,
.ft-alerte a,
.ft-note a:visited,
.ft-alerte a:visited {
	color: var(--ft-rouge);
	font-weight: 600;
}

/* 10. Fil d'Ariane, posé sur le bleu */
.ft-ariane {
	font-size: 13px;
	color: var(--ft-sur-bleu);
}

.ft-ariane__liste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ft-ariane__etape {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.ft-ariane__etape + .ft-ariane__etape::before {
	content: "\203A";
	color: var(--ft-sur-bleu);
}

.ft-ariane a,
.ft-ariane a:visited {
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	color: var(--ft-lien-bleu);
}

.ft-ariane [aria-current] {
	color: var(--ft-blanc);
}

/* 11. Champs et menu déroulant des métiers, toujours contenus dans l'écran */
.ft-champ {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
}

.ft-champ__libelle {
	font-size: 13px;
	font-weight: 600;
	color: var(--ft-sur-bleu);
}

.ft-carte .ft-champ__libelle {
	color: var(--ft-libelle);
}

.ft-champ__liste,
.ft-champ__saisie {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: var(--ft-hauteur-champ);
	padding: 10px 12px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-family: var(--ft-police-texte);
	font-size: 16px;
}

.ft-champ__liste:focus,
.ft-champ__saisie:focus {
	background-color: var(--ft-blanc);
	border-color: var(--ft-encre);
	color: var(--ft-encre);
}

.ft-champ__liste {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* 12. Fiche prestataire (bloc 2.2) : blocs empilés sur le bleu */
.ft-fiche {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
	box-sizing: border-box;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

/* GeneratePress fixe la marge de #main : la fiche reste centrée sur grand écran */
@media (min-width: 769px) {
	.separate-containers #main.ft-fiche {
		margin: 20px auto;
	}
}

.ft-fiche > * {
	margin-top: 0;
	margin-bottom: 0;
}

.ft-fiche .ft-titre-section,
.ft-fiche .ft-sous-titre {
	margin: 0;
}

.ft-fiche__image {
	display: block;
	width: 100%;
	max-height: 320px;
	border: var(--ft-bordure) solid var(--ft-blanc);
	border-radius: var(--ft-arrondi-grand);
	background-color: var(--ft-photo);
	object-fit: cover;
}

.ft-fiche__nom {
	margin: 0;
	color: var(--ft-encre);
	font-size: 22px;
}

.ft-fiche__statut {
	font-size: 14px;
}

.ft-fiche__definition {
	font-size: 12px;
}

.ft-fiche__description p + p {
	margin-top: var(--ft-espace-2);
}

.ft-fiche__galerie a {
	display: block;
}

.ft-fiche__vignette {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border: var(--ft-bordure) solid var(--ft-blanc);
}

.ft-fiche__rangee.ft-grille-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ft-grille-1 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.ft-fiche__produit {
	justify-content: flex-start;
}

.ft-fiche__produit-photo {
	width: 100%;
	height: 96px;
}

.ft-fiche__prix {
	font-size: 14px;
	font-weight: 700;
}

.ft-tuile .ft-fiche__prix {
	color: var(--ft-rouge);
}

.ft-fiche__lien-fort,
.ft-carte a.ft-fiche__lien-fort {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: var(--ft-cible);
	font-size: 14px;
	font-weight: 700;
}

a.ft-fiche__semblable,
a.ft-fiche__semblable:visited,
a.ft-fiche__semblable:hover,
a.ft-fiche__semblable:focus {
	color: var(--ft-encre);
	text-decoration: none;
}

a.ft-fiche__semblable:hover,
a.ft-fiche__semblable:focus {
	border-color: var(--ft-encre);
}

/* Partager : deux simples liens qui s'ouvrent sous le bouton, sans script */
.ft-partage {
	position: relative;
	min-width: 0;
}

.ft-partage > summary {
	box-sizing: border-box;
	list-style: none;
}

.ft-partage > summary::-webkit-details-marker {
	display: none;
}

.ft-partage__choix {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-2);
	width: min(260px, calc(100vw - 2 * var(--ft-marge)));
	padding: var(--ft-espace-3);
	box-sizing: border-box;
	background-color: var(--ft-blanc);
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
}

.ft-partage__choix .ft-bouton {
	border-color: transparent;
}

/* Page produit (bloc 2.3) : mêmes blocs empilés que la fiche */
.ft-produit__photo-lien {
	display: block;
}

.ft-produit__vignettes {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ft-espace-3);
}

.ft-produit__vignettes a {
	display: block;
}

.ft-produit__vignette {
	display: block;
	width: 64px;
	height: 64px;
	border: var(--ft-bordure) solid var(--ft-blanc);
}

.ft-produit__sans-photo {
	height: 200px;
	border: var(--ft-bordure) solid var(--ft-blanc);
	border-radius: var(--ft-arrondi-grand);
}

.ft-produit__prix {
	font-family: var(--ft-police-titre);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ft-rouge);
}

.ft-produit .ft-partage__choix {
	left: 0;
	right: auto;
}

/* Profil de chercheur d'emploi (bloc 2.4) */
.ft-profil__photo {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background-color: var(--ft-photo);
	object-fit: cover;
}

.ft-carte--centree .ft-profil__pastille {
	align-self: center;
}

/* 12 bis. Pages métier (bloc 2.5) : liste de cartes sur le bleu, maquettes 4, 11 et 21 */
.ft-liste__resume {
	text-align: center;
}

/* Ville et Trier par restent côte à côte, même sur grand écran */
.ft-liste .ft-liste__filtres {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: end;
}

.ft-liste__valider {
	grid-column: 1 / -1;
}

.ft-liste__valider[hidden] {
	display: none;
}

.ft-liste__cartes {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
}

.ft-liste__corps {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	min-width: 0;
}

.ft-liste__photo-lien {
	flex: 0 0 88px;
}

.ft-liste__photo {
	display: flex;
	width: 88px;
	height: 88px;
}

.ft-liste__infos {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}

.ft-liste__nom,
.ft-liste .ft-liste__nom {
	margin: 0;
	font-family: var(--ft-police-texte);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ft-encre);
}

.ft-carte .ft-liste__nom a,
.ft-carte .ft-liste__nom a:visited {
	color: var(--ft-encre);
	text-decoration: none;
}

.ft-carte .ft-liste__nom a:hover,
.ft-carte .ft-liste__nom a:focus {
	text-decoration: underline;
}

.ft-etoiles {
	color: var(--ft-jaune-trait);
	letter-spacing: 1px;
}

.ft-liste__boutons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
}

/* Fiche en pause : en bas de liste, sans photo ni bouton */
a.ft-liste__pause,
a.ft-liste__pause:visited {
	background-color: var(--ft-sur-bleu);
	color: var(--ft-encre);
	text-decoration: none;
}

/* Cartes entièrement cliquables : lien vers une autre ville, calculateurs */
a.ft-liste__autre,
a.ft-liste__autre:visited,
a.ft-liste__calcul,
a.ft-liste__calcul:visited {
	color: var(--ft-encre);
	text-decoration: none;
}

a.ft-liste__pause:focus,
a.ft-liste__autre:focus,
a.ft-liste__calcul:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

.ft-liste .ft-liste__vide {
	margin: 0;
	font-family: var(--ft-police-texte);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ft-encre);
}

.ft-liste__jauge-texte {
	font-size: 16px;
}

.ft-jauge {
	display: block;
	height: 10px;
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-gris-pale);
	overflow: hidden;
}

.ft-jauge__plein {
	display: block;
	height: 100%;
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-vert-logo);
}

.ft-liste__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--ft-espace-3);
}

.ft-liste__pages .ft-bouton {
	width: auto;
	padding-left: 16px;
	padding-right: 16px;
}

/* 12 bis bis. Emploi et recrutement (bloc 2.6), maquette 7 */
.ft-liste .ft-emploi__filtres {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
	align-items: end;
}

.ft-emploi__tri {
	grid-column: 1 / -1;
}

.ft-emploi__photo-lien {
	flex: 0 0 72px;
}

.ft-emploi__photo {
	display: flex;
	width: 72px;
	height: 72px;
}

.ft-emploi .ft-liste__carte .ft-bouton--whatsapp,
.ft-recherche .ft-liste__carte:has(.ft-emploi__photo-lien) > .ft-bouton--whatsapp {
	margin-top: var(--ft-espace-2);
}

.ft-carte .ft-emploi__officiel,
.ft-carte .ft-emploi__officiel:visited {
	flex-direction: row;
	justify-content: flex-start;
	gap: var(--ft-espace-3);
	color: var(--ft-encre);
	text-align: left;
}

.ft-emploi__officiel .ft-mut {
	font-weight: 400;
}

/* Mot composé gardé sur une seule ligne : « e-concours » */
.ft-insecable {
	white-space: nowrap;
}

/* 12 ter. Idées de business (bloc 2.12) : grille des catégories, cartes et fiche */
.ft-idees__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
}

a.ft-idees__categorie,
a.ft-idees__categorie:visited,
a.ft-idees__carte,
a.ft-idees__carte:visited {
	color: var(--ft-encre);
	text-decoration: none;
}

a.ft-idees__categorie:focus,
a.ft-idees__carte:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

.ft-idees__categorie .ft-liste__nom {
	font-size: 15px;
}

/* Cases de la grille des catégories : symbole centré au-dessus du nom,
   nom et nombre d'idées centrés (règle du 27 octobre 2026, pictogrammes
   centrés au-dessus des titres ; thème 0.13.1). */
.ft-idees__categorie {
	align-items: center;
	text-align: center;
}

.ft-idees__budget {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ft-espace-2);
}

.ft-liste .ft-idees__filtre {
	grid-template-columns: minmax(0, 1fr);
}

.ft-idees__autres {
	margin-top: var(--ft-espace-3);
}

.ft-guide .ft-ariane {
	margin: 0;
}

.ft-guide__budget strong {
	font-size: 17px;
}

.ft-guide .ft-guide__titre {
	margin: 0;
	font-family: var(--ft-police-titre);
	font-size: 20px;
	color: var(--ft-encre);
}

.ft-guide__texte {
	font-size: 15px;
	line-height: 1.6;
}

.ft-guide__texte p,
.ft-guide__texte ul {
	margin: 0 0 10px;
}

.ft-guide__texte ul,
.ft-guide__liens {
	padding-left: 20px;
}

.ft-guide__texte li {
	margin-bottom: 4px;
}

.ft-guide__texte h3 {
	margin: 14px 0 4px;
	font-family: var(--ft-police-texte);
	font-size: 16px;
	font-weight: 700;
	color: var(--ft-encre);
}

.ft-guide__liens {
	margin: 0 0 10px;
}

@media (min-width: 768px) {
	.ft-idees__grille {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 12 quater. Révisions d'examens (bloc 2.13) : onglets, cartes, guides, corrigés cachés */
.ft-onglets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background-color: var(--ft-blanc);
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
	overflow: hidden;
}

.ft-onglets__lien,
.ft-onglets__lien:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ft-cible);
	padding: 8px 4px;
	border-bottom: 3px solid transparent;
	color: var(--ft-encre);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.ft-onglets__lien--choisi,
.ft-onglets__lien--choisi:visited {
	border-bottom-color: var(--ft-rouge);
	color: var(--ft-rouge);
	font-weight: 700;
}

/* Rangée des matières (thème 0.16.0) : deux ou trois onglets selon l'examen */
.ft-onglets--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ft-onglets + .ft-onglets {
	margin-top: calc(var(--ft-espace-2) * -1);
}

/* Thème 0.30.0 : trois matières (Français, Anglais, Mathématiques) ; chaque
   onglet prend la largeur de son nom, pour que « Mathématiques » tienne
   en entier sur un téléphone de 320 pixels. */
.ft-onglets + .ft-onglets:not(.ft-onglets--2) {
	grid-template-columns: repeat(3, auto);
	justify-content: space-between;
}

.ft-onglets + .ft-onglets:not(.ft-onglets--2) .ft-onglets__lien {
	padding-right: 10px;
	padding-left: 10px;
}

@media (max-width: 359px) {
	.ft-onglets + .ft-onglets:not(.ft-onglets--2) .ft-onglets__lien {
		padding-right: 6px;
		padding-left: 6px;
		font-size: 13px;
	}
}

.ft-onglets__lien:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: -3px;
}

a.ft-revisions__carte,
a.ft-revisions__carte:visited {
	color: var(--ft-encre);
	text-decoration: none;
}

a.ft-revisions__carte:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

.ft-revisions .ft-titre-section {
	margin-top: var(--ft-espace-2);
}

.ft-revision__sommaire ol,
.ft-guide__texte ol {
	margin: 0 0 10px;
	padding-left: 22px;
}

.ft-revision__sommaire li {
	margin-bottom: 4px;
	font-size: 15px;
}

.ft-guide__texte .ft-texte-etude {
	padding: 10px 12px;
	border-left: 4px solid var(--ft-gris);
	background-color: var(--ft-gris-pale);
	border-radius: var(--ft-arrondi-petit);
}

.ft-retenir {
	margin: 0 0 10px;
	padding: 10px 12px;
	border: var(--ft-bordure) solid var(--ft-jaune);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
}

.ft-guide__texte .ft-retenir > :last-child {
	margin-bottom: 0;
}

.ft-guide__texte .ft-retenir__titre {
	margin-bottom: 6px;
}

.ft-corrige {
	margin: 0 0 12px;
}

.ft-corrige > summary {
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	padding: 8px 14px;
	border: var(--ft-bordure) solid var(--ft-vert);
	border-radius: var(--ft-arrondi-pilule);
	color: var(--ft-vert);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.ft-corrige > summary::-webkit-details-marker {
	display: none;
}

.ft-corrige > summary:focus {
	outline: 3px solid var(--ft-jaune-trait);
	outline-offset: 2px;
}

.ft-corrige[open] > summary {
	background-color: var(--ft-vert-pale);
	color: var(--ft-vert-texte);
}

.ft-corrige__texte {
	margin-top: 8px;
	padding: 10px 12px;
	border-left: 4px solid var(--ft-vert);
	background-color: var(--ft-vert-pale);
	border-radius: var(--ft-arrondi-petit);
}

.ft-guide__texte .ft-corrige__texte > :last-child {
	margin-bottom: 0;
}

/* 13. Animations, coupées quand le téléphone demande moins de mouvement */
@keyframes ft-defile {
	from { background-position: 0 0; }
	to { background-position: 200% 0; }
}

@keyframes ft-scintille {
	0%, 80%, 100% { transform: scale(1) rotate(0); }
	86% { transform: scale(1.6) rotate(25deg); }
	93% { transform: scale(0.9) rotate(-10deg); }
}

@media (prefers-reduced-motion: reduce) {
	.ft-bande,
	.ft-logo__etoile {
		animation: none;
	}
}

/* 14. Écrans larges : contenu centré, grilles plus larges */
@media (min-width: 768px) {
	h1,
	.ft-titre-page {
		font-size: 32px;
	}

	.ft-logo__nom {
		font-size: 28px;
	}

	.ft-logo__slogan {
		font-size: 12px;
	}

	.ft-pied__nav {
		flex-direction: row;
		justify-content: space-between;
		gap: 24px;
	}

	.ft-grille-2 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* 15. Petits téléphones : le logo, le slogan et le bouton tiennent sur une ligne */
@media (max-width: 359px) {
	.ft-en-tete__dedans {
		padding-left: 12px;
		padding-right: 12px;
	}

	.ft-logo__nom {
		font-size: 21px;
	}

	.ft-en-tete__compte {
		padding: 0 10px;
		font-size: 13px;
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.6 bis (thème 0.13.0) : cercles des liens officiels, symboles */
/* des catégories et des matières, YouTube                             */
/* ------------------------------------------------------------------ */

/* Petit cercle avant le nom d'un lien officiel : logo déposé, ou
   initiales blanches sur un fond rouge, vert ou noir. La taille du texte
   suit le diamètre et le nombre de caractères (« SP » à « SONABEL »). */
.ft-cercle {
	--ft-cercle: 44px;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: var(--ft-cercle);
	height: var(--ft-cercle);
	overflow: hidden;
	border-radius: 50%;
	background-color: var(--ft-encre);
	color: var(--ft-blanc);
	font-family: var(--ft-police-texte);
	font-size: calc(var(--ft-cercle) * 0.38);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.ft-cercle--petit { --ft-cercle: 32px; }
.ft-cercle--grand { --ft-cercle: 48px; }

.ft-cercle--rouge { background-color: var(--ft-rouge); }
.ft-cercle--vert { background-color: var(--ft-vert); }
.ft-cercle--noir { background-color: var(--ft-encre); }

.ft-cercle--l3 { font-size: calc(var(--ft-cercle) * 0.32); }
.ft-cercle--l4 { font-size: calc(var(--ft-cercle) * 0.27); }
.ft-cercle--l5 { font-size: calc(var(--ft-cercle) * 0.23); }
.ft-cercle--l6,
.ft-cercle--l7 { font-size: calc(var(--ft-cercle) * 0.2); letter-spacing: -0.03em; }

/* Logo : sur fond blanc, entier, sans déformation */
.ft-cercle--logo {
	background-color: var(--ft-blanc);
	border: 1px solid var(--ft-gris);
}

.ft-cercle__image,
.ft-cercle--logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Cercle et nom côte à côte (page Sites officiels) */
.ft-nom-cercle {
	display: flex;
	align-items: center;
	gap: var(--ft-espace-3);
	min-width: 0;
}

.ft-nom-cercle > span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Liens de recrutement de la page Emploi : cercle à gauche, texte à droite */
.ft-emploi__officiel-texte {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

/* Symbole devant le titre d'une fiche ou d'un guide, dans les listes */
.ft-nom-symbole {
	display: flex;
	align-items: center;
	gap: var(--ft-espace-3);
	min-width: 0;
}

.ft-nom-symbole .ft-liste__nom {
	min-width: 0;
}

/* Symbole centré au-dessus du titre d'une page */
.ft-symbole-titre {
	display: flex;
	justify-content: center;
	margin-bottom: calc(var(--ft-espace-2) * -1);
}

.ft-symbole-titre:empty {
	display: none;
}

/* Le symbole garde un liseré blanc sur le fond bleu, comme les pictogrammes */
.ft-symbole-titre .ft-picto {
	box-shadow: 0 0 0 2px var(--ft-blanc);
}

/* Encadré de la chaîne YouTube et bouton de la vidéo d'un guide */
.ft-youtube .ft-bouton {
	width: auto;
	padding-left: 18px;
	padding-right: 18px;
}

.ft-revision__video svg {
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ */
/* Bloc 2.6 ter (thème 0.14.0) : images des encadrés, mouvements       */
/* ------------------------------------------------------------------ */

/* Image en tête d'un encadré, sur toute la largeur de la carte, au
   format 4:3 ; fond gris clair pendant le chargement. */
.ft-carte--image {
	overflow: hidden;
}

.ft-encadre__image {
	display: block;
	width: calc(100% + 2 * var(--ft-espace-4));
	margin: calc(var(--ft-espace-4) * -1) calc(var(--ft-espace-4) * -1) 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: #ECEFF7;
}

.ft-encadre__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Cartes sur toute la largeur (examens, matières) : l'image 4:3 est
   recadrée en bandeau 2:1, centré, pour ne pas allonger la liste. */
.ft-revisions__carte .ft-encadre__image {
	aspect-ratio: 2 / 1;
}

/* Tête de la page d'une catégorie d'idées (thème 0.15.0) : l'image de la
   catégorie en 4:3, puis son nom centré, comme la case de la grille. */
.ft-idees__entete {
	align-items: center;
	text-align: center;
}

.ft-idees__entete-titre {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
	color: var(--ft-encre);
}

/* Image de l'idée en haut de sa fiche, 4:3, coins arrondis */
.ft-guide__image .ft-encadre__image {
	width: 100%;
	margin: 0;
	border-radius: var(--ft-arrondi-grand);
}

/* Vignette 4:3 de l'idée devant son titre, dans la liste de la catégorie */
.ft-vignette {
	display: block;
	flex: 0 0 auto;
	width: 96px;
	height: 72px;
	overflow: hidden;
	border-radius: var(--ft-arrondi-petit);
	background-color: #ECEFF7;
}

.ft-vignette img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Symbole centré à la base de l'image, cerclé de blanc (cahier, section 8) */
.ft-carte--image > .ft-symbole {
	position: relative;
	margin-top: calc(-15px - var(--ft-espace-2));
	box-shadow: 0 0 0 3px var(--ft-blanc);
}

/* Mouvements : léger zoom de l'image au toucher, et apparition douce des
   encadrés au défilement (navigateurs qui le permettent, sans script).
   Tout s'arrête quand le téléphone demande de réduire les animations. */
@media (prefers-reduced-motion: no-preference) {
	.ft-encadre__image img {
		transition: transform 0.45s ease;
	}

	a.ft-carte--image:hover .ft-encadre__image img,
	a.ft-carte--image:focus .ft-encadre__image img,
	a.ft-carte--image:active .ft-encadre__image img {
		transform: scale(1.06);
	}

	@supports (animation-timeline: view()) {
		.ft-carte--image {
			animation: ft-apparition linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}
	}
}

@keyframes ft-apparition {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Guides de révision et fiches d'idées en PDF (thème 0.10.0)          */
/* ------------------------------------------------------------------ */

.ft-pdf-pied {
	display: none;
}

@media print {
	/* Pied de page de chaque page : la phrase, le nom du site en gras et
	   en italique (image SVG, seule façon de mêler deux styles dans la
	   marge), puis le numéro de page. Navigateurs Chromium. Le nom de page
	   se pose sur body : posé plus bas, il créerait une première page
	   blanche (changement de page nommée). */
	@page ft-revision {
		size: A4;
		margin: 15mm 15mm 20mm;

		@bottom-left {
			content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22480%22 height=%2214%22%3E%3Ctext x=%220%22 y=%2211%22 font-family=%22Arial, Helvetica, sans-serif%22 font-size=%2210%22 fill=%22%23333%22%3ED'autres guides de r%C3%A9vision gratuits %C3%A0 t%C3%A9l%C3%A9charger sur %3Ctspan font-weight=%22bold%22 font-style=%22italic%22%3EFasoTouma.com%3C/tspan%3E%3C/text%3E%3C/svg%3E");
			vertical-align: middle;
		}

		@bottom-right {
			content: "Page " counter(page) " sur " counter(pages);
			font: 9pt Arial, Helvetica, sans-serif;
			color: #333;
			vertical-align: middle;
		}
	}

	@page ft-idee {
		size: A4;
		margin: 15mm 15mm 20mm;

		@bottom-left {
			content: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22480%22 height=%2214%22%3E%3Ctext x=%220%22 y=%2211%22 font-family=%22Arial, Helvetica, sans-serif%22 font-size=%2210%22 fill=%22%23333%22%3ED'autres id%C3%A9es de business gratuites %C3%A0 t%C3%A9l%C3%A9charger sur %3Ctspan font-weight=%22bold%22 font-style=%22italic%22%3EFasoTouma.com%3C/tspan%3E%3C/text%3E%3C/svg%3E");
			vertical-align: middle;
		}

		@bottom-right {
			content: "Page " counter(page) " sur " counter(pages);
			font: 9pt Arial, Helvetica, sans-serif;
			color: #333;
			vertical-align: middle;
		}
	}

	body.single-fasotouma_resume {
		page: ft-revision;
	}

	body.single-fasotouma_guide {
		page: ft-idee;
	}

	html,
	body,
	.site,
	.site-content,
	.content-area {
		background: #fff !important;
	}

	.ft-guide {
		color: #000;
		font-size: 10.5pt;
	}

	.ft-guide .ft-titre-page,
	.ft-guide .ft-sous-titre,
	.ft-guide .ft-note {
		color: #000 !important;
	}

	.ft-en-tete,
	.ft-pied,
	.ft-ariane,
	.ft-symbole-titre,
	.ft-guide__image,
	.ft-youtube,
	.ft-revision__sommaire,
	.ft-guide .ft-bouton,
	.ft-guide .ft-partage,
	.ft-guide .ft-ecran,
	.ft-guide .ft-carte--centree {
		display: none !important;
	}

	.ft-guide .ft-carte {
		box-shadow: none !important;
		border: 1px solid #bbb !important;
		background: #fff !important;
	}

	.ft-guide h2,
	.ft-guide h3 {
		break-after: avoid;
	}

	.ft-guide .ft-retenir,
	.ft-guide .ft-texte-etude,
	.ft-guide li {
		break-inside: avoid;
	}

	/* Corrigés : tous ouverts par pdf.js, intitulé en simple texte. */
	.ft-guide .ft-corrige > summary {
		background: none !important;
		border: 0 !important;
		padding: 0 !important;
		color: #000 !important;
		font-weight: 700;
	}

	.ft-guide .ft-corrige > summary::marker {
		content: "";
	}

	/* Autres navigateurs (Safari, Firefox) : la phrase en fin de page. */
	.ft-pdf-sans-marge .ft-pdf-pied {
		display: block;
		margin-top: 12pt;
		font-size: 9pt;
		color: #333;
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.7 (thème 0.17.0) : Achat et vente et boutiques               */
/* ------------------------------------------------------------------ */

/* Recherche de la page Achat et vente : champs empilés, puis le bouton
   rouge « Rechercher » (maquette 12). */
.ft-av__recherche {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
}

/* Grille des seize catégories : deux colonnes sur téléphone, trois puis
   quatre sur grand écran ; pictogramme, nom et nombre centrés (règle de
   centrage du 4 novembre 2026), image 4:3 en tête si Soul en a déposé une. */
.ft-av__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
}

a.ft-av__categorie,
a.ft-av__categorie:visited {
	align-items: center;
	text-align: center;
	color: var(--ft-encre);
	text-decoration: none;
}

a.ft-av__categorie:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

.ft-av__categorie .ft-liste__nom {
	font-size: 15px;
}

/* Case sans image : pictogramme, nom et nombre centrés dans la hauteur de
   la rangée, pour ne pas laisser un vide sous le nombre. */
.ft-av__categorie:not(.ft-carte--image) {
	justify-content: center;
}

/* Cartes des produits : prix en rouge, comme sur la page produit */
.ft-av__prix {
	color: var(--ft-rouge);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}

.ft-av__infos {
	gap: 4px;
}

/* Pastilles des sous-catégories : « Toutes » puis celles qui ont au moins
   un produit ; la pastille choisie en jaune. */
.ft-av__pastilles {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ft-espace-2);
}

.ft-av__pastille,
.ft-av__pastille:visited {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 14px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.ft-av__pastille--choisie,
.ft-av__pastille--choisie:visited {
	border-color: var(--ft-jaune);
	background-color: var(--ft-jaune);
}

.ft-av__pastille:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

/* Toutes les boutiques : une section par catégorie */
.ft-boutiques__section {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-3);
}

.ft-boutiques__tout {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
}

/* Logo d'une boutique : son image principale, sinon son initiale sur un
   carré rouge, vert ou noir ; à gauche du nom (exception de la règle de
   centrage pour les cartes des listes). */
.ft-carte a.ft-av__logo,
.ft-carte a.ft-av__logo:visited {
	display: flex;
	flex: 0 0 56px;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-encre);
	color: var(--ft-blanc);
	font-family: var(--ft-police-titre);
	font-size: 24px;
	font-weight: 700;
	text-decoration: none;
}

.ft-carte a.ft-av__logo--rouge,
.ft-carte a.ft-av__logo--rouge:visited {
	background-color: var(--ft-rouge);
}

.ft-carte a.ft-av__logo--vert,
.ft-carte a.ft-av__logo--vert:visited {
	background-color: var(--ft-vert);
}

.ft-av__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: var(--ft-blanc);
}

.ft-av__note {
	font-size: 13px;
	color: var(--ft-encre);
}

/* Fiche : « Sur FasoTouma depuis octobre 2026 » */
.ft-fiche__depuis {
	font-weight: 600;
}

/* Page produit : lien « Voir toute la boutique » sous les autres produits */
.ft-produit__boutique {
	align-self: center;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
}

@media (min-width: 768px) {
	.ft-av__grille {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ft-av__grille {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------ */
/* Thème 0.18.0 : barre de filtres compacte, commune à toutes les       */
/* listes (proposition validée par Soul le 6 novembre 2026)             */
/* ------------------------------------------------------------------ */

/* Texte lu par les lecteurs d'écran, invisible à l'œil */
.ft-invisible {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Un seul encadré blanc et serré ; une ligne par filtre, l'intitulé à
   gauche de sa liste, pour que « Ouagadougou » ou « Bobo-Dioulasso » se
   lisent en entier sur un téléphone de 360 pixels. */
.ft-liste .ft-filtres,
.ft-filtres {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--ft-espace-2);
	padding: var(--ft-espace-2);
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
}

.ft-filtres .ft-filtres__ligne {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	align-items: center;
	gap: var(--ft-espace-2);
}

.ft-filtres .ft-champ__libelle {
	color: var(--ft-encre);
	font-size: 13px;
	line-height: 1.25;
}

.ft-filtres .ft-champ__liste,
.ft-filtres input.ft-champ__saisie,
.ft-filtres input[type="search"].ft-champ__saisie {
	min-height: 40px;
	height: 40px;
	padding: 0 8px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 16px;
}

.ft-filtres input[type="search"].ft-champ__saisie:focus,
.ft-filtres .ft-champ__liste:focus {
	border-color: var(--ft-encre);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
}

/* Recherche et loupe rouge sur la même ligne */
.ft-filtres__cherche {
	display: flex;
	gap: var(--ft-espace-2);
}

.ft-filtres__cherche .ft-champ__saisie {
	flex: 1 1 auto;
}

.ft-filtres__loupe {
	display: flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
	cursor: pointer;
}

.ft-filtres__loupe:hover,
.ft-filtres__loupe:focus {
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
}

.ft-filtres__loupe:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

/* Bouton « Afficher » des navigateurs sans script : sous les filtres */
.ft-filtres .ft-liste__valider {
	align-self: stretch;
}

/*
 * Bloc 2.8 (thème 0.19.0) : promotions de la semaine et rosette
 * « Numéro vérifié ».
 */

/* Rosette après un nom : bleu roi, coche blanche (contraste 6,1) */
.ft-rosette {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 2px;
	vertical-align: -3px;
	flex: 0 0 auto;
}

.ft-rosette--grand {
	width: 22px;
	height: 22px;
	vertical-align: -3px;
}

.ft-mut .ft-rosette {
	width: 15px;
	height: 15px;
	vertical-align: -2px;
}

.ft-rosette__fond {
	fill: var(--ft-roi);
}

.ft-rosette__coche {
	fill: none;
	stroke: var(--ft-blanc);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Prix d'un produit en promotion : nouveau prix, ancien prix barré */
.ft-prix {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
}

.ft-tuile .ft-prix {
	justify-content: center;
}

.ft-prix__ancien {
	color: var(--ft-doux);
	font-size: 13px;
	font-weight: 400;
}

.ft-produit .ft-prix__ancien {
	font-size: 15px;
}

.ft-tuile .ft-prix__etiquette {
	align-self: center;
	color: var(--ft-blanc);
	font-size: 12px;
}

.ft-prix__fin {
	color: var(--ft-encre);
	font-size: 13px;
	font-weight: 600;
}

.ft-prix__fin--dernier {
	color: var(--ft-rouge);
	font-weight: 800;
}

.ft-produit__prix-bloc {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Page produit : photos et carte principale réunies, étiquette sur la photo */
.ft-produit__haut {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
}

.ft-produit__etiquette {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	font-size: 13px;
}

/* Éléments retirés par promo.js après la fin d'une promotion */
[data-ft-promo-seul][hidden],
[data-ft-promo-fin][hidden] {
	display: none !important;
}

/* Page Bonnes affaires : partage sous la liste */
.ft-ba__partage {
	margin-top: var(--ft-espace-2);
}

@media print {
	.ft-ba__partage,
	.ft-produit__etiquette {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.9 (thème 0.20.0) : page Tous les métiers                     */
/* ------------------------------------------------------------------ */

/* Nom de la famille au-dessus de sa grille de métiers */
.ft-metiers__famille {
	margin-top: var(--ft-espace-2);
}

/* Métier sans fiche dans la ville choisie : case grisée, « 0 fiche » ;
   sa page reste accessible et propose la ville qui en compte le plus. */
a.ft-av__categorie.ft-metiers__vide,
a.ft-av__categorie.ft-metiers__vide:visited {
	background-color: #F6F4F1;
}

/* Lien « Voir les 29 métiers » en bas d'une page métier, centré */
.ft-metiers__retour {
	align-self: center;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	text-align: center;
}

.ft-metiers__inscription {
	margin-top: var(--ft-espace-2);
}

@media print {
	.ft-metiers__retour {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.10 (thème 0.21.0) : page de recherche                        */
/* ------------------------------------------------------------------ */

/* Les trois onglets : Prestataires, Produits, Profils, chacun avec son
   nombre ; l'onglet ouvert est souligné en rouge, comme les onglets des
   révisions. */
.ft-recherche__onglets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background-color: var(--ft-blanc);
	border: 2px solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
	overflow: hidden;
}

a.ft-recherche__onglet,
a.ft-recherche__onglet:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: var(--ft-cible);
	padding: 10px 4px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	color: var(--ft-encre);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	min-width: 0;
	overflow-wrap: anywhere;
}

a.ft-recherche__onglet--choisi,
a.ft-recherche__onglet--choisi:visited {
	color: var(--ft-rouge);
	border-bottom-color: var(--ft-rouge);
}

a.ft-recherche__onglet:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: -3px;
}

.ft-recherche__nombre {
	font-size: 12px;
	font-weight: 500;
	color: var(--ft-doux);
}

@media print {
	.ft-recherche__onglets {
		display: none;
	}
}

/* Thème 0.21.1 : liens vers les métiers liés d'une recherche sans résultat,
   une ligne chacun, assez hauts pour le doigt, en rouge sur l'encadré blanc
   (contraste 5,9), le jaune des liens étant réservé au fond bleu. */
.ft-carte a.ft-recherche__metier,
.ft-carte a.ft-recherche__metier:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ft-cible);
	color: var(--ft-rouge);
	text-decoration: underline;
}

/* Thème 0.21.3 : trois pistes d'une recherche sans résultat, une par
   intention (prestataire, produit, employé), question puis bouton. */
.ft-carte.ft-recherche__pistes {
	gap: var(--ft-espace-4);
}

.ft-recherche__piste {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-2);
	align-self: stretch;
}

.ft-recherche__question {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ft-encre);
}

/* Thème 0.21.5 (option B de Soul, 7 novembre 2026) : encadré des
   plateformes de l'État sur la page Emploi, aux couleurs nationales.
   Le cadre défile en rouge, jaune et vert au rythme de la bande de
   l'en-tête ; étoile jaune qui scintille comme celle du logo, bande qui
   défile sous le titre. Tout s'arrête quand le téléphone demande moins
   de mouvement. */
.ft-carte.ft-emploi__etat {
	border: 5px solid transparent;
	background:
		linear-gradient(var(--ft-blanc), var(--ft-blanc)) padding-box,
		linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D) border-box;
	background-size: 100% 100%, 200% 100%;
	animation: ft-cadre 6s linear infinite;
}

@keyframes ft-cadre {
	from { background-position: 0 0, 0 0; }
	to { background-position: 0 0, 200% 0; }
}

.ft-emploi__etat-titre {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--ft-espace-2);
	margin: 0;
	text-align: center;
}

.ft-emploi__etoile {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	fill: var(--ft-jaune);
	stroke: var(--ft-jaune-trait);
	stroke-width: 0.8;
	transform-origin: 50% 50%;
	animation: ft-scintille 5s ease-in-out infinite;
}

.ft-bande.ft-emploi__bande {
	height: 4px;
	border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ft-carte.ft-emploi__etat,
	.ft-emploi__etoile {
		animation: none;
	}
}

@media print {
	.ft-carte.ft-emploi__etat {
		border-color: var(--ft-gris);
		background: var(--ft-blanc);
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.11 (thème 0.22.0) : accueil, écrans 1 et 9 des maquettes      */
/* ------------------------------------------------------------------ */

/* Haut de l'accueil sur toute la largeur : bleu roi foncé #2A47B3, sous de
   petites illustrations d'outils et de produits en traits jaune clair très
   légers (choix de Soul du 28 octobre 2026), dessinées en vectoriel. */
.ft-accueil-haut {
	background-color: var(--ft-roi-fonce);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300' fill='none' stroke='%23FFE066' stroke-opacity='0.2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(18 22) rotate(-15 13 13) scale(1.1)'%3E%3Cpath d='M13.5 3.5l7 7-2.5 2.5-7-7z'/%3E%3Cpath d='M12.2 8.8 3.8 17.2a1.6 1.6 0 0 0 2.3 2.3l8.4-8.4'/%3E%3C/g%3E%3Cg transform='translate(128 10) rotate(8 13 13) scale(1.1)'%3E%3Cpath d='M3 10h18l-2 10H5z'/%3E%3Cpath d='M8 10l4-6 4 6'/%3E%3Cpath d='M9 14v3M15 14v3'/%3E%3C/g%3E%3Cg transform='translate(236 40) rotate(20 13 13) scale(1.1)'%3E%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Cpath d='M8 7.5 20 17M8 16.5 20 7'/%3E%3C/g%3E%3Cg transform='translate(70 112) rotate(-8 13 13) scale(1.1)'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/g%3E%3Cg transform='translate(182 128) rotate(12 13 13) scale(1.1)'%3E%3Crect x='3' y='3' width='15' height='5.5' rx='1.5'/%3E%3Cpath d='M18 5.75h2.5v5.5H11v3'/%3E%3Cpath d='M9.5 14.25h3V21.5h-3z'/%3E%3C/g%3E%3Cg transform='translate(262 170) rotate(-25 13 13) scale(1.1)'%3E%3Cpath d='M4.5 19.5 12 12'/%3E%3Cpath d='M12.6 11.4a4.5 4.5 0 0 1 5.6-7.2L15.5 7l1.5 1.5 2.8-2.7a4.5 4.5 0 0 1-7.2 5.6'/%3E%3C/g%3E%3Cg transform='translate(12 196) rotate(6 13 13) scale(1.1)'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='17' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3.5h3l2.4 11h10.6l2-7.5H6.5'/%3E%3C/g%3E%3Cg transform='translate(120 224) rotate(-10 13 13) scale(1.1)'%3E%3Cpath d='M5 8h14l-1 12.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 20.5z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/g%3E%3Cg transform='translate(214 246) rotate(15 13 13) scale(1.1)'%3E%3Cpath d='M12 21.5 5 12l7-6 7 6z'/%3E%3Cpath d='M12 6V2.5M10 2.5h4'/%3E%3C/g%3E%3Cg transform='translate(150 80) rotate(35 13 13) scale(1.1)'%3E%3Cpath d='M7 4h10M12 4v13l-1 4'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 300px 300px;
	color: var(--ft-blanc);
}

.ft-accueil-haut__dedans {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
	box-sizing: border-box;
	max-width: var(--ft-largeur);
	margin: 0 auto;
	padding: 22px var(--ft-marge) var(--ft-espace-5);
	text-align: center;
}

.ft-accueil-haut__titre {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
	color: var(--ft-blanc);
	text-wrap: balance;
}

/* Encadré dynamique de la phrase d'accueil (demande de Soul du
   8 novembre 2026) : le cadre épais défile en rouge, jaune et vert comme
   celui des plateformes de l'État, une étoile jaune scintille au-dessus,
   et un reflet lumineux traverse l'encadré de temps en temps. */
.ft-accueil-haut__encadre {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	overflow: hidden;
	padding: 14px 14px 16px;
	border: 4px solid transparent;
	border-radius: var(--ft-arrondi-grand);
	background:
		linear-gradient(#1B2F86, #1B2F86) padding-box,
		linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D) border-box;
	background-size: 100% 100%, 200% 100%;
	box-shadow: 0 10px 28px rgba(10, 20, 60, 0.35);
	animation: ft-cadre 6s linear infinite;
}

.ft-accueil-haut__encadre::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.10), transparent);
	transform: skewX(-18deg);
	animation: ft-reflet-encadre 7s ease-in-out infinite;
	pointer-events: none;
}

@keyframes ft-reflet-encadre {
	0%, 60% { left: -60%; }
	85%, 100% { left: 130%; }
}

.ft-accueil-haut__etoile {
	width: 26px;
	height: 26px;
}

/* « Vous êtes à la bonne adresse. » sur sa propre ligne, plus grand. */
.ft-accueil-haut__porte {
	display: block;
	margin-top: 6px;
	font-size: 1.25em;
	color: var(--ft-blanc);
}

/* Les objets de la phrase : liens jaune clair (contraste 6,2 sur le bleu
   foncé) ; un surlignage jaune passe de l'un à l'autre, deux secondes
   chacun, pour attirer l'œil sur tout ce que le site offre. */
.ft-accueil-haut__titre a.ft-accueil-haut__objet,
.ft-accueil-haut__titre a.ft-accueil-haut__objet:visited {
	color: var(--ft-lien-bleu);
	text-decoration: none;
	border-radius: 6px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	background: linear-gradient(rgba(255, 224, 102, 0.26), rgba(255, 224, 102, 0.26)) 0 0 / 0 100% no-repeat;
	animation: ft-objet 16s ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * 2s);
}

.ft-accueil-haut__titre a.ft-accueil-haut__objet:hover,
.ft-accueil-haut__titre a.ft-accueil-haut__objet:focus {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Huit objets, deux secondes chacun : un cycle de seize secondes. */
@keyframes ft-objet {
	0% { background-size: 0 100%; }
	3% { background-size: 100% 100%; }
	10.5% { background-size: 100% 100%; }
	13% { background-size: 0 100%; }
	100% { background-size: 0 100%; }
}

.ft-accueil-haut__phrase {
	margin: 0;
	font-size: 15px;
	color: var(--ft-sur-bleu);
}

.ft-accueil-haut__recherche {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.ft-accueil-haut__libelle {
	font-size: 14px;
	font-weight: 700;
	color: var(--ft-blanc);
}

.ft-accueil-haut__ligne {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Barre de recherche à bordure animée aux couleurs du drapeau ; seule
   bordure animée de l'accueil, les listes Ville et Métier ayant été
   retirées par Soul le 27 octobre 2026. */
@property --ft-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

.ft-accueil-haut__champ {
	position: relative;
	display: flex;
	align-items: center;
	border: 3px solid transparent;
	border-radius: var(--ft-arrondi-grand);
	background:
		linear-gradient(var(--ft-blanc), var(--ft-blanc)) padding-box,
		conic-gradient(from var(--ft-angle), #EF2B2D, #FCD116, #009E49, #EF2B2D) border-box;
	animation: ft-tourne 6s linear infinite;
}

@keyframes ft-tourne {
	to { --ft-angle: 360deg; }
}

.ft-accueil-haut__loupe {
	position: absolute;
	left: 14px;
	color: var(--ft-doux);
	pointer-events: none;
}

.ft-accueil-haut__champ input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 14px 0 46px;
	border: 0;
	border-radius: 11px;
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-family: var(--ft-police-texte);
	font-size: 17px;
	-webkit-appearance: none;
	appearance: none;
}

.ft-accueil-haut__champ input[type="search"]::placeholder {
	color: var(--ft-doux);
	opacity: 1;
}

.ft-accueil-haut__champ input[type="search"]:focus {
	outline: none;
}

.ft-accueil-haut__champ:focus-within {
	box-shadow: 0 0 0 3px var(--ft-jaune);
}

/* Bouton rouge « Rechercher » : liseré blanc, sans lequel le rouge et le
   bleu roi se confondent (cahier, section 11). */
.ft-accueil-haut__bouton,
.ft-accueil-haut__bouton:hover,
.ft-accueil-haut__bouton:focus {
	border-color: var(--ft-blanc);
}

.ft-accueil-haut__duo,
.ft-accueil__duo,
.ft-accueil__quatre {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
}

/* Cases de l'accueil : pictogramme centré au-dessus du titre, titre et
   texte centrés (règle de centrage du 4 novembre 2026). */
a.ft-accueil__case,
a.ft-accueil__case:visited {
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--ft-encre);
	text-decoration: none;
}

a.ft-accueil__case.ft-carte--sombre,
a.ft-accueil__case.ft-carte--sombre:visited {
	color: var(--ft-blanc);
}

a.ft-accueil__case:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

a.ft-accueil__case.ft-carte--image {
	justify-content: flex-start;
}

.ft-accueil__nom {
	margin: 0;
	font-family: var(--ft-police-texte);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.ft-accueil__nom--titre {
	font-family: var(--ft-police-titre);
	font-size: 20px;
	line-height: 1.2;
}

.ft-accueil__nom--carte {
	font-size: 19px;
}

/* Cartes sur toute la largeur : l'image 4:3 devient un bandeau 2:1. */
.ft-accueil__large .ft-encadre__image {
	aspect-ratio: 2 / 1;
}

.ft-accueil__chiffre {
	font-weight: 800;
	color: var(--ft-rouge);
}

.ft-accueil__chiffre--vert {
	color: var(--ft-vert);
}

.ft-accueil__chiffre--encre {
	color: var(--ft-encre);
}

.ft-carte--sombre .ft-accueil__chiffre {
	color: var(--ft-blanc);
}

/* Trois vagues aux couleurs du drapeau sous la recherche, rouge, jaune or
   et vert (le jaune or entre le rouge et le vert, demande de Soul du
   8 novembre 2026), qui ondulent lentement à des vitesses différentes.
   Chaque vague est pleine jusqu'en bas : aucune bande bleue ne passe entre
   elles. La phrase vers les pages officielles défile sur la verte, en
   blanc sur le vert assombri #007A3D (contraste 5,5) : le jaune clair des
   liens n'y atteindrait pas 4,5. */
.ft-vagues {
	position: relative;
	height: 54px;
	overflow: hidden;
}

.ft-vagues--phrase {
	height: 88px;
}

.ft-vagues__couche {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 200%;
	animation: ft-vague 14s linear infinite;
}

/* La crête dessinée sur 20 pixels, puis la couleur pleine jusqu'en bas. */
.ft-vagues__couche svg {
	display: block;
	width: 100%;
	height: 20px;
}

.ft-vagues__couche--rouge {
	top: 0;
	background: linear-gradient(transparent 19px, var(--ft-rouge-logo) 19px);
}

.ft-vagues__couche--rouge path {
	fill: var(--ft-rouge-logo);
}

.ft-vagues__couche--or {
	top: 15px;
	background: linear-gradient(transparent 19px, var(--ft-jaune) 19px);
	animation-duration: 18s;
	animation-direction: reverse;
}

.ft-vagues__couche--or path {
	fill: var(--ft-jaune);
}

.ft-vagues__couche--verte {
	top: 30px;
	background: linear-gradient(transparent 19px, var(--ft-vert) 19px);
	animation-duration: 22s;
}

.ft-vagues__couche--verte path {
	fill: var(--ft-vert);
}

@keyframes ft-vague {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.ft-vagues__bande {
	position: absolute;
	top: 52px;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	background-color: var(--ft-vert);
}

.ft-vagues__piste {
	display: flex;
	width: max-content;
	animation: ft-defile-texte 32s linear infinite;
}

.ft-vagues__bande:hover .ft-vagues__piste,
.ft-vagues__bande:focus-within .ft-vagues__piste {
	animation-play-state: paused;
}

.ft-vagues__texte {
	margin: 0;
	padding-right: 56px;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
	line-height: 36px;
	color: var(--ft-blanc);
}

.ft-vagues__texte a,
.ft-vagues__texte a:visited,
.ft-vagues__texte a:hover,
.ft-vagues__texte a:focus {
	color: var(--ft-blanc);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@keyframes ft-defile-texte {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Contenu de l'accueil sur le bleu roi */
.ft-accueil {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-5);
	box-sizing: border-box;
	max-width: var(--ft-largeur);
	margin-left: auto;
	margin-right: auto;
}

.ft-accueil > *,
.ft-accueil__bande > * {
	margin-top: 0;
	margin-bottom: 0;
}

.ft-accueil__bande {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.ft-accueil__tete {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ft-accueil__tete .ft-lien {
	flex: 0 0 auto;
}

.ft-accueil__voir {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
}

.ft-accueil__phrase {
	text-align: center;
	font-size: 22px;
}

.ft-accueil__une-titre {
	margin: 0;
	font-size: 22px;
	color: var(--ft-blanc);
}

.ft-accueil__une-pastille {
	align-self: center;
}

/* Boutons de catégorie ou de métier des vitrines : une rangée qui glisse */
.ft-accueil__choix {
	display: flex;
	gap: var(--ft-espace-2);
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.ft-accueil__choix::-webkit-scrollbar {
	display: none;
}

.ft-accueil__choix .ft-av__pastille {
	flex: 0 0 auto;
	font-family: var(--ft-police-texte);
	white-space: nowrap;
	cursor: pointer;
}

/* Cartes qui se font glisser au doigt : vitrines et nouveaux */
.ft-accueil__glisse,
.ft-accueil__defile {
	position: relative;
	display: flex;
	gap: 12px;
	margin: 0 calc(var(--ft-marge) * -1);
	padding: 2px var(--ft-marge) 6px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--ft-marge);
	scrollbar-width: none;
}

.ft-accueil__glisse::-webkit-scrollbar,
.ft-accueil__defile::-webkit-scrollbar {
	display: none;
}

.ft-accueil__glisse[hidden] {
	display: none;
}

.ft-accueil__vitrine {
	flex: 0 0 216px;
	gap: 6px;
	scroll-snap-align: start;
}

.ft-accueil__vitrine-tete {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--ft-espace-2);
}

.ft-carte.ft-accueil__vitrine a.ft-av__logo {
	flex-basis: 48px;
	width: 48px;
	height: 48px;
	font-size: 22px;
}

.ft-accueil__vitrine .ft-liste__nom {
	font-size: 16px;
}

.ft-accueil__vitrine-ligne {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ft-accueil__vitrine-boutons {
	display: flex;
	gap: var(--ft-espace-2);
	margin-top: auto;
	padding-top: 4px;
}

.ft-accueil__vitrine-boutons .ft-bouton {
	flex: 1 1 0;
	min-width: 0;
}

/* Bonnes affaires qui défilent seules (accueil.js), et s'arrêtent dès que
   le visiteur pose le doigt ou la souris dessus. */
.ft-accueil__piste {
	display: flex;
	gap: 12px;
}

.ft-accueil__defile--anime {
	overflow: hidden;
	scroll-snap-type: none;
}

.ft-accueil__defile--anime .ft-accueil__piste {
	width: max-content;
	animation: ft-defile-texte var(--ft-duree, 40s) linear infinite;
}

.ft-accueil__defile--anime:hover .ft-accueil__piste,
.ft-accueil__defile--anime:active .ft-accueil__piste,
.ft-accueil__defile--anime:focus-within .ft-accueil__piste {
	animation-play-state: paused;
}

.ft-carte.ft-accueil__promo {
	flex: 0 0 196px;
	width: 196px;
	gap: 0;
	padding: 0;
	overflow: hidden;
	scroll-snap-align: start;
}

.ft-accueil__promo[hidden] {
	display: none;
}

.ft-accueil__promo-photo {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--ft-photo);
}

.ft-accueil__promo-photo img,
.ft-accueil__promo-photo .ft-photo {
	display: flex;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

.ft-accueil__promo-etiquette {
	position: absolute;
	top: 8px;
	left: 8px;
}

.ft-accueil__promo-corps {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 10px 12px 12px;
}

.ft-accueil__promo .ft-liste__nom {
	font-size: 15px;
}

/* Formes grises qui scintillent à la place d'une photo pendant son
   chargement (accueil.js retire la classe une fois l'image arrivée). */
.ft-accueil .ft-charge {
	background: linear-gradient(90deg, #E8DFCF 0, #F5EFE4 80px, #E8DFCF 160px);
	background-size: 480px 100%;
	animation: ft-chargement 1.2s linear infinite;
}

@keyframes ft-chargement {
	from { background-position: -240px 0; }
	to { background-position: 240px 0; }
}

/* Encadré discret du bas : professionnels ouverts et compteurs */
.ft-accueil__compteurs {
	gap: 6px;
}

.ft-accueil__ouverts {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 15px;
}

.ft-accueil__ouverts[hidden] {
	display: none;
}

.ft-accueil__ouverts strong {
	color: var(--ft-vert);
}

.ft-accueil__point {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--ft-vert-logo);
	animation: ft-pouls 1.8s ease-out infinite;
}

@keyframes ft-pouls {
	0% { box-shadow: 0 0 0 0 rgba(0, 158, 73, 0.55); }
	70% { box-shadow: 0 0 0 10px rgba(0, 158, 73, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 158, 73, 0); }
}

.ft-carte p.ft-accueil__chiffres {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px 8px;
	font-size: 15px;
}

/* Apparition douce des sections au défilement, sans script, sur les
   navigateurs qui le permettent (Chrome, Edge, Samsung Internet, Opera). */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.ft-accueil > *:not(.ft-carte--image) {
			animation: ft-apparition linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 40%;
		}
	}
}

/* Moins de mouvement demandé par le téléphone : tout s'arrête, la phrase
   des réseaux s'écrit en entier sur la bande verte. */
@media (prefers-reduced-motion: reduce) {
	.ft-accueil-haut__champ,
	.ft-accueil-haut__encadre,
	.ft-accueil-haut__encadre::after,
	.ft-accueil-haut__titre a.ft-accueil-haut__objet,
	.ft-vagues__couche,
	.ft-vagues__piste,
	.ft-accueil__point,
	.ft-accueil .ft-charge,
	.ft-accueil__defile--anime .ft-accueil__piste {
		animation: none;
	}

	.ft-vagues--phrase {
		height: auto;
		padding-top: 52px;
	}

	.ft-vagues__bande {
		position: relative;
		top: auto;
		padding: 6px var(--ft-marge);
	}

	.ft-vagues__piste {
		width: auto;
		justify-content: center;
	}

	.ft-vagues__texte {
		padding: 0;
		white-space: normal;
		line-height: 1.5;
		text-align: center;
	}

	.ft-vagues__texte[aria-hidden="true"] {
		display: none;
	}
}

/* Écran 9 : accueil sur ordinateur, recherche sur une ligne, grilles de
   quatre colonnes. */
@media (min-width: 768px) {
	.ft-accueil-haut__encadre {
		width: 100%;
		max-width: 900px;
		margin: 0 auto;
		padding: 20px 28px 22px;
	}

	.ft-accueil-haut__titre {
		font-size: 30px;
	}

	/* La recherche s'aligne sur l'encadré de la phrase (900 pixels). */
	.ft-accueil-haut__recherche {
		width: 100%;
		max-width: 900px;
		margin: 0 auto;
	}

	.ft-accueil-haut__ligne {
		flex-direction: row;
		align-items: stretch;
	}

	.ft-accueil-haut__champ {
		flex: 1 1 auto;
	}

	.ft-accueil-haut__bouton,
	.ft-accueil-haut__bouton:hover,
	.ft-accueil-haut__bouton:focus {
		flex: 0 0 200px;
		width: 200px;
		min-height: 58px;
	}

	.ft-accueil-haut__duo {
		width: 100%;
		max-width: 900px;
		margin: 4px auto 0;
	}

	.ft-accueil-haut__duo .ft-encadre__image {
		aspect-ratio: 2 / 1;
	}

	.ft-accueil__quatre {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Annuaire des métiers et catégories de l'accueil : six cases, donc
	   trois colonnes pleines au lieu de quatre puis deux. */
	.ft-accueil .ft-av__grille {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Sur grand écran, les images des cases larges deviennent des bandeaux
	   plus bas, pour ne pas occuper tout l'écran (sujet au centre). */
	.ft-accueil__duo .ft-encadre__image {
		aspect-ratio: 2 / 1;
	}

	.ft-accueil__large .ft-encadre__image {
		aspect-ratio: 4 / 1;
	}

	.ft-accueil__glisse,
	.ft-accueil__defile {
		margin: 0;
		padding-left: 0;
		padding-right: 0;
		scroll-padding-left: 0;
	}

	.ft-accueil__phrase,
	.ft-accueil__une-titre {
		font-size: 26px;
	}
}

@media (min-width: 769px) {
	.separate-containers #main.ft-accueil {
		width: calc(100% - 48px);
		margin: 24px auto;
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.11 bis (thème 0.23.0) : catégories, location et véhicules   */
/* ------------------------------------------------------------------ */

/* Unité d'un prix de location, « par jour », plus discrète que le prix */
.ft-prix__unite {
	color: var(--ft-doux);
	font-size: 13px;
	font-weight: 600;
}

.ft-produit .ft-produit__prix-bloc .ft-prix__unite {
	font-size: 15px;
}

/* ------------------------------------------------------------------ */
/* Bloc 2.14 (thème 0.24.0) : Résultats d'examens et concours         */
/* ------------------------------------------------------------------ */

.ft-examens__intro {
	text-align: center;
}

.ft-examens__titre {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	color: var(--ft-encre);
}

.ft-examens__liste {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 22px;
	font-size: 14px;
	line-height: 1.5;
}

.ft-examens__liste--etapes li::marker {
	color: var(--ft-rouge);
	font-weight: 700;
}

.ft-examens__alerte-titre {
	display: block;
	margin-bottom: 2px;
}

/* La liste des choix du partage s'ouvre sous le bouton, alignée à gauche */
.ft-examens__partage .ft-partage__choix {
	left: 0;
	right: auto;
}

@media print {
	.ft-examens__partage {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Bloc 2.15 (thème 0.25.0) : pages fixes                             */
/* ------------------------------------------------------------------ */

.ft-page-fixe__sous-titre {
	text-align: center;
}

/* Les trois étapes pour les professionnels (version D validée par Soul le
   15 novembre 2026) : encadrés l'un sous l'autre, fond vert scintillant,
   paillettes le long des bords et reflet lumineux ; l'encadré de l'étape en
   cours se soulève et prend un cadre jaune, 1 puis 2 puis 3. */
.ft-page-fixe__titre-etapes {
	margin: 4px 0 0;
	font-size: 19px;
	line-height: 1.3;
	text-align: center;
	color: var(--ft-blanc);
}

.ft-page-fixe__etapes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ft-etape;
}

.ft-page-fixe__etapes li {
	counter-increment: ft-etape;
	animation: ft-etape-leve 4.5s ease-in-out infinite;
}

.ft-page-fixe__etapes li:nth-child(2),
.ft-page-fixe__etapes li:nth-child(2) .ft-page-fixe__etape,
.ft-page-fixe__etapes li:nth-child(2) .ft-page-fixe__etape::after {
	animation-delay: 1.5s;
}

.ft-page-fixe__etapes li:nth-child(3),
.ft-page-fixe__etapes li:nth-child(3) .ft-page-fixe__etape,
.ft-page-fixe__etapes li:nth-child(3) .ft-page-fixe__etape::after {
	animation-delay: 3s;
}

.ft-page-fixe__etape {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	overflow: hidden;
	color: var(--ft-blanc);
	text-decoration: none;
	border: 3px solid rgba(255, 255, 255, 0.55);
	border-radius: 14px;
	background:
		radial-gradient(circle at 2.5% 12%, rgba(255, 255, 255, 0.95) 0 1.4px, transparent 2.2px),
		radial-gradient(circle at 97.5% 12%, rgba(255, 236, 140, 0.95) 0 1.6px, transparent 2.4px),
		radial-gradient(circle at 2.5% 88%, rgba(255, 236, 140, 0.9) 0 1.2px, transparent 2px),
		radial-gradient(circle at 97.5% 90%, rgba(255, 255, 255, 0.9) 0 1.4px, transparent 2.2px),
		radial-gradient(circle at 50% 6%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.8px),
		radial-gradient(circle at 98.5% 50%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.8px),
		linear-gradient(135deg, #00863F 0%, var(--ft-vert) 45%, #006633 100%);
	animation: ft-etape-cadre 4.5s ease-in-out infinite;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.15s ease;
}

.ft-page-fixe__etape:hover,
.ft-page-fixe__etape:focus {
	color: var(--ft-blanc);
}

/* Chiffre de l'étape, avec une lueur jaune qui va et vient */
.ft-page-fixe__etape::before {
	content: counter(ft-etape);
	flex: 0 0 auto;
	min-width: 26px;
	position: relative;
	z-index: 1;
	font-family: var(--ft-police-titre);
	font-weight: 700;
	font-size: 34px;
	line-height: 1;
	text-align: center;
	color: var(--ft-blanc);
	animation: ft-etape-scintille 1.8s ease-in-out infinite alternate;
}

/* Reflet lumineux qui traverse l'encadré */
.ft-page-fixe__etape::after {
	content: "";
	position: absolute;
	top: -10%;
	bottom: -10%;
	left: -70%;
	width: 45%;
	pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-18deg);
	animation: ft-etape-reflet 4.5s ease-in-out infinite;
}

.ft-page-fixe__etape-texte {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #EAF7EF;
}

.ft-page-fixe__etape-titre {
	font-size: 15.5px;
	color: var(--ft-blanc);
}

.ft-page-fixe__etape-note {
	font-size: 12px;
	color: #CFE9DA;
}

.ft-page-fixe__etape-action {
	margin-top: 2px;
	font-weight: 700;
	font-size: 13px;
	color: var(--ft-lien-bleu);
}

a.ft-page-fixe__etape:active {
	transform: scale(0.97);
}

@keyframes ft-etape-leve {
	0%, 36%, 100% { transform: translateY(0); }
	10%, 28% { transform: translateY(-4px); }
}

@keyframes ft-etape-cadre {
	0%, 36%, 100% { border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }
	10%, 28% { border-color: #FCD116; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); }
}

@keyframes ft-etape-reflet {
	0% { left: -70%; }
	30%, 100% { left: 140%; }
}

@keyframes ft-etape-scintille {
	from { text-shadow: 0 0 0 rgba(252, 209, 22, 0); }
	to { text-shadow: 0 0 10px rgba(252, 209, 22, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
	.ft-page-fixe__etapes li,
	.ft-page-fixe__etape,
	.ft-page-fixe__etape::before,
	.ft-page-fixe__etape::after {
		animation: none;
	}
}

@media print {
	.ft-page-fixe__etape {
		color: var(--ft-encre);
		background: var(--ft-blanc);
		border-color: var(--ft-gris);
	}
	.ft-page-fixe__etape::before,
	.ft-page-fixe__etape-texte,
	.ft-page-fixe__etape-titre {
		color: var(--ft-encre);
	}
}

/* Case du badge bleu « Numéro vérifié » de la page Sécurité et arnaques :
   le badge en grand, centré au-dessus du titre, puis un exemple tel qu'on
   le voit sur les cartes */
.ft-page-fixe__badge {
	align-items: center;
	text-align: center;
}

.ft-page-fixe__badge-grand .ft-rosette {
	width: 64px;
	height: 64px;
	margin: 0;
	vertical-align: middle;
}

.ft-page-fixe__badge-exemple {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border: 2px solid var(--ft-gris-pale);
	border-radius: 999px;
	font-weight: 700;
}

.ft-page-fixe__titre,
.ft-page-fixe__texte h2 {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	color: var(--ft-encre);
}

.ft-page-fixe__texte h3 {
	margin: 6px 0 0;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.35;
	color: var(--ft-encre);
}

.ft-page-fixe__texte p,
.ft-page-fixe__texte ul,
.ft-page-fixe__texte ol {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.ft-page-fixe__texte ul,
.ft-page-fixe__texte ol {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 22px;
}

/* Règle de centrage (rappel de Soul du 15 novembre 2026) : sur chaque case,
   pictogramme centré au-dessus du titre, titre centré ; les cases courtes
   sont centrées en entier, les cases longues gardent leur texte à gauche */
.ft-page-fixe__picto {
	display: flex;
	justify-content: center;
}

.ft-page-fixe__picto .ft-picto {
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

.ft-page-fixe__picto .ft-picto svg {
	width: 25px;
	height: 25px;
}

.ft-page-fixe__carte > .ft-page-fixe__titre,
.ft-page-fixe__texte h2,
.ft-page-fixe__texte--court,
.ft-page-fixe__centre,
.ft-page-fixe__provisoire,
.ft-page-fixe__reflexes {
	text-align: center;
}

.ft-page-fixe__centre .ft-nom-cercle {
	justify-content: center;
}

/* Encadrés jaunes centrés : la barre rouge passe du côté gauche au haut,
   pour rester symétrique */
.ft-page-fixe__provisoire,
.ft-page-fixe__reflexes {
	border-left-width: var(--ft-bordure);
	border-top: 6px solid var(--ft-rouge);
}

/* Les bons réflexes : pictogramme et titre centrés */
.ft-page-fixe__reflexes {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-2);
}

.ft-page-fixe__reflexes-titre {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
	color: var(--ft-encre);
}

.ft-page-fixe__reflexes p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

/* Bouton sous une grille, vers sa page d'explication */
.ft-page-fixe__grille-bouton {
	margin-top: var(--ft-espace-2);
}

/* Grilles des tarifs */
.ft-page-fixe__tarifs {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 14px;
}

.ft-page-fixe__tarifs th,
.ft-page-fixe__tarifs td {
	padding: 8px 4px;
	border: 0;
	border-bottom: 1px solid #EEE9E1;
	text-align: left;
	vertical-align: top;
	font-weight: 400;
}

.ft-page-fixe__tarifs thead th {
	font-size: 12px;
	font-weight: 600;
	color: var(--ft-doux);
	border-bottom: 2px solid #E5E0D8;
}

.ft-page-fixe__tarifs .ft-page-fixe__nombre {
	text-align: right;
	white-space: nowrap;
}

/* Onglets des trois pages juridiques */
.ft-page-fixe__onglets {
	display: flex;
	background: var(--ft-blanc);
	border: 2px solid var(--ft-gris);
	border-radius: 14px;
	overflow: hidden;
}

.ft-page-fixe__onglet {
	flex: 1;
	padding: 10px 4px;
	text-align: center;
	font-weight: 600;
	font-size: 13px;
	color: var(--ft-encre);
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.ft-page-fixe__onglet--actif {
	color: var(--ft-rouge);
	border-bottom-color: var(--ft-rouge);
}

@media print {
	.ft-page-fixe__onglets,
	.ft-page-fixe .ft-bouton {
		display: none;
	}
}

/* 30. Mathématiques des guides de révision (thème 0.30.0, maquette validée
   par Soul le 22 novembre 2026) : formules en MathML, figures en SVG,
   tableaux. Police mathématique DejaVu Math TeX Gyre, réduite aux caractères
   utiles, chargée seulement quand une formule s'affiche. */
@font-face {
	font-family: "FT Maths";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/dejavu-math-tex-gyre-sous-ensemble.woff2") format("woff2");
}

.ft-guide__texte math {
	font-family: "FT Maths", math;
	font-size: 1.12em;
}

.ft-formule {
	margin: 0 0 6px;
	padding: 6px 0;
	overflow-x: auto;
	overflow-y: hidden;
	text-align: center;
}

.ft-guide__texte .ft-formule math {
	font-size: 1.2em;
}

.ft-systeme mtd {
	text-align: left;
}

/* Sur un téléphone, les formules se resserrent un peu pour tenir dans
   la largeur de l'écran sans défilement. */
@media (max-width: 420px) {
	.ft-guide__texte math {
		font-size: 1.04em;
	}

	.ft-guide__texte .ft-formule math {
		font-size: 1.06em;
	}
}

@media (max-width: 359px) {
	.ft-guide__texte math {
		font-size: 1em;
	}

	.ft-guide__texte .ft-formule math {
		font-size: 0.95em;
	}

}

.ft-formule-erreur {
	color: var(--ft-rouge);
}

.ft-figure {
	max-width: 340px;
	margin: 12px auto;
	text-align: center;
}

.ft-figure svg {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	font-family: "FT Maths", serif;
}

.ft-figure figcaption {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.4;
	color: #555;
}

.ft-tableau {
	margin: 4px 0 12px;
	overflow-x: auto;
}

.ft-tableau table {
	width: auto;
	min-width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 14px;
}

.ft-tableau th,
.ft-tableau td {
	padding: 6px 8px;
	border: 1px solid var(--ft-gris);
	text-align: center;
}

.ft-tableau th {
	background-color: var(--ft-gris-pale);
	font-weight: 700;
}

@media (max-width: 359px) {
	.ft-tableau table {
		font-size: 13px;
	}

	.ft-tableau th,
	.ft-tableau td {
		padding: 5px 4px;
	}
}

@media print {
	.ft-formule,
	.ft-tableau {
		overflow: visible;
	}

	.ft-figure {
		break-inside: avoid;
	}
}

/* 31. Navigation et villes (thème 0.32.0, maquettes validées par Soul le
   22 novembre 2026) : la maison en tête du fil d'Ariane, le bouton
   « Retour à l'accueil » en bas à droite, l'invitation d'une ville sans
   fiche. */
.ft-ariane__accueil,
.ft-ariane__accueil:visited {
	justify-content: center;
	min-width: var(--ft-cible);
}

.ft-ariane__accueil .ft-maison {
	display: block;
}

.ft-retour-accueil,
.ft-retour-accueil:visited {
	position: fixed;
	right: 12px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 950;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: var(--ft-cible);
	padding: 8px 16px 8px 12px;
	border: 3px solid var(--ft-jaune);
	border-radius: 999px;
	background-color: var(--ft-blanc);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
	color: var(--ft-rouge);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, bottom 0.2s ease;
}

.ft-retour-accueil--visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.ft-retour-accueil:focus {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

body.ft-lecteur-ouvert .ft-retour-accueil {
	bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

/* Thème 0.32.2 : le bas du pied de page laisse la place au bouton, qui ne
   cache plus les derniers liens (toutes les pages sauf l'accueil). */
body:not(.home) .ft-pied__dedans {
	padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
	.ft-retour-accueil {
		transition: none;
	}
}

.ft-invitation {
	margin-top: 16px;
	padding: 14px;
	border: 2px dashed var(--ft-jaune);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
	text-align: center;
}

.ft-invitation__titre {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
}

.ft-invitation .ft-invitation__texte {
	margin: 0 0 14px;
	font-size: 15px;
}

.ft-invitation__bouton {
	display: inline-flex;
}

/* Thème 0.33.1 : second bouton de l'invitation, pour le visiteur concerné
   lui-même (décision de Soul du 23 novembre 2026). */
.ft-invitation .ft-invitation__moi,
.ft-invitation .ft-invitation__moi:visited,
.ft-invitation .ft-invitation__moi:hover,
.ft-invitation .ft-invitation__moi:focus {
	display: flex;
	margin-top: 10px;
	border-color: var(--ft-rouge);
	background-color: var(--ft-blanc);
	color: var(--ft-rouge);
}

@media print {
	.ft-retour-accueil,
	.ft-invitation {
		display: none !important;
	}
}

/* 32. Bloc 2.20 : calculateurs du bâtiment (maquettes 44 et 45 validées
   par Soul le 23 novembre 2026). */
.ft-calcul__chapeau {
	text-align: center;
}

.ft-onglets--1 { grid-template-columns: minmax(0, 1fr); }
.ft-onglets--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ft-onglets--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ft-onglets--4 .ft-onglets__lien {
	padding-right: 2px;
	padding-left: 2px;
	font-size: 13px;
}

.ft-calcul__formulaire {
	gap: 12px;
}

.ft-calcul__aide {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ft-doux);
}

.ft-calcul__deux {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ft-calcul__deux[hidden] {
	display: none;
}

.ft-calcul__choix {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ft-calcul__choix .ft-champ__libelle {
	display: block;
	margin-bottom: 6px;
	padding: 0;
}

.ft-calcul__pilules {
	display: flex;
	gap: 8px;
}

.ft-calcul__pilule {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}

.ft-calcul__pilule input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ft-calcul__pilule span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ft-cible);
	padding: 8px 4px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.ft-calcul__pilule input:checked + span {
	border-color: var(--ft-rouge);
	background-color: var(--ft-rose);
	color: var(--ft-rouge);
}

.ft-calcul__pilule input:focus-visible + span {
	outline: 3px solid var(--ft-encre);
	outline-offset: 2px;
}

.ft-calcul__resultat {
	font-size: 14px;
}

.ft-carte .ft-calcul__resultat p {
	margin: 0;
}

.ft-carte p.ft-calcul__quantite {
	margin: 0 0 4px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.ft-calcul__details {
	margin: 4px 0 8px;
	padding-left: 18px;
	line-height: 1.5;
}

.ft-carte p.ft-calcul__mention {
	margin-top: 4px;
	font-weight: 700;
}

.ft-calcul__resultat .ft-calcul__mention + p {
	margin-top: 6px;
}

.ft-calcul__liens {
	display: grid;
	gap: 10px;
}

.ft-calcul__sans-lien {
	margin: 0;
	padding: 12px;
	border: var(--ft-bordure) dashed var(--ft-sur-bleu);
	border-radius: var(--ft-arrondi-grand);
	color: var(--ft-sur-bleu);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

#resultat {
	scroll-margin-top: 16px;
}

/* 33. Thème 0.34.0 : l'option choisie se reconnaît d'un coup d'œil, fond
   vert transparent au lieu d'un trait fin en bas (demande de Soul du
   23 novembre 2026). Vaut pour les onglets des révisions (examens et
   matières), des calculateurs, des résultats de recherche, des pages
   juridiques, et pour les boutons de choix des calculateurs. */
.ft-onglets__lien--choisi,
.ft-onglets__lien--choisi:visited,
a.ft-recherche__onglet--choisi,
a.ft-recherche__onglet--choisi:visited,
.ft-page-fixe__onglet--actif,
.ft-page-fixe__onglet--actif:visited {
	border-bottom-color: transparent;
	background-color: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert);
	font-weight: 700;
}

.ft-calcul__pilule input:checked + span {
	border-color: var(--ft-vert);
	background-color: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert);
}

/* 34. Thème 0.35.0 : encadrés plus petits et options en deux temps
   (maquette « Options en deux temps » validée par Soul le 23 novembre
   2026 ; « les cases carrées s'appliquent partout »). */

/* 34.1 Cases carrées : toutes les cases de navigation (catégories, familles,
   métiers, examens, matières, idées, calculateurs, cases de l'accueil).
   L'image occupe le haut du carré en bandeau et prend la hauteur que le
   texte laisse libre ; le pictogramme se pose à sa base. Un nom de trois
   lignes allonge un peu la case plutôt que d'être coupé. */
.ft-carre {
	--ft-espace-4: 8px;
	aspect-ratio: 1;
	gap: 3px;
	overflow: visible;
}

.ft-carre:not(.ft-carte--image) {
	justify-content: center;
}

.ft-carre.ft-carte--image {
	justify-content: flex-start;
}

.ft-carre .ft-encadre__image {
	flex: 1 1 0;
	min-height: 48px;
	aspect-ratio: auto;
	border-radius: 12px 12px 0 0;
}

.ft-carre .ft-liste__nom,
.ft-carre .ft-accueil__nom {
	font-size: 14px;
	line-height: 1.25;
}

.ft-carre .ft-accueil__nom--titre {
	font-size: 17px;
}

.ft-carre .ft-mut {
	font-size: 12.5px;
	line-height: 1.3;
}

/* Sur grand écran, les deux paires de cases de l'accueil ne deviennent pas
   de très grands carrés. */
@media (min-width: 768px) {
	.ft-accueil-haut__duo,
	.ft-accueil__duo {
		width: 100%;
		max-width: 560px;
		margin-right: auto;
		margin-left: auto;
	}
}

/* Toucher : la case s'enfonce un peu. */
@media (prefers-reduced-motion: no-preference) {
	a.ft-carre {
		transition: transform 0.12s ease, box-shadow 0.2s ease;
	}

	a.ft-carre:active {
		transform: scale(0.97);
	}
}

/* 34.2 Options en deux temps : Révisions, Achat et vente, Tous les métiers.
   La case touchée passe au vert transparent et ses options apparaissent
   dans un volet sous sa rangée, avec un léger zoom avant. Sans script,
   chaque case reste un lien vers sa page. */
.ft-choix {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
}

@media (min-width: 768px) {
	.ft-choix {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ft-choix--large {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Case seule en fin de rangée, sur deux colonnes : centrée, même largeur. */
@media (max-width: 767px) {
	.ft-choix:not(.ft-choix--3) > .ft-choix__case:last-of-type:nth-of-type(odd),
	.ft-choix__grille:not(.ft-choix__grille--tout):not(.ft-choix__grille--3) > .ft-choix__option:last-child:nth-child(odd),
	.ft-choix__grille--tout > .ft-choix__option:last-child:nth-child(even) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - var(--ft-espace-3) / 2);
	}
}

a.ft-choix__case,
a.ft-choix__case:visited {
	position: relative;
	cursor: pointer;
}

/* Au toucher, le vert suffit : le contour jaune reste pour le clavier. */
a.ft-choix__case:focus:not(:focus-visible),
a.ft-choix__option:focus:not(:focus-visible) {
	outline: none;
}

/* Petite flèche dans le coin haut de la case : elle s'ouvre sur place. */
.ft-choix__chevron {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-blanc);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	color: var(--ft-encre);
	transition: transform 0.25s ease;
}

/* Case choisie : fond vert transparent, comme les onglets (thème 0.34.0). */
a.ft-choix__case[aria-expanded="true"] {
	border-color: var(--ft-vert);
	background: linear-gradient(rgba(0, 122, 61, 0.16), rgba(0, 122, 61, 0.16)), var(--ft-blanc);
	box-shadow: 0 0 0 3px rgba(0, 158, 73, 0.3);
}

a.ft-choix__case[aria-expanded="true"] .ft-liste__nom,
a.ft-choix__case[aria-expanded="true"] .ft-choix__chevron {
	color: var(--ft-vert);
}

a.ft-choix__case[aria-expanded="true"] .ft-choix__chevron {
	transform: rotate(180deg);
}

/* Volet du second niveau : sur toute la largeur, sous la rangée de la case
   choisie, avec une pointe tournée vers elle. */
.ft-choix__volet {
	grid-column: 1 / -1;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-2);
	margin-top: 4px;
	padding: 12px 10px 10px;
	border: var(--ft-bordure) solid var(--ft-vert-logo);
	border-radius: var(--ft-arrondi-grand);
	background: linear-gradient(180deg, #2E4EC2 0%, var(--ft-roi-fonce) 100%);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.ft-choix__volet[hidden] {
	display: none;
}

.ft-choix__volet::before {
	content: "";
	position: absolute;
	top: -9px;
	left: var(--ft-pointe, 50%);
	width: 16px;
	height: 16px;
	border-top: var(--ft-bordure) solid var(--ft-vert-logo);
	border-left: var(--ft-bordure) solid var(--ft-vert-logo);
	background-color: #2E4EC2;
	transform: translateX(-50%) rotate(45deg);
}

.ft-choix__volet p.ft-choix__titre {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: var(--ft-blanc);
}

.ft-choix__volet p.ft-choix__ligne {
	margin: -4px 0 2px;
	font-size: 13px;
	text-align: center;
	color: var(--ft-sur-bleu);
}

.ft-choix__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ft-espace-3);
}

@media (min-width: 768px) {
	.ft-choix__grille {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ft-choix__option,
a.ft-choix__option,
a.ft-choix__option:visited {
	align-items: center;
	text-align: center;
	color: var(--ft-encre);
	text-decoration: none;
}

/* Options sans image (sous-catégories) : petites cases de texte. */
.ft-choix__option:not(.ft-carre) {
	--ft-espace-4: 8px;
	justify-content: center;
	gap: 2px;
	min-height: 64px;
}

.ft-choix__option:not(.ft-carre) .ft-liste__nom {
	font-size: 14.5px;
	font-weight: 600;
}

/* Sous-catégorie sans produit : visible, grisée, sans lien. */
span.ft-choix__option.ft-metiers__vide {
	background-color: #F6F4F1;
	color: var(--ft-doux);
}

/* « Toute la catégorie », en tête du volet, sur toute la largeur. */
.ft-choix__option--tout {
	grid-column: 1 / -1;
	min-height: 52px;
	border-color: var(--ft-rouge);
}

.ft-choix__grille .ft-choix__option--tout .ft-liste__nom {
	font-weight: 700;
	color: var(--ft-rouge);
}

/* Trois cases sur une seule ligne (examens, puis matières). Un nom trop
   long se coupe à sa syllabe (« Mathé-matiques ») seulement là où il ne
   tient pas. */
.ft-choix--3,
.ft-choix__grille--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.ft-choix--3 > .ft-carte,
.ft-choix__grille--3 > .ft-carte {
	--ft-espace-4: 5px;
}

.ft-choix--3 .ft-encadre__image,
.ft-choix__grille--3 .ft-encadre__image {
	min-height: 30px;
}

.ft-choix--3 .ft-liste__nom,
.ft-choix__grille--3 .ft-liste__nom {
	font-size: 13px;
}

.ft-choix__volet--3 {
	padding-right: 5px;
	padding-left: 5px;
}

@media (min-width: 768px) {
	.ft-choix--3,
	.ft-choix__grille--3 {
		gap: var(--ft-espace-3);
	}

	.ft-choix__volet--3 {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* Léger zoom avant à l'ouverture, les options une à une ; rien quand le
   téléphone demande de réduire les animations. */
@media (prefers-reduced-motion: no-preference) {
	.ft-choix__volet {
		transform-origin: var(--ft-pointe, 50%) 0;
		animation: ft-volet 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}

	.ft-choix__grille > * {
		animation: ft-volet-option 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
		animation-delay: calc(var(--i, 0) * 40ms + 80ms);
	}
}

@keyframes ft-volet {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes ft-volet-option {
	from {
		opacity: 0;
		transform: scale(0.86);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* 34.3 Grandes cartes de l'accueil (Assistance, À la une, Idées de
   business, Calculez vos matériaux, Vous cherchez, Vous vendez) : sur
   téléphone, un bandeau d'image plus bas, 3:1 au lieu de 2:1. */
@media (max-width: 767px) {
	.ft-accueil__large .ft-encadre__image {
		aspect-ratio: 3 / 1;
	}
}

/* 34.4 Images en tête de page (catégorie, matière, métier, idée, guide,
   résultats, concours) : 16:9 au lieu de 4:3, le format conseillé des
   images des encadrés. */
.ft-idees__entete .ft-encadre__image,
.ft-guide__image .ft-encadre__image {
	aspect-ratio: 16 / 9;
}

/* 34.5 Vignettes des listes d'idées et de guides : carrées, 72 pixels. */
.ft-vignette {
	width: 72px;
	height: 72px;
}

/* 34.6 Mouvements (demande de Soul du 23 novembre 2026 : un design
   dynamique là où il apporte un plus). Le volet ouvert prend le cadre
   tricolore qui défile, comme l'encadré « Plateformes officielles de
   l'État » ; la case choisie reçoit un reflet et son pictogramme bat
   doucement ; les cases arrivent l'une après l'autre au chargement. Tout
   s'arrête quand le téléphone demande de réduire les animations. */
.ft-choix__volet {
	border: 3px solid transparent;
	background:
		linear-gradient(180deg, #2E4EC2 0%, var(--ft-roi-fonce) 100%) padding-box,
		linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D) border-box;
	background-size: 100% 100%, 200% 100%;
}

.ft-choix__volet::before {
	top: -10px;
	border-top-color: var(--ft-jaune);
	border-left-color: var(--ft-jaune);
	border-top-width: 3px;
	border-left-width: 3px;
}

@media (prefers-reduced-motion: no-preference) {
	.ft-choix__volet {
		animation: ft-volet 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both, ft-cadre 6s linear infinite;
	}

	/* Reflet qui traverse la case au moment où elle s'ouvre. */
	a.ft-choix__case[aria-expanded="true"]::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		border-radius: inherit;
		background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%) no-repeat;
		background-size: 250% 100%;
		pointer-events: none;
		animation: ft-balaye 0.9s ease-out 1 both;
	}

	/* Le pictogramme de la case ouverte bat doucement, en vert. */
	a.ft-choix__case[aria-expanded="true"] > .ft-symbole {
		animation: ft-pouls-picto 1.8s ease-out infinite;
	}

	/* Arrivée des cases, l'une après l'autre. */
	.ft-choix > .ft-carre,
	.ft-idees__grille > .ft-carre {
		animation: ft-volet-option 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}

	.ft-choix > .ft-carre:nth-child(2), .ft-idees__grille > .ft-carre:nth-child(2) { animation-delay: 40ms; }
	.ft-choix > .ft-carre:nth-child(3), .ft-idees__grille > .ft-carre:nth-child(3) { animation-delay: 80ms; }
	.ft-choix > .ft-carre:nth-child(4), .ft-idees__grille > .ft-carre:nth-child(4) { animation-delay: 120ms; }
	.ft-choix > .ft-carre:nth-child(5), .ft-idees__grille > .ft-carre:nth-child(5) { animation-delay: 160ms; }
	.ft-choix > .ft-carre:nth-child(6), .ft-idees__grille > .ft-carre:nth-child(6) { animation-delay: 200ms; }
	.ft-choix > .ft-carre:nth-child(n+7), .ft-idees__grille > .ft-carre:nth-child(n+7) { animation-delay: 240ms; }
}

@keyframes ft-balaye {
	from { background-position: 130% 0; }
	to { background-position: -30% 0; }
}

@keyframes ft-pouls-picto {
	0% { box-shadow: 0 0 0 3px var(--ft-blanc), 0 0 0 3px rgba(0, 158, 73, 0.55); }
	70% { box-shadow: 0 0 0 3px var(--ft-blanc), 0 0 0 12px rgba(0, 158, 73, 0); }
	100% { box-shadow: 0 0 0 3px var(--ft-blanc), 0 0 0 3px rgba(0, 158, 73, 0); }
}

/* 34.7 Thème 0.36.0 (remarques de Soul du 23 novembre 2026). Cases côte à
   côte de même hauteur : une case carrée s'étire à la hauteur de sa
   voisine quand celle-ci porte plus de texte. */
.ft-carre {
	align-self: stretch;
}

/* 34.8 Fil d'Ariane en petites cases, sur tout le site (thème 0.36.0),
   resserré au thème 0.36.1 : il ne montre que le chemin parcouru, en
   cases compactes qui tiennent sur une ligne ; une case trop longue écrit
   son texte sur deux lignes sans couper un mot. */
/* Thème 0.36.2 (demande de Soul) : toutes les cases sur une seule ligne,
   alignées et de même hauteur ; une case longue écrit son texte sur deux
   lignes, sans couper un mot. */
.ft-ariane__liste {
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 4px;
}

.ft-ariane__etape {
	flex: 0 1 auto;
	min-width: auto;
}

.ft-ariane__etape--accueil {
	flex-shrink: 0;
}

.ft-ariane a,
.ft-ariane a:visited,
.ft-ariane__etape > span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 3px 8px;
	text-align: left;
	border: var(--ft-bordure) solid rgba(255, 255, 255, 0.55);
	border-radius: var(--ft-arrondi);
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--ft-lien-bleu);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.ft-ariane a.ft-ariane__accueil,
.ft-ariane a.ft-ariane__accueil:visited {
	justify-content: center;
	gap: 6px;
	min-width: 40px;
	padding: 4px 8px;
}

.ft-ariane a.ft-ariane__accueil--seule {
	padding-right: 12px;
}

.ft-ariane__etape + .ft-ariane__etape::before {
	font-size: 15px;
	font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
	.ft-ariane a {
		transition: background-color 0.2s ease;
	}

	.ft-ariane a:active {
		background-color: rgba(255, 255, 255, 0.25);
	}
}

/* 34.9 Encadré « Voir les 29 métiers », « Voir les 16 catégories », « Voir
   toutes les boutiques » : pictogramme, texte et flèche rouge qui avance
   doucement, liseré tricolore qui défile en bas. */
a.ft-voir-tout,
a.ft-voir-tout:visited {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	align-self: stretch;
	min-height: 56px;
	padding: 10px 14px 13px;
	overflow: hidden;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-grand);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

a.ft-voir-tout:focus-visible {
	outline: 3px solid var(--ft-lien-bleu);
	outline-offset: 2px;
}

a.ft-voir-tout::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D);
	background-size: 200% 100%;
}

.ft-voir-tout__fleche {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
}

@media (prefers-reduced-motion: no-preference) {
	a.ft-voir-tout {
		transition: transform 0.12s ease;
	}

	a.ft-voir-tout:active {
		transform: scale(0.98);
	}

	a.ft-voir-tout::after {
		animation: ft-cadre-bande 6s linear infinite;
	}

	.ft-voir-tout__fleche svg {
		animation: ft-avance 1.6s ease-in-out infinite;
	}
}

@keyframes ft-cadre-bande {
	from { background-position: 0 0; }
	to { background-position: 200% 0; }
}

@keyframes ft-avance {
	0%, 100% { transform: translateX(-2px); }
	50% { transform: translateX(3px); }
}

/* 34.10 Thème 0.36.4 (remarques de Soul du 24 novembre 2026, captures à
   l'appui). */

/* Cases carrées côte à côte : elles gardent la largeur de leur colonne,
   même quand l'une s'étire en hauteur (elles se chevauchaient). */
.ft-carre {
	width: 100%;
}

/* Champs de saisie bien visibles partout : fond blanc et bordure grise
   épaisse, comme les listes ; le style du thème parent prenait le dessus. */
input.ft-champ__saisie,
textarea.ft-champ__saisie,
select.ft-champ__liste {
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	box-shadow: none;
}

input.ft-champ__saisie:focus,
textarea.ft-champ__saisie:focus,
select.ft-champ__liste:focus {
	border-color: var(--ft-encre);
	background-color: var(--ft-blanc);
}

/* Fil d'Ariane : un mot trop long pour sa case se coupe à sa syllabe. */
.ft-ariane a,
.ft-ariane__etape > span {
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Titres des pages vides (« Aucun produit … pour le moment », « Aucune
   fiche … ») : plus petits et centrés, sur tout le site. */
.ft-liste__vide,
.ft-liste .ft-liste__vide,
h2.ft-liste__vide {
	margin: 0;
	font-family: var(--ft-police-texte);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	color: var(--ft-encre);
	text-wrap: balance;
}

@media print {
	.ft-choix__chevron,
	.ft-choix__volet[hidden],
	.ft-voir-tout {
		display: none !important;
	}
}

/* 35. Thème 0.37.0, étape 3 : écrans de compte (maquette « Comptes »
   validée par Soul le 24 novembre 2026). Les trois parcours de
   l'inscription reprennent les options en deux temps : la case choisie
   passe au vert et son formulaire s'ouvre dessous, dans le cadre
   tricolore. */

/* 35.1 Page de compte : une colonne étroite, centrée sur grand écran. */
.ft-compte {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
	width: 100%;
	max-width: 560px;
	margin-right: auto;
	margin-left: auto;
}

.ft-compte .ft-sous-titre {
	text-align: center;
}

/* 35.2 Les trois parcours : cases carrées sans image, pictogramme au centre. */
.ft-compte__parcours .ft-symbole {
	align-self: center;
	margin-bottom: 4px;
}

.ft-compte__parcours .ft-liste__nom {
	-webkit-hyphens: auto;
	hyphens: auto;
}

.ft-compte__parcours .ft-mut {
	font-weight: 600;
}

.ft-compte__parcours--gratuit .ft-mut {
	color: var(--ft-vert);
}

/* Le volet porte un formulaire : un peu plus d'air, alignement à gauche. */
.ft-compte__volet {
	gap: var(--ft-espace-3);
	padding: 14px 10px 12px;
}

.ft-compte__tarifs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ft-compte__tarifs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 4px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--ft-arrondi);
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--ft-blanc);
	font-size: 12.5px;
	line-height: 1.3;
	text-align: center;
}

.ft-compte__tarifs strong {
	font-size: 15px;
}

@media (min-width: 480px) {
	.ft-compte__tarifs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* L'offre de lancement : fond jaune des notes, cadeau à gauche. */
.ft-compte__offre {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ft-compte__offre svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--ft-rouge);
}

/* 35.3 Formulaire */
.ft-compte__formulaire {
	gap: var(--ft-espace-4);
}

.ft-compte__formulaire .ft-champ {
	gap: 5px;
}

.ft-compte__aide {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--ft-doux);
}

.ft-carte p.ft-compte__aide {
	font-size: 12.5px;
	line-height: 1.4;
}

.ft-compte__facultatif {
	font-weight: 400;
	color: var(--ft-doux);
}

/* Champ actif : bord vert et halo léger. */
.ft-compte input.ft-champ__saisie:focus,
.ft-compte textarea.ft-champ__saisie:focus,
.ft-compte select.ft-champ__liste:focus {
	border-color: var(--ft-vert);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 158, 73, 0.22);
}

.ft-compte textarea.ft-champ__saisie {
	min-height: 70px;
	resize: vertical;
	line-height: 1.4;
}

/* Champ refusé : bord rouge foncé et message dessous. */
.ft-compte .ft-champ--ko input.ft-champ__saisie,
.ft-compte .ft-champ--ko select.ft-champ__liste {
	border-color: var(--ft-ko);
	background-color: #FFF5F6;
}

.ft-compte__erreur {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--ft-ko);
}

.ft-compte__erreur[hidden] {
	display: none;
}

/* Numéro : l'indicatif 226 posé devant, non modifiable. */
.ft-compte__numero {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.ft-compte__indicatif {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	padding: 0 10px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-right: 0;
	border-radius: var(--ft-arrondi) 0 0 var(--ft-arrondi);
	background-color: #F3F1EC;
	color: var(--ft-libelle);
	font-size: 15px;
	font-weight: 600;
}

.ft-compte .ft-compte__numero input.ft-champ__saisie {
	flex: 1 1 auto;
	border-radius: 0 var(--ft-arrondi) var(--ft-arrondi) 0;
	letter-spacing: 0.04em;
}

/* Mot de passe : bouton œil pour afficher ou masquer. */
.ft-compte__secret {
	position: relative;
	min-width: 0;
}

.ft-compte .ft-compte__secret input.ft-champ__saisie {
	padding-right: 50px;
}

.ft-compte__oeil {
	position: absolute;
	top: 1px;
	right: 1px;
	bottom: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	padding: 0;
	border: 0;
	border-radius: 0 var(--ft-arrondi) var(--ft-arrondi) 0;
	background: transparent;
	color: var(--ft-doux);
	cursor: pointer;
}

.ft-compte__oeil:hover,
.ft-compte__oeil:focus {
	background: transparent;
	color: var(--ft-encre);
}

.ft-compte__oeil .ft-compte__oeil-ferme,
.ft-compte__oeil[aria-pressed="true"] .ft-compte__oeil-ouvert {
	display: none;
}

.ft-compte__oeil[aria-pressed="true"] .ft-compte__oeil-ferme {
	display: inline;
}

/* Règles du mot de passe, cochées en direct. */
.ft-compte__regles {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
}

.ft-compte__regles li {
	display: flex;
	gap: 6px;
	align-items: center;
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--ft-doux);
}

.ft-compte__regles li::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border: 2px solid var(--ft-gris);
	border-radius: 50%;
	box-sizing: border-box;
}

.ft-compte__regles li.ft-compte__regle--ok {
	color: var(--ft-vert);
	font-weight: 600;
}

.ft-compte__regles li.ft-compte__regle--ok::before {
	border-color: var(--ft-vert);
	background: var(--ft-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ft-compte__regles li.ft-compte__regle--ko {
	color: var(--ft-ko);
	font-weight: 600;
}

.ft-compte__regles li.ft-compte__regle--ko::before {
	border-color: var(--ft-ko);
	background: var(--ft-ko) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Image : grande zone à toucher, aperçu une fois choisie. */
.ft-compte__image {
	display: flex;
	gap: 12px;
	align-items: center;
	min-height: 76px;
	padding: 10px 12px;
	border: 2px dashed var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background-color: #FAF9F6;
	color: var(--ft-libelle);
	cursor: pointer;
}

.ft-compte__image:hover,
.ft-compte__image:focus-within {
	border-color: var(--ft-vert);
	background-color: var(--ft-vert-pale);
}

.ft-compte__image-vignette {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 10px;
	background-color: var(--ft-blanc);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	color: var(--ft-vert);
}

.ft-compte__image-vignette img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ft-compte__image-texte {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.ft-compte__image-texte span {
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ft-doux);
}

/* Cases à cocher : grandes, vertes une fois cochées. */
.ft-compte__case {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ft-encre);
	cursor: pointer;
}

.ft-compte__case input {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin: 0;
	border: 2px solid var(--ft-gris);
	border-radius: 7px;
	background-color: var(--ft-blanc);
	cursor: pointer;
}

.ft-compte__case input:checked {
	border-color: var(--ft-vert);
	background: var(--ft-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.ft-compte__case input:focus-visible {
	outline: 3px solid var(--ft-jaune);
	outline-offset: 2px;
}

.ft-compte__case small {
	display: block;
	font-size: 12.5px;
	color: var(--ft-doux);
}

.ft-compte__case--ko input {
	border-color: var(--ft-ko);
	box-shadow: 0 0 0 3px rgba(142, 11, 32, 0.18);
}

/* Bouton d'envoi : un reflet passe dessus quand tout est rempli. */
.ft-compte__envoyer {
	position: relative;
	overflow: hidden;
}

/* Liens sous le formulaire, sur le bleu. */
.ft-compte__liens {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	text-align: center;
}

.ft-compte__liens a,
.ft-compte__liens a:visited {
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	color: var(--ft-lien-bleu);
	font-size: 15px;
	font-weight: 700;
}

.ft-carte a.ft-compte__lien-rouge,
.ft-carte a.ft-compte__lien-rouge:visited {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	margin: -6px 0 -10px;
	font-size: 14.5px;
	font-weight: 700;
}

/* 35.4 Étapes numérotées (mot de passe oublié). */
.ft-compte__etapes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ft-etape;
}

.ft-compte__etapes li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.45;
	counter-increment: ft-etape;
}

.ft-compte__etapes li::before {
	content: counter(ft-etape);
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: var(--ft-vert);
	color: var(--ft-blanc);
	font-size: 14px;
	font-weight: 700;
}

/* 35.5 Écran de confirmation : grand rond vert coché. */
.ft-compte__succes {
	align-items: center;
	text-align: center;
}

.ft-compte__rond {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: var(--ft-vert);
	color: var(--ft-blanc);
	box-shadow: 0 0 0 6px var(--ft-vert-pale);
}

.ft-compte__rond--attente {
	background-color: var(--ft-jaune);
	color: var(--ft-encre);
	box-shadow: 0 0 0 6px var(--ft-note);
}

.ft-compte__suite {
	align-self: stretch;
	text-align: left;
}

/* 35.6 Mouvements, coupés quand le téléphone demande moins d'animation. */
@media (prefers-reduced-motion: no-preference) {
	.ft-compte__case input:checked {
		animation: ft-coche 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.ft-compte__regles li.ft-compte__regle--ok::before {
		animation: ft-coche 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.ft-compte__envoyer--pret::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%) no-repeat;
		background-size: 250% 100%;
		pointer-events: none;
		animation: ft-balaye 2.4s ease-in-out infinite;
	}

	.ft-compte__rond {
		animation: ft-coche 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}

	.ft-champ--ko {
		animation: ft-secoue 0.32s ease-in-out;
	}
}

@keyframes ft-coche {
	0% { transform: scale(0.6); }
	60% { transform: scale(1.15); }
	100% { transform: scale(1); }
}

@keyframes ft-secoue {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

@media print {
	.ft-compte__oeil {
		display: none;
	}
}

/* 35.7 Supprimer mon compte (bloc 3.9, écran 40 refait) : quelques
   questions facultatives, puis deux confirmations, la case cochée et la
   fenêtre finale ; le mot de passe protège un téléphone resté ouvert. */
.ft-compte__progression {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ft-compte__progression li {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--ft-arrondi-pilule);
	color: var(--ft-sur-bleu);
	font-size: 12.5px;
	font-weight: 600;
}

.ft-compte__progression li[aria-current="step"] {
	border-color: var(--ft-blanc);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
}

.ft-compte__progression li.ft-compte__fait {
	border-color: var(--ft-vert-logo);
	background-color: rgba(0, 158, 73, 0.25);
	color: var(--ft-blanc);
}

.ft-compte__temps[hidden] {
	display: none;
}

.ft-compte__question {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ft-compte__question legend {
	float: left;
	width: 100%;
	margin-bottom: 8px;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ft-encre);
}

.ft-compte__question legend + * {
	clear: both;
}

.ft-compte__question legend span {
	display: block;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--ft-doux);
}

.ft-compte__question + .ft-compte__question {
	padding-top: var(--ft-espace-4);
	border-top: 1px solid #E7E3DC;
}

/* Réponses en pilules : vertes une fois choisies, comme les onglets. */
.ft-compte__pilules {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ft-compte__pilule {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.ft-compte__pilule input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ft-compte__pilule span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 12px;
	border: var(--ft-bordure) solid var(--ft-gris);
	border-radius: var(--ft-arrondi-pilule);
	background-color: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 14px;
	line-height: 1.25;
}

.ft-compte__pilule input:checked + span {
	border-color: var(--ft-vert);
	background-color: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert);
	font-weight: 700;
}

.ft-compte__pilule input:focus-visible + span {
	outline: 3px solid var(--ft-jaune);
	outline-offset: 2px;
}

/* Note en étoiles : la note choisie et celles d'avant se remplissent. */
.ft-compte__etoiles {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
}

.ft-compte__etoiles input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ft-compte__etoiles label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #D8D2C6;
	cursor: pointer;
}

.ft-compte__etoiles svg {
	width: 34px;
	height: 34px;
	fill: currentColor;
}

.ft-compte__etoiles input:checked ~ label,
.ft-compte__etoiles label:hover,
.ft-compte__etoiles label:hover ~ label {
	color: var(--ft-jaune);
}

.ft-compte__etoiles input:checked ~ label svg {
	filter: drop-shadow(0 0 1px var(--ft-jaune-trait));
}

.ft-compte__etoiles input:focus-visible + label {
	outline: 3px solid var(--ft-jaune);
	outline-offset: 1px;
	border-radius: 8px;
}

.ft-compte__compteur {
	align-self: flex-end;
	font-size: 12px;
	color: var(--ft-doux);
}

/* Carte de la confirmation : bord rouge, liste de ce qui disparaît. */
.ft-compte__danger {
	border-color: var(--ft-rouge);
	box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.ft-compte__perdu {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ft-compte__perdu li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.4;
}

.ft-compte__perdu li::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--ft-rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.ft-compte__passer,
.ft-compte__passer:visited {
	align-self: center;
	display: inline-flex;
	align-items: center;
	min-height: var(--ft-cible);
	padding: 0 8px;
	border: 0;
	background: none;
	color: var(--ft-rouge);
	font-family: var(--ft-police-texte);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.ft-compte__passer:hover,
.ft-compte__passer:focus {
	background: none;
	color: var(--ft-ko);
}

/* Fenêtre de la dernière confirmation. */
.ft-compte__fenetre {
	width: min(420px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: var(--ft-arrondi-grand);
	background: transparent;
}

.ft-compte__fenetre::backdrop {
	background-color: rgba(20, 16, 12, 0.6);
}

.ft-compte__fenetre .ft-carte {
	align-items: center;
	text-align: center;
	border-color: var(--ft-rouge);
}

.ft-compte__fenetre h2 {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
	color: var(--ft-encre);
}

.ft-compte__rond--danger {
	background-color: var(--ft-rouge);
	box-shadow: 0 0 0 6px var(--ft-rose);
}

.ft-compte__fenetre .ft-bouton {
	width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	.ft-compte__pilule input:checked + span,
	.ft-compte__etoiles input:checked + label {
		animation: ft-coche 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.ft-compte__fenetre[open] .ft-carte {
		animation: ft-volet 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}

	.ft-compte__temps:not([hidden]) {
		animation: ft-volet 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}
}

/* 35.8 Titres posés dans une carte blanche, cartes de l'espace provisoire. */
.ft-compte .ft-compte__titre-carte {
	color: var(--ft-encre);
	text-align: center;
}

.ft-compte__element {
	gap: 6px;
}

.ft-compte__element .ft-bouton {
	margin-top: 4px;
}

/* 35.9 Thème 0.38.0 : boutons en formulaire dans une carte centrée
   (écran Récupérer mon compte). */
.ft-compte__succes form {
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

/* 35.10 Thème 0.39.0 (maquette « Métiers » validée le 25 novembre
   2026) : métier écrit avec « Autre », et proposition d'un métier proche. */
.ft-compte__autre[hidden],
.ft-compte__proposition[hidden],
.ft-compte__aide[hidden] {
	display: none;
}
.ft-compte__proposition {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 8px;
}
.ft-compte__proposition svg {
	flex: 0 0 auto;
	color: var(--ft-vert);
}
.ft-compte__proposition p {
	margin: 0 0 8px;
}
.ft-compte__proposition-boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* 36. Thème 0.38.1 (demande de Soul du 25 novembre 2026) : invitation à
   créer son compte, juste sous le fil d'Ariane des rubriques Achat et
   vente, Toutes les boutiques, métiers et Emploi. Une seule ligne, bord
   jaune, lueur douce qui attire l'œil sans clignoter. */
.ft-invite,
.ft-invite:visited {
	display: flex;
	gap: 10px;
	align-items: center;
	width: 100%;
	min-height: var(--ft-cible);
	margin: 0 0 var(--ft-espace-3);
	padding: 8px 12px;
	border: 2px solid var(--ft-jaune);
	border-radius: var(--ft-arrondi);
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--ft-blanc);
	font-size: 14.5px;
	line-height: 1.3;
	text-decoration: none;
}

.ft-invite:hover,
.ft-invite:focus {
	background-color: rgba(255, 255, 255, 0.2);
	color: var(--ft-blanc);
}

.ft-invite:focus-visible {
	outline: 3px solid var(--ft-blanc);
	outline-offset: 2px;
}

.ft-invite__picto {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: var(--ft-jaune);
	color: var(--ft-encre);
}

.ft-invite__texte {
	flex: 1 1 auto;
	min-width: 0;
}

.ft-invite__texte strong {
	color: var(--ft-jaune);
	white-space: nowrap;
}

.ft-invite__fleche {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--ft-jaune);
}

@media (prefers-reduced-motion: no-preference) {
	.ft-invite {
		animation: ft-invite-lueur 2.8s ease-in-out infinite;
	}

	.ft-invite__fleche {
		animation: ft-avance 1.6s ease-in-out infinite;
	}
}

@keyframes ft-invite-lueur {
	0%, 100% { box-shadow: 0 0 0 0 rgba(252, 209, 22, 0); }
	50% { box-shadow: 0 0 0 4px rgba(252, 209, 22, 0.28); }
}

@media print {
	.ft-invite {
		display: none;
	}
}

/* 37. Thème 0.40.0, bloc 3.3 : tableau de bord de l'espace personnel
   (maquette « Espace personnel » validée par Soul le 25 novembre 2026) :
   « Pour bien démarrer », état et compte à rebours, encadré de paiement
   de l'application du Play Store, aperçu de la fiche ou du profil,
   statistiques et courbe des vues, boutons de gestion, second usage. */
.ft-espace__bonjour {
	margin-bottom: 0;
}
.ft-espace__compte span {
	white-space: nowrap;
}
.ft-espace__compte {
	margin: -6px 0 0;
	color: var(--ft-sur-bleu);
	font-size: 14.5px;
	text-align: center;
}

/* Pour bien démarrer */
.ft-demarrer,
.ft-espace__produits {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ft-demarrer__tete {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.ft-demarrer__tete h2 {
	margin: 0;
	color: var(--ft-encre);
	font-family: var(--ft-police-texte);
	font-size: 17px;
	font-weight: 700;
}
.ft-demarrer__compte {
	color: var(--ft-doux);
	font-size: 14px;
	white-space: nowrap;
}
.ft-demarrer__compte b {
	color: var(--ft-vert);
	font-size: 17px;
}
.ft-demarrer .ft-jauge__plein {
	transition: width 0.6s ease;
}
.ft-demarrer__liste {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ft-demarrer__liste li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--ft-encre);
	font-size: 15px;
	line-height: 1.4;
}
.ft-demarrer__liste a {
	color: var(--ft-rouge);
	font-weight: 700;
	text-decoration: underline;
}
.ft-demarrer__rond {
	display: inline-flex;
	flex: 0 0 22px;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 2px solid var(--ft-gris);
	border-radius: 50%;
	background: var(--ft-blanc);
}
.ft-demarrer__fait {
	color: var(--ft-doux) !important;
}
.ft-demarrer__fait > span:last-child {
	text-decoration: line-through;
	text-decoration-color: var(--ft-gris);
}
.ft-demarrer__fait .ft-demarrer__rond {
	border-color: var(--ft-vert);
	background: var(--ft-vert);
	color: var(--ft-blanc);
	animation: ft-demarrer-coche 0.35s ease;
}
@keyframes ft-demarrer-coche {
	from { transform: scale(0.4); }
	to { transform: scale(1); }
}
.ft-demarrer__pied {
	margin: 0;
	color: var(--ft-doux);
	font-size: 13.5px;
}

/* État de la fiche et compte à rebours */
.ft-espace__etat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.ft-espace__etat .ft-bouton {
	align-self: stretch;
}
.ft-espace__titre {
	margin: 0;
	color: var(--ft-encre);
	font-family: var(--ft-police-texte);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}
.ft-espace__texte {
	margin: 0;
	color: var(--ft-doux);
	font-size: 14.5px;
	line-height: 1.45;
}
.ft-espace__essai {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.ft-espace__essai .ft-jauge {
	flex: 1;
}
.ft-espace__essai-legende {
	color: var(--ft-doux);
	font-size: 13.5px;
	white-space: nowrap;
}
.ft-espace__etat--alerte {
	border: 3px solid var(--ft-rouge);
}
.ft-espace__etat--alerte .ft-espace__titre {
	color: var(--ft-rouge);
}
.ft-espace__etat--alerte .ft-jauge__plein {
	background-color: var(--ft-rouge);
}
.ft-espace__etat--pause {
	background: var(--ft-gris-pale);
}

/* Statistiques */
.ft-espace__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.ft-espace__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 14px 8px;
	text-align: center;
}
.ft-espace__stat strong {
	color: var(--ft-encre);
	font-family: var(--ft-police-titre);
	font-size: 30px;
	line-height: 1.1;
}
.ft-espace__stat span:last-child {
	color: var(--ft-doux);
	font-size: 13.5px;
}
.ft-espace__stat-icone {
	color: var(--ft-roi);
}
.ft-espace__stat--vert strong,
.ft-espace__stat--vert .ft-espace__stat-icone {
	color: var(--ft-vert);
}
.ft-espace__stats-legende {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--ft-sur-bleu);
	font-size: 13px;
	text-align: center;
}

/* Produits du marchand */
.ft-espace__liste-produits {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ft-espace__liste-produits li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--ft-gris-pale);
	color: var(--ft-encre);
	font-size: 15px;
}
.ft-espace__etat-produit {
	color: var(--ft-vert);
	font-weight: 700;
	white-space: nowrap;
}
.ft-espace__etat-produit--rouge {
	color: var(--ft-rouge);
}
.ft-espace__etat-produit--gris {
	color: var(--ft-doux);
}
.ft-espace__duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.ft-espace__duo .ft-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding-right: 8px;
	padding-left: 8px;
}

/* Actions : pictogramme centré au-dessus du libellé (règle de centrage) */
.ft-espace__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.ft-espace__action,
.ft-espace__action:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 84px;
	padding: 12px 8px;
	border: 2px solid var(--ft-blanc);
	border-radius: var(--ft-arrondi);
	color: var(--ft-blanc);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.ft-espace__action:hover,
.ft-espace__action:focus-visible {
	background-color: rgba(255, 255, 255, 0.12);
}
.ft-espace__action:active {
	transform: scale(0.97);
}
.ft-espace__action-icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--ft-blanc);
	color: var(--ft-roi);
}
.ft-espace__action--large,
.ft-espace__action:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

/* Onglets : fond vert transparent, règle du site */
.ft-espace__onglets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 4px;
	border-radius: var(--ft-arrondi);
	background: var(--ft-blanc);
}
.ft-espace__onglets button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: var(--ft-cible);
	padding: 6px;
	border: 0;
	border-radius: var(--ft-arrondi-petit);
	background: transparent;
	color: var(--ft-encre);
	font: 700 14.5px/1.2 var(--ft-police-texte);
	cursor: pointer;
}
.ft-espace__onglets button[aria-selected="true"] {
	background: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert);
}
.ft-espace,
.ft-espace__panneau {
	display: flex;
	flex-direction: column;
	gap: var(--ft-espace-4);
}
.ft-espace__panneau[hidden] {
	display: none;
}
.ft-espace__onglets a,
.ft-espace__onglets a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ft-cible);
	padding: 6px;
	border-radius: var(--ft-arrondi-petit);
	color: var(--ft-encre);
	font: 700 14.5px/1.2 var(--ft-police-texte);
	text-align: center;
	text-decoration: none;
}
.ft-espace__onglets a[aria-pressed="true"] {
	background: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert);
}
.ft-compte__message,
.ft-espace__etat .ft-compte__whatsapp {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ft-compte__whatsapp {
	align-self: flex-start;
	margin-top: 6px;
}
.ft-espace__etat .ft-compte__whatsapp {
	align-self: stretch;
}

/* Thème 0.40.1 : liens sous l'erreur « Ce numéro a déjà un compte ». */
.ft-compte__suites {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 8px;
}
.ft-carte .ft-compte__suites a.ft-compte__lien-rouge {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.ft-demarrer .ft-jauge__plein,
	.ft-espace__action {
		transition: none;
	}
	.ft-demarrer__fait .ft-demarrer__rond {
		animation: none;
	}
}

/* Photo ou initiales en tête */
img.ft-espace__avatar {
	object-fit: cover;
}
.ft-espace__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 64px;
	height: 64px;
	margin-bottom: -8px;
	border: 3px solid var(--ft-blanc);
	border-radius: 50%;
	background: var(--ft-rouge);
	color: var(--ft-blanc);
	font: 700 22px/1 var(--ft-police-titre);
	box-shadow: 0 0 0 3px rgba(252, 209, 22, 0.55);
}

/* Courbe des vues */
.ft-espace__courbe {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
}
.ft-espace__courbe svg {
	display: block;
	width: 100%;
	height: 62px;
}
.ft-espace__courbe-tete,
.ft-espace__courbe-pied {
	display: flex;
	justify-content: space-between;
	color: var(--ft-doux);
	font-size: 13px;
}
.ft-espace__courbe-tete span:first-child {
	color: var(--ft-encre);
	font-weight: 700;
	font-size: 14.5px;
}
.ft-espace__tendance {
	color: var(--ft-vert) !important;
	font-weight: 700;
}
.ft-espace__tendance--baisse {
	color: var(--ft-rouge) !important;
}
.ft-espace__tendance--stable {
	color: var(--ft-doux) !important;
}

/* Encadré « ouvrir aussi » : pictogramme centré au-dessus du titre */
.ft-espace__aussi {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	border: 3px solid var(--ft-jaune);
	text-align: center;
}
.ft-espace__aussi h2 {
	margin: 0;
	color: var(--ft-encre);
	font-family: var(--ft-police-texte);
	font-size: 18px;
	font-weight: 700;
}
.ft-espace__aussi p {
	margin: 0;
	color: var(--ft-doux);
	font-size: 14.5px;
	line-height: 1.45;
}
.ft-espace__aussi .ft-bouton {
	align-self: stretch;
}

/* Version du magasin : encadré animé, sans lien ni bouton */
.ft-carte.ft-espace__magasin {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	overflow: hidden;
	border: 5px solid transparent;
	background:
		linear-gradient(var(--ft-blanc), var(--ft-blanc)) padding-box,
		linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D) border-box;
	background-size: 100% 100%, 200% 100%;
	text-align: center;
	animation: ft-cadre 6s linear infinite;
}
.ft-espace__magasin::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(53, 88, 208, 0.10), transparent);
	transform: skewX(-18deg);
	animation: ft-reflet-encadre 7s ease-in-out infinite;
	pointer-events: none;
}
.ft-espace__magasin-picto {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--ft-vert);
	color: var(--ft-blanc);
	animation: ft-pouls-picto 2.4s ease-in-out infinite;
}
.ft-espace__magasin-titre {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	color: var(--ft-encre);
	font-family: var(--ft-police-texte);
	font-size: 19px;
	font-weight: 700;
}
.ft-espace__magasin-titre .ft-espace__etoile {
	animation: ft-scintille 3s ease-in-out infinite;
}
.ft-espace__magasin-etapes {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: etape;
	text-align: left;
}
.ft-espace__magasin-etapes li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ft-encre);
	font-size: 15px;
	line-height: 1.4;
	counter-increment: etape;
}
.ft-espace__magasin-etapes li::before {
	content: counter(etape);
	display: inline-flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ft-roi);
	color: var(--ft-blanc);
	font-weight: 700;
}
.ft-espace__adresse {
	padding: 2px 10px;
	border-radius: var(--ft-arrondi-pilule);
	background: var(--ft-note);
	border: 2px solid var(--ft-jaune);
	font-weight: 700;
	white-space: nowrap;
	user-select: all;
}
.ft-espace__magasin-pied {
	margin: 0;
	color: var(--ft-doux);
	font-size: 13.5px;
}

/* Aperçu de la fiche ou du profil, tel que le voient les visiteurs */
.ft-apercu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ft-apercu__titre {
	margin: 0;
	color: var(--ft-blanc);
	font-family: var(--ft-police-texte);
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}
.ft-carte.ft-apercu__carte {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: hidden;
	color: var(--ft-encre);
	animation: ft-apercu-entree 0.6s ease both;
}
.ft-apercu__haut {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}
.ft-apercu__bouton {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.ft-apercu__carte::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(53, 88, 208, 0.12), transparent);
	transform: skewX(-18deg);
	animation: ft-reflet-encadre 6s ease-in-out infinite;
	pointer-events: none;
}
@keyframes ft-apercu-entree {
	from { opacity: 0; transform: translateY(12px) scale(0.97); }
	to { opacity: 1; transform: none; }
}
img.ft-apercu__photo,
img.ft-apercu__rond {
	object-fit: cover;
}
.ft-apercu__photo,
.ft-apercu__rond {
	display: inline-flex;
	flex: 0 0 76px;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: var(--ft-arrondi);
	background: linear-gradient(135deg, var(--ft-photo), #D9CBB2);
	color: var(--ft-doux);
}
.ft-apercu__rond {
	border-radius: 50%;
	background: var(--ft-vert);
	color: var(--ft-blanc);
	font: 700 24px/1 var(--ft-police-titre);
}
.ft-apercu__infos {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	font-size: 14px;
	color: var(--ft-doux);
}
.ft-apercu__infos strong {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--ft-encre);
	font-size: 17px;
}
.ft-apercu__ouvert {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ft-vert) !important;
	font-weight: 700;
}
.ft-apercu__ouvert i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ft-vert-logo);
	animation: ft-pouls 1.8s ease-in-out infinite;
}
.ft-apercu__whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	align-self: flex-start;
	margin-top: 4px;
	padding: 4px 10px;
	border-radius: var(--ft-arrondi-pilule);
	background: var(--ft-vert);
	color: var(--ft-blanc) !important;
	font-size: 13px;
	font-weight: 700;
}
a.ft-apercu__lien,
a.ft-apercu__lien:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--ft-lien-bleu);
	font-size: 15.5px;
	font-weight: 700;
}
.ft-apercu__note svg {
	vertical-align: -2px;
	color: var(--ft-jaune);
}
.ft-apercu__note {
	margin: 0;
	color: var(--ft-sur-bleu);
	font-size: 13px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.ft-carte.ft-espace__magasin,
	.ft-espace__magasin::after,
	.ft-espace__magasin-picto,
	.ft-espace__magasin-titre .ft-espace__etoile,
	.ft-carte.ft-apercu__carte,
	.ft-apercu__carte::after,
	.ft-apercu__ouvert i {
		animation: none;
	}
}

/* ==========================================================================
   38. Thème 0.41.0, bloc 3.7 : lien personnel de la création assistée et du
   rattachement (maquette validée par Soul le 25 novembre 2026)
   ========================================================================== */

.ft-activation__carte .ft-apercu__infos .ft-activation__texte {
	color: var(--ft-encre);
	font-weight: 400;
}
.ft-activation__carte .ft-apercu__infos .ft-pastille {
	align-self: flex-start;
	margin-top: 6px;
}
.ft-compte .ft-activation__note {
	margin-top: 12px;
}
.ft-compte .ft-activation__note + .ft-compte__whatsapp {
	display: flex;
	justify-content: center;
	align-self: stretch;
	margin: 8px 0 4px;
}
.ft-activation__avis {
	margin: 14px 0;
}
.ft-compte__formulaire .ft-activation__fin {
	margin-top: 10px;
	text-align: center;
}
.ft-compte__envoyer[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}
.ft-compte__succes .ft-compte__whatsapp {
	align-self: stretch;
	display: flex;
	justify-content: center;
}

/* Thème 0.41.1 : place pour le bouton « Retour à l'accueil » en bas des
   écrans Se connecter et Créer mon compte. */
.ft-compte-page {
	padding-bottom: 72px;
}

/* ==========================================================================
   39. Thème 0.42.0, bloc 3.4 : Modifier ma fiche (maquette validée par Soul
   le 26 novembre 2026)
   ========================================================================== */

.ft-fiche-modif__nom .ft-pastille {
	vertical-align: middle;
}
.ft-fiche-modif__bloc {
	margin-bottom: 16px;
}
.ft-fiche-modif__titre {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 14px;
	font: 700 1.15rem/1.3 var(--ft-police-texte);
	color: var(--ft-encre);
	text-align: center;
}
.ft-fiche-modif__explication {
	margin: -4px 0 14px;
	color: var(--ft-doux);
	font-size: 0.95rem;
	text-align: center;
}
.ft-fiche-modif__position {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 8px;
}
.ft-fiche-modif__position-ok {
	margin: 0 0 8px;
	color: var(--ft-vert-texte);
	font-weight: 600;
}
.ft-heures {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ft-heures__jour {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 6px 10px;
	padding: 10px;
	border: 2px solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background: var(--ft-blanc);
}
.ft-heures__nom {
	font-weight: 700;
	color: var(--ft-encre);
}
.ft-heures__ouvert {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: var(--ft-cible);
	font-weight: 600;
	color: var(--ft-vert-texte);
	cursor: pointer;
}
.ft-heures__ouvert input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ft-vert);
}
.ft-heures__creneau {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 8px;
}
.ft-heures__jour--ferme {
	background: var(--ft-gris-pale);
}
.ft-heures__jour--ferme .ft-heures__creneau {
	display: none;
}
.ft-heures__jour--ferme .ft-heures__ouvert {
	color: var(--ft-doux);
}
.ft-heures__jour--ferme .ft-heures__nom::after {
	content: " · " attr(data-ferme);
	font-weight: 400;
	color: var(--ft-doux);
}
.ft-heures__copier {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}
.ft-galerie {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.ft-galerie__case {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--ft-arrondi);
	overflow: hidden;
	background: var(--ft-photo) center / cover no-repeat;
}
.ft-galerie__case--nouvelle {
	outline: 3px solid var(--ft-jaune);
	outline-offset: -3px;
}
.ft-galerie__retirer {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 2px solid var(--ft-blanc);
	border-radius: 50%;
	background: var(--ft-encre);
	color: var(--ft-blanc);
	cursor: pointer;
}
.ft-galerie__ajout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: 2px dashed var(--ft-gris);
	background: var(--ft-blanc);
	color: var(--ft-rouge);
	font-weight: 700;
	cursor: pointer;
}
.ft-galerie__ajout[hidden] {
	display: none;
}
.ft-fiche-modif__barre {
	position: sticky;
	bottom: 0;
	z-index: 20;
	margin: 0 calc(-1 * var(--ft-marge));
	padding: 10px var(--ft-marge) calc(10px + env(safe-area-inset-bottom, 0px));
	background: linear-gradient(to bottom, rgba(53, 88, 208, 0), var(--ft-roi) 30%);
}
.ft-fiche-modif__barre .ft-compte__envoyer {
	width: 100%;
	margin: 0;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ft-fiche-modif__succes {
	margin: 0 0 16px;
}
.ft-fiche-modif__revue {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 16px;
	padding: 14px;
	background: var(--ft-note);
	color: var(--ft-encre);
}
.ft-fiche-modif__revue svg {
	flex: none;
	margin-top: 2px;
}
.ft-fiche-modif__revue p,
.ft-fiche-modif__refus p {
	margin: 4px 0 0;
}
.ft-fiche-modif__refus {
	margin-bottom: 16px;
	padding: 14px;
	border-left: 6px solid var(--ft-rouge);
}
.ft-fiche-modif__refus .ft-compte__whatsapp {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}
.ft-fiche-modif .ft-champ .ft-compte__whatsapp {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

/* Thème 0.43.0 : champ de fichiers de la galerie toujours invisible (il
   s'affichait sur certains téléphones), heures écrites librement. */
.ft-galerie input[type="file"].ft-galerie__fichier {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	pointer-events: none;
}
.ft-galerie__ajout {
	position: relative;
}
.ft-heures__saisie {
	text-align: center;
	font-weight: 600;
}
.ft-heures__saisie--ko {
	border-color: var(--ft-ko);
	background: #FFF1F3;
}

/* Thème 0.44.0 : encadrés « Infos pratiques » de la fiche et « En bref » du
   profil, une ligne par sujet avec sa pastille de couleur et son icône. */
.ft-infos__titre {
	margin: 0 0 var(--ft-espace-2);
	color: var(--ft-encre);
	font-size: 18px;
	line-height: 1.3;
}

.ft-infos__ligne {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid #EEE8DF;
}

.ft-infos .ft-infos__titre + .ft-infos__ligne {
	padding-top: 0;
	border-top: 0;
}

.ft-infos__ligne:last-child {
	padding-bottom: 0;
}

.ft-infos__icone {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	color: var(--ft-blanc);
}

.ft-infos__icone--rouge { background-color: var(--ft-rouge); }
.ft-infos__icone--vert { background-color: var(--ft-vert); }
.ft-infos__icone--encre { background-color: var(--ft-encre); }

.ft-infos__texte {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.ft-infos__nom {
	color: var(--ft-encre);
}

.ft-infos__horaires {
	margin: 2px 0 0;
	border: 0;
	border-collapse: collapse;
}

.ft-infos__horaires th,
.ft-infos__horaires td {
	padding: 2px 0;
	border: 0;
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.ft-infos__horaires th {
	padding-right: 14px;
}

.ft-infos__horaires .ft-infos__aujourdhui th,
.ft-infos__horaires .ft-infos__aujourdhui td {
	color: var(--ft-encre);
	font-weight: 700;
}

.ft-infos__pastille {
	align-self: flex-start;
	margin-top: 4px;
}

.ft-infos__carte {
	align-self: flex-start;
	margin-top: 6px;
}

/* Thème 0.44.0 : deux formats d'image sur tout le site, en largeur 16:9
   pour l'image principale d'une fiche, carré 1:1 pour le reste. */
.ft-fiche__image:not(.ft-produit__photo) {
	aspect-ratio: 16 / 9;
	max-height: none;
}

.ft-compte__image--large .ft-compte__image-vignette {
	width: 96px;
	height: 54px;
}

/* Invitation sous chaque choix d'image */
.ft-conseil-image {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: var(--ft-espace-2);
	padding: 10px 12px;
	border: 1.5px dashed var(--ft-vert);
	border-radius: 12px;
	background-color: var(--ft-vert-pale);
}

.ft-conseil-image__forme {
	flex: none;
	width: 44px;
	height: auto;
	margin-top: 2px;
	color: var(--ft-vert-texte);
}

.ft-conseil-image__texte {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ft-encre);
}

.ft-conseil-image__texte strong {
	color: var(--ft-vert-texte);
}

/* Thème 0.45.0 : chapitres des guides de révision, numérotés dans leur
   matière ; pastille sur les cartes et en tête du guide, puis les chapitres
   précédent et suivant en bas du guide. */
.ft-chapitre {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin: 0 0 6px;
	padding: 3px 10px 3px 8px;
	border-radius: 999px;
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ft-chapitre::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: var(--ft-jaune);
}

.ft-chapitre--page {
	align-self: center;
	margin: 0 auto 8px;
	padding: 5px 14px 5px 12px;
	border: 2px solid var(--ft-blanc);
	font-size: 13px;
}

.ft-revisions__carte {
	display: flex;
	flex-direction: column;
}

.ft-chapitres {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.ft-chapitres__lien,
.ft-chapitres__lien:visited {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 72px;
	padding: 10px 12px;
	border: 2px solid var(--ft-blanc);
	border-radius: var(--ft-arrondi-grand);
	background-color: var(--ft-roi-fonce);
	color: var(--ft-blanc);
	text-decoration: none;
	transition: transform 0.2s ease;
}

.ft-chapitres__lien:hover,
.ft-chapitres__lien:focus {
	transform: translateY(-2px);
	color: var(--ft-blanc);
}

.ft-chapitres__lien svg {
	flex: none;
	color: var(--ft-jaune);
}

.ft-chapitres__lien--suivant {
	justify-content: flex-end;
	text-align: right;
}

.ft-chapitres__texte {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.ft-chapitres__texte small {
	color: var(--ft-lien-bleu);
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ft-chapitres__texte strong {
	font-size: 14px;
	line-height: 1.3;
}

@media print {
	.ft-chapitres {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ft-chapitres__lien {
		transition: none;
	}
}

/* Thème 0.45.1 (remarque de Soul du 26 novembre 2026, maquette validée
   le même soir) : localisation de Modifier ma fiche, qui se vérifie, se
   reprend ou se retire d'un toucher, avec une question avant d'enregistrer
   la position du téléphone. Sans script, le champ reste seul visible. */
.ft-loc__champ[hidden],
.ft-loc [data-ft-loc-etat][hidden],
.ft-loc__lien[hidden] {
	display: none;
}
.ft-loc:not(.ft-loc--actif) [data-ft-loc-etat]:not([data-ft-loc-etat="vide"]) {
	display: none;
}
.ft-loc__lien {
	display: block;
	width: 100%;
	margin: 2px 0 8px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--ft-rouge);
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: underline;
	text-align: center;
	cursor: pointer;
}
.ft-loc__confirme,
.ft-loc__ok,
.ft-loc__retire {
	margin-bottom: 8px;
	padding: 14px;
	border-radius: var(--ft-arrondi);
	animation: ft-loc-entree 0.3s ease;
}
.ft-loc__confirme {
	border: 2px solid var(--ft-jaune-trait);
	background: var(--ft-note);
	text-align: center;
}
.ft-loc__confirme strong {
	display: block;
	margin-bottom: 6px;
	color: var(--ft-encre);
	font-size: 1.05rem;
}
.ft-loc__confirme p,
.ft-loc__ok p,
.ft-loc__retire p {
	margin: 0 0 12px;
	color: var(--ft-libelle);
	font-size: 0.95rem;
}
.ft-loc__ligne {
	display: flex;
	gap: 8px;
}
.ft-loc__ligne .ft-bouton {
	flex: 1;
	margin: 0;
}
.ft-carte .ft-loc__ligne .ft-bouton--fantome,
.ft-loc__ligne .ft-bouton--fantome {
	background-color: var(--ft-blanc);
}
.ft-loc__ok {
	border: 2px solid var(--ft-vert);
	background: var(--ft-vert-pale);
}
.ft-loc__tete {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--ft-vert-texte);
	font-weight: 700;
	font-size: 1.02rem;
}
.ft-loc__rond {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ft-vert);
	color: var(--ft-blanc);
}
.ft-loc__actions {
	display: grid;
	gap: 8px;
}
.ft-loc__actions .ft-bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	background-color: var(--ft-blanc);
}
.ft-carte .ft-loc__actions .ft-loc__retirer,
.ft-loc__actions .ft-loc__retirer:visited {
	border-color: var(--ft-rouge);
	color: var(--ft-rouge);
}
.ft-loc__retire {
	border: 2px dashed var(--ft-gris);
	background: var(--ft-gris-pale);
	text-align: center;
}
.ft-loc__retire strong {
	display: block;
	margin-bottom: 4px;
	color: var(--ft-encre);
}
.ft-loc__retire p {
	margin-bottom: 0;
}
@keyframes ft-loc-entree {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ft-loc__confirme,
	.ft-loc__ok,
	.ft-loc__retire {
		animation: none;
	}
}

/* Thème 0.45.2 (maquette validée par Soul le 27 novembre 2026) : en bas de
   Modifier ma fiche, « Voir ma fiche » et « Retour à mon espace » en deux
   cases à icône, côte à côte. */
.ft-fiche-modif__suite {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 18px 0 0;
}
.ft-fiche-modif__suite--une {
	grid-template-columns: 1fr;
}
.ft-fiche-modif__case,
.ft-fiche-modif__case:visited,
.ft-fiche-modif__case:hover,
.ft-fiche-modif__case:focus {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	min-height: 78px;
	padding: 10px 6px;
	border: 2px solid var(--ft-blanc);
	border-radius: var(--ft-arrondi);
	background: rgba(255, 255, 255, 0.08);
	color: var(--ft-blanc);
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.ft-fiche-modif__case:active {
	transform: scale(0.97);
	background: rgba(255, 255, 255, 0.16);
}
.ft-fiche-modif__rond {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ft-blanc);
}
.ft-fiche-modif__rond--vert {
	color: var(--ft-vert);
}
.ft-fiche-modif__rond--rouge {
	color: var(--ft-rouge);
}
@media (prefers-reduced-motion: reduce) {
	.ft-fiche-modif__case {
		transition: none;
	}
}

/* Thème 0.46.0, bloc 3.5 (maquette validée par Soul le 27 novembre 2026) :
   écran « Mon profil emploi », fenêtre « Montrer mon code ». */
.ft-profil-modif__titre {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 1.1rem;
}
.ft-profil-modif__rond {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	color: var(--ft-blanc);
}
.ft-profil-modif__rond--vert {
	background: var(--ft-vert);
}
.ft-profil-modif__rond--rouge {
	background: var(--ft-rouge);
}
.ft-profil-modif__rond--noir {
	background: var(--ft-encre);
}
.ft-profil-modif__accord {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px;
	border: 2px solid var(--ft-vert);
	border-radius: var(--ft-arrondi);
	background: var(--ft-vert-pale);
	cursor: pointer;
}
.ft-profil-modif__accord input {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--ft-vert);
}
.ft-profil-modif__accord strong {
	display: block;
	color: var(--ft-encre);
}
.ft-profil-modif__accord small {
	display: block;
	margin-top: 4px;
	color: var(--ft-libelle);
	font-size: 0.9rem;
}
.ft-profil-modif__accord:has(input:not(:checked)) {
	border-color: var(--ft-gris);
	background: var(--ft-gris-pale);
}
.ft-profil-modif__photo {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border: 2px dashed var(--ft-gris);
	border-radius: var(--ft-arrondi);
	cursor: pointer;
}
.ft-profil-modif__rond-photo {
	display: grid;
	flex: none;
	place-items: center;
	overflow: hidden;
	width: 72px;
	height: 72px;
	border: 3px solid var(--ft-jaune);
	border-radius: 50%;
	background: var(--ft-rouge);
	color: var(--ft-blanc);
	font-family: var(--ft-police-titre);
	font-size: 1.5rem;
	font-weight: 700;
}
.ft-profil-modif__rond-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ft-profil-modif__photo-texte b {
	display: block;
	color: var(--ft-encre);
}
.ft-profil-modif__photo-texte small {
	color: var(--ft-libelle);
}
.ft-profil-modif__photo:focus-within {
	outline: 3px solid var(--ft-jaune);
	outline-offset: 2px;
}
.ft-profil-modif__dispo {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}
.ft-profil-modif__dispo label {
	position: relative;
}
.ft-profil-modif__dispo input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.ft-profil-modif__dispo span {
	display: grid;
	place-items: center;
	min-height: 52px;
	padding: 6px;
	border: 2px solid var(--ft-gris);
	border-radius: 12px;
	color: var(--ft-encre);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ft-profil-modif__dispo input:checked + span {
	border-color: var(--ft-vert);
	background: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert-texte);
}
.ft-profil-modif__dispo input:focus-visible + span {
	outline: 3px solid var(--ft-jaune);
	outline-offset: 2px;
}
.ft-profil-modif__qr {
	text-align: center;
}
.ft-profil-modif__qr .ft-profil-modif__titre {
	justify-content: center;
}
.ft-profil-modif__qr-cadre {
	display: block;
	width: fit-content;
	margin: 0 auto;
	padding: 10px;
	border: 2px solid var(--ft-gris);
	border-radius: 16px;
	background: var(--ft-blanc);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.ft-profil-modif__qr-cadre svg {
	display: block;
	width: 170px;
	max-width: none;
	height: 170px;
	margin: 0 auto;
}
.ft-profil-modif__qr-texte {
	margin: 10px 0 12px;
	color: var(--ft-libelle);
	font-size: 0.95rem;
}
.ft-profil-modif__montrer,
.ft-profil-modif__charger {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 8px 0 0;
}
.ft-profil-modif__qr-absent {
	margin: 0;
	padding: 12px;
	border-radius: var(--ft-arrondi);
	background: var(--ft-gris-pale);
	color: var(--ft-libelle);
	font-size: 0.92rem;
}
a.ft-profil-modif__concours,
a.ft-profil-modif__concours:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 12px;
	border: 2px solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background: var(--ft-blanc);
	color: var(--ft-encre);
	text-decoration: none;
}
.ft-profil-modif__concours .ft-profil-modif__rond {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
.ft-profil-modif__concours b {
	display: block;
}
.ft-profil-modif__concours small {
	display: block;
	color: var(--ft-libelle);
}
/* Thème 0.46.1 : la case « Montrer mon code » est un bouton ; le style des
   boutons de GeneratePress (fond gris, texte maigre) ne doit pas la toucher. */
.ft-espace__actions button.ft-espace__action,
.ft-espace__actions button.ft-espace__action:hover,
.ft-espace__actions button.ft-espace__action:focus {
	width: 100%;
	margin: 0;
	border: 2px solid var(--ft-blanc);
	background-color: transparent;
	color: var(--ft-blanc);
	font-family: var(--ft-police-texte);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
}
.ft-espace__actions button.ft-espace__action:hover,
.ft-espace__actions button.ft-espace__action:focus-visible {
	background-color: rgba(255, 255, 255, 0.12);
}
.ft-qr-ecran {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 18px;
	background: var(--ft-encre);
	color: var(--ft-blanc);
	text-align: center;
	animation: ft-qr-entree 0.25s ease;
}
.ft-qr-ecran[hidden] {
	display: none;
}
html.ft-qr-ouvert {
	overflow: hidden;
}
.ft-qr-ecran__carte {
	width: 100%;
	max-width: 360px;
	padding: 18px 16px;
	border: 4px solid var(--ft-jaune);
	border-radius: 22px;
	background: var(--ft-blanc);
	color: var(--ft-encre);
}
.ft-qr-ecran__logo {
	margin: 0 0 6px;
	font-family: var(--ft-police-titre);
	font-size: 1.35rem;
	font-weight: 800;
}
.ft-qr-ecran__faso {
	color: var(--ft-rouge);
}
.ft-qr-ecran__touma {
	color: var(--ft-vert);
}
.ft-qr-ecran__code svg {
	display: block;
	width: min(72vw, 280px);
	height: min(72vw, 280px);
	margin: 0 auto;
}
.ft-qr-ecran__nom {
	margin: 10px 0 0;
	font-size: 1.15rem;
	font-weight: 800;
}
.ft-qr-ecran__ligne {
	margin: 2px 0 0;
	color: var(--ft-libelle);
	font-size: 0.95rem;
}
.ft-qr-ecran__texte {
	max-width: 330px;
	margin: 16px 0 0;
	font-size: 1rem;
}
.ft-qr-ecran__fermer {
	min-height: 50px;
	margin-top: 18px;
	padding: 0 30px;
	border: 2px solid var(--ft-blanc);
	border-radius: 999px;
	background: transparent;
	color: var(--ft-blanc);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
@keyframes ft-qr-entree {
	from {
		opacity: 0;
		transform: scale(0.97);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ft-qr-ecran,
	.ft-profil-modif__dispo span {
		animation: none;
		transition: none;
	}
}
@media print {
	.ft-qr-ecran {
		display: none;
	}
}


/* ------------------------------------------------------------------ */
/* Thème 0.48.0, bloc 3.6 : produits du marchand                      */
/* ------------------------------------------------------------------ */

/* Cartes de produit en carré (fiche, autres produits du vendeur), à la
   place des bandes de 96 pixels de haut. */
.ft-fiche__produit-photo {
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
span.ft-fiche__produit-photo {
	display: grid;
	place-items: center;
}

/* Jauge des places */
.ft-produits__jauge {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
}
.ft-produits__places {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 10px;
	margin: 0;
	color: var(--ft-encre);
}
.ft-produits__places span {
	color: var(--ft-doux);
	font-size: 0.9rem;
}
.ft-jauge--pleine .ft-jauge__plein {
	background-color: var(--ft-rouge);
}

/* Encadré « Mes produits » du tableau de bord */
.ft-mes-produits {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.ft-mes-produits__titre {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 1.15rem;
}
.ft-mes-produits__rond,
.ft-produits__fraicheur-rond,
.ft-produits__vide-rond {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
}
.ft-mes-produits__liste {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ft-mes-produits__liste li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ft-gris-pale);
}
.ft-mes-produits__liste li span:first-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ft-mes-produits__vide,
.ft-mes-produits__autres {
	margin: 0;
	color: var(--ft-doux);
}
.ft-mes-produits__confirmer,
.ft-mes-produits__boutons {
	display: grid;
	gap: 8px;
	margin: 0;
}
.ft-mes-produits .ft-bouton svg,
.ft-produits__ajouter svg,
.ft-produits__fraicheur .ft-bouton svg {
	vertical-align: -3px;
}

/* Écran Mes produits */
.ft-produits__tete {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}
.ft-produits__plein {
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
	color: var(--ft-encre);
	font-weight: 600;
}
.ft-produits__compte {
	margin: -6px 0 14px;
	color: var(--ft-sur-bleu);
	text-align: center;
}
.ft-produits__fraicheur {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: flex-start;
	border-left: 6px solid var(--ft-vert);
}
.ft-produits__fraicheur-rond {
	background-color: var(--ft-vert);
}
.ft-produits__fraicheur--alerte {
	border-left-color: var(--ft-jaune);
	background-color: var(--ft-note);
}
.ft-produits__fraicheur--alerte .ft-produits__fraicheur-rond {
	background-color: var(--ft-jaune);
	color: var(--ft-encre);
}
.ft-produits__fraicheur p {
	margin: 4px 0 10px;
	color: var(--ft-doux);
	font-size: 0.92rem;
}
.ft-produits__fraicheur form {
	margin: 0;
}
.ft-produits__vide {
	display: grid;
	justify-items: center;
	gap: 8px;
	text-align: center;
}
.ft-produits__vide-rond {
	width: 64px;
	height: 64px;
}
.ft-produits__vide p {
	margin: 0;
	color: var(--ft-doux);
}
.ft-produits__liste {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

/* Carte d'un produit dans la gestion */
.ft-produit-gestion {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	animation: ft-produit-entree 0.35s ease both;
}
.ft-produit-gestion--masque {
	border-left: 6px solid var(--ft-rouge);
}
.ft-produit-gestion--ranger,
.ft-produit-gestion--confirmer {
	border-left: 6px solid var(--ft-jaune);
}
.ft-produit-gestion__haut {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.ft-produit-gestion__photo {
	flex: 0 0 auto;
	width: 84px;
	height: 84px;
	border-radius: var(--ft-arrondi);
	object-fit: cover;
	background-color: var(--ft-photo);
}
.ft-produit-gestion__photo--vide {
	display: grid;
	place-items: center;
	color: var(--ft-doux);
}
.ft-produit-gestion--epuise .ft-produit-gestion__photo,
.ft-produit-gestion--masque .ft-produit-gestion__photo {
	filter: grayscale(1);
	opacity: 0.7;
}
.ft-produit-gestion__infos {
	display: grid;
	gap: 3px;
	min-width: 0;
}
.ft-produit-gestion__infos strong {
	color: var(--ft-encre);
	font-size: 1.02rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.ft-produit-gestion__prix {
	color: var(--ft-rouge);
	font-weight: 700;
}
.ft-produit-gestion__cat {
	color: var(--ft-doux);
	font-size: 0.88rem;
}
.ft-produit-gestion__etat {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
}
.ft-produit-gestion__etat small {
	color: var(--ft-doux);
	font-size: 0.82rem;
}
.ft-produit-gestion__phrase {
	margin: 0;
	padding: 8px 10px;
	border-radius: var(--ft-arrondi-petit);
	background-color: var(--ft-gris-pale);
	color: var(--ft-encre);
	font-size: 0.9rem;
}
.ft-produit-gestion__etat-choix {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 0;
}
.ft-carte button.ft-produit-gestion__segment {
	min-height: 44px;
	padding: 6px;
	border: 2px solid var(--ft-gris);
	border-radius: var(--ft-arrondi);
	background: transparent;
	color: var(--ft-encre);
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ft-carte button.ft-produit-gestion__segment--choisi {
	border-color: var(--ft-vert);
	background: rgba(0, 122, 61, 0.16);
	color: var(--ft-vert-texte);
	cursor: default;
}
.ft-produit-gestion__actions {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	align-items: start;
}
.ft-produit-gestion__actions > form {
	display: grid;
}

.ft-produit-gestion__actions form .ft-produit-gestion__action {
	width: 100%;
}
.ft-produit-gestion__actions form {
	margin: 0;
}
.ft-produit-gestion__action,
.ft-carte button.ft-produit-gestion__action {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-width: 0;
	min-height: 56px;
	padding: 6px 8px;
	border: 1px solid var(--ft-gris-pale);
	border-radius: var(--ft-arrondi);
	background: var(--ft-blanc);
	color: var(--ft-encre);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}
.ft-produit-gestion__action:hover,
.ft-produit-gestion__action:focus-visible {
	border-color: var(--ft-vert);
	color: var(--ft-vert-texte);
}
.ft-produit-gestion__action--rouge,
.ft-produit-gestion__action--rouge:hover {
	color: var(--ft-rouge);
}
.ft-produit-gestion__confirmation {
	margin-top: 0;
	padding: 10px 12px;
	border-radius: var(--ft-arrondi);
	border: 2px solid var(--ft-rouge);
	background-color: var(--ft-rose);
}
.ft-produit-gestion__confirmation p {
	margin: 0 0 8px;
	color: var(--ft-encre);
	font-size: 0.92rem;
}
.ft-produit-gestion__confirmation form {
	margin: 0;
}
.ft-produit-gestion__confirmation[hidden] {
	display: none;
}
.ft-produit-gestion__choix {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.ft-produit-gestion__choix .ft-bouton {
	width: 100%;
}
.ft-carte button.ft-produit-gestion__action[aria-expanded="true"] {
	border-color: var(--ft-rouge);
	background: var(--ft-rose);
}
@keyframes ft-produit-entree {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

/* Formulaire Ajouter ou Modifier */
.ft-produit-form__prix {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ft-produit-form__prix .ft-champ__saisie {
	flex: 1 1 auto;
	font-size: 1.1rem;
	font-weight: 700;
}
.ft-produit-form__prix span {
	color: var(--ft-doux);
	font-weight: 700;
	white-space: nowrap;
}
.ft-produit-form__unites {
	grid-template-columns: repeat(2, 1fr);
}
.ft-produit-form__unites span,
.ft-produit-form__etats span {
	min-height: 46px;
}
.ft-produit-form__etats {
	grid-template-columns: repeat(2, 1fr);
}
.ft-produit-form__introuvable {
	margin-top: 4px;
}
.ft-produit-form__demande {
	margin-top: 10px;
	padding: 12px;
	border-radius: var(--ft-arrondi);
	border: 2px dashed var(--ft-jaune-trait);
	background-color: var(--ft-note);
}
.ft-produit-form__demande[hidden],
[data-ft-sous-bloc][hidden] {
	display: none;
}
.ft-produit-form__attente {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 6px 0 0;
	color: var(--ft-encre);
	font-size: 0.9rem;
}
.ft-produit-form__attente svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--ft-jaune-trait);
}
.ft-produit-form__voir {
	margin: 4px 0 0;
	text-align: center;
}
.ft-produit-form__voir a {
	color: var(--ft-lien-bleu);
	font-weight: 600;
}
.ft-produit-form__voir svg {
	vertical-align: -3px;
}
@media (prefers-reduced-motion: reduce) {
	.ft-produit-gestion {
		animation: none;
	}
}
.ft-carte a.ft-produit-gestion__action,
.ft-carte a.ft-produit-gestion__action:visited {
	color: var(--ft-encre);
}
.ft-carte .ft-produit-gestion__action--rouge {
	color: var(--ft-rouge);
}
.ft-mes-produits__liste .ft-pastille,
.ft-produit-gestion__etat .ft-pastille {
	flex: 0 0 auto;
	white-space: nowrap;
}
.ft-mes-produits__succes {
	margin: 0;
}
.ft-carte button.ft-produit-gestion__action--rouge,
.ft-carte button.ft-produit-gestion__action--rouge:hover {
	color: var(--ft-rouge);
}

/* ------------------------------------------------------------------ */
/* Thème 0.49.0 : aide, invitation à toucher, liens en boutons          */
/* ------------------------------------------------------------------ */

/* Cases Modifier, Confirmer, Voir, Supprimer : bordure plus épaisse. */
.ft-produit-gestion__action,
.ft-carte button.ft-produit-gestion__action {
	border: 2px solid var(--ft-gris);
}

/* Encadré « Comment ça marche » */
.ft-aide {
	display: grid;
	justify-items: center;
	gap: 10px;
	margin: 0 0 16px;
}
button.ft-aide__bouton {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 18px;
	border: 2px solid var(--ft-jaune);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--ft-blanc);
	font-size: 0.98rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
button.ft-aide__bouton:hover,
button.ft-aide__bouton:focus-visible,
button.ft-aide__bouton[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.22);
	color: var(--ft-blanc);
}
button.ft-aide__bouton svg {
	color: var(--ft-jaune);
}
.ft-aide__panneau {
	width: 100%;
	border-top: 6px solid var(--ft-jaune);
	animation: ft-aide-ouverture 0.3s ease both;
}
.ft-aide__panneau[hidden] {
	display: none;
}
.ft-aide__titre {
	margin: 0 0 12px;
	font-size: 1.1rem;
	text-align: center;
}
.ft-aide__etapes {
	display: grid;
	gap: 12px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}
.ft-aide__etapes li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--ft-encre);
	line-height: 1.4;
}
.ft-aide__numero {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--ft-rouge);
	color: var(--ft-blanc);
	font-weight: 700;
}
.ft-aide__numero--1 {
	background-color: var(--ft-vert);
}
.ft-aide__numero--2 {
	background-color: var(--ft-encre);
}
.ft-aide__compris {
	display: block;
	margin: 0 auto;
}
@keyframes ft-aide-ouverture {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* Invitation sous le nombre de résultats */
.ft-invite-toucher {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: fit-content;
	margin: -4px auto 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--ft-blanc);
	font-size: 0.92rem;
	font-weight: 600;
	text-align: center;
}
.ft-invite-toucher svg {
	flex: 0 0 auto;
	color: var(--ft-jaune);
	animation: ft-invite-main 1.6s ease-in-out infinite;
}
@keyframes ft-invite-main {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}

/* Lien « Voir la fiche » ou « Voir le profil » sur chaque carte */
.ft-carte a.ft-liste__voir,
a.ft-liste__voir {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	align-self: flex-start;
	min-height: 32px;
	color: var(--ft-vert-texte);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}
.ft-carte a.ft-liste__voir:hover,
.ft-carte a.ft-liste__voir:focus-visible {
	text-decoration: underline;
}

/* Liens d'action en boutons */
a.ft-lien-bouton,
.ft-carte a.ft-lien-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	align-self: center;
	min-height: 48px;
	padding: 10px 18px;
	border: 2px solid var(--ft-blanc);
	border-radius: 999px;
	background: var(--ft-blanc);
	color: var(--ft-encre);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s ease;
}
a.ft-lien-bouton svg:first-child {
	color: var(--ft-rouge);
}
a.ft-lien-bouton svg:last-child {
	color: var(--ft-doux);
}
a.ft-lien-bouton:hover,
a.ft-lien-bouton:focus-visible {
	transform: translateY(-1px);
	color: var(--ft-encre);
}
.ft-carte a.ft-lien-bouton--clair {
	align-self: flex-start;
	border-color: var(--ft-gris);
	box-shadow: none;
}
.ft-carte a.ft-lien-bouton--clair svg:first-child {
	color: var(--ft-jaune-trait);
}
.ft-produit-form__voir {
	display: flex;
	justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
	.ft-aide__panneau,
	.ft-invite-toucher svg {
		animation: none;
	}
}

/* Thème 0.49.0, règle de Soul : un lien « Voir… » est toujours encadré. */
.ft-carte a.ft-liste__voir,
a.ft-liste__voir {
	gap: 4px;
	margin-top: 4px;
	padding: 4px 12px;
	border: 2px solid var(--ft-vert);
	border-radius: 999px;
	background: rgba(0, 122, 61, 0.08);
}
.ft-carte a.ft-liste__voir:hover,
.ft-carte a.ft-liste__voir:focus-visible {
	text-decoration: none;
	background: rgba(0, 122, 61, 0.16);
}
.ft-voir-encadre {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	align-self: flex-start;
	width: fit-content;
	margin-top: 6px;
	padding: 6px 14px;
	border: 2px solid var(--ft-vert);
	border-radius: 999px;
	background: rgba(0, 122, 61, 0.08);
	color: var(--ft-vert-texte);
	font-size: 0.95rem;
	font-weight: 700;
}
.ft-voir-encadre svg {
	flex: 0 0 auto;
}
a.ft-lien-bouton.ft-boutiques__tout {
	margin-top: 4px;
}

/* ------------------------------------------------------------------ */
/* Thème 0.50.0 : encadré « FasoTouma en chiffres » de l'accueil       */
/* ------------------------------------------------------------------ */
.ft-accueil__compteurs {
	gap: 14px;
}
.ft-chiffres__titre {
	margin: 0;
	font-size: 1.25rem;
	text-align: center;
}
.ft-chiffres__grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}
.ft-chiffres__case,
a.ft-chiffres__case,
a.ft-chiffres__case:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 92px;
	padding: 10px 8px;
	border: 2px solid var(--ft-gris-pale);
	border-top: 5px solid var(--ft-rouge);
	border-radius: var(--ft-arrondi);
	background: var(--ft-blanc);
	color: var(--ft-encre);
	text-align: center;
	text-decoration: none;
	line-height: 1.25;
	transition: transform 0.15s ease, border-color 0.15s ease;
}
a.ft-chiffres__case:hover,
a.ft-chiffres__case:focus-visible {
	transform: translateY(-2px);
	border-color: var(--ft-gris);
	color: var(--ft-encre);
}
.ft-chiffres__case .ft-accueil__chiffre {
	font-size: 1.85rem;
	line-height: 1.1;
}
.ft-chiffres__case span {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ft-doux);
}
.ft-chiffres__case--vert {
	border-top-color: var(--ft-vert);
}
.ft-chiffres__case--vert .ft-accueil__chiffre {
	color: var(--ft-vert);
}
.ft-chiffres__case--encre {
	border-top-color: var(--ft-encre);
}
.ft-chiffres__case--encre .ft-accueil__chiffre {
	color: var(--ft-encre);
}
.ft-chiffres__revisions {
	display: grid;
	gap: 10px;
	width: 100%;
	padding: 12px;
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
	text-align: left;
}
.ft-chiffres__sous-titre {
	margin: 0;
	font-size: 1rem;
	text-align: center;
}
.ft-chiffres__classe {
	display: grid;
	gap: 6px;
}
.ft-carte p.ft-chiffres__classe-nom {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	color: var(--ft-encre);
}
.ft-chiffres__classe-nom span {
	color: var(--ft-doux);
	font-weight: 600;
}
.ft-chiffres__matieres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ft-chiffres__matiere,
a.ft-chiffres__matiere,
a.ft-chiffres__matiere:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 4px 12px;
	border: 2px solid var(--ft-vert);
	border-radius: 999px;
	background: var(--ft-blanc);
	color: var(--ft-vert-texte);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}
.ft-chiffres__matiere b {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ft-vert);
	color: var(--ft-blanc);
	font-size: 0.82rem;
}
@media (min-width: 768px) {
	.ft-chiffres__grille {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
a.ft-chiffres__case.ft-chiffres__case--vert,
div.ft-chiffres__case.ft-chiffres__case--vert {
	border-top-color: var(--ft-vert);
}
a.ft-chiffres__case.ft-chiffres__case--encre,
div.ft-chiffres__case.ft-chiffres__case--encre {
	border-top-color: var(--ft-encre);
}
.ft-chiffres__case:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}
.ft-carte a.ft-chiffres__matiere,
.ft-carte a.ft-chiffres__matiere:visited,
.ft-carte a.ft-chiffres__matiere:hover {
	color: var(--ft-vert-texte);
	text-decoration: none;
}
@media (min-width: 768px) {
	.ft-chiffres__case:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

/* Thème 0.50.0 : tailles réduites à la demande de Soul ; trois cases par
   rangée, la dernière rangée centrée. */
.ft-accueil__compteurs {
	gap: 10px;
}
.ft-chiffres__titre {
	font-size: 1.05rem;
}
.ft-chiffres__grille {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
.ft-chiffres__grille > .ft-chiffres__case {
	flex: 0 0 calc((100% - 12px) / 3);
	min-height: 64px;
	padding: 6px 4px;
	border-width: 1px;
	border-top-width: 4px;
}
.ft-chiffres__case:last-child:nth-child(odd) {
	grid-column: auto;
}
.ft-chiffres__case .ft-accueil__chiffre {
	font-size: 1.3rem;
}
.ft-chiffres__case span {
	font-size: 0.74rem;
	line-height: 1.2;
}
.ft-chiffres__revisions {
	gap: 6px;
	padding: 8px 10px;
}
.ft-chiffres__sous-titre {
	font-size: 0.88rem;
}
.ft-carte p.ft-chiffres__classe-nom {
	font-size: 0.85rem;
}
.ft-chiffres__classe {
	gap: 4px;
}
.ft-chiffres__matieres {
	gap: 4px;
}
.ft-chiffres__matiere,
a.ft-chiffres__matiere,
a.ft-chiffres__matiere:visited {
	gap: 4px;
	min-height: 28px;
	padding: 2px 8px;
	border-width: 1.5px;
	font-size: 0.78rem;
}
.ft-chiffres__matiere b {
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	font-size: 0.72rem;
}
@media (min-width: 768px) {
	.ft-chiffres__grille > .ft-chiffres__case {
		flex-basis: calc((100% - 30px) / 6);
	}
}

/* Thème 0.50.1 : invitation à toucher sur fond clair, et flèche dans
   chaque case qui mène à une rubrique. */
.ft-carte p.ft-invite-toucher--clair {
	margin: -4px auto 2px;
	background: var(--ft-note);
	border: 1px solid var(--ft-jaune);
	color: var(--ft-encre);
	font-size: 0.82rem;
}
.ft-invite-toucher--clair svg {
	color: var(--ft-jaune-trait);
}
.ft-chiffres__grille > .ft-chiffres__case {
	position: relative;
}
.ft-chiffres__case .ft-chiffres__fleche {
	position: absolute;
	right: 4px;
	bottom: 3px;
	display: inline-flex;
	color: var(--ft-gris);
}
.ft-accueil__compteurs p.ft-invite-toucher--clair {
	display: flex;
	width: fit-content;
	max-width: 100%;
	gap: 6px;
	padding: 4px 12px;
	font-size: 0.8rem;
	line-height: 1.3;
	text-align: left;
}
.ft-accueil__compteurs p.ft-invite-toucher--clair svg {
	width: 16px;
	height: 16px;
}
.ft-chiffres__grille > a.ft-chiffres__case {
	padding-bottom: 12px;
}
.ft-chiffres__revisions p.ft-invite-toucher--clair {
	margin: 0 auto;
	background: var(--ft-blanc);
}

/* ------------------------------------------------------------------ */
/* Thème 0.51.0 : recherche en cases, vagues réduites et déplacées      */
/* ------------------------------------------------------------------ */
.ft-recherche__cases {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 14px;
}
a.ft-recherche__case,
a.ft-recherche__case:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 118px;
	padding: 12px 6px;
	text-align: center;
	text-decoration: none;
	color: var(--ft-encre);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.ft-recherche__case:hover,
a.ft-recherche__case:focus-visible {
	transform: translateY(-2px);
	color: var(--ft-encre);
}
a.ft-recherche__case .ft-liste__nom {
	font-size: 0.98rem;
	overflow-wrap: anywhere;
}
a.ft-recherche__case .ft-mut {
	font-size: 0.85rem;
}
a.ft-recherche__case--choisi,
a.ft-recherche__case--choisi:visited {
	border-color: var(--ft-vert);
	background: linear-gradient(rgba(0, 122, 61, 0.16), rgba(0, 122, 61, 0.16)), var(--ft-blanc);
	box-shadow: 0 0 0 3px rgba(0, 158, 73, 0.3);
}
a.ft-recherche__case--choisi .ft-liste__nom {
	color: var(--ft-vert);
}
a.ft-recherche__case--vide:not(.ft-recherche__case--choisi) .ft-liste__nom,
a.ft-recherche__case--vide:not(.ft-recherche__case--choisi) .ft-mut {
	color: var(--ft-doux);
}

/* Lien « Voir la fiche » des cartes : vert partout, recherche comprise. */
main a.ft-liste__voir.ft-liste__voir,
main a.ft-liste__voir.ft-liste__voir:visited {
	color: var(--ft-vert-texte);
}

/* « Tout voir » encadré sur le fond bleu */
a.ft-voir-encadre--blanc,
a.ft-voir-encadre--blanc:visited {
	margin-top: 0;
	border-color: var(--ft-blanc);
	background: var(--ft-blanc);
	color: var(--ft-encre);
	text-decoration: none;
}

/* Vagues plus petites, sous Achat et vente et Emploi, sur toute la largeur. */
.ft-accueil__vagues {
	width: 100vw;
	margin: 4px calc(50% - 50vw) 18px;
}
.ft-accueil__vagues .ft-vagues {
	height: 32px;
}
.ft-accueil__vagues .ft-vagues--phrase {
	height: 58px;
}
.ft-accueil__vagues .ft-vagues__couche svg {
	height: 12px;
}
.ft-accueil__vagues .ft-vagues__couche--rouge {
	background: linear-gradient(transparent 11px, var(--ft-rouge-logo) 11px);
}
.ft-accueil__vagues .ft-vagues__couche--or {
	top: 9px;
	background: linear-gradient(transparent 11px, var(--ft-jaune) 11px);
}
.ft-accueil__vagues .ft-vagues__couche--verte {
	top: 18px;
	background: linear-gradient(transparent 11px, var(--ft-vert) 11px);
}
.ft-accueil__vagues .ft-vagues__bande {
	top: 30px;
}
.ft-accueil__vagues .ft-vagues__texte {
	padding-right: 40px;
	font-size: 12px;
	line-height: 28px;
}
@media (min-width: 1024px) {
	.ft-accueil__vagues {
		width: auto;
		margin: 4px 0 18px;
		border-radius: var(--ft-arrondi);
		overflow: hidden;
	}
}

/* Thème 0.51.0 : volet tricolore autour des résultats de la recherche,
   sa pointe sous la case choisie (trois colonnes séparées de 10 px). */
.ft-recherche__volet {
	margin: 0 0 14px;
	padding: 14px 10px 12px;
}
.ft-recherche__volet--1 {
	--ft-pointe: calc((100% - 20px) / 6);
}
.ft-recherche__volet--2 {
	--ft-pointe: 50%;
}
.ft-recherche__volet--3 {
	--ft-pointe: calc(100% - (100% - 20px) / 6);
}
.ft-recherche__volet .ft-invite-toucher {
	margin: 0 auto;
}
.ft-recherche__volet .ft-liste__cartes,
.ft-recherche__volet .ft-alerte,
.ft-recherche__volet .ft-carte--centree {
	margin-top: 0;
	margin-bottom: 0;
}

/* Thème 0.52.0 (capture de Soul du 28 novembre 2026) : le nom des cases
   suit la largeur réelle de la case, pour que « Prestataires » tienne
   toujours sur une ligne, même avec une police de téléphone plus large. */
.ft-recherche__cases {
	scroll-margin-top: 12px;
}
a.ft-recherche__case,
a.ft-recherche__case:visited {
	container-type: inline-size;
	padding-right: 4px;
	padding-left: 4px;
}
a.ft-recherche__case .ft-liste__nom {
	max-width: 100%;
	font-size: 13px;
	font-size: min(15px, calc(100cqi / 6.6));
	letter-spacing: -0.2px;
	white-space: nowrap;
	overflow-wrap: normal;
}
a.ft-recherche__case .ft-mut {
	font-size: 13px;
	font-size: min(14px, calc(100cqi / 6.4));
	white-space: nowrap;
}

/* Thème 0.52.0 (capture de Soul du 28 novembre 2026) : le bleu foncé du
   haut de l'accueil se fond dans le bleu de la page, sans trait visible ;
   les petits dessins s'effacent avec lui. */
.ft-accueil-haut {
	position: relative;
}
.ft-accueil-haut::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 160px;
	background: linear-gradient(180deg, rgba(53, 88, 208, 0) 0%, var(--ft-roi) 100%);
	pointer-events: none;
}
.ft-accueil-haut__dedans {
	position: relative;
	z-index: 1;
}

/* Thème 0.53.0 (captures de Soul du 28 novembre 2026) : espaces resserrés
   entre les encadrés et les textes du haut des pages de liste et de la
   recherche. Un seul écart de 10 px entre deux blocs, sans marge qui
   s'y ajoute ; textes d'introduction plus serrés. */
main.ft-liste {
	gap: 10px;
}
main.ft-liste .ft-aide,
main.ft-liste .ft-invite,
main.ft-liste .ft-recherche__cases,
main.ft-liste .ft-recherche__volet {
	margin-bottom: 0;
}
main.ft-liste .ft-aide {
	gap: 8px;
}
main.ft-liste .ft-sous-titre {
	line-height: 1.4;
}
main.ft-liste > .ft-ariane + * {
	margin-top: -2px;
}
main.ft-liste .ft-metiers__inscription {
	margin-top: 0;
}
main.ft-liste > .ft-invite-toucher {
	margin: -2px auto 0;
}
/* La pointe du volet de la recherche reste bien visible dans l'écart. */
main.ft-liste .ft-recherche__volet {
	margin-top: 4px;
}

/* Thème 0.54.0 (bloc 3.8) : accueil de l'espace après la validation de la
   fiche. Cadre tricolore qui défile, comme les encadrés de l'État, deux
   mains qui se saluent dans un petit cercle (choix de Soul), rangée de
   l'application sur fond doux. */
.ft-bienvenue {
	position: relative;
	display: grid;
	gap: 10px;
	margin-top: 18px;
	padding: 30px 16px 16px;
	border: 3px solid transparent;
	background:
		linear-gradient(var(--ft-blanc), var(--ft-blanc)) padding-box,
		linear-gradient(90deg, #EF2B2D, #FCD116, #009E49, #EF2B2D, #FCD116, #009E49, #EF2B2D) border-box;
	background-size: 100% 100%, 200% 100%;
	text-align: center;
}
.ft-bienvenue__signe img {
	display: block;
	width: 40px;
	height: auto;
}
.ft-bienvenue [hidden] {
	display: none !important;
}
.ft-bienvenue__signe {
	position: absolute;
	top: -26px;
	left: 50%;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-left: -25px;
	border: 3px solid var(--ft-jaune);
	border-radius: 50%;
	background: var(--ft-blanc);
	color: #1E1A16;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
.ft-bienvenue h2.ft-bienvenue__titre {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	color: var(--ft-vert-texte);
}
.ft-bienvenue p {
	margin: 0;
}
.ft-bienvenue__texte {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ft-encre);
}
.ft-bienvenue__appli {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 10px 12px;
	padding: 12px;
	border-radius: var(--ft-arrondi);
	background: #EEF2FD;
	text-align: left;
}
.ft-bienvenue__icone {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.ft-bienvenue__appli-texte {
	font-size: 14px;
	line-height: 1.4;
	color: var(--ft-encre);
}
.ft-bienvenue__installer,
.ft-bienvenue__fait,
.ft-bienvenue__aide {
	grid-column: 1 / -1;
}
.ft-bienvenue .ft-bienvenue__installer {
	width: 100%;
}
.ft-bienvenue__fait {
	font-weight: 700;
	color: var(--ft-vert-texte);
	text-align: center;
}
.ft-bienvenue__aide {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--ft-encre);
}
.ft-bienvenue__rappel {
	padding: 10px 12px 10px 14px;
	border: 2px solid var(--ft-jaune);
	border-left: 6px solid var(--ft-rouge);
	border-radius: var(--ft-arrondi);
	background-color: var(--ft-note);
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
	color: var(--ft-encre);
}
.ft-bienvenue__fermer {
	margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
	.ft-bienvenue {
		animation: ft-cadre 6s linear infinite;
	}
	.ft-bienvenue__signe img {
		animation: ft-bienvenue-signe 2.4s ease-in-out infinite;
	}
}
@keyframes ft-bienvenue-signe {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(-8deg); }
	75% { transform: rotate(8deg); }
}
.ft-espace__etat p.ft-espace__motif {
	padding: 8px 10px;
	border-left: 4px solid var(--ft-rouge);
	border-radius: 6px;
	background: #FCF0F1;
	font-weight: 600;
	color: var(--ft-encre);
}

/* Thème 0.55.0 : le bouton « Retour à l'accueil » monte au-dessus des
   barres d'enregistrement fixes (Modifier ma fiche, Mon profil emploi,
   formulaire d'un produit), pour ne jamais les cacher. */
body:has(.ft-fiche-modif__barre) .ft-retour-accueil {
	bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

/* Thème 0.55.0 : page introuvable. */
.ft-introuvable__carte {
	display: grid;
	gap: 12px;
}
.ft-introuvable__recherche {
	display: grid;
	gap: 10px;
}
.ft-introuvable__recherche .ft-bouton,
.ft-introuvable .ft-introuvable__accueil {
	width: 100%;
	margin: 0;
}
.ft-introuvable .ft-introuvable__accueil {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.ft-introuvable .ft-introuvable__metiers {
	justify-self: center;
}

/* Thème 0.56.0 : type de fiche sous chaque choix de Créer mon compte. */
.ft-compte__parcours .ft-compte__parcours-type {
	display: inline-block;
	max-width: 100%;
	padding: 2px 6px;
	border-radius: 10px;
	background: rgba(0, 122, 61, 0.12);
	color: var(--ft-vert-texte);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	overflow-wrap: normal;
}

/* Thème 0.56.1 : bouton d'une page pas encore construite, sans lien. */
.ft-lien-bouton.ft-lien-bouton--inactif {
	opacity: 0.55;
	cursor: default;
}
