/*
Theme Name: BTS MAV Le Puy
Theme URI: https://velayaudiovisuel.fr
Author: BTS Métiers de l'audiovisuel, Le Puy-en-Velay
Description: Thème du BTS Métiers de l'audiovisuel du Puy-en-Velay (GRETA Auvergne et lycée Charles et Adrien Dupuy). Couleurs des cinq options, polices Outfit et DM Sans, modèles de sections prêts à l'emploi, conforme à la charte graphique du BTS.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bts-mav
*/

/* ---------- Signature : la barre aux cinq couleurs ---------- */
:root {
	--bts-barre: linear-gradient(90deg,
		var(--wp--preset--color--image) 0 20%,
		var(--wp--preset--color--son) 20% 40%,
		var(--wp--preset--color--production) 40% 60%,
		var(--wp--preset--color--tiee) 60% 80%,
		var(--wp--preset--color--montage) 80% 100%);
}

.bts-entete { position: sticky; top: 0; z-index: 50; }
.admin-bar .bts-entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .bts-entete { top: 0; position: relative; } }
.bts-entete::before { content: ""; display: block; height: 6px; background: var(--bts-barre); }
.bts-pied::after { content: ""; display: block; height: 10px; background: var(--bts-barre); }

hr.wp-block-separator.is-style-barre-options {
	border: 0; height: 8px; max-width: none; width: 100%; opacity: 1;
	background: var(--bts-barre); border-radius: 9999px;
}

/* ---------- En-tête ---------- */
.bts-entete .wp-block-site-logo img { height: 46px; width: auto; }
.bts-entete .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.bts-entete .wp-block-navigation .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.bts-entete .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem 1.5rem; }
.bts-entete .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a { font-size: 1.5rem; font-weight: 700; }

/* ---------- Styles de blocs ---------- */
.is-style-surtitre {
	font-family: var(--wp--preset--font-family--outfit);
	font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wp--preset--color--gris);
}
.has-encre-background-color .is-style-surtitre,
.has-production-background-color .is-style-surtitre,
.has-tiee-background-color .is-style-surtitre { color: rgba(255,255,255,0.72); }

p.is-style-pastille {
	display: inline-block; border-radius: 9999px; padding: 0.45em 1.1em;
	font-family: var(--wp--preset--font-family--outfit); font-weight: 700; line-height: 1.2;
	margin: 0;
}
p.is-style-pastille:not(.has-background) { box-shadow: inset 0 0 0 1.5px currentColor; }
p.is-style-pastille a { text-decoration: none; }

.wp-block-group.is-style-carte { border-radius: 12px; }
.wp-block-group.is-style-carte:not(.has-background) { background: var(--wp--preset--color--papier); }

.wp-block-group.is-style-bandeau { border-radius: 12px; }

/* Rangée de pastilles d'options */
.bts-pastilles { gap: 0.5rem !important; }
.bts-pastilles p.is-style-pastille { flex: 1 1 8rem; text-align: center; }

/* Chiffres clés */
.bts-chiffre { font-family: var(--wp--preset--font-family--outfit); font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin-bottom: 0.35rem !important; }

/* Cartes d'option cliquables */
.bts-carte-option { height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.bts-carte-option:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(26,31,39,.10); }
.bts-carte-option h3 a { text-decoration: none; }
.bts-carte-option h3 a::after { content: ""; position: absolute; inset: 0; }
.bts-carte-option { position: relative; }
.bts-grille-options > .wp-block-column { display: flex; }
.bts-grille-options > .wp-block-column > * { flex: 1; }

/* Images */
.wp-block-image img { border-radius: inherit; }
.bts-photo-haute img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bts-photo-large img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.wp-block-image.bts-photo-haute, .wp-block-image.bts-photo-large { border-radius: 12px; overflow: hidden; }

/* Listes « métiers » */
.bts-liste-metiers { list-style: none; padding-left: 0 !important; }
.bts-liste-metiers li { padding: 0.45rem 0; border-bottom: 1px solid var(--wp--preset--color--ligne); }
.bts-liste-metiers li:last-child { border-bottom: 0; }

/* Tableau sobre */
.wp-block-table.is-style-sobre table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-sobre thead { border-bottom: 2px solid var(--wp--preset--color--encre); }
.wp-block-table.is-style-sobre th { font-family: var(--wp--preset--font-family--outfit); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--gris); text-align: left; font-weight: 600; }
.wp-block-table.is-style-sobre td, .wp-block-table.is-style-sobre th { border: 0; border-bottom: 1px solid var(--wp--preset--color--ligne); padding: 0.85rem 0.75rem 0.85rem 0; vertical-align: top; }
.wp-block-table.is-style-sobre td:first-child { font-family: var(--wp--preset--font-family--outfit); font-weight: 700; }

