/* Yemba Canada — recherche, vitrine des partenaires, rétrospectives. Couleurs de l'association : bleu #032785, or #E7BB5B. */
.ycr-page { --ycr-bleu: #032785; --ycr-bleu-nuit: #021a5c; --ycr-or: #e7bb5b; --ycr-encre: #252638; --ycr-gris: #454759; --ycr-trait: #e1e3ec; --ycr-fond: #f5f6fa; color: var(--ycr-encre); }
.ycr-largeur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.ycr-entete { padding: 54px 0 46px; background: linear-gradient(120deg, #021a5c 0%, #032785 60%, #0a3bb0 100%); color: #ffffff; }
.ycr-surtitre { margin: 0 0 8px; color: #e7bb5b; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ycr-entete .ycr-titre { margin: 0 0 22px; color: #ffffff; font-size: 38px; line-height: 1.2; }
.ycr-fil { margin: 0 0 10px; font-size: 15px; }
.ycr-fil a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.ycr-corps { padding-top: 40px; padding-bottom: 70px; }
.ycr-page a:focus-visible, .ycr-page button:focus-visible, .ycr-panneau a:focus-visible, .ycr-panneau button:focus-visible, .ycr-ouvrir:focus-visible, .ycr-champ:focus-visible, .ycr-carte-lien:focus-visible { outline: 3px solid #e7bb5b; outline-offset: 3px; }

/* Formulaire et suggestions */
.ycr-formulaire { position: relative; max-width: 760px; margin: 0; }
.ycr-champ-cadre { position: relative; display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: #ffffff; box-shadow: 0 10px 30px rgba(2, 26, 92, .25); }
.ycr-formulaire .ycr-champ { flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: #ffffff; color: #252638; font-size: 18px; box-shadow: none; }
.ycr-formulaire .ycr-envoyer { flex: 0 0 auto; height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: #032785; color: #ffffff; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.ycr-formulaire .ycr-envoyer:hover { background: #021a5c; }
.ycr-attente { position: absolute; top: 50%; right: 150px; width: 20px; height: 20px; margin-top: -10px; border: 3px solid #e1e3ec; border-top-color: #032785; border-radius: 50%; animation: ycr-tourne .8s linear infinite; }
.ycr-attente[hidden] { display: none; }
@keyframes ycr-tourne { to { transform: rotate(360deg); } }
.ycr-suggestions { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #ffffff; box-shadow: 0 18px 44px rgba(2, 26, 92, .28); }
.ycr-suggestions[hidden] { display: none; }
.ycr-suggestions li { margin: 0; }
.ycr-suggestions a { display: block; padding: 10px 14px; border-radius: 10px; color: #252638; text-decoration: none; }
.ycr-suggestions a:hover, .ycr-suggestions [aria-selected="true"] a { background: #f5f6fa; }
.ycr-suggestion-titre { display: block; font-weight: 700; line-height: 1.35; }
.ycr-suggestion-meta { display: block; margin-top: 2px; color: #454759; font-size: 14px; }
.ycr-suggestions .ycr-suggestion-tout a { color: #032785; font-weight: 700; text-align: center; }
.ycr-suggestions .ycr-suggestion-vide { padding: 12px 14px; color: #454759; }

/* Bouton du menu et panneau */
.ycr-menu-recherche { display: flex; align-items: center; }
.ycr-ouvrir { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.ycr-ouvrir:hover { background: #032785; border-color: #032785; color: #ffffff; }
.ycr-panneau { width: min(820px, calc(100vw - 28px)); max-height: calc(100vh - 28px); margin: 9vh auto auto; padding: 0; border: 0; border-radius: 18px; background: transparent; overflow: visible; }
.ycr-panneau::backdrop { background: rgba(2, 14, 50, .72); }
.ycr-panneau-int { position: relative; padding: 34px 30px 26px; border-radius: 18px; background: linear-gradient(120deg, #021a5c, #032785); color: #ffffff; }
.ycr-panneau-titre { margin: 0 0 16px; color: #ffffff; font-size: 26px; font-weight: 700; }
.ycr-panneau-aide { margin: 14px 0 0; color: #dfe5fb; font-size: 15px; }
.ycr-panneau .ycr-formulaire { max-width: none; }
.ycr-fermer { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #ffffff; font-size: 30px; line-height: 1; cursor: pointer; }
.ycr-fermer:hover { background: rgba(255, 255, 255, .16); }

.ycr-ouvrir-mobile { display: none; }
@media (max-width: 1199px) {
	.ycr-ouvrir-mobile { position: fixed; z-index: 9990; left: 16px; bottom: 16px; display: inline-flex; justify-content: center; width: 56px; height: 56px; padding: 0; border: 2px solid #ffffff; border-radius: 50%; background: #032785; color: #ffffff; box-shadow: 0 8px 22px rgba(2, 26, 92, .4); }
}

/* Filtres */
.ycr-filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ycr-filtres ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ycr-filtre { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #c9cddd; border-radius: 999px; background: #ffffff; color: #252638; font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.ycr-filtre:hover { border-color: #032785; color: #032785; }
.ycr-filtre-actif, .ycr-filtre-actif:hover { border-color: #032785; background: #032785; color: #ffffff; }
.ycr-filtre-nombre { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #f0f1f6; color: #252638; font-size: 13px; text-align: center; }
.ycr-annees { display: flex; align-items: center; gap: 8px; margin: 0; }
.ycr-annees label { margin: 0; font-weight: 600; }
.ycr-annees select { height: 42px; padding: 0 12px; border: 1px solid #c9cddd; border-radius: 10px; background: #ffffff; color: #252638; font-size: 15px; }
.ycr-annees button { height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: #032785; color: #ffffff; font-weight: 700; cursor: pointer; }
.ycr-nombre { margin: 0 0 20px; color: #454759; }
.ycr-nombre a { color: #032785; font-weight: 600; }

/* Résultats */
.ycr-resultats { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ycr-resultat { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid #e1e3ec; border-radius: 16px; background: #ffffff; box-shadow: 0 4px 16px rgba(3, 39, 133, .06); transition: box-shadow .25s, transform .25s; }
.ycr-resultat:hover { box-shadow: 0 14px 34px rgba(3, 39, 133, .14); transform: translateY(-2px); }
.ycr-resultat-sans-image { grid-template-columns: minmax(0, 1fr); }
.ycr-resultat-image { position: relative; display: block; min-height: 170px; background: #f5f6fa; overflow: hidden; }
.ycr-resultat-image img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ycr-resultat:hover .ycr-resultat-image img { transform: scale(1.05); }
.ycr-resultat-texte { padding: 20px 24px; }
.ycr-resultat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; color: #454759; font-size: 14px; }
.ycr-pastille { padding: 4px 11px; border-radius: 999px; background: #032785; color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ycr-pastille-avenir { background: #0f6b3c; }
.ycr-pastille-encours { background: #8a5a00; }
.ycr-pastille-passe { background: #e9ebf3; color: #252638; }
.ycr-resultat-rubrique::before { content: "· "; }
.ycr-resultat .ycr-resultat-titre { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
.ycr-resultat-titre a { color: #032785; text-decoration: none; }
.ycr-resultat-titre a:hover { text-decoration: underline; }
.ycr-resultat-extrait { margin: 0 0 10px; color: #333333; line-height: 1.6; }
.ycr-resultat-lien { margin: 0; }
.ycr-resultat-lien a { color: #032785; font-weight: 700; text-decoration: none; }
.ycr-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.ycr-pagination a { display: block; min-width: 44px; padding: 10px 14px; border: 1px solid #c9cddd; border-radius: 10px; background: #ffffff; color: #032785; font-weight: 700; text-align: center; text-decoration: none; box-sizing: border-box; }
.ycr-pagination a:hover, .ycr-pagination .ycr-page-active { border-color: #032785; background: #032785; color: #ffffff; }
.ycr-aucun { padding: 34px 30px; border: 1px solid #e1e3ec; border-radius: 16px; background: #f5f6fa; }
.ycr-aucun h2 { margin: 0 0 10px; color: #032785; font-size: 26px; }
.ycr-aucun-titre { margin: 22px 0 10px; font-weight: 700; }
.ycr-rubriques { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ycr-rubriques a { display: block; padding: 9px 16px; border: 1px solid #032785; border-radius: 999px; background: #ffffff; color: #032785; font-weight: 600; text-decoration: none; }
.ycr-rubriques a:hover { background: #032785; color: #ffffff; }

/* Vitrine des partenaires */
.ycr-vitrine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 34px 0; padding: 0; list-style: none; }
.ycr-carte { margin: 0; }
.ycr-carte-lien { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #e1e3ec; border-radius: 20px; background: #ffffff; color: #252638; text-decoration: none; box-shadow: 0 6px 20px rgba(3, 39, 133, .08); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.ycr-carte-lien::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #032785, #e7bb5b); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.ycr-carte-lien:hover, .ycr-carte-lien:focus-visible { border-color: #c5cdea; color: #252638; box-shadow: 0 22px 48px rgba(3, 39, 133, .2); transform: translateY(-8px); }
.ycr-carte-lien:hover::before, .ycr-carte-lien:focus-visible::before { transform: scaleX(1); }
.ycr-carte-lien:active { box-shadow: 0 8px 20px rgba(3, 39, 133, .16); transform: translateY(-2px) scale(.99); }
.ycr-carte-logo { display: flex; align-items: center; justify-content: center; height: 210px; padding: 26px; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #f5f6fa 100%); border-bottom: 1px solid #e1e3ec; box-sizing: border-box; }
.ycr-carte-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.ycr-carte-lien:hover .ycr-carte-logo img, .ycr-carte-lien:focus-visible .ycr-carte-logo img { transform: scale(1.06); }
.ycr-carte-initiales { display: flex; align-items: center; justify-content: center; width: 110px; height: 110px; border-radius: 50%; background: #032785; color: #e7bb5b; font-size: 50px; font-weight: 700; }
.ycr-carte-corps { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.ycr-carte-nom { color: #032785; font-size: 21px; font-weight: 700; line-height: 1.3; }
.ycr-carte-texte { color: #333333; font-size: 16px; line-height: 1.6; }
.ycr-carte-plus { margin-top: auto; padding-top: 6px; color: #032785; font-weight: 700; }
.ycr-carte-plus span { display: inline-block; transition: transform .3s; }
.ycr-carte-lien:hover .ycr-carte-plus span { transform: translateX(6px); }
.ycr-apparition { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.ycr-apparition.ycr-visible { opacity: 1; transform: none; }

/* Page d'un partenaire */
.ycr-partenaire-grille { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 44px; align-items: start; }
.ycr-partenaire-cote { position: sticky; top: 24px; padding: 26px; border: 1px solid #e1e3ec; border-radius: 20px; background: #ffffff; box-shadow: 0 10px 30px rgba(3, 39, 133, .1); text-align: center; }
.ycr-partenaire-logo { margin: 0 0 20px; }
.ycr-partenaire-logo img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.ycr-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 12px; background: #032785; color: #ffffff; font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none; box-shadow: 0 8px 20px rgba(3, 39, 133, .25); transition: transform .25s, box-shadow .25s, background-color .25s; }
.ycr-bouton:hover, .ycr-bouton:focus { background: #021a5c; color: #ffffff; box-shadow: 0 14px 30px rgba(3, 39, 133, .32); transform: translateY(-2px); }
.ycr-partenaire-cote p { margin: 0 0 12px; }
.ycr-partenaire-cote .ycr-bouton { width: 100%; box-sizing: border-box; }
.ycr-bouton-second { border: 2px solid #032785; background: #ffffff; color: #032785; box-shadow: none; }
.ycr-bouton-second:hover, .ycr-bouton-second:focus { background: #032785; color: #ffffff; }
.ycr-partenaire-liens { margin: 16px 0 0; padding: 0; list-style: none; }
.ycr-partenaire-liens li { margin: 6px 0; }
.ycr-partenaire-liens a { color: #032785; font-weight: 600; }
.ycr-partenaire-couverture { margin: 0 0 24px; overflow: hidden; border-radius: 18px; }
.ycr-partenaire-couverture img { display: block; width: 100%; height: auto; }
.ycr-chapo { margin: 0 0 20px; color: #252638; font-size: 21px; line-height: 1.6; }
.ycr-prose { font-size: 17px; line-height: 1.75; }
.ycr-prose { color: #333333; }
.ycr-prose p { margin: 0 0 16px; color: #333333; }
.ycr-prose h2 { margin: 28px 0 12px; color: #032785; font-size: 26px; }
.ycr-prose ul { margin: 0 0 16px; padding-left: 24px; list-style: disc; }
.ycr-prose ul li { margin: 0 0 6px; list-style: disc; }
.ycr-prose > .ycr-chapo { max-width: 860px; }
.ycr-prose ul.ycr-vitrine { padding: 0; list-style: none; }
.ycr-prose ul.ycr-vitrine li.ycr-carte { margin: 0; list-style: none; }
.ycr-retour { margin: 30px 0 0; }
.ycr-retour a, .ycr-retro-retour a { color: #032785; font-weight: 700; }

/* Rétrospectives */
.ycr-retro-etiquette { margin: 0 0 14px; }
.ycr-retro-etiquette a { display: inline-block; padding: 5px 14px; border-radius: 999px; background: #032785; color: #ffffff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.ycr-retro-fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 26px; padding: 20px 24px; border-left: 5px solid #e7bb5b; border-radius: 12px; background: #f5f6fa; }
.ycr-retro-fiche div { padding: 6px 0; }
.ycr-retro-fiche dt { color: #454759; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ycr-retro-fiche dd { margin: 0; color: #252638; font-size: 17px; font-weight: 600; }
.ycr-retro-resultat { margin: 0 0 26px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(120deg, #021a5c, #032785); color: #ffffff; font-size: 20px; font-weight: 600; line-height: 1.5; }
.ycr-retro-resultat strong { color: #e7bb5b; }
.ycr-retro-video { position: relative; margin: 0 0 12px; padding-top: 56.25%; overflow: hidden; border-radius: 16px; background: #0b1024; }
.ycr-retro-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.ycr-retro-remerciements { margin: 30px 0; padding: 30px 32px; border: 1px solid #e1e3ec; border-top: 5px solid #e7bb5b; border-radius: 16px; background: #ffffff; box-shadow: 0 8px 24px rgba(3, 39, 133, .08); }
.ycr-retro-remerciements h2 { margin: 0 0 16px; color: #032785; }
.ycr-retro-remerciements p { margin: 0 0 14px; color: #333333; font-size: 17px; line-height: 1.7; }
.ycr-retro-remerciements p:last-child { margin-bottom: 0; }
.ycr-retro-attente { padding: 16px 20px; border: 1px dashed #9aa3c4; border-radius: 12px; background: #f5f6fa; color: #454759; }

@media (max-width: 991px) {
	.ycr-vitrine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.ycr-partenaire-grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ycr-partenaire-cote { position: static; }
	.ycr-entete .ycr-titre { font-size: 30px; }
	.ycr-ouvrir { margin: 10px 0; }
}
@media (max-width: 640px) {
	.ycr-vitrine { grid-template-columns: minmax(0, 1fr); }
	.ycr-resultat { grid-template-columns: minmax(0, 1fr); }
	.ycr-resultat-image { height: 200px; min-height: 0; }
	.ycr-formulaire .ycr-envoyer { padding: 0 16px; }
	.ycr-attente { right: 124px; }
	.ycr-entete { padding: 38px 0 32px; }
	.ycr-entete .ycr-titre { font-size: 26px; }
	.ycr-retro-fiche { grid-template-columns: minmax(0, 1fr); }
	.ycr-filtres { align-items: flex-start; flex-direction: column; }
	.ycr-panneau-int { padding: 30px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.ycr-carte-lien, .ycr-carte-lien::before, .ycr-carte-logo img, .ycr-resultat, .ycr-resultat-image img, .ycr-bouton, .ycr-carte-plus span { transition: none; }
	.ycr-carte-lien:hover, .ycr-carte-lien:focus-visible, .ycr-resultat:hover, .ycr-bouton:hover { transform: none; }
	.ycr-apparition { opacity: 1; transform: none; transition: none; }
	.ycr-attente { animation-duration: 2.4s; }
}
