/* Thème Hyperion 3360 : compléments à theme.json. */

:root {
	--hyp-flamme: var(--wp--preset--gradient--flamme);
	--hyp-coupe: 12px;
	--hyp-ombre: 0 18px 40px -18px rgba(0, 0, 0, .8);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--noir); }

h1, h2 { font-stretch: 87.5%; }
h3, h4, h5, h6 { font-stretch: 92%; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--jaune);
	outline-offset: 3px;
}

/* ---------- Boutons : coin coupé, effet de vitesse ---------- */
.wp-element-button,
.wp-block-button__link {
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hyp-coupe)), calc(100% - var(--hyp-coupe)) 100%, 0 100%);
	transition: transform .18s ease, filter .18s ease;
	background-size: 140% 100%;
}
.wp-element-button:hover,
.wp-block-button__link:hover { transform: translateY(-2px); filter: brightness(1.08) saturate(1.1); }
/*
 * Focus clavier : le contour de :focus-visible (plus haut) est dessiné hors du bouton, où clip-path le coupe.
 * Il est donc tracé dedans : un liseré noir, puis un trait jaune, visibles sur le dégradé comme sur les
 * boutons à contour (audit du 16 novembre 2026). En mode contrastes élevés de Windows, qui n'affiche pas
 * box-shadow, le coin coupé est retiré pour que le contour reparaisse.
 */
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--noir), inset 0 0 0 5px var(--wp--preset--color--jaune);
}
@media (forced-colors: active) {
	.wp-element-button,
	.wp-block-button__link { clip-path: none; }
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: rgba(246, 246, 246, .06);
	color: var(--wp--preset--color--blanc);
	border: 2px solid var(--wp--preset--color--blanc);
	padding: calc(.95rem - 2px) calc(1.75rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange);
	background: rgba(255, 128, 0, .08);
}

/* ---------- En-tête ---------- */
/* Titre de sous-menu sans lien (« Hyperion 3360 », thème 0.5.17) : flèche ordinaire au survol, pas le curseur de texte. */
.wp-block-navigation .wp-block-navigation-item__content:not([href]) { cursor: default; }
/* Lien « Nos commanditaires » (ancre sur les logos) : garder visible le titre de la section, juste au-dessus. */
#nos-commanditaires { scroll-margin-top: 7rem; }
.hyp-entete {
	position: sticky;
	top: 0;
	z-index: 50;
}
/*
 * Le flou est sur un pseudo-élément, pas sur l'en-tête : un backdrop-filter sur l'en-tête enfermerait
 * le menu ☰ (position fixe) dans les 66 px de l'en-tête au lieu de couvrir l'écran.
 */
.hyp-entete::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(11, 11, 13, .86);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.admin-bar .hyp-entete { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .hyp-entete { top: 0; } }
.hyp-entete::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--hyp-flamme);
}
/*
 * Droite de l'en-tête : une grille, centrée en hauteur avec le logo. Première ligne : le menu (ou ☰ ; « Créer mon
 * compte » ou « Mon compte » à la fin du menu, functions.php), « Commanditaires » et FR / EN. Dessous, alignés à
 * droite (gabarit-entete-reseaux.php, bloc .hyp-entete__liens) : les réseaux sociaux de l'équipe, le dragon (The Blue
 * Alliance) et le logo FIRST. Sur un petit écran, le logo FIRST passe sous les autres. À partir de 1260 px, tout tient
 * sur une seule ligne, les réseaux, le dragon et le logo FIRST juste après « Commanditaires ».
 */
.hyp-entete .hyp-entete__droite {
	display: grid;
	grid-template-areas: "menu cta langue" "liens liens liens";
	align-items: center;
	justify-items: center;
	gap: .7rem 1.75rem;
}
.hyp-entete__droite > .wp-block-navigation { grid-area: menu; justify-self: end; }
.hyp-entete__droite > .hyp-entete__cta { grid-area: cta; }
.hyp-entete__droite > .hyp-langue { grid-area: langue; }
.hyp-entete__droite > .hyp-entete__liens { grid-area: liens; justify-self: end; }
.hyp-entete .hyp-entete__liens { flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1rem; }
/*
 * Réseaux, dragon et logo FIRST : en logos seuls, à leurs couleurs. Les icônes des réseaux ont la hauteur du logo
 * FIRST (25 px) ; leur largeur suit (inc/liens.php réduit leur zone d'affichage à leur dessin). Le dragon est plus
 * grand, pour qu'on le voie bien : 40 px de haut, 48 px quand tout tient sur une ligne, 56 px dans le pied de page.
 * Dans les icônes de WordPress, le triangle de YouTube et le « f » de Facebook sont des trous : un fond blanc dessous
 * les remplit.
 */
.hyp-entete__first { display: flex; border-radius: 3px; }
.hyp-entete__first img { display: block; width: auto; height: 25px; transition: transform .15s ease; }
/* Même grossissement au survol que les icônes des réseaux (ci-dessous). */
.hyp-entete__first:is(:hover, :focus-visible) img { transform: scale(1.15); }
.hyp-entete__first:focus-visible { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 3px; }
.hyp-entete .hyp-entete__reseaux,
.hyp-pied .hyp-pied__reseaux { gap: .5rem .9rem; margin: 0; padding: 0; }
.wp-block-social-links:is(.hyp-entete__reseaux, .hyp-pied__reseaux) .wp-social-link { font-size: 25px; }
.wp-block-social-links:is(.hyp-entete__reseaux, .hyp-pied__reseaux) .wp-social-link a { padding: 0; }
.wp-block-social-links:is(.hyp-entete__reseaux, .hyp-pied__reseaux) .wp-social-link svg { display: block; width: auto; height: 25px; transition: transform .15s ease; }
:is(.hyp-entete__reseaux, .hyp-pied__reseaux) .wp-social-link a:is(:hover, :focus-visible) svg { transform: scale(1.15); }
/* YouTube : zone affichée x 2 à 22, y 4,97 à 19,04 ; le fond blanc couvre le triangle (x 9,9 à 15,3 et y 9 à 14,6), sans déborder du rectangle rouge.
   Facebook : un disque blanc derrière le « f », presque aussi grand que le cercle (le pied du « f » le touche). */