/* Pied */
.bts-pied a { text-decoration: none; }
.bts-pied a:hover { text-decoration: underline; }
.bts-pied .bts-logos-partenaires { background: #fff; border-radius: 12px; }
.bts-pied .bts-logos-partenaires img { height: 64px; width: auto; }
.bts-pied .bts-logo-parcoursup img { height: 40px; }

/* Ancres sous l'en-tête collant */
[id] { scroll-margin-top: 110px; }

@media (max-width: 781px) {
	.bts-masque-mobile { display: none !important; }
	.wp-block-columns.bts-inverse-mobile { flex-direction: column-reverse; }
}

/* Sections pleine largeur collées les unes aux autres */
.wp-site-blocks > * + *,
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }
.wp-block-post-content > .alignfull:last-child { margin-block-end: 0; }

/* Gouttières latérales des sections pleine largeur (téléphone compris) */
.wp-block-post-content > .alignfull.has-global-padding {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}

/* ---------- Bandeau d'annonce (au-dessus de l'en-tête) ---------- */
.bts-annonce p { margin: 0; letter-spacing: 0.01em; }
.bts-annonce strong { font-family: var(--wp--preset--font-family--outfit); color: var(--wp--preset--color--son); }
.bts-annonce a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.wp-site-blocks > .wp-block-template-part:first-child + .wp-block-template-part { margin-block-start: 0; }

/* ---------- Onglet TV Velay (logo blanc sur pastille encre) ---------- */
.bts-entete .wp-block-navigation-item.bts-lien-tvvelay > a {
	display: inline-block; width: 104px; height: 34px; border-radius: 9999px;
	background: var(--wp--preset--color--encre) url(assets/images/tv-velay-blanc.png) center / 76px auto no-repeat;
	color: transparent !important; overflow: hidden; text-indent: -999px; text-decoration: none !important;
	transition: transform .15s ease;
}
.bts-entete .wp-block-navigation-item.bts-lien-tvvelay > a:hover { transform: translateY(-1px); }
.bts-entete .is-menu-open .wp-block-navigation-item.bts-lien-tvvelay > a { width: 170px; height: 52px; background-size: 124px auto; margin-top: 0.5rem; }

/* ---------- Portes ouvertes : reprise du visuel 2027 ---------- */
.bts-jpo { position: relative; overflow: hidden; isolation: isolate; }
.bts-jpo > * { position: relative; z-index: 1; }
.bts-jpo::after {
	content: ""; position: absolute; z-index: 0; left: -6%; right: -6%; bottom: 14px; height: 74px;
	transform: rotate(-3.5deg); transform-origin: left bottom;
	background: linear-gradient(180deg,
		var(--wp--preset--color--image) 0 17%, transparent 17% 20.75%,
		var(--wp--preset--color--son) 20.75% 37.75%, transparent 37.75% 41.5%,
		var(--wp--preset--color--production) 41.5% 58.5%, transparent 58.5% 62.25%,
		var(--wp--preset--color--tiee) 62.25% 79.25%, transparent 79.25% 83%,
		var(--wp--preset--color--montage) 83% 100%);
}
.bts-jpo h2 mark { padding: 0; }
.bts-jpo-date .bts-chiffre { margin: 0 !important; line-height: 0.85; }
.bts-jpo-date .is-style-surtitre { margin: 0; }

/* ---------- Vidéos : emplacement d'attente ---------- */
.bts-video-attente { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--wp--preset--color--encre); }
.bts-video-attente .bts-video-poster { margin: 0; height: 100%; }
.bts-video-attente .bts-video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .55; border-radius: 0; }
.bts-video-attente .bts-video-legende {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1rem 1.25rem;
	color: #fff; font-family: var(--wp--preset--font-family--outfit); font-weight: 700; font-size: 1.125rem; line-height: 1.25;
	background: linear-gradient(0deg, rgba(26,31,39,.85), rgba(26,31,39,0));
}
.bts-video-attente .bts-video-legende small { font-family: var(--wp--preset--font-family--dm-sans); font-weight: 400; font-size: .8125rem; opacity: .8; }
.bts-video-play {
	position: absolute; left: 50%; top: -9999px; width: 0; height: 0;
}
.bts-video-attente::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 74px; height: 52px; margin: -40px 0 0 -37px;
	border-radius: 14px; background: #E1283A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.wp-block-embed-youtube { margin: 0; }
.wp-block-embed-youtube iframe { border-radius: 12px; }
.bts-logo-tvvelay { margin: 0; }
.bts-logo-tvvelay img { height: auto; }