:is(.hyp-entete__reseaux, .hyp-pied__reseaux) .wp-social-link-youtube svg { background: linear-gradient(#fff, #fff) 54% 50% / 40% 57% no-repeat; }
:is(.hyp-entete__reseaux, .hyp-pied__reseaux) .wp-social-link-facebook svg { border-radius: 50%; background: radial-gradient(circle closest-side, #fff 96%, transparent 98.5%); }
.hyp-tba { display: flex; flex: none; border-radius: 4px; }
.hyp-tba img { display: block; width: auto; height: var(--hyp-tba-hauteur, 40px); transition: transform .15s ease; }
.hyp-tba:is(:hover, :focus-visible) img { transform: scale(1.1) rotate(-4deg); }
.hyp-tba:focus-visible { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 3px; }
/* Logo agrandi : le titre du site n'est plus dans l'en-tête, « Hyperion 3360 » est dans le menu. */
.hyp-entete .wp-block-site-logo img { filter: drop-shadow(0 0 10px rgba(255, 128, 0, .25)); }
.hyp-entete .wp-block-navigation a { text-decoration: none; }
.hyp-entete .wp-block-navigation-item__content { position: relative; padding: .4rem 0; }
.hyp-entete .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 2px;
	background: var(--hyp-flamme);
	transition: right .2s ease;
}
.hyp-entete .wp-block-navigation-item__content:hover::after,
.hyp-entete .current-menu-item > .wp-block-navigation-item__content::after { right: 0; }
.hyp-entete .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--orange); }
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--noir) !important;
	color: var(--wp--preset--color--blanc) !important;
}
/* Menu ☰ : premier niveau en 1,75rem, sous-menus en 1,15rem (choix de Regis, thème 0.5.6 ; voir plus bas). */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	gap: 1.25rem;
	font-size: 1.75rem;
}
/*
 * Sous-menu de Hyperion 3360 (Notre équipe, puis Nos robots et Notre palmarès). WordPress l'ouvre au survol de
 * la souris ; au clavier, Tab jusqu'à la flèche à côté de « Hyperion 3360 », puis Entrée. Ici, seulement
 * l'apparence : panneau sombre sous « Hyperion 3360 », aligné à gauche (WordPress l'alignerait à droite, comme
 * le menu). Le pont invisible (::before) garde le survol entre le lien et le panneau. Dans le menu ☰, les
 * sous-liens restent une simple liste sous « Hyperion 3360 ».
 */
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
	top: calc(100% + .6rem);
	left: -1.1rem;
	right: auto;
	min-width: 12.5rem;
	padding: .45rem 0;
	border: 1px solid var(--wp--preset--color--acier);
	border-top: 2px solid var(--wp--preset--color--orange);
	background: var(--wp--preset--color--charbon);
	color: var(--wp--preset--color--blanc);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
}
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: calc(.6rem + 2px);
}
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .6rem 1.1rem; }
.hyp-entete .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--ardoise);
	color: var(--wp--preset--color--orange);
}
.hyp-entete .wp-block-navigation-submenu__toggle svg { transition: transform .2s ease; }
/*
 * Troisième niveau (Nos robots et Notre palmarès, sous Notre équipe) : dans le même panneau, juste en dessous et
 * alignés sur Notre équipe (sans retrait, choix de Regis), pas dans un second panneau à droite. Il s'affiche et se cache avec le panneau (visibility: inherit),
 * donc le clavier ne s'y arrête pas quand le panneau est fermé. Pas de flèche à côté de Notre équipe.
 */
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	position: static !important;
	visibility: inherit !important;
	opacity: 1 !important;
	overflow: visible !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container::before { display: none; }
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding-left: 1.1rem !important; }
.hyp-entete .wp-block-navigation__submenu-container .wp-block-navigation-submenu__toggle { display: none; }
.hyp-entete .wp-block-navigation__submenu-container .has-child { flex-direction: column; align-items: stretch; }
/* Dans le menu ☰, aligné à droite : Nos robots et Notre palmarès en retrait depuis la droite. */
.hyp-entete .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { padding-right: 1.25rem !important; }
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:is(:hover, :focus-within) > .wp-block-navigation-submenu__toggle svg { transform: rotate(180deg); }
/*
 * Sous-menus dans le menu ☰ : 1,15rem, en gris, sous le premier niveau (1,75rem) ; Nos défis, Nos robots et Notre
 * palmarès en retrait. Dans la barre du menu (ordinateur), tout reste en 0,9375rem (theme.json).
 */
.hyp-entete .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	gap: .75rem;
	padding: .25rem 0 0;
	font-size: 1.15rem;
}
.hyp-entete .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .15rem 0;
	color: var(--wp--preset--color--gris);
}
/* Nos défis sous Notre équipe : même écart qu'entre les liens suivants (.75rem). */
.hyp-entete .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { padding-top: .75rem; }
/* Un libellé trop long pour l'écran passe sur deux lignes, alignées à droite comme le menu. */
.hyp-entete .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { text-align: right; }
.hyp-entete .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--orange); }
.hyp-entete .wp-block-button__link { padding: .7rem 1.2rem; font-size: .875rem; white-space: nowrap; }
/*
 * Bouton « Commanditaires » et son menu (gabarit-entete-actions.php) : ouvert au survol de la souris, ou quand le
 * clavier (Tab) est sur le bouton ou sur un des liens. Même panneau que le sous-menu de L'équipe, aligné à droite.
 */
.hyp-deroulant { position: relative; }
.hyp-deroulant__menu {
	position: absolute;
	top: calc(100% + .6rem);
	right: 0;
	z-index: 2;
	min-width: 100%;
	margin: 0;
	padding: .45rem 0;
	list-style: none;
	border: 1px solid var(--wp--preset--color--acier);
	border-top: 2px solid var(--wp--preset--color--orange);
	background: var(--wp--preset--color--charbon);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-.25rem);
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.hyp-deroulant__menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: calc(.6rem + 2px);
}
.hyp-deroulant:is(:hover, :focus-within) .hyp-deroulant__menu {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition-delay: 0s;
}
.hyp-deroulant__menu a {
	display: block;
	padding: .6rem 1.1rem;
	color: var(--wp--preset--color--blanc);
	font-family: var(--wp--preset--font-family--saira);
	font-size: .938rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.hyp-deroulant__menu a:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--ardoise);
	color: var(--wp--preset--color--orange);
}
/* « Commanditaires » dans le menu ☰ seulement : dans la barre, c'est le bouton. */
.hyp-entete .wp-block-navigation__responsive-container:not(.is-menu-open) .hyp-menu-commanditaires { display: none; }
/* Le bouton « Commanditaires » dès 560 px : plus petit, il n'a pas la place, et Commanditaires est dans le menu ☰.
   Le menu ne s'affiche jamais en barre sans lui (la barre commence à 1000 px). */
@media (max-width: 559px) {
	.hyp-entete .hyp-entete__cta { display: none; }
}

/*
 * « Mon compte » : élément du menu, après « Contact » (functions.php), seulement quand la clé des fiches est réglée
 * (classe hyp-lien-compte sur body). Il allonge le menu français, qui s'affiche en barre à partir de 1140 px au
 * lieu de 1000 ; en dessous, il est dans le menu ☰. Mesuré avec le logo de 162 px et une barre de défilement de
 * Windows (thème 0.5.12) : les libellés tiennent sur une ligne dès 1120 px, à 21 px du logo ; 40 px à 1140 px.
 * Le menu anglais (« My account ») tient dès 1000 px, à 29 px du logo. Jusqu'au thème 0.5.11, le seuil était de
 * 1240 px pour les deux langues, fixé quand le libellé était « Créer mon compte », plus long : un portable de
 * 15 pouces à 150 % voyait le menu ☰.
 * Fin à 1139,98 px (et 999,98 px plus bas) : un écran agrandi par Windows a souvent une largeur fractionnaire,
 * comme 999,3 px, qui passait entre « max-width: 999px » et « min-width: 1000px » (menu en barre trop serré).
 */
@media (min-width: 1000px) and (max-width: 1139.98px) {
	html:lang(fr) .hyp-lien-compte .hyp-entete .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	html:lang(fr) .hyp-lien-compte .hyp-entete .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* Bouton FR / EN : toujours visible, même quand le menu passe en bouton ☰. */
.hyp-langue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	box-sizing: border-box;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 .6rem;
	border: 2px solid var(--wp--preset--color--orange);
	border-radius: 999px;
	color: var(--wp--preset--color--blanc);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.hyp-langue:hover,
.hyp-langue:focus-visible {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--noir);
}
.hyp-langue:focus-visible { outline: 2px solid var(--wp--preset--color--blanc); outline-offset: 2px; }
/* Sur tablette et petit portable, le menu passe aussi en bouton ☰ : il ne tient pas sur une ligne. */
.hyp-entete .wp-block-navigation__container { flex-wrap: nowrap; }
@media (min-width: 600px) and (max-width: 999.98px) {
	.hyp-entete .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hyp-entete .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/*
 * Petit écran, sans le bouton « Commanditaires » (il est dans le menu ☰) : ☰ et FR / EN, puis les réseaux et le
 * dragon, puis le logo FIRST, alignés à droite. Le tout tient à côté du logo jusqu'à 320 px sans l'écraser.
 */
.hyp-entete .wp-block-site-logo { flex-shrink: 0; }
@media (max-width: 559px) {
	.hyp-entete .hyp-entete__droite { grid-template-areas: "menu langue" "liens liens"; justify-items: end; row-gap: .6rem; }
	.hyp-entete .hyp-entete__liens { column-gap: .75rem; }
	.hyp-entete .hyp-entete__reseaux { column-gap: .75rem; }
}
@media (max-width: 480px) {
	.hyp-entete .hyp-entete__droite { column-gap: .9rem; }
}
/*
 * Écran de 1260 px et plus : tout sur une ligne, centré en hauteur avec le logo : le menu (avec « Mon compte » à la
 * fin), puis « Commanditaires », les réseaux, le dragon, le logo FIRST et FR / EN. En dessous :
 * deux lignes. Le cas le plus large est le menu français. Depuis que les icônes ont la
 * hauteur du logo FIRST et que le dragon est là (thème 0.5.4), il faut une version compacte de 1260 à 1535 px : logo
 * de 112 px au lieu de 162, marges de l'en-tête, écarts et dragon réduits. La barre de l'en-tête s'arrête à 1440 px de
 * large (parts/header.html) : à partir de 1536 px, le grand logo et des écarts plus larges tiennent. Espace libre
 * mesuré, visiteur en français avec une barre de défilement de Windows (novembre 2026) : voir le README (« En-tête »).
 * Le menu suit le logo à la même distance que le logo du bord gauche de l'en-tête (sa marge) ; l'espace libre passe
 * entre le menu et « Commanditaires ».
 */
@media (min-width: 1260px) {
	.hyp-entete .hyp-entete__barre { column-gap: 0; }
	.hyp-entete .hyp-entete__droite {
		flex: 1 1 auto;
		margin-left: var(--wp--style--root--padding-left);
		grid-template-areas: "menu cta liens langue";
		grid-template-columns: 1fr auto auto auto;
	}
	.hyp-entete .hyp-entete__droite > .wp-block-navigation { justify-self: start; }
	.hyp-entete .hyp-entete__liens { flex-wrap: nowrap; }
	.hyp-entete .hyp-tba { --hyp-tba-hauteur: 48px; }
}
@media (min-width: 1260px) and (max-width: 1535px) {
	.hyp-entete.has-global-padding { padding-left: 1rem; padding-right: 1rem; }
	.hyp-entete .hyp-entete__droite { margin-left: 1rem; }
	.hyp-entete .wp-block-site-logo img { width: 112px; height: auto; }
	.hyp-entete .hyp-entete__droite { column-gap: .6rem; }
	.hyp-entete .hyp-entete__droite > .wp-block-navigation { gap: .7rem; }
	.hyp-entete .hyp-entete__liens,
	.hyp-entete .hyp-entete__reseaux { column-gap: .45rem; }
	.hyp-entete .hyp-tba { --hyp-tba-hauteur: 40px; }
	.hyp-entete .wp-block-button__link { padding-left: .7rem; padding-right: .7rem; }
}
@media (min-width: 1536px) {
	.hyp-entete .hyp-entete__droite { column-gap: 1rem; }
	.hyp-entete .hyp-entete__droite > .wp-block-navigation { gap: 1rem; }
	.hyp-entete .hyp-entete__liens,
	.hyp-entete .hyp-entete__reseaux { column-gap: .75rem; }
}

/* ---------- Surtitres et titres ---------- */
.is-style-surtitre,
.hyp-surtitre {
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 700;
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: .2em;
	color: var(--wp--preset--color--orange);
	display: flex;
	align-items: center;
	gap: .75rem;
}
.is-style-surtitre::before,
.hyp-surtitre::before {
	content: "";
	width: 2.5rem;
	height: 3px;
	background: var(--hyp-flamme);
	flex: none;
}
.has-text-align-center.is-style-surtitre,
.has-text-align-center.hyp-surtitre { justify-content: center; }

.is-style-flamme,
.hyp-flamme-texte {
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: .08em; /* l'italique déborde un peu */
}

/* ---------- Sections ---------- */
.hyp-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}
.hyp-section--sombre { background: var(--wp--preset--color--charbon); }
.hyp-section--serree { padding-top: var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--40); }
.is-style-diagonale {
	clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
	padding-top: calc(var(--wp--preset--spacing--60) + 3vw) !important;
	padding-bottom: calc(var(--wp--preset--spacing--60) + 3vw) !important;
}
.hyp-appel {
	background: var(--hyp-flamme);
	color: var(--wp--preset--color--noir);
}
/*
 * Bande « Propulsez la relève » plus serrée autour du texte (environ deux fois moins d'espace au-dessus et au-dessous ;
 * demande de Regis, 2026-11-16). La pente des bords (3vw) ne change pas : ils restent parallèles. À gauche, le bord
 * du haut est 3vw sous le haut de la bande : d'où les 3vw en haut. En bas, 1,5vw : un peu plus d'espace à gauche, et
 * le bord, qui remonte de 3vw vers la droite, ne touche jamais le contenu (bouton du bas sur téléphone).
 */
.hyp-appel.is-style-diagonale {
	padding-top: calc(var(--wp--preset--spacing--50) + 3vw) !important;
	padding-bottom: calc(var(--wp--preset--spacing--50) + 1.5vw) !important;
}
.hyp-appel :where(h2, h3, p) { color: var(--wp--preset--color--noir); }
.hyp-appel .wp-block-button__link {
	background: var(--wp--preset--color--noir);
	color: var(--wp--preset--color--blanc);
}
.hyp-appel .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--noir);
	border-color: var(--wp--preset--color--noir);
}

/* ---------- Héros ---------- */
.hyp-hero { overflow: hidden; }
.hyp-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(11, 11, 13, .60) 0%, rgba(11, 11, 13, .40) 45%, rgba(11, 11, 13, .25) 100%) !important;
	opacity: 1 !important;
}
/* Accueil : photo sans voile (les bandeaux des pages, .hyp-hero--page, gardent le leur). */
.hyp-hero:not(.hyp-hero--page) .wp-block-cover__background { display: none; }
/* Sans voile, une ombre garde les textes lisibles sur la photo. */
.hyp-hero:not(.hyp-hero--page) :where(h1, p) { text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 18px rgba(0, 0, 0, .7); }
/* Surtitre : petit et orange, il lui faut un contour sombre serré en plus du halo. */
.hyp-hero:not(.hyp-hero--page) .hyp-surtitre { text-shadow: 0 0 2px #000, 0 1px 3px #000, 0 0 8px rgba(0, 0, 0, .9), 0 0 20px rgba(0, 0, 0, .8); }
/*
 * Accueil : surtitre en haut de la photo, aligné à gauche avec le titre ; titre, texte et boutons restent
 * centrés dans l'espace en dessous. Sur téléphone, où la place manque, il remonte à peine.
 */
.hyp-hero:not(.hyp-hero--page) { align-items: stretch; }
.hyp-hero:not(.hyp-hero--page) > .wp-block-cover__inner-container { display: flex; flex-direction: column; }
.hyp-hero:not(.hyp-hero--page) > .wp-block-cover__inner-container > * { width: 100%; }
.hyp-hero:not(.hyp-hero--page) .hyp-surtitre { margin-top: clamp(.5rem, 4vh, 2.5rem); margin-bottom: auto; }
.hyp-hero:not(.hyp-hero--page) > .wp-block-cover__inner-container > :last-child { margin-bottom: auto; }
/* En flex, les marges ne fusionnent plus : sans ceci, l'écart titre → texte doublerait (20 px + 20 px). */
.hyp-hero:not(.hyp-hero--page) h1 { margin-bottom: 0; }
/* Texte en dégradé (couleur transparente) : text-shadow le salirait, drop-shadow suit les lettres. */
.hyp-hero:not(.hyp-hero--page) .hyp-flamme-texte { text-shadow: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .9)) drop-shadow(0 2px 12px rgba(0, 0, 0, .7)); }
.hyp-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: var(--hyp-flamme);
	z-index: 2;
}
.hyp-hero h1 { margin-top: .5rem; margin-bottom: 1.25rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hyp-hero p:not(.hyp-surtitre) { max-width: 38rem; font-size: 1.1875rem; color: #e7e7ea; }
.hyp-hero--page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }

.hyp-entete-page {
	position: relative;
	background:
		radial-gradient(60rem 20rem at 85% 0%, rgba(255, 128, 0, .18), transparent 70%),
		var(--wp--preset--color--charbon);
	border-bottom: 1px solid var(--wp--preset--color--acier);
}
.hyp-entete-page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: .25rem 0 0; }