@media (max-width: 781px) {
	.bts-annonce .bts-annonce-sep { display: none; }
	.bts-annonce p { line-height: 1.5; }
	.bts-annonce strong { display: block; }
}
.bts-jpo .bts-jpo-date .is-style-surtitre { color: var(--wp--preset--color--gris); }

/* ---------- Sous-menus ---------- */
.bts-entete .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--ligne) !important; border-radius: 12px; padding: 0.5rem 0 !important;
	box-shadow: 0 12px 30px rgba(26,31,39,.10); min-width: 17rem !important;
}
.bts-entete .wp-block-navigation__submenu-container .wp-block-navigation-item a { padding: 0.5rem 1.1rem !important; font-weight: 500; }
.bts-entete .wp-block-navigation-item.bts-puce > a::before {
	content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.6rem; vertical-align: middle; position: relative; top: -1px;
	background: var(--bts-puce);
}
.bts-puce-image { --bts-puce: var(--wp--preset--color--image); }
.bts-puce-son { --bts-puce: var(--wp--preset--color--son); }
.bts-puce-production { --bts-puce: var(--wp--preset--color--production); }
.bts-puce-ingenierie { --bts-puce: var(--wp--preset--color--tiee); }
.bts-puce-montage { --bts-puce: var(--wp--preset--color--montage); }
.bts-entete .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0.25rem 0 0.75rem 0 !important; }
.bts-entete .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item a { font-size: 1.0625rem !important; font-weight: 500 !important; padding: 0.3rem 0 !important; }

/* Fil d'Ariane des sous-pages */
.bts-fil a { text-decoration: underline; text-underline-offset: 3px; }
.bts-fil { opacity: .85; }

/* ---------- Graphique des cours ---------- */
.bts-graphe { --bts-c: var(--wp--preset--color--encre); display: grid; gap: 0.9rem; }
.bts-graphe-ligne { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) 4.75rem; gap: 1rem; align-items: center; }
.bts-graphe-label { font-size: 0.9375rem; line-height: 1.3; }
.bts-graphe-label small { color: var(--wp--preset--color--gris); }
.bts-graphe-barre { position: relative; height: 16px; border-radius: 9999px; background: rgba(26,31,39,.06); }
.bts-graphe-barre i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9999px; }
.bts-graphe-barre i.max { background: var(--bts-c); opacity: .35; }
.bts-graphe-barre i.min { background: var(--bts-c); }
.bts-graphe-val { font-family: var(--wp--preset--font-family--outfit); font-weight: 700; white-space: nowrap; }
.bts-graphe-legende { margin: 0.4rem 0 0; font-size: 0.8125rem; color: var(--wp--preset--color--gris); }
.bts-graphe-legende span { display: inline-block; width: 22px; height: 10px; border-radius: 9999px; margin: 0 0.4rem 0 0.9rem; background: var(--bts-c); vertical-align: 0; }
.bts-graphe-legende span:first-child { margin-left: 0; }
.bts-graphe-legende span.max { opacity: .35; }
@media (max-width: 600px) {
	.bts-graphe-ligne { grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 0.75rem; }
	.bts-graphe-label { grid-column: 1 / -1; }
}

/* ---------- Frise de l'alternance ---------- */
.bts-frise { display: grid; gap: 1.5rem; }
.bts-frise-legende { margin: 0; font-size: 0.875rem; }
.bts-frise-legende span { display: inline-block; width: 16px; height: 16px; border-radius: 4px; margin: 0 0.4rem 0 1rem; vertical-align: -0.2em; }
.bts-frise-legende span:first-child { margin-left: 0; }
.bts-frise-annee strong { font-family: var(--wp--preset--font-family--outfit); font-size: 1.125rem; display: block; margin-bottom: 0.4rem; }
.bts-frise-barre { display: flex; gap: 3px; height: 54px; }
.bts-frise-barre span { display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; min-width: 0; }
.bts-frise .c { background: var(--wp--preset--color--encre); color: #fff; }
.bts-frise .e { background: var(--wp--preset--color--papier); box-shadow: inset 0 0 0 1px #A9B0BC; color: var(--wp--preset--color--encre); }
.bts-frise .p { background: repeating-linear-gradient(45deg, var(--wp--preset--color--encre) 0 5px, var(--wp--preset--color--gris) 5px 10px); color: #fff; }
.bts-frise-dates { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--wp--preset--color--gris); margin-top: 0.35rem; }
@media (max-width: 600px) { .bts-frise-barre { height: 44px; } .bts-frise-barre span { font-size: 0.6875rem; } }

/* Cartes d'option avec photo */
.bts-carte-option .bts-photo-large { margin: 0; border-radius: 0; }
.bts-carte-option .bts-photo-large img { border-radius: 0; }
.bts-carte-option { overflow: hidden; }
.bts-colonnes-cartes > .wp-block-column { display: flex; }
.bts-colonnes-cartes > .wp-block-column > * { flex: 1; }
.bts-cadre-haut img { object-position: center 12%; }

/* ---------- Icônes en pastille de couleur ---------- */
.bts-ic::before { content: ""; display: block; flex: none; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1rem; background: var(--bts-ic-bg, var(--wp--preset--color--encre)) var(--bts-ic-img) center / 26px no-repeat; }
.bts-ic-petit::before { width: 44px; height: 44px; border-radius: 12px; background-size: 22px; margin-bottom: 0.75rem; }
.bts-c-image { --bts-ic-bg: var(--wp--preset--color--image); }
.bts-c-son { --bts-ic-bg: var(--wp--preset--color--son); }
.bts-c-production { --bts-ic-bg: var(--wp--preset--color--production); }
.bts-c-tiee { --bts-ic-bg: var(--wp--preset--color--tiee); }
.bts-c-montage { --bts-ic-bg: var(--wp--preset--color--montage); }
.bts-c-encre { --bts-ic-bg: var(--wp--preset--color--encre); }
.bts-ic-camera { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 13 5.2 3.1a.5.5 0 0 0 .8-.4V8.3a.5.5 0 0 0-.8-.4L16 11'/%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 13 5.2 3.1a.5.5 0 0 0 .8-.4V8.3a.5.5 0 0 0-.8-.4L16 11'/%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3C/svg%3E"); }
.bts-ic-clap { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8H4Z'/%3E%3Cpath d='m4 11-.9-3.3a2 2 0 0 1 1.4-2.4l11.6-3.1a2 2 0 0 1 2.4 1.4l.5 2L4 11'/%3E%3Cpath d='m6.6 4.9 3.1 3.9'/%3E%3Cpath d='m12.4 3.4 3.1 4'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8H4Z'/%3E%3Cpath d='m4 11-.9-3.3a2 2 0 0 1 1.4-2.4l11.6-3.1a2 2 0 0 1 2.4 1.4l.5 2L4 11'/%3E%3Cpath d='m6.6 4.9 3.1 3.9'/%3E%3Cpath d='m12.4 3.4 3.1 4'/%3E%3C/svg%3E"); }
.bts-ic-reglages { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6'/%3E%3C/svg%3E"); }
.bts-ic-atome { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='4'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='4' transform='rotate%2860 12 12%29'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='4' transform='rotate%28120 12 12%29'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='4'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='4' transform='rotate%2860 12 12%29'/%3E%3Cellipse cx='12' cy='12' rx='10' ry='4' transform='rotate%28120 12 12%29'/%3E%3C/svg%3E"); }
.bts-ic-globe { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15 15 0 0 1 4 10 15 15 0 0 1-4 10 15 15 0 0 1-4-10 15 15 0 0 1 4-10z'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15 15 0 0 1 4 10 15 15 0 0 1-4 10 15 15 0 0 1-4-10 15 15 0 0 1 4-10z'/%3E%3C/svg%3E"); }
.bts-ic-balance { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M3 7h18'/%3E%3Cpath d='M6 7l-3 7a3 3 0 0 0 6 0z'/%3E%3Cpath d='M18 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M3 7h18'/%3E%3Cpath d='M6 7l-3 7a3 3 0 0 0 6 0z'/%3E%3Cpath d='M18 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E"); }
.bts-ic-ordi { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='11' rx='2'/%3E%3Cpath d='M2 19h20'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='11' rx='2'/%3E%3Cpath d='M2 19h20'/%3E%3C/svg%3E"); }
.bts-ic-liste { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h11M10 12h11M10 18h11'/%3E%3Cpath d='m3 6 1.5 1.5L7 5M3 12l1.5 1.5L7 11M3 18l1.5 1.5L7 17'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h11M10 12h11M10 18h11'/%3E%3Cpath d='m3 6 1.5 1.5L7 5M3 12l1.5 1.5L7 11M3 18l1.5 1.5L7 17'/%3E%3C/svg%3E"); }
.bts-ic-ecole { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l7-5 7 5v13'/%3E%3Cpath d='M10 21v-5h4v5'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V8l7-5 7 5v13'/%3E%3Cpath d='M10 21v-5h4v5'/%3E%3C/svg%3E"); }
.bts-ic-jauge { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 14 4-4'/%3E%3Cpath d='M3.3 19a10 10 0 1 1 17.4 0'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 14 4-4'/%3E%3Cpath d='M3.3 19a10 10 0 1 1 17.4 0'/%3E%3C/svg%3E"); }
.bts-ic-progres { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 7-8.5 8.5-5-5L2 17'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 7-8.5 8.5-5-5L2 17'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E"); }
.bts-ic-medaille { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 13 17 22l-5-3-5 3 1.5-9'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 13 17 22l-5-3-5 3 1.5-9'/%3E%3C/svg%3E"); }
.bts-ic-ecran { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.bts-ic-equipe { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.bts-ic-micro { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1M12 18v4'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1M12 18v4'/%3E%3C/svg%3E"); }
.bts-ic-mallette { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M2 13h20'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M2 13h20'/%3E%3C/svg%3E"); }
.bts-ic-diplome { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E"); }
.bts-ic-calendrier { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.bts-ic-telecharger { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); }
.bts-ic-maison { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.bts-ic-couronne { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); }
.bts-ic-montagne { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 4 8 5-5 5 15H2L8 3z'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 4 8 5-5 5 15H2L8 3z'/%3E%3C/svg%3E"); }
.bts-ic-flocon { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='m20 16-4-4 4-4'/%3E%3Cpath d='m4 8 4 4-4 4'/%3E%3Cpath d='m16 4-4 4-4-4'/%3E%3Cpath d='m8 20 4-4 4 4'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='m20 16-4-4 4-4'/%3E%3Cpath d='m4 8 4 4-4 4'/%3E%3Cpath d='m16 4-4 4-4-4'/%3E%3Cpath d='m8 20 4-4 4 4'/%3E%3C/svg%3E"); }
.bts-ic-train { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.1V7a4 4 0 0 0 8 0V3.1'/%3E%3Cpath d='m9 15-1-1'/%3E%3Cpath d='m15 15 1-1'/%3E%3Cpath d='M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z'/%3E%3Cpath d='m8 19-2 3'/%3E%3Cpath d='m16 19 2 3'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.1V7a4 4 0 0 0 8 0V3.1'/%3E%3Cpath d='m9 15-1-1'/%3E%3Cpath d='m15 15 1-1'/%3E%3Cpath d='M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z'/%3E%3Cpath d='m8 19-2 3'/%3E%3Cpath d='m16 19 2 3'/%3E%3C/svg%3E"); }
.bts-ic-voiture { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.bts-ic-euro { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12'/%3E%3Cpath d='M4 14h9'/%3E%3Cpath d='M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12'/%3E%3Cpath d='M4 14h9'/%3E%3Cpath d='M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2'/%3E%3C/svg%3E"); }
.bts-ic-repere { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.bts-ic-casque { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E"); }
.bts-ic-reconversion { --bts-ic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E"); --bts-ic-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1F27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E"); }
.bts-ic { --bts-ic-img: var(--bts-ic-w); }
.bts-c-image.bts-ic, .bts-c-son.bts-ic, .bts-c-montage.bts-ic { --bts-ic-img: var(--bts-ic-k); }

/* Icône à gauche dans une carte en ligne */
.is-layout-flex.bts-ic::before { margin-bottom: 0; }
.bts-ic > p:empty { display: none; }
p.bts-ic:empty { margin: 0 0 0.25rem; }

/* ---------- Encart brochure ---------- */
.bts-brochure { background: var(--wp--preset--color--papier); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.bts-brochure .bts-couv { margin: 0 auto !important; width: 62%; max-width: 230px; height: 190px; overflow: hidden; position: relative; padding-top: 1.75rem; }
.bts-brochure .bts-couv img {
	width: 100%; height: auto; display: block; border-radius: 6px;
	box-shadow: 0 14px 34px rgba(26,31,39,.22), 0 2px 6px rgba(26,31,39,.12);
	transform: rotate(-3deg); transform-origin: center bottom; transition: transform .25s ease;
}
.bts-brochure:hover .bts-couv img { transform: rotate(0deg) translateY(-6px); }
.bts-brochure .bts-couv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(0deg, var(--wp--preset--color--papier), rgba(245,243,239,0)); }
.bts-brochure h2 { margin-top: 0.15rem !important; }
.bts-btn-telecharger .wp-block-button__link::before {
	content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 0.5rem; vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pix */
p.bts-pix-logo { margin: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--color--encre); color: #fff; font-family: var(--wp--preset--font-family--outfit); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.bts-engagement p { margin: 0; }

/* ---------- Bloc « Icône BTS » ---------- */
.bts-icone {
	--bts-ic-img: var(--bts-ic-w);
	width: 52px; height: 52px; border-radius: 14px; flex: none; margin: 0;
	background: var(--bts-ic-bg, var(--wp--preset--color--encre)) var(--bts-ic-img) center / 26px no-repeat;
}
.bts-icone.bts-c-image, .bts-icone.bts-c-son, .bts-icone.bts-c-montage { --bts-ic-img: var(--bts-ic-k); }
.bts-icone.bts-icone-petit { width: 44px; height: 44px; border-radius: 12px; background-size: 22px; }

/* ---------- Tableaux « graphique » et « calendrier » dans l'éditeur ---------- */
.wp-block-table.is-style-graphe-heures::before,
.wp-block-table.is-style-calendrier-alternance::before {
	display: block; margin-bottom: 0.5rem; font-family: var(--wp--preset--font-family--outfit); font-weight: 600;
	font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--gris);
}
.wp-block-table.is-style-graphe-heures::before { content: "Graphique des heures · s’affiche en barres sur le site"; }
.wp-block-table.is-style-calendrier-alternance::before { content: "Calendrier de l’alternance · s’affiche en frise sur le site"; }
.wp-block-table.is-style-graphe-heures table.has-background,
.wp-block-table.is-style-calendrier-alternance table.has-background { background-color: transparent !important; }
.wp-block-table.is-style-graphe-heures table { border-top: 6px solid var(--bts-tab-c, var(--wp--preset--color--encre)); }
.wp-block-table.is-style-graphe-heures table.has-image-background-color { --bts-tab-c: var(--wp--preset--color--image); }
.wp-block-table.is-style-graphe-heures table.has-son-background-color { --bts-tab-c: var(--wp--preset--color--son); }
.wp-block-table.is-style-graphe-heures table.has-production-background-color { --bts-tab-c: var(--wp--preset--color--production); }
.wp-block-table.is-style-graphe-heures table.has-tiee-background-color { --bts-tab-c: var(--wp--preset--color--tiee); }
.wp-block-table.is-style-graphe-heures table.has-montage-background-color { --bts-tab-c: var(--wp--preset--color--montage); }
.wp-block-table.is-style-graphe-heures td, .wp-block-table.is-style-graphe-heures th,
.wp-block-table.is-style-calendrier-alternance td, .wp-block-table.is-style-calendrier-alternance th { border: 1px solid var(--wp--preset--color--ligne); padding: 0.4rem 0.6rem; font-size: 0.9rem; }
.bts-liste-pied { list-style: none; }
.bts-jpo h2 mark, .bts-annonce mark { background: transparent; }

/* ---------- Vivre au Puy : mosaïque des saisons ---------- */
.bts-mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 1rem; margin-top: var(--wp--preset--spacing--50) !important; margin-bottom: var(--wp--preset--spacing--40) !important; }
.bts-mosaique > * { margin: 0 !important; }
.bts-mosaique > .bts-tuile:first-child { grid-column: span 2; grid-row: span 2; }
.bts-tuile { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; min-height: 250px; background: var(--wp--preset--color--encre); }
.bts-tuile .bts-tuile-photo { position: absolute; inset: 0; margin: 0; z-index: -2; }
.bts-tuile .bts-tuile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.bts-tuile:hover .bts-tuile-photo img { transform: scale(1.05); }
.bts-tuile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(26,31,39,0) 30%, rgba(26,31,39,.55) 60%, rgba(26,31,39,.92)); }
.bts-tuile-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem 1.35rem; }
.bts-tuile-texte > * { margin: 0 !important; }
.bts-tuile-texte > * + * { margin-top: .45rem !important; }
.bts-tuile-texte p.is-style-pastille { display: inline-block; }
.bts-tuile-texte h3 { line-height: 1.15; }
.bts-tuile-texte p:last-child { opacity: .92; max-width: 34rem; }
.bts-mosaique > .bts-tuile:first-child .bts-tuile-texte { padding: 2rem 2.1rem 2.2rem; }
.bts-mosaique > .bts-tuile:first-child h3 { font-size: var(--wp--preset--font-size--titre-2) !important; }
.bts-mosaique > .bts-tuile:first-child p:last-child { font-size: var(--wp--preset--font-size--normal) !important; }
@media (max-width: 960px) {
	.bts-mosaique { grid-template-columns: repeat(2, 1fr); }
	.bts-mosaique > .bts-tuile:first-child { grid-row: span 1; min-height: 380px; }
}
@media (max-width: 600px) {
	.bts-mosaique { grid-template-columns: 1fr; grid-auto-rows: minmax(280px, auto); }
	.bts-mosaique > .bts-tuile:first-child { grid-column: auto; min-height: 420px; }
	.bts-mosaique > .bts-tuile:first-child .bts-tuile-texte { padding: 1.25rem 1.4rem 1.35rem; }
}

/* ---------- Carte d'accès ---------- */
.bts-carte-cadre { background: #fff; border-radius: 16px; padding: 1rem; border: 1px solid var(--wp--preset--color--ligne); }
.bts-carte { display: block; width: 100%; height: auto; font-family: var(--wp--preset--font-family--dm-sans), sans-serif; }
.bts-carte .bts-carte-region { fill: #EEEBE5; stroke: #fff; stroke-width: 1.2; }
.bts-carte .bts-carte-ara { fill: #D8E9F6; stroke: #3E97D2; stroke-width: 1.6; }
.bts-carte .bts-carte-ara-nom { font-size: 12px; font-weight: 700; fill: #2774A8; letter-spacing: .02em; }
.bts-carte .bts-carte-rail path, .bts-carte .bts-carte-route path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bts-carte .bts-carte-rail path { stroke: #7C56A1; }
.bts-carte .bts-carte-route path { stroke: #E08A0C; stroke-dasharray: 7 5; }
.bts-carte .bts-carte-axe { font-size: 11px; font-weight: 700; fill: #A06108; }
.bts-carte .bts-carte-ville circle { fill: #1A1F27; }
.bts-carte .bts-carte-ville .n { font-family: var(--wp--preset--font-family--outfit), sans-serif; font-weight: 700; font-size: 15px; fill: #1A1F27; }
.bts-carte .bts-carte-ville .t { font-size: 11.5px; fill: #4A5260; }
.bts-carte .bts-carte-ville text { paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 4px; stroke-linejoin: round; }
.bts-carte .bts-carte-puy circle { fill: #E1283A; }
.bts-carte .bts-carte-puy .halo { fill: rgba(225,40,58,.2); animation: bts-halo 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.bts-carte .bts-carte-puy text { font-family: var(--wp--preset--font-family--outfit), sans-serif; font-weight: 800; font-size: 17px; fill: #1A1F27; paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-width: 5px; stroke-linejoin: round; }
.bts-carte .bts-carte-legende rect { fill: #fff; stroke: #E4E0D8; }
.bts-carte .bts-carte-legende path { stroke-width: 3; stroke-linecap: round; fill: none; }
.bts-carte .bts-carte-legende .r { stroke: #7C56A1; }
.bts-carte .bts-carte-legende .v { stroke: #E08A0C; stroke-dasharray: 7 5; }
.bts-carte .bts-carte-legende text { font-size: 12.5px; fill: #1A1F27; }
@keyframes bts-halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bts-carte .bts-carte-puy .halo { animation: none; } }
@media (max-width: 600px) {
	.bts-carte-cadre { padding: .5rem; }
	.bts-carte .bts-carte-ville .t, .bts-carte .bts-carte-axe, .bts-carte .bts-carte-ara-nom { display: none; }
	.bts-carte .bts-carte-ville .n { font-size: 21px; }
	.bts-carte .bts-carte-puy text { font-size: 24px; }
	.bts-carte .bts-carte-legende { display: none; }
}

/* ---------- Infos pratiques : sommaire et étapes ---------- */
.bts-sommaire { margin-top: 1.5rem !important; }
.bts-sommaire p.is-style-pastille { flex: 0 0 auto !important; }
.bts-etape { position: relative; padding-left: 1.6rem; padding-bottom: 1.1rem; border-left: 2px solid var(--wp--preset--color--ligne); margin-left: .45rem; }
.bts-etape::before { content: ""; position: absolute; left: -8px; top: .25rem; width: 14px; height: 14px; border-radius: 50%; background: var(--wp--preset--color--montage); box-shadow: 0 0 0 4px #fff; }
.bts-etape:last-of-type { border-left-color: transparent; }
.bts-etape p { margin: 0; }

/* ---------- Accueil : les cinq questions ---------- */
.bts-question { gap: 1.25rem !important; align-items: center !important; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.bts-question:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.bts-question > p { margin: 0 !important; }
.bts-question > p:first-child { font-family: var(--wp--preset--font-family--outfit); font-weight: 600; font-size: var(--wp--preset--font-size--chapo); line-height: 1.3; }
.bts-question > p.is-style-pastille { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 600px) {
	.bts-question { flex-wrap: wrap !important; gap: .5rem !important; }
	.bts-question > p:first-child { font-size: 1.05rem; flex-basis: 100%; }
}

/* ---------- L'équipe ---------- */
.bts-membre > * { margin: 0 !important; }
.bts-membre > * + * { margin-top: .45rem !important; }
.bts-membre .bts-portrait { margin-bottom: .9rem !important; border-radius: 12px; overflow: hidden; background: var(--wp--preset--color--encre); }
.bts-membre .bts-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.bts-membre p.is-style-pastille { display: inline-block; }
@media (max-width: 600px) {
	.bts-grille-equipe { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem 1rem !important; }
}

/* Questions sur fond clair (accueil) et genres TV Velay */
.has-papier-background-color .bts-question, .has-papier-background-color .bts-question:first-child { border-color: var(--wp--preset--color--ligne); }
.bts-genres { margin-top: 1.25rem !important; margin-bottom: 1.5rem !important; }
.bts-genres p.is-style-pastille { flex: 0 0 auto !important; }

/* ---------- Bandeau : annonces qui défilent ---------- */
.bts-annonce p { display: grid; }
.bts-annonce .bts-annonce-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(.6em); transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.bts-annonce .bts-annonce-item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .bts-annonce .bts-annonce-item { transition: none; transform: none; } }

/* ---------- Vivre au Puy : mosaïque à faire glisser sur mobile ---------- */
@media (max-width: 600px) {
	.bts-mosaique { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; padding-bottom: .75rem; margin-right: calc(-1 * var(--wp--style--root--padding-right, 1rem)) !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.bts-mosaique::-webkit-scrollbar { display: none; }
	.bts-mosaique > .bts-tuile, .bts-mosaique > .bts-tuile:first-child { flex: 0 0 82%; min-height: 400px; scroll-snap-align: start; }
	.bts-mosaique > .bts-tuile:last-child { margin-right: 1rem !important; }
}

/* ---------- Diaporama portes ouvertes / cérémonie ---------- */
.bts-diaporama { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.bts-diaporama-actif { display: grid !important; gap: 0; }
.bts-diaporama-actif > .bts-diapo { grid-area: 1 / 1; margin: 0 !important; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.bts-diaporama-actif > .bts-diapo.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.bts-diapo-points { position: absolute; top: 1rem; right: 1rem; z-index: 3; display: flex; gap: .4rem; }
.bts-diapo-points button { width: 10px; height: 10px; padding: 0; border: 1.5px solid rgba(255,255,255,.8); border-radius: 50%; background: transparent; cursor: pointer; }
.bts-diapo-points button[aria-current="true"] { background: #fff; }
.bts-diapo-points button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bts-ceremonie { position: relative; overflow: hidden; background: #000; color: #fff; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.bts-ceremonie > * { margin: 0 !important; }
.bts-ceremonie .bts-ceremonie-visuel { position: absolute; inset: 0; }
.bts-ceremonie .bts-ceremonie-visuel img { width: 100%; height: 100%; object-fit: contain; object-position: center 35%; }
.bts-ceremonie-infos { position: relative; z-index: 1; gap: .75rem 1.25rem !important; padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.25rem; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85) 40%); }
.bts-ceremonie-infos p { margin: 0; color: #EAD8A6; font-family: var(--wp--preset--font-family--outfit); font-weight: 600; }
.bts-btn-or .wp-block-button__link { background: linear-gradient(100deg, #8C6A23, #E9CF7E 35%, #C49536 60%, #F6E7A8 85%, #B8862E) !important; color: #000 !important; }
@media (max-width: 781px) { .bts-ceremonie { min-height: 0; aspect-ratio: auto; } .bts-ceremonie .bts-ceremonie-visuel { position: relative; } .bts-ceremonie-infos { background: #000; } }
@media (max-width: 781px) { .bts-ceremonie { justify-content: center; } }

/* Productions d'étudiants : bandeau noir sous la vidéo de chaque option */
.bts-productions .is-style-surtitre { margin: 0; }
.bts-productions h2 { margin: 0; }
.bts-productions-tete { row-gap: 1rem; }
.bts-productions-grille { margin-top: 0; }
.bts-productions .wp-block-embed { margin: 0; }
.bts-productions .wp-block-embed__wrapper, .bts-productions .bts-video-attente { border-radius: 10px; overflow: hidden; }
.bts-productions .bts-video-attente .bts-video-legende { font-size: 1rem; }
@media (max-width: 781px) {
	.bts-productions-grille.wp-block-columns { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
	.bts-productions-grille.wp-block-columns::-webkit-scrollbar { display: none; }
	.wp-block-columns.bts-productions-grille:not(.x) > .wp-block-column.wp-block-column { flex: 0 0 82% !important; flex-basis: 82% !important; scroll-snap-align: start; }
}

/* Cinq modules sur une ligne : titres et marges resserrés sur grand écran */
@media (min-width: 782px) {
	.bts-progression .wp-block-group.has-blanc-background-color { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
	.bts-progression h3 { font-size: 1.125rem !important; hyphens: auto; overflow-wrap: normal; word-break: normal; }
	.bts-progression .is-style-surtitre { font-size: .6875rem; }
}

/* Cartes des modules : défilement horizontal au doigt sur mobile */
@media (max-width: 781px) {
	.wp-block-columns.bts-defile:not(.x) { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
	.wp-block-columns.bts-defile::-webkit-scrollbar { display: none; }
	.wp-block-columns.bts-defile:not(.x) > .wp-block-column.wp-block-column { flex: 0 0 80% !important; flex-basis: 80% !important; scroll-snap-align: start; }
}