/* ---------- Cartes ---------- */
.is-style-carte,
.hyp-carte {
	position: relative;
	background: var(--wp--preset--color--charbon);
	border: 1px solid var(--wp--preset--color--acier);
	padding: 1.75rem;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
	height: 100%;
	box-sizing: border-box;
}
.is-style-carte::before,
.hyp-carte::before {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	height: 3px;
	background: var(--hyp-flamme);
	transform: scaleX(.18);
	transform-origin: left;
	transition: transform .3s ease;
}
.is-style-carte:hover,
.hyp-carte:hover { transform: translateY(-4px); border-color: #4a4a54; box-shadow: var(--hyp-ombre); }
.is-style-carte:hover::before,
.hyp-carte:hover::before { transform: scaleX(1); }
.is-style-carte > :first-child,
.hyp-carte > :first-child { margin-top: 0; }
.is-style-carte h3,
.hyp-carte h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.is-style-carte p,
.hyp-carte p { color: #cfcfd4; }
.hyp-carte .hyp-icone { font-size: 2rem; line-height: 1; margin-bottom: 1rem; }
.hyp-section--sombre .is-style-carte { background: var(--wp--preset--color--ardoise); }

/* Numéro de carte : 01, 02… en dégradé */
.hyp-numero {
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 800;
	font-style: italic;
	font-size: 2.25rem;
	line-height: 1;
	margin-bottom: .75rem;
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	width: fit-content;
	padding-right: .08em;
}

/* Cartes des listes d'articles et de robots */
.hyp-grille .wp-block-post { display: flex; }
.hyp-grille .wp-block-post > .hyp-carte { width: 100%; padding: 0; display: flex; flex-direction: column; }
.hyp-grille .hyp-carte .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.hyp-grille .hyp-carte .wp-block-post-featured-image img { transition: transform .4s ease; }
.hyp-grille .hyp-carte:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.hyp-grille .hyp-carte__texte { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.hyp-grille .hyp-carte__texte > * { margin: 0; }
.hyp-grille .wp-block-post-title { font-size: 1.375rem; text-transform: none; font-style: normal; line-height: 1.2; }
.hyp-grille .wp-block-post-title a { color: var(--wp--preset--color--blanc); text-decoration: none; }
.hyp-grille .wp-block-post-title a:hover { color: var(--wp--preset--color--orange); }
.hyp-grille .wp-block-post-excerpt { color: #c4c4ca; font-size: .975rem; }
.hyp-grille .wp-block-post-excerpt__more-text { margin-top: .75rem; }
.hyp-grille .wp-block-post-excerpt__more-link {
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .875rem;
	text-decoration: none;
}

/* ---------- Frise des robots (templates/archive-robot.html, inc/frise-robots.php) ---------- */
/*
 * Ordinateur (960 px et plus) : la ligne du temps au centre, les robots en alternance à gauche et à droite, l'année
 * en face de la carte. Tablette et téléphone : la ligne à gauche, l'année au-dessus de chaque carte. La ligne se
 * remplit de couleur au fil du défilement (navigateurs récents ; ailleurs, elle est en couleur d'emblée).
 */
.hyp-section--chrono { padding-top: var(--wp--preset--spacing--40); }
.hyp-chrono { --hyp-chrono-axe: 1.25rem; --hyp-chrono-retrait: 3rem; }

/* Barre des années, collée en haut de l'écran pendant qu'on parcourt la frise */
.hyp-chrono__annees {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 30;
	margin: 0 0 var(--wp--preset--spacing--60);
	padding: .75rem 0;
	background: rgba(11, 11, 13, .92);
	border-bottom: 1px solid var(--wp--preset--color--acier);
}
.hyp-chrono__annees ol {
	position: relative;
	display: flex;
	gap: .375rem;
	margin: 0;
	padding: 0 0 2px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.hyp-chrono__annees ol::-webkit-scrollbar { display: none; }
.hyp-chrono__annees li { flex: none; }
.hyp-chrono__annees li:first-child { margin-left: auto; }
.hyp-chrono__annees li:last-child { margin-right: auto; }
.hyp-chrono__annees a {
	display: block;
	padding: .35rem .7rem;
	border: 1px solid var(--wp--preset--color--acier);
	color: var(--wp--preset--color--gris);
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 700;
	font-size: .9375rem;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.hyp-chrono__annees a.est-a-venir { border-style: dashed; }
.hyp-chrono__annees a:hover { color: var(--wp--preset--color--blanc); border-color: var(--wp--preset--color--orange); }
.hyp-chrono__annees a:focus-visible { outline-offset: -3px; }
.hyp-chrono__annees a[aria-current] { background: var(--hyp-flamme); border-color: transparent; color: var(--wp--preset--color--noir); }
@media (max-width: 600px) {
	.hyp-chrono__annees { top: 0; } /* la barre d'administration n'y reste pas en haut */
}

/* La liste et sa ligne du temps */
.hyp-chrono .hyp-chrono__liste {
	--hyp-chrono-ecart: var(--wp--preset--spacing--50);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--hyp-chrono-ecart);
	margin: 0;
	padding: 0;
	list-style: none;
	view-timeline: --hyp-chrono block;
}
.hyp-chrono__liste::before,
.hyp-chrono__liste::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--hyp-chrono-axe);
	width: 3px;
	margin-left: -1.5px;
	background: var(--wp--preset--color--acier);
}
.hyp-chrono__liste::after {
	background: linear-gradient(180deg, var(--wp--preset--color--jaune), var(--wp--preset--color--orange) 35%, var(--wp--preset--color--rouge));
	transform-origin: top;
}
@supports (animation-timeline: view()) {
	.hyp-chrono__liste::after {
		animation: hyp-chrono-remplir linear both;
		animation-timeline: --hyp-chrono;
		animation-range: cover 0% cover 100%;
	}
}
@keyframes hyp-chrono-remplir {
	from { transform: scaleY(0); }
	to { transform: scaleY(1); }
}

/* Une saison : son repère (losange sur la ligne), son année et sa carte */
.hyp-chrono .hyp-chrono__liste > li {
	position: relative;
	margin: 0;
	padding-left: var(--hyp-chrono-retrait);
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 5.5rem);
}
.hyp-chrono__liste > li::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: var(--hyp-chrono-axe);
	top: 1.1rem;
	width: 1rem;
	height: 1rem;
	box-sizing: border-box;
	background: var(--wp--preset--color--noir);
	border: 3px solid var(--wp--preset--color--orange);
	transform: translate(-50%, -50%) rotate(45deg);
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.hyp-chrono__liste > li.est-actif::before {
	background: var(--wp--preset--color--jaune);
	border-color: var(--wp--preset--color--jaune);
	transform: translate(-50%, -50%) rotate(45deg) scale(1.3);
}

.hyp-chrono .hyp-chrono__repere {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem .9rem;
	margin: 0 0 1rem;
}
.hyp-chrono .hyp-chrono__annee {
	width: fit-content;
	margin: 0;
	padding-right: .08em; /* l'italique déborde un peu */
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 800;
	font-style: italic;
	font-stretch: 87.5%;
	font-size: clamp(2.25rem, 1.5rem + 2.5vw, 4.5rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hyp-chrono .hyp-chrono__saison {
	margin: 0;
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 700;
	font-size: .875rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gris);
}
.hyp-chrono .hyp-chrono__saison:empty { display: none; }

/* Carte d'un robot : photo carrée, nom, prix ; toute la carte mène à la fiche */
.hyp-chrono .hyp-chrono__carte {
	position: relative;
	display: flex;
	margin: 0;
	background: var(--wp--preset--color--charbon);
	border: 1px solid var(--wp--preset--color--acier);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hyp-chrono__carte::before {
	content: "";
	position: absolute;
	z-index: 2;
	left: -1px;
	right: -1px;
	top: -1px;
	height: 3px;
	background: var(--hyp-flamme);
	transform: scaleX(.18);
	transform-origin: left;
	transition: transform .3s ease;
}
/* Flèche en bas à droite (dessinée par un masque : elle prend la couleur du fond) */
.hyp-chrono__carte:not(.hyp-chrono__carte--a-venir)::after,
.hyp-chrono__carte--lien::after {
	content: "";
	position: absolute;
	right: 1.1rem;
	bottom: 1.1rem;
	width: 1.5rem;
	height: 1.5rem;
	background: var(--wp--preset--color--orange);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%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'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}
.hyp-chrono .hyp-chrono__carte .wp-block-post-featured-image {
	flex: none;
	width: clamp(5.5rem, 28%, 11rem);
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	background: #000;
}
.hyp-chrono .hyp-chrono__carte .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.hyp-chrono .hyp-chrono__texte {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: .75rem;
	margin: 0;
	padding: 1.25rem 3.25rem 1.25rem 1.25rem;
}
.hyp-chrono .hyp-chrono__texte > * { margin: 0; }
.hyp-chrono .wp-block-post-title,
.hyp-chrono .hyp-chrono__titre {
	font-size: clamp(1.25rem, .9rem + 1.5vw, 2.25rem);
	line-height: 1.05;
	text-transform: uppercase;
	font-style: italic;
	font-stretch: 87.5%;
	overflow-wrap: anywhere;
}
.hyp-chrono .wp-block-post-title a,
.hyp-chrono .hyp-chrono__titre a { color: var(--wp--preset--color--blanc); text-decoration: none; transition: color .18s ease; }
/* Le lien du titre couvre toute la carte. */
.hyp-chrono .wp-block-post-title a::after,
.hyp-chrono .hyp-chrono__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hyp-chrono .hyp-chrono__resume { color: #cfcfd4; font-size: 1rem; }
@media (hover: hover) {
	.hyp-chrono .hyp-chrono__carte:hover { transform: translateY(-4px); border-color: #4a4a54; box-shadow: var(--hyp-ombre); }
	.hyp-chrono__carte:hover::before { transform: scaleX(1); }
	.hyp-chrono__carte:hover::after { transform: translateX(4px); }
	.hyp-chrono .hyp-chrono__carte:hover .wp-block-post-title a,
	.hyp-chrono .hyp-chrono__carte:hover .hyp-chrono__titre a { color: var(--wp--preset--color--orange); }
	.hyp-chrono .hyp-chrono__carte:hover .wp-block-post-featured-image img { transform: scale(1.05); }
}
/* Focus clavier : le cadre jaune entoure toute la carte, pas seulement le nom. */
@supports selector(:has(*)) {
	.hyp-chrono .wp-block-post-title a:focus-visible,
	.hyp-chrono .hyp-chrono__titre a:focus-visible { outline: none; }
	.hyp-chrono .hyp-chrono__carte:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--jaune); outline-offset: 3px; }
}

/* Saison à venir : cadre pointillé, année en contour */
.hyp-chrono .hyp-chrono__carte--a-venir { background: transparent; border-style: dashed; border-color: #4a4a54; }
.hyp-chrono__carte--a-venir::before { display: none; }
.hyp-chrono__carte--a-venir:not(.hyp-chrono__carte--lien) .hyp-chrono__texte { padding-right: 1.25rem; }
.hyp-chrono .hyp-chrono__a-venir .hyp-chrono__annee {
	background: none;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--wp--preset--color--orange);
}
.hyp-chrono .hyp-chrono__a-venir .hyp-chrono__saison { color: var(--wp--preset--color--orange); }

/* Ordinateur : ligne au centre, cartes en alternance, année en face de la carte */
@media (min-width: 960px) {
	.hyp-chrono { --hyp-chrono-axe: 50%; }
	.hyp-chrono .hyp-chrono__liste { --hyp-chrono-ecart: var(--wp--preset--spacing--40); }
	.hyp-chrono .hyp-chrono__liste > li {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
		align-items: center;
		padding-left: 0;
	}
	.hyp-chrono__liste > li::before { top: 50%; }
	/* Trait entre le losange et la carte */
	.hyp-chrono__liste > li::after {
		content: "";
		position: absolute;
		top: 50%;
		left: calc(50% - 3.5rem);
		width: 3.5rem;
		height: 2px;
		margin-top: -1px;
		background: var(--wp--preset--color--acier);
	}
	.hyp-chrono__liste > li:nth-child(even)::after { left: 50%; }
	.hyp-chrono .hyp-chrono__liste > li > * { grid-row: 1; }
	.hyp-chrono .hyp-chrono__liste > li:nth-child(odd) > .hyp-chrono__carte { grid-column: 1; }
	.hyp-chrono .hyp-chrono__liste > li:nth-child(odd) > .hyp-chrono__repere { grid-column: 3; }
	.hyp-chrono .hyp-chrono__liste > li:nth-child(even) > .hyp-chrono__repere { grid-column: 1; flex-direction: column; align-items: flex-end; text-align: right; }
	.hyp-chrono .hyp-chrono__liste > li:nth-child(even) > .hyp-chrono__carte { grid-column: 3; }
	.hyp-chrono .hyp-chrono__liste > li:nth-child(odd) > .hyp-chrono__repere { flex-direction: column; align-items: flex-start; }
	.hyp-chrono .hyp-chrono__repere { margin: 0; gap: .6rem; }
	.hyp-chrono .hyp-chrono__carte .wp-block-post-featured-image { width: clamp(8rem, 36%, 12rem); }
	.hyp-chrono .hyp-chrono__texte { padding: 1.5rem 3.5rem 1.5rem 1.75rem; }
	/* Apparition des cartes au défilement, du côté de la ligne (navigateurs récents) */
	@supports (animation-timeline: view()) {
		.hyp-chrono .hyp-chrono__liste > li > * {
			animation: hyp-chrono-gauche linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}
		.hyp-chrono .hyp-chrono__liste > li:nth-child(even) > *,
		.hyp-chrono .hyp-chrono__liste > li:nth-child(odd) > .hyp-chrono__repere { animation-name: hyp-chrono-droite; }
		.hyp-chrono .hyp-chrono__liste > li:nth-child(even) > .hyp-chrono__repere { animation-name: hyp-chrono-gauche; }
	}
}
@keyframes hyp-chrono-gauche {
	from { opacity: 0; transform: translateX(-2rem); }
}
@keyframes hyp-chrono-droite {
	from { opacity: 0; transform: translateX(2rem); }
}

/* Téléphone : losange et ligne plus près du bord */
@media (max-width: 559px) {
	.hyp-chrono { --hyp-chrono-axe: .5rem; --hyp-chrono-retrait: 2rem; }
	.hyp-chrono .hyp-chrono__texte { padding: 1rem 2.75rem 1rem 1rem; gap: .5rem; }
	.hyp-chrono__carte:not(.hyp-chrono__carte--a-venir)::after,
	.hyp-chrono__carte--lien::after { right: .85rem; bottom: .85rem; width: 1.25rem; height: 1.25rem; }
}
@media print {
	.hyp-chrono__annees { display: none; }
	.hyp-chrono__liste::after { animation: none; }
}

/* ---------- Médias ---------- */
.is-style-cadre img { box-shadow: 12px 12px 0 var(--wp--preset--color--orange); }
.wp-block-gallery.has-nested-images figure.wp-block-image { overflow: hidden; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { transition: transform .4s ease; }
.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.04); }
.wp-lightbox-overlay .scrim { background-color: rgba(11, 11, 13, .94) !important; }
.wp-block-embed.is-type-video { border: 1px solid var(--wp--preset--color--acier); background: #000; }

/* ---------- Listes et tableaux ---------- */
/*
 * Styles du bloc Liste (onglet « Styles » de l'éditeur) : Coches, Flèches et Chevrons, puces orange dessinées en CSS.
 * Une sous-liste (Tab dans l'éditeur) sans style à elle prend celui de la liste du dessus ; avec un style à elle, elle
 * garde le sien.
 */
:is(.is-style-coches, .is-style-fleches, .is-style-chevrons),
:is(.is-style-coches, .is-style-fleches, .is-style-chevrons) li > :is(ul, ol):not([class*="is-style-"]) { list-style: none; padding-left: 0; }
:is(.is-style-coches, .is-style-fleches, .is-style-chevrons) li > :is(ul, ol) { margin-top: .5rem; }
:is(.is-style-coches, .is-style-fleches, .is-style-chevrons) li { position: relative; padding-left: 2rem; margin-bottom: .5rem; }
:is(.is-style-coches, .is-style-coches li > :is(ul, ol):not([class*="is-style-"])) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 1.1rem;
	height: .6rem;
	border-left: 3px solid var(--wp--preset--color--orange);
	border-bottom: 3px solid var(--wp--preset--color--orange);
	transform: rotate(-45deg);
}
/* Flèche → : trait de 3 px comme les coches (dessin de 20 × 16 affiché à 20 × 16 px). */
:is(.is-style-fleches, .is-style-fleches li > :is(ul, ol):not([class*="is-style-"])) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 1.25rem;
	height: 1rem;
	background: var(--wp--preset--color--orange);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M1 8H15M9 2l6 6-6 6' fill='none' stroke='%23000' stroke-width='3'/%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 20 16'%3E%3Cpath d='M1 8H15M9 2l6 6-6 6' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Chevron › : deux côtés d'un carré tourné, comme les coches. */
:is(.is-style-chevrons, .is-style-chevrons li > :is(ul, ol):not([class*="is-style-"])) > li::before {
	content: "";
	position: absolute;
	left: .2rem;
	top: .5em;
	width: .6rem;
	height: .6rem;
	border-top: 3px solid var(--wp--preset--color--orange);
	border-right: 3px solid var(--wp--preset--color--orange);
	transform: rotate(45deg);
}
/*
 * Étapes : liste numérotée 01, 02… (numéros en dégradé flamme), un trait qui relie les numéros. Le début de chaque
 * ligne en gras devient le titre de l'étape. La numérotation repart à 01 dans chaque liste, sauf dans un bloc de
 * classe hyp-etapes-suite (les journées d'une compétition, sur Nos défis) : elle continue d'une liste à l'autre.
 * Le trait se remplit de couleur au fil du défilement (navigateurs récents ; ailleurs, il est en couleur d'emblée).
 */
.is-style-etapes { list-style: none; padding-left: 0; counter-reset: hyp-etape; }
.hyp-etapes-suite { counter-reset: hyp-etape; }
.hyp-etapes-suite .is-style-etapes { counter-reset: none; }
.is-style-etapes > li {
	position: relative;
	min-height: 3rem;
	margin: 0;
	padding: 0 0 1.75rem 4.25rem;
	color: #cfcfd4;
	counter-increment: hyp-etape;
	view-timeline: --hyp-etape block;
}
.is-style-etapes > li:last-child { padding-bottom: 0; }
.is-style-etapes > li::before {
	content: counter(hyp-etape, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -.15rem;
	width: 3.25rem;
	padding-right: .08em; /* l'italique déborde un peu */
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 800;
	font-style: italic;
	font-stretch: 87.5%;
	font-size: 2.25rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	background: var(--hyp-flamme);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.is-style-etapes > li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 1.5rem;
	top: 2.6rem;
	bottom: .4rem;
	width: 2px;
	background: linear-gradient(180deg, var(--wp--preset--color--orange), var(--wp--preset--color--rouge)) no-repeat top / 100% 100%, var(--wp--preset--color--acier);
}
@supports (animation-timeline: view()) {
	.is-style-etapes > li:not(:last-child)::after {
		animation: hyp-etape-trait linear both;
		animation-timeline: --hyp-etape;
		animation-range: entry 100% cover 50%;
	}
}
@keyframes hyp-etape-trait {
	from { background-size: 100% 0%; }
}
.is-style-etapes > li > strong:first-child,
.is-style-etapes > li > [role="textbox"] > strong:first-child { /* dans l'éditeur, le texte de la ligne est dans une zone de saisie */
	display: block;
	margin: .1rem 0 .35rem;
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 800;
	font-size: 1.125rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blanc);
}
@media (max-width: 559px) {
	.is-style-etapes > li { padding-left: 3.5rem; }
	.is-style-etapes > li::before { width: 2.75rem; font-size: 1.875rem; }
	.is-style-etapes > li:not(:last-child)::after { left: 1.25rem; top: 2.2rem; }
}
.is-style-comparatif { overflow-x: auto; }
.is-style-comparatif table { border-collapse: collapse; min-width: 640px; width: 100%; }
.is-style-comparatif th,
.is-style-comparatif td { border: 1px solid var(--wp--preset--color--acier); padding: .8rem 1rem; text-align: center; }
.is-style-comparatif th:first-child,
.is-style-comparatif td:first-child { text-align: left; }
.is-style-comparatif thead th {
	font-family: var(--wp--preset--font-family--saira);
	text-transform: uppercase;
	letter-spacing: .08em;
	background: var(--wp--preset--color--ardoise);
	color: var(--wp--preset--color--orange);
}
.is-style-comparatif tbody tr:nth-child(even) { background: var(--wp--preset--color--charbon); }
.is-style-comparatif td { font-size: .975rem; }
.is-style-comparatif .hyp-oui { color: var(--wp--preset--color--orange); font-size: 1.15rem; }
.is-style-comparatif .hyp-non { color: var(--wp--preset--color--acier); }

.hyp-note {
	border-left: 4px solid var(--wp--preset--color--jaune);
	background: rgba(255, 212, 0, .08);
	padding: 1rem 1.25rem;
	font-size: .9375rem;
}

/* ---------- Articles ---------- */
.hyp-article .wp-block-post-content > p:first-child { font-size: 1.25rem; color: #e7e7ea; }
.hyp-article .wp-block-post-featured-image img { box-shadow: var(--hyp-ombre); }
.wp-block-post-terms a { text-decoration: none; }
.wp-block-post-navigation-link a { text-decoration: none; font-weight: 600; }
.wp-block-query-pagination a,
.wp-block-query-pagination .current {
	font-family: var(--wp--preset--font-family--saira);
	font-weight: 700;
	padding: .3rem .7rem;
	border: 1px solid var(--wp--preset--color--acier);
	text-decoration: none;
}
.wp-block-query-pagination .current { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--noir); border-color: var(--wp--preset--color--orange); }
.wp-block-categories-dropdown select,
.wp-block-search__input {
	background: var(--wp--preset--color--ardoise);
	color: var(--wp--preset--color--blanc);
	border: 1px solid var(--wp--preset--color--acier);
	padding: .6rem .8rem;
	font: inherit;
}

/* ---------- Page suivante (inc/page-suivante.php) ---------- */
/*
 * Carte « À suivre » entre le contenu et le pied de page : toute la carte est cliquable (le ::after du lien la
 * couvre), mais seul le titre est un lien pour les lecteurs d'écran. Barre en dégradé flamme en haut, comme les
 * cartes (.hyp-carte) ; elle s'allonge au survol et la flèche avance.
 */
.hyp-suite {
	padding: var(--wp--preset--spacing--60) var(--wp--style--root--padding-right, 1.5rem) var(--wp--preset--spacing--60) var(--wp--style--root--padding-left, 1.5rem);
}
.hyp-suite__carte {
	position: relative;
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--50);
	padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3.5rem);
	background: var(--wp--preset--color--charbon);
	border: 1px solid var(--wp--preset--color--acier);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hyp-suite__carte::before {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	height: 3px;
	background: var(--hyp-flamme);
	transform: scaleX(.18);
	transform-origin: left;
	transition: transform .3s ease;
}
.hyp-suite__texte { flex: 1; min-width: 0; }
.hyp-suite .hyp-suite__surtitre { margin: 0 0 .75rem; }
.hyp-suite .hyp-suite__titre { margin: 0 0 .75rem; font-size: clamp(1.75rem, 1rem + 2.5vw, 3rem); overflow-wrap: break-word; }
.hyp-suite__lien { color: var(--wp--preset--color--blanc); text-decoration: none; transition: color .18s ease; }
.hyp-suite__lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hyp-suite__resume { margin: 0; max-width: 46rem; color: #cfcfd4; font-size: 1.0625rem; }
.hyp-suite__fleche {
	flex: none;
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	background: var(--hyp-flamme);
	color: var(--wp--preset--color--noir);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hyp-coupe)), calc(100% - var(--hyp-coupe)) 100%, 0 100%);
	transition: transform .2s ease, filter .2s ease;
}
@media (hover: hover) {
	.hyp-suite__carte:hover { transform: translateY(-4px); border-color: #4a4a54; box-shadow: var(--hyp-ombre); }
	.hyp-suite__carte:hover::before { transform: scaleX(1); }
	.hyp-suite__carte:hover .hyp-suite__lien { color: var(--wp--preset--color--orange); }
	.hyp-suite__carte:hover .hyp-suite__fleche { transform: translateX(6px); filter: brightness(1.08) saturate(1.1); }
}
/* Focus clavier : le cadre jaune entoure toute la carte, pas seulement le titre. */
@supports selector(:has(*)) {
	.hyp-suite__lien:focus-visible { outline: none; }
	.hyp-suite__carte:has(.hyp-suite__lien:focus-visible) { outline: 3px solid var(--wp--preset--color--jaune); outline-offset: 3px; }
	.hyp-suite__carte:has(.hyp-suite__lien:focus-visible)::before { transform: scaleX(1); }
}
/* Téléphone : la flèche passe sous le texte, pour laisser toute la largeur au titre. */
@media (max-width: 559px) {
	.hyp-suite__carte { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
	.hyp-suite__fleche { width: 3.25rem; height: 3.25rem; }
	.hyp-suite__fleche svg { width: 22px; height: 22px; }
}
@media print {
	.hyp-suite { display: none; }
}

/* ---------- Pied de page ---------- */
.hyp-merci { border-top: 1px solid var(--wp--preset--color--acier); }
.hyp-pied { background: var(--wp--preset--color--charbon); border-top: 1px solid var(--wp--preset--color--acier); }
.hyp-pied h2 {
	font-size: 1rem;
	letter-spacing: .14em;
	font-style: normal;
	color: var(--wp--preset--color--orange);
}
.hyp-pied a { color: var(--wp--preset--color--blanc); text-decoration: none; }
.hyp-pied a:hover { color: var(--wp--preset--color--orange); }
.hyp-pied .wp-block-list { list-style: none; padding: 0; }
.hyp-pied .wp-block-list li { margin-bottom: .45rem; }
.hyp-pied__bas { border-top: 1px solid var(--wp--preset--color--acier); color: var(--wp--preset--color--gris); font-size: .875rem; }
/* Réseaux et dragon du pied de page : mêmes logos et même hauteur que dans l'en-tête (règles communes plus haut). */
.hyp-pied .hyp-pied__liens { align-items: center; gap: .75rem 1.25rem; }
.hyp-pied .hyp-pied__reseaux { column-gap: 1.25rem; }
.hyp-pied .hyp-tba { --hyp-tba-hauteur: 56px; }
.hyp-pied .hyp-logo-pied img { max-width: 120px; height: auto; }

/* ---------- Logo animé de l'en-tête : « Allumage » (inc/logo-anime.php) ----------
 * Intro (classe hyp-allumage sur <html>, première page vue de la visite), 2,8 s : le logo sort du noir, le néon trace
 * son contour (0,2 à 1,3 s), le viseur s'allume (0,8 à 1,2 s), l'éclair frappe l'étoile (1,2 s), le logo s'embrase
 * (1,3 à 2,1 s), puis le néon s'éteint. Au survol (classe hyp-frappe sur le lien) : l'éclair seul, 0,9 s.
 * Le décor est à l'échelle du logo : 1cqw = 1 % de sa largeur (162 px, ou 112 px de 1260 à 1535 px).
 * Traits cachés : décalés un peu plus que leur longueur (1.05), pour qu'aucun bout arrondi ne reste visible.
 */
.hyp-logo-anime .custom-logo-link { position: relative; }
.hyp-logo-deco { position: absolute; inset: 0; pointer-events: none; container-type: size; }
.hyp-logo-scene { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hyp-logo-scene use { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.05; }
.hyp-logo-neon, .hyp-logo-barres, .hyp-logo-eclair { opacity: 0; }
.hyp-logo-neon-halo { stroke: url(#hyp-logo-degrade); stroke-width: 11; }
.hyp-logo-neon-tube { stroke: url(#hyp-logo-degrade); stroke-width: 4.5; }
.hyp-logo-neon-coeur { stroke: #fff4d6; stroke-width: 1.4; }
.hyp-logo-barres-halo { stroke: #ffb000; stroke-width: 10; }
.hyp-logo-barres-tube { stroke: #ffd400; stroke-width: 3.6; }
.hyp-logo-eclair-halo { stroke: #ff8000; stroke-width: 10; }
.hyp-logo-eclair-coeur { stroke: #fffbe8; stroke-width: 2.6; }
.hyp-logo-eclair-branche { stroke-width: 1.6; }
.hyp-logo-flash {
	position: absolute; left: calc(var(--ex) - 22cqw); top: calc(var(--ey) - 22cqw); width: 44cqw; height: 44cqw; border-radius: 50%; opacity: 0; mix-blend-mode: screen;
	background: radial-gradient(closest-side, #fff 0, rgba(255, 240, 180, .95) 18%, rgba(255, 170, 40, .5) 45%, rgba(255, 128, 0, 0) 100%);
}
.hyp-logo-eclat { position: absolute; left: calc(var(--ex) - 13cqw); top: calc(var(--ey) - 13cqw); width: 26cqw; height: 26cqw; overflow: visible; opacity: 0; }
.hyp-logo-etincelle {
	position: absolute; left: var(--ex); top: var(--ey); width: 6cqw; height: .9cqw; margin-top: -.45cqw; border-radius: 1cqw; opacity: 0; transform-origin: 0 50%;
	background: linear-gradient(90deg, rgba(255, 128, 0, 0), #ffd36b 60%, #fff);
}
.hyp-allumage .hyp-logo-anime img { animation: hyp-logo-img 2.8s linear both; }
.hyp-allumage .hyp-logo-anime :is(.hyp-logo-neon, .hyp-logo-barres) { animation: hyp-logo-neon 2.8s linear both; }
.hyp-allumage .hyp-logo-anime .hyp-logo-neon use { animation: hyp-logo-trace 2.8s linear both; }
.hyp-allumage .hyp-logo-anime .hyp-logo-barres use { animation: hyp-logo-barres 2.8s linear both; }
/* La frappe (éclair, éclat, étincelles) : à 1,2 s dans l'intro, tout de suite au survol. */
.hyp-logo-anime .hyp-frappe { --hyp-frappe: 0s; }
.hyp-allumage .hyp-logo-anime .hyp-logo-eclair, .hyp-logo-anime .hyp-frappe .hyp-logo-eclair { animation: hyp-logo-eclair .9s var(--hyp-frappe, 1.2s) linear both; }
.hyp-allumage .hyp-logo-anime .hyp-logo-eclair use, .hyp-logo-anime .hyp-frappe .hyp-logo-eclair use { animation: hyp-logo-eclair-trace .9s var(--hyp-frappe, 1.2s) linear both; }
.hyp-allumage .hyp-logo-anime .hyp-logo-flash, .hyp-logo-anime .hyp-frappe .hyp-logo-flash { animation: hyp-logo-flash .9s calc(var(--hyp-frappe, 1.2s) + .14s) ease-out both; }
.hyp-allumage .hyp-logo-anime .hyp-logo-eclat, .hyp-logo-anime .hyp-frappe .hyp-logo-eclat { animation: hyp-logo-eclat 1s calc(var(--hyp-frappe, 1.2s) + .14s) ease-out both; }
.hyp-allumage .hyp-logo-anime .hyp-logo-etincelle, .hyp-logo-anime .hyp-frappe .hyp-logo-etincelle { animation: hyp-logo-etincelle .7s calc(var(--hyp-frappe, 1.2s) + .14s + var(--r, 0s)) cubic-bezier(.1, .7, .3, 1) both; }
@keyframes hyp-logo-img {
	0% { filter: brightness(.12) saturate(0) drop-shadow(0 0 10px rgba(255, 128, 0, 0)); }
	46% { filter: brightness(.3) saturate(.35) drop-shadow(0 0 10px rgba(255, 128, 0, 0)); animation-timing-function: ease-out; }
	51% { filter: brightness(1.9) saturate(1.3) drop-shadow(0 0 10px rgba(255, 128, 0, .75)); }
	74%, 100% { filter: brightness(1) saturate(1) drop-shadow(0 0 10px rgba(255, 128, 0, .25)); }
}
@keyframes hyp-logo-neon { 0%, 4% { opacity: 0; } 6%, 58% { opacity: 1; } 66% { opacity: .5; } 100% { opacity: 0; } }
@keyframes hyp-logo-trace { 0%, 6% { stroke-dashoffset: 1.05; animation-timing-function: cubic-bezier(.45, .1, .35, 1); } 46%, 100% { stroke-dashoffset: 0; } }
@keyframes hyp-logo-barres { 0%, 28% { stroke-dashoffset: 1.05; animation-timing-function: ease-out; } 42%, 100% { stroke-dashoffset: 0; } }
@keyframes hyp-logo-eclair { 0%, 22% { opacity: 1; } 28% { opacity: .2; } 34% { opacity: 1; } 44% { opacity: .35; } 52% { opacity: .9; } 70%, 100% { opacity: 0; } }
@keyframes hyp-logo-eclair-trace { 0% { stroke-dashoffset: 1.05; } 16%, 100% { stroke-dashoffset: 0; } }
@keyframes hyp-logo-flash { 0% { opacity: 0; transform: scale(.2); } 12% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(.7); } }
@keyframes hyp-logo-eclat { 0% { opacity: 0; transform: scale(.2) rotate(0deg); } 15% { opacity: 1; transform: scale(1.3) rotate(20deg); } 100% { opacity: 0; transform: scale(.5) rotate(70deg); } }
@keyframes hyp-logo-etincelle {
	0% { opacity: 0; transform: rotate(var(--a)) translateX(2cqw) scaleX(.4); }
	6%, 60% { opacity: 1; }
	100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scaleX(.2); }
}

/* ---------- Bouton Haut de page (inc/haut-de-page.php) ---------- */
/*
 * Coin coupé comme les boutons du site : bord en dégradé flamme (::before) et fond sombre (::after), dessinés par
 * des pseudo-éléments pour que le contour du focus ne soit pas coupé par clip-path. Sous l'en-tête (z-index 50),
 * donc sous le menu ☰ ouvert ; sous le plein écran du modèle 3D et les fenêtres <dialog>.
 */
.hyp-haut {
	--coupe: 11px;
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--orange);
	cursor: pointer;
	isolation: isolate;
	opacity: 0;
	visibility: hidden;
	transform: translateY(.75rem);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.hyp-haut.est-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.hyp-haut[hidden] { display: none; }
.hyp-haut::before,
.hyp-haut::after {
	content: "";
	position: absolute;
	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--coupe)), calc(100% - var(--coupe)) 100%, 0 100%);
}
.hyp-haut::before { inset: 0; background: var(--hyp-flamme); }
.hyp-haut::after {
	--coupe: 10px;
	inset: 2px;
	background: rgba(11, 11, 13, .92);
	transition: opacity .18s ease;
}
.hyp-haut svg { transition: transform .18s ease; }
@media (hover: hover) {
	.hyp-haut:hover { color: var(--wp--preset--color--noir); }
	.hyp-haut:hover::after { opacity: 0; }
	.hyp-haut:hover svg { transform: translateY(-2px); }
}
@media (min-width: 782px) {
	.hyp-haut { right: max(1.5rem, env(safe-area-inset-right)); bottom: max(1.5rem, env(safe-area-inset-bottom)); }
}
@media print {
	.hyp-haut { display: none; }
}
/* Après un clic sur le bouton, le focus passe à la page (tabindex="-1" le temps qu'il y reste) : pas de cadre autour. */
body[tabindex="-1"]:focus { outline: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.hyp-logo-deco { display: none; }
}
