/*
 * Rebond Pilotin — complément à theme.json.
 * On ne met ICI que ce que theme.json ne sait pas exprimer :
 * focus visible, prefers-reduced-motion, utilitaire d'apparition au scroll,
 * fallback no-js. Le reste (couleurs, typo, espacements) vit dans theme.json.
 */

/* ---------- Confort de lecture ---------- */
html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

::selection {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--violet-fonce);
}

/* ---------- Accessibilité : focus clavier visible (contraste AA) ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Lien d'évitement (sera relié au contenu principal au Lot 1). */
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Apparition au scroll (IntersectionObserver, Lot 2) ---------- */
/* Fallback no-js : tout est visible par défaut. Le JS ajoute .js sur <html>
   puis .is-visible quand l'élément entre dans le viewport. */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 500ms cubic-bezier(.2, .7, .2, 1),
		transform 500ms cubic-bezier(.2, .7, .2, 1);
	will-change: opacity, transform;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* =========================================================================
   LOT 1 — Header / Footer (calé sur la maquette, via tokens theme.json)
   ========================================================================= */

/* ---------- Boutons custom (anchors dynamiques hors core/button) ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	padding: 13px 22px;
	border-radius: 2px;
	border: none;
	cursor: pointer;
	transition: background var(--wp--custom--transition--fast, 150ms ease),
		transform var(--wp--custom--transition--fast, 150ms ease),
		color var(--wp--custom--transition--fast, 150ms ease),
		border-color var(--wp--custom--transition--fast, 150ms ease);
}

.rp-ico {
	width: 20px;
	height: 20px;
	flex: none;
}

/* WhatsApp — vert de marque */
.rp-wa {
	background: var(--wp--preset--color--whatsapp);
	color: #0a2a13;
}
.rp-wa:hover,
.rp-wa:focus-visible {
	background: #2ee672;
	color: #0a2a13;
	transform: translateY(-2px);
}
.rp-wa--header { padding: 11px 18px; }
.rp-wa--footer { margin-top: 4px; }
.rp-wa[aria-disabled="true"] { opacity: 0.7; }

/* ---------- Marque (logo + nom + baseline) ---------- */
.rp-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--wp--preset--color--violet-fonce);
}
.rp-brand__mark { flex: none; object-fit: contain; }
.rp-brand--header .rp-brand__mark { width: 56px; height: 56px; }
.rp-brand--footer .rp-brand__mark { width: 64px; height: 64px; }
.rp-brand__text b {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
}
.rp-brand__text > span {
	display: block;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.6875rem;
	letter-spacing: var(--wp--custom--letter-spacing--wide, 0.28em);
	color: var(--wp--preset--color--muted);
	text-transform: uppercase;
	margin-top: 2px;
	white-space: nowrap;
}

/* ---------- Header sticky ---------- */
.rp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--wp--preset--color--blanc) 82%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.rp-header__inner {
	max-width: var(--wp--style--global--content-size, 1200px);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 1.5rem);
	min-height: 76px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
}
.rp-header__inner > .rp-brand { justify-self: center; text-align: center; }
.rp-header--brand-center .rp-brand__text { text-align: center; }
.rp-nav--left { justify-self: end; }
.rp-header__right { justify-self: stretch; justify-content: space-between; gap: 20px; }
/* Desktop : le nav gauche n'affiche que Le club / Matchs / Actualités ;
   Boutique & Partenaires sont dans le nav de droite. */
@media (min-width: 782px) {
	.rp-nav--left .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n+4) { display: none; }
}
/* Mobile : le nav gauche devient le hamburger (tous les liens) ; on masque le nav droit. */
@media (max-width: 781px) {
	.rp-nav--right { display: none; }
}

/* ---------- Navigation ---------- */
.rp-nav {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	font-size: 1rem;
}
.rp-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--violet-fonce); white-space: nowrap; }
.rp-nav .wp-block-navigation-item__content:hover,
.rp-nav .wp-block-navigation-item__content:focus { color: var(--wp--preset--color--orange); }
.rp-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--blanc);
}

/* ---------- Actions (WhatsApp + panier) ---------- */
.rp-actions { gap: 14px; }
.rp-cart {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 2px;
	border: 1px solid var(--wp--preset--color--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--violet-fonce);
	transition: border-color 150ms ease, color 150ms ease;
}
.rp-cart:hover,
.rp-cart:focus-visible {
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange);
}
.rp-cart__count {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 19px;
	height: 19px;
	padding: 0 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--violet-fonce);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.6875rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Footer ---------- */
.rp-footer {
	background: var(--wp--preset--color--clair);
	border-top: 1px solid var(--wp--preset--color--line);
}
.rp-footer__grid { gap: 40px; }
.rp-footer__brand .rp-socials { margin-top: 18px; }
.rp-footer__title {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.875rem;
	color: var(--wp--preset--color--orange);
	margin: 0 0 14px;
}
.rp-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rp-footer__links li { margin: 0; }
.rp-footer__links a {
	display: block;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	padding: 5px 0;
}
.rp-footer__links a:hover { color: var(--wp--preset--color--orange); }
.rp-footer__bottom {
	border-top: 1px solid var(--wp--preset--color--line);
	margin-top: 40px;
	padding-top: 22px;
	gap: 16px;
}
.rp-footer__legal a { color: var(--wp--preset--color--muted); }
.rp-footer__legal a:hover { color: var(--wp--preset--color--orange); }

/* ---------- Réseaux sociaux ---------- */
.rp-socials { display: flex; gap: 10px; }
.rp-social {
	width: 40px;
	height: 40px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--violet-fonce);
	transition: border-color 150ms ease, color 150ms ease;
}
.rp-social:hover,
.rp-social:focus-visible {
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange);
}

/* ---------- Gymnase (adresse) ---------- */
.rp-gym {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	margin-bottom: 14px;
}
.rp-gym .rp-ico { color: var(--wp--preset--color--orange); margin-top: 2px; }
.rp-gym b { display: block; color: var(--wp--preset--color--violet-fonce); font-weight: 600; }
.rp-gym small { font-size: 0.875rem; }

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.rp-brand__text { display: none; }
	.rp-wa--header span { display: none; }
	.rp-wa--header { padding: 11px 13px; }
}

/* =========================================================================
   LOT 2 — Accueil (patterns) — calé sur la maquette, via tokens theme.json
   ========================================================================= */

/* ---------- Briques de section communes ---------- */
.rp-section { padding-block: 6rem; }
.rp-eyebrow {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow, 0.22em);
	font-weight: 600;
	color: var(--wp--preset--color--orange);
	font-size: 0.875rem;
	margin: 0 0 0.5rem;
}
.rp-sec-head {
	gap: 24px;
	margin-bottom: 44px;
}
.rp-sec-title {
	font-size: clamp(1.7rem, 3.68vw, 2.9rem);
	line-height: 0.94;
	margin: 0;
}
.rp-sec-link a {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--wp--preset--color--orange);
	font-size: 1rem;
}
.rp-sec-link a:hover { color: var(--wp--preset--color--orange); }
.rp-muted { color: var(--wp--preset--color--muted); }

/* ---------- Boutons custom (arrow + ghost) ---------- */
.rp-btn-arrow .wp-block-button__link::after {
	content: "→";
	margin-left: 8px;
	display: inline-block;
	transition: transform var(--wp--custom--transition--fast, 150ms ease);
}
.rp-btn-arrow .wp-block-button__link:hover::after,
.rp-btn-arrow .wp-block-button__link:focus::after { transform: translateX(3px); }
.rp-btn-ghost .wp-block-button__link {
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--violet-fonce);
}
.rp-btn-ghost .wp-block-button__link:hover,
.rp-btn-ghost .wp-block-button__link:focus {
	background: transparent;
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange);
}

/* ---------- HERO ---------- */
.rp-hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--wp--preset--color--clair);
}
.rp-hero__court { position: absolute; inset: 0; opacity: 0.5; }
.rp-hero__court svg { width: 100%; height: 100%; }
.rp-hero__arc {
	stroke-dashoffset: 0;
	animation: rp-arc 2.4s cubic-bezier(.2, .7, .2, 1) 0.3s both;
}
@keyframes rp-arc { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
.rp-hero__glow {
	position: absolute;
	right: -8%;
	top: 50%;
	transform: translateY(-50%);
	width: 620px;
	height: 620px;
	background: radial-gradient(circle, rgba(234, 91, 39, 0.28), transparent 62%);
	pointer-events: none;
}
.rp-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-block: 60px;
}
.rp-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--wp--preset--color--orange);
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 2px;
	margin: 0 0 26px;
}
.rp-hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--orange); }
.rp-hero__title {
	font-size: clamp(3.25rem, 8vw, 6.875rem);
	line-height: 0.86;
	max-width: 15ch;
	margin: 0;
}
.rp-hero__title em { font-style: normal; color: var(--wp--preset--color--orange); }
.rp-hero__lead { margin: 24px 0 0; font-size: 1.1875rem; max-width: 46ch; }
.rp-hero__cta { margin-top: 38px; gap: 14px; }
.rp-countdown { margin-top: 46px; }
.rp-cd__label {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	margin-bottom: 14px;
}
.rp-cd__grid { display: flex; gap: 14px; flex-wrap: wrap; }
.rp-cd__cell {
	background: var(--wp--preset--color--violet-clair);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 3px;
	padding: 12px 16px;
	min-width: 74px;
	text-align: center;
}
.rp-cd__num {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.7rem;
	color: var(--wp--preset--color--orange);
	line-height: 1;
}
.rp-cd__unit {
	display: block;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.6875rem;
	color: var(--wp--preset--color--muted);
	margin-top: 6px;
}
/* Cascade hero */
.js .rp-hero__title.reveal { transition-delay: 80ms; }
.js .rp-hero__lead.reveal { transition-delay: 160ms; }
.js .rp-hero__cta.reveal { transition-delay: 240ms; }
.js .rp-countdown.reveal { transition-delay: 320ms; }

/* ---------- SCOREBOARD ---------- */
.rp-board {
	background: var(--wp--preset--color--clair);
	border-top: 2px solid var(--wp--preset--color--orange);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.rp-board__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: center;
	padding-block: 26px;
}
.rp-board__side { display: flex; align-items: center; gap: 16px; }
.rp-board__side--away { justify-content: flex-end; text-align: right; }
.rp-team-badge {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	color: var(--wp--preset--color--violet-fonce);
}
.rp-team-badge--home { background: var(--wp--preset--color--orange); }
.rp-team-badge--away { background: var(--wp--preset--color--violet-fonce); }
.rp-team-name {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.1;
}
.rp-team-name small {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}
.rp-board__center { text-align: center; text-decoration: none; display: block; }
a.rp-board__center:hover .rp-board__score { filter: brightness(1.12); }
.rp-board__status {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.75rem;
	color: var(--wp--preset--color--orange);
	margin-bottom: 8px;
}
.rp-board__dot {
	display: inline-block;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	margin-right: 8px;
}
.rp-board__score {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 2.3rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--orange);
	line-height: 1;
}
.rp-board__meta {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
	margin-top: 8px;
}

/* ---------- CARTES ACTUS ---------- */
.rp-cards .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.rp-cards .wp-block-post { margin: 0; }
.rp-card {
	height: 100%;
	background: var(--wp--preset--color--clair);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color var(--wp--custom--transition--base, 220ms ease),
		transform var(--wp--custom--transition--base, 220ms ease);
}
.rp-card:hover { border-color: var(--wp--preset--color--orange); transform: translateY(-4px); }
.rp-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--wp--preset--color--violet-clair);
	overflow: hidden;
}
.rp-card__img { position: absolute; inset: 0; margin: 0; height: 100%; }
.rp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rp-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-size: 0;
}
.rp-card__tag a {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--violet-fonce);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.75rem;
	padding: 5px 12px;
	border-radius: 2px;
}
.rp-card__body { padding: 22px; }
.rp-card__date {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.05em;
}
.rp-card__title {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	font-size: 1.375rem;
	font-weight: 700;
	margin: 10px 0;
	line-height: 1.1;
}
.rp-card__title a { color: var(--wp--preset--color--violet-fonce); }
.rp-card__title a:hover { color: var(--wp--preset--color--orange); }
.rp-card__excerpt { color: var(--wp--preset--color--muted); font-size: 0.9375rem; margin: 0; }
.js .rp-cards .wp-block-post:nth-child(2) .reveal { transition-delay: 90ms; }
.js .rp-cards .wp-block-post:nth-child(3) .reveal { transition-delay: 180ms; }

/* ---------- HISTOIRE / 10 ANS ---------- */
.rp-history { background: linear-gradient(180deg, var(--wp--preset--color--blanc), var(--wp--preset--color--clair)); }
.rp-history__grid { gap: 64px; }
.rp-big10 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(8rem, 20.8vw, 16rem);
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 2px var(--wp--preset--color--orange);
	position: relative;
}
.rp-big10 span { position: absolute; left: 0; top: 0; color: var(--wp--preset--color--orange); opacity: 0.1; }
.rp-history__caption {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--wp--preset--color--orange);
	margin-top: 8px;
	font-weight: 700;
}
.rp-history__title { font-size: clamp(1.6rem, 3.52vw, 2.6rem); margin: 14px 0 18px; }
.rp-history__text { font-size: 1.0625rem; }
.rp-timeline {
	margin-top: 34px;
	border-left: 2px solid var(--wp--preset--color--line);
	padding-left: 26px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.rp-tl-item { position: relative; }
.rp-tl-item::before {
	content: "";
	position: absolute;
	left: -33px;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	box-shadow: 0 0 0 4px var(--wp--preset--color--blanc);
}
.rp-tl-year { font-family: var(--wp--preset--font-family--mono); color: var(--wp--preset--color--orange); font-size: 0.9375rem; margin: 0; }
.rp-tl-head { font-family: var(--wp--preset--font-family--label); text-transform: uppercase; font-size: 1.1875rem; font-weight: 700; margin: 4px 0; }
.rp-tl-text { font-size: 0.9375rem; margin: 0; }

/* ---------- BOUTIQUE (teaser) ---------- */
.rp-shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rp-product {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--clair);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	overflow: hidden;
	color: inherit;
	transition: border-color var(--wp--custom--transition--base, 220ms ease),
		transform var(--wp--custom--transition--base, 220ms ease);
}
.rp-product:hover { border-color: var(--wp--preset--color--orange); transform: translateY(-4px); }
.rp-product__img {
	aspect-ratio: 1;
	background: var(--wp--preset--color--violet-clair);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
}
.rp-product__info { padding: 18px; display: flex; flex-direction: column; }
.rp-product__cat { font-family: var(--wp--preset--font-family--label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; color: var(--wp--preset--color--muted); }
.rp-product__name { font-family: var(--wp--preset--font-family--label); text-transform: uppercase; font-size: 1.125rem; font-weight: 700; line-height: 1.05; margin-top: 2px; }
.rp-product__row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.rp-product__price { font-family: var(--wp--preset--font-family--mono); font-size: 1.375rem; color: var(--wp--preset--color--orange); }
.rp-product__add {
	width: 40px; height: 40px;
	border-radius: 2px;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--violet-fonce);
	font-size: 1.375rem;
	display: flex; align-items: center; justify-content: center;
	line-height: 1;
}
.rp-product:hover .rp-product__add { background: var(--wp--preset--color--orange-vif); }

/* ---------- PARTENAIRES ---------- */
.rp-partner-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 44px; }
.rp-plogo {
	aspect-ratio: 16 / 9;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 3px;
	display: flex; align-items: center; justify-content: center;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase; letter-spacing: 0.1em;
	font-size: 0.9375rem; font-weight: 600;
	transition: border-color 200ms ease, color 200ms ease;
}
.rp-plogo:hover { border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--orange); }
.rp-partner-cta {
	background: var(--wp--preset--color--violet-clair);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	padding: 40px;
	gap: 30px;
}
.rp-partner-cta__title { font-size: 1.6rem; line-height: 0.95; margin: 0; }
.rp-partner-cta__text p { margin-top: 8px; max-width: 52ch; }

/* ---------- BANDE WHATSAPP ---------- */
.rp-wa-band { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--violet-fonce); }
.rp-wa-band__inner { gap: 30px; padding-block: 44px; }
.rp-wa-band__title { font-size: clamp(1.4rem, 2.88vw, 2.2rem); line-height: 0.95; color: var(--wp--preset--color--violet-fonce); margin: 0; }
.rp-wa-band__lead { font-weight: 500; max-width: 44ch; color: var(--wp--preset--color--violet-fonce); margin: 8px 0 0; }
.rp-wa--band { background: var(--wp--preset--color--violet-fonce); color: var(--wp--preset--color--violet-fonce); }
.rp-wa--band:hover, .rp-wa--band:focus-visible { background: #000; color: var(--wp--preset--color--violet-fonce); transform: translateY(-2px); }

/* ---------- Responsive accueil ---------- */
@media (max-width: 960px) {
	.rp-history__grid { gap: 36px; }
	.rp-shop__grid { grid-template-columns: repeat(2, 1fr); }
	.rp-partner-strip { grid-template-columns: repeat(3, 1fr); }
	.rp-cards .wp-block-post-template { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.rp-board__inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
	.rp-board__side, .rp-board__side--away { justify-content: center; text-align: center; }
	.rp-partner-strip { grid-template-columns: repeat(2, 1fr); }
	.rp-hero { min-height: 0; }
}

/* =========================================================================
   LOT 3 — Matchs : calendrier (archive) + détail (single)
   ========================================================================= */

/* ---------- Onglets de filtre ---------- */
.rp-filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
.rp-filter {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 9px 18px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 2px;
	color: var(--wp--preset--color--muted);
	transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.rp-filter:hover { border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--violet-fonce); }
.rp-filter.is-active {
	background: var(--wp--preset--color--orange);
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--violet-fonce);
}

/* ---------- Liste de matchs ---------- */
.rp-match-list { display: flex; flex-direction: column; gap: 12px; }
.rp-match {
	display: grid;
	grid-template-columns: 160px 1fr 200px;
	align-items: center;
	gap: 20px;
	padding: 18px 24px;
	background: var(--wp--preset--color--clair);
	border: 1px solid var(--wp--preset--color--line);
	border-left: 3px solid var(--wp--preset--color--line);
	border-radius: 4px;
	color: var(--wp--preset--color--violet-fonce);
	transition: border-color 180ms ease, transform 180ms ease;
}
.rp-match:hover { border-color: var(--wp--preset--color--orange); border-left-color: var(--wp--preset--color--orange); transform: translateX(3px); }
.rp-match--termine { border-left-color: var(--wp--preset--color--orange); }
.rp-match__date {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.03em;
}
.rp-match__fixture {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
}
.rp-match__team {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
}
.rp-match__team--home { text-align: right; }
.rp-match__team--away { text-align: left; }
.rp-match__team.is-winner { color: var(--wp--preset--color--orange); }
.rp-match__score {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.5rem;
	color: var(--wp--preset--color--orange);
	white-space: nowrap;
	min-width: 72px;
	text-align: center;
}
.rp-match__info {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-align: right;
}
.rp-match__badge {
	display: none; /* remplacé par l'info + la bordure ; visible en mobile */
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--wp--preset--color--orange);
}

/* ---------- Détail match (single) ---------- */
.rp-board--single { border-radius: 4px; margin: 32px 0; }
.rp-board--single .rp-board__inner { padding-block: 40px; }
.rp-match-single .rp-sec-title { margin-bottom: 8px; }

/* ---------- Responsive matchs ---------- */
@media (max-width: 782px) {
	.rp-match {
		grid-template-columns: 1fr;
		gap: 10px;
		text-align: center;
	}
	.rp-match__info { text-align: center; }
	.rp-match__badge { display: block; }
	.rp-match__team--home, .rp-match__team--away { text-align: center; }
}

/* =========================================================================
   AJOUT — Adhésion en ligne HelloAsso (bannière, menu, section, footer)
   ========================================================================= */

/* ---------- Bannière haute (dans le header sticky, sous la nav) ---------- */
.rp-adhesion-bar {
	background: var(--wp--preset--color--orange);
	text-align: center;
	padding: 10px 16px;
}
.rp-adhesion-bar__link {
	display: inline-block;
	color: #fff;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	font-size: 0.9375rem;
	transition: transform var(--wp--custom--transition--fast, 150ms ease);
}
.rp-adhesion-bar__link:hover,
.rp-adhesion-bar__link:focus-visible { color: #fff; text-decoration: underline; }

/* ---------- Entrée de menu « Adhésion » en CTA ---------- */
.rp-nav-cta .wp-block-navigation-item__content {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--violet-fonce);
	padding: 7px 15px;
	border-radius: 2px;
	transition: background 150ms ease;
}
.rp-nav-cta .wp-block-navigation-item__content:hover,
.rp-nav-cta .wp-block-navigation-item__content:focus { background: var(--wp--preset--color--orange-vif); color: var(--wp--preset--color--violet-fonce); }

/* ---------- Section Adhésion / Inscriptions (fond violet clair) ---------- */
.rp-adhesion { text-align: center; }
.rp-adhesion__head { margin-bottom: 36px; }
.rp-adhesion__title {
	color: var(--wp--preset--color--violet-fonce);
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
	line-height: 0.98;
	margin: 6px 0 0;
}
.rp-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 920px;
	margin: 0 auto 32px;
}
.rp-step {
	background: #fff;
	border-radius: 6px;
	padding: 30px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
}
.rp-step__num {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.rp-step__label {
	color: var(--wp--preset--color--blanc);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin: 0;
}
.rp-adhesion__cta { justify-content: center; }
.rp-adhesion__note {
	color: rgba(245, 241, 233, 0.78);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.8125rem;
	margin: 16px 0 0;
}

/* ---------- Lien « Adhérer » du footer ---------- */
.rp-footer__links a.rp-footer__join { color: var(--wp--preset--color--orange); }
.rp-footer__links a.rp-footer__join:hover { color: var(--wp--preset--color--orange); }

/* ---------- Responsive adhésion ---------- */
@media (max-width: 760px) {
	.rp-steps { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---------- prefers-reduced-motion : on coupe le décoratif ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* =========================================================================
   THÈME VIOLET LUMINEUX — alternance violet profond / blanc, accents orange
   ========================================================================= */

/* Coins arrondis (boutons, panier, filtres) */
.btn, .rp-cart, .rp-filter { border-radius: 8px; }

/* Labels & liens sur fond clair : violet lisible */
.rp-eyebrow { color: var(--wp--preset--color--violet); }
.rp-sec-link a { color: var(--wp--preset--color--violet); }
.rp-sec-link a:hover { color: var(--wp--preset--color--orange); }
.rp-tl-year { color: var(--wp--preset--color--violet); }

/* Boutons « contour » sur sections claires : contour violet (le hero garde le blanc) */
.rp-btn-ghost .wp-block-button__link { border-color: var(--wp--preset--color--violet); color: var(--wp--preset--color--violet); background: transparent; }
.rp-btn-ghost .wp-block-button__link:hover,
.rp-btn-ghost .wp-block-button__link:focus { background: var(--wp--preset--color--violet); border-color: var(--wp--preset--color--violet); color: #fff; }

/* ---------- HEADER violet foncé ---------- */
.rp-header { background: var(--wp--preset--color--violet-fonce); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.rp-brand { color: #fff; }
.rp-brand__p { color: var(--wp--preset--color--orange); }
.rp-brand__text > span { color: var(--wp--preset--color--lavande); }
.rp-nav .wp-block-navigation-item__content { color: #fff; }
.rp-nav .wp-block-navigation-item__content:hover,
.rp-nav .wp-block-navigation-item__content:focus { color: var(--wp--preset--color--orange); }
.rp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--violet-fonce); }
.rp-nav-cta .wp-block-navigation-item__content { background: var(--wp--preset--color--orange); color: #fff; border-radius: 8px; }
.rp-nav-cta .wp-block-navigation-item__content:hover,
.rp-nav-cta .wp-block-navigation-item__content:focus { background: var(--wp--preset--color--orange-vif); color: #fff; }
.rp-cart { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.rp-cart:hover, .rp-cart:focus-visible { border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--orange); }

/* ---------- BANDEAU ADHÉSION : orange, texte violet nuit ---------- */
.rp-adhesion-bar { background: var(--wp--preset--color--orange); }
.rp-adhesion-bar__link { color: var(--wp--preset--color--violet-nuit); font-weight: 800; }

/* ---------- HERO : violet lumineux + logo en filigrane ---------- */
.rp-hero {
	position: relative;
	min-height: 600px;
	overflow: hidden;
	background: radial-gradient(circle at 72% 32%, var(--wp--preset--color--violet-lumo) 0%, var(--wp--preset--color--violet-nuit) 68%);
}
.rp-hero__watermark {
	position: absolute;
	right: 3%;
	top: 50%;
	transform: translateY(-50%);
	height: 78%;
	width: auto;
	opacity: 0.22;
	pointer-events: none;
	z-index: 1;
}
.rp-hero__inner { position: relative; z-index: 2; text-align: left; }
.rp-hero__eyebrow {
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.25em;
	font-size: 0.85rem;
	margin: 0 0 18px;
}
.rp-hero__title { color: #fff; font-size: clamp(2.8rem, 7.2vw, 5.6rem); line-height: 0.95; letter-spacing: -0.02em; max-width: none; }
.rp-hero__lead { color: var(--wp--preset--color--lavande); font-size: 1.15rem; max-width: 34rem; }
.rp-hero__cta .wp-block-button__link { border-radius: 8px; }
.rp-hero .rp-btn-ghost .wp-block-button__link { border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; background: transparent; }
.rp-hero .rp-btn-ghost .wp-block-button__link:hover,
.rp-hero .rp-btn-ghost .wp-block-button__link:focus { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
/* Compte à rebours sur le violet */
.rp-cd__cell { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.rp-cd__num { color: var(--wp--preset--color--orange); }
.rp-cd__unit { color: var(--wp--preset--color--lavande); }
.rp-cd__label { color: var(--wp--preset--color--lavande); }

/* ---------- PROCHAIN MATCH : carte violette ---------- */
.rp-board { background: var(--wp--preset--color--violet); border-top: 2px solid var(--wp--preset--color--orange); border-bottom: none; }
.rp-board .rp-team-name { color: #fff; }
.rp-board .rp-team-name small { color: var(--wp--preset--color--lavande); }
.rp-board__meta { color: var(--wp--preset--color--lavande); }
.rp-board__status, .rp-board__score { color: var(--wp--preset--color--orange); }
.rp-team-badge--away { background: #fff; }

/* ---------- BOARD RÉSULTATS (archive) : cartes blanches bordées violet ---------- */
.rp-match { background: #fff; border-color: var(--wp--preset--color--line); border-left: 3px solid var(--wp--preset--color--violet); }
.rp-match--termine { border-left-color: var(--wp--preset--color--orange); }
.rp-match:hover { border-color: var(--wp--preset--color--violet); border-left-color: var(--wp--preset--color--violet); }
.rp-match__team.is-winner, .rp-match__score { color: var(--wp--preset--color--orange); }

/* ---------- BANDE WHATSAPP : aplat orange, texte foncé, bouton violet ---------- */
.rp-wa-band__title, .rp-wa-band__lead { color: var(--wp--preset--color--violet-nuit); }
.rp-wa--band { background: var(--wp--preset--color--violet); color: #fff; }
.rp-wa--band:hover, .rp-wa--band:focus-visible { background: var(--wp--preset--color--violet-nuit); color: #fff; }

/* ---------- SECTION ADHÉSION / DON : fond violet, cartes blanches ---------- */
.rp-adhesion .rp-eyebrow { color: var(--wp--preset--color--orange); }
.rp-adhesion__title { color: #fff; }
.rp-adhesion__note { color: var(--wp--preset--color--lavande); }
.rp-step__label { color: var(--wp--preset--color--violet-fonce); }

/* ---------- FOOTER violet foncé ---------- */
.rp-footer { background: var(--wp--preset--color--violet-fonce); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.rp-footer__title { color: #fff; }
.rp-footer__links a { color: var(--wp--preset--color--lavande); }
.rp-footer__links a:hover { color: var(--wp--preset--color--orange); }
.rp-footer__links a.rp-footer__join { color: var(--wp--preset--color--orange); }
.rp-footer__brand p { color: var(--wp--preset--color--lavande); }
.rp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.rp-footer__legal a, .rp-footer__bottom p { color: var(--wp--preset--color--lavande); }
.rp-footer__legal a:hover { color: var(--wp--preset--color--orange); }
.rp-social { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.rp-social:hover, .rp-social:focus-visible { border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--orange); }
.rp-gym { color: var(--wp--preset--color--lavande); }
.rp-gym b { color: #fff; }

/* =========================================================================
   SITE 100% VIOLET PROFOND (aligné sur rebondpilotin.com) — plus de fond blanc
   ========================================================================= */

/* Eyebrows & liens de section : orange sur violet */
.rp-eyebrow { color: var(--wp--preset--color--orange); }
.rp-sec-link a { color: var(--wp--preset--color--orange); }
.rp-sec-link a:hover { color: #fff; }

/* Boutons « contour » : contour clair sur fond violet */
.rp-btn-ghost .wp-block-button__link { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.rp-btn-ghost .wp-block-button__link:hover,
.rp-btn-ghost .wp-block-button__link:focus { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* Sections auparavant « blanches » : violet profond */
.rp-history { background: var(--wp--preset--color--violet-nuit); }
.rp-history__text { color: var(--wp--preset--color--lavande); }
.rp-timeline { border-left-color: rgba(255, 255, 255, 0.15); }
.rp-tl-head { color: #fff; }
.rp-tl-text { color: var(--wp--preset--color--lavande); }
.rp-tl-year { color: var(--wp--preset--color--orange); }
.rp-tl-item::before { box-shadow: 0 0 0 4px var(--wp--preset--color--violet-nuit); }

/* Cartes actualités : panneaux violet-fonce */
.rp-card { background: var(--wp--preset--color--violet-fonce); border-color: rgba(255, 255, 255, 0.10); border-radius: 14px; }
.rp-card__thumb { background: var(--wp--preset--color--violet); }
.rp-card__title a { color: #fff; }
.rp-card__title a:hover { color: var(--wp--preset--color--orange); }
.rp-card__date, .rp-card__excerpt { color: var(--wp--preset--color--lavande); }
.rp-card__tag a { color: #fff; }

/* Produits boutique : panneaux violet-fonce */
.rp-product { background: var(--wp--preset--color--violet-fonce); border-color: rgba(255, 255, 255, 0.10); border-radius: 14px; }
.rp-product__img { background: var(--wp--preset--color--violet); }
.rp-product__img--photo { padding: 0; font-size: 0; background: var(--wp--preset--color--clair); }
.rp-product__img--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-product__name { color: #fff; }
.rp-product__cat { color: var(--wp--preset--color--lavande); }
.rp-product__price .amount,
.rp-product__price .woocommerce-Price-amount { color: var(--wp--preset--color--orange); font-family: var(--wp--preset--font-family--mono); }
.rp-product__price del { color: var(--wp--preset--color--muted); opacity: 0.7; font-size: 0.85em; }
.rp-product__price ins { text-decoration: none; }

/* Sponsors : cases sur violet */
.rp-plogo { border-color: rgba(255, 255, 255, 0.18); color: var(--wp--preset--color--lavande); }
.rp-plogo:hover { border-color: var(--wp--preset--color--orange); color: #fff; }
.rp-partner-cta { background: var(--wp--preset--color--violet-fonce); border-color: rgba(255, 255, 255, 0.10); }

/* Calendrier (résultats) : cartes violet-fonce, gagnant orange */
.rp-match { background: var(--wp--preset--color--violet-fonce); border-color: rgba(255, 255, 255, 0.10); border-left: 3px solid var(--wp--preset--color--violet-lumo); }
.rp-match--termine { border-left-color: var(--wp--preset--color--orange); }
.rp-match:hover { border-color: rgba(255, 255, 255, 0.25); border-left-color: var(--wp--preset--color--orange); }
.rp-match__team { color: #fff; }
.rp-match__team.is-winner, .rp-match__score { color: var(--wp--preset--color--orange); }
.rp-match__date, .rp-match__info { color: var(--wp--preset--color--lavande); }

/* Onglets de filtre sur violet */
.rp-filter { border-color: rgba(255, 255, 255, 0.22); color: var(--wp--preset--color--lavande); }
.rp-filter:hover { border-color: var(--wp--preset--color--orange); color: #fff; }
.rp-filter.is-active { background: var(--wp--preset--color--orange); border-color: var(--wp--preset--color--orange); color: #fff; }

/* ---------- Section WhatsApp : encart vert sur violet (comme rebondpilotin.com) ---------- */
.rp-wa-band { background: transparent; padding-block: 4rem; }
.rp-wa-band__inner {
	background: rgba(37, 211, 102, 0.08);
	border: 1px solid rgba(37, 211, 102, 0.35);
	border-radius: 16px;
	padding: 40px;
}
.rp-wa-band__title { color: #fff; }
.rp-wa-band__lead { color: var(--wp--preset--color--lavande); }
.rp-wa--band { background: var(--wp--preset--color--whatsapp); color: #08331a; }
.rp-wa--band:hover, .rp-wa--band:focus-visible { background: #2ee672; color: #08331a; }

/* ---------- Barre de chiffres du club (10 saisons · 112 licenciés…) ---------- */
.rp-stats {
	padding-block: 2.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rp-stats__grid { gap: 24px; }
.rp-stat { flex: 1; min-width: 130px; text-align: center; padding-inline: 12px; }
.rp-stat + .rp-stat { border-left: 1px solid rgba(255, 255, 255, 0.10); }
.rp-stat__num {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--orange);
	font-size: clamp(2rem, 4vw, 2.6rem);
	line-height: 1;
	margin: 0;
}
.rp-stat__label {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.75rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
	margin: 8px 0 0;
}
@media (max-width: 600px) {
	.rp-stat { flex: 0 0 40%; }
	.rp-stat + .rp-stat { border-left: none; }
}

/* ---------- HERO carrousel (photos + vidéos, voile violet) ---------- */
.rp-hero--carousel {
	background: var(--wp--preset--color--violet-nuit);
	min-height: 82vh;
}
.rp-hero__carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; max-width: none; margin: 0; }
.rp-hero__slides { position: absolute; inset: 0; }
.rp-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 900ms ease;
}
.rp-hero__slide.is-active { opacity: 1; }
.rp-hero__slide--video { background: var(--wp--preset--color--violet-nuit); }
.rp-hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(20, 4, 39, 0.86) 0%, rgba(20, 4, 39, 0.55) 45%, rgba(20, 4, 39, 0.22) 80%, rgba(20, 4, 39, 0.42) 100%),
		linear-gradient(0deg, rgba(20, 4, 39, 0.6), rgba(20, 4, 39, 0) 42%);
}
.rp-hero--carousel .rp-hero__inner { position: relative; z-index: 3; }

/* Flèches */
.rp-hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}
.rp-hero__nav:hover, .rp-hero__nav:focus-visible { background: rgba(255, 255, 255, 0.26); }
.rp-hero__nav--prev { left: 18px; }
.rp-hero__nav--next { right: 18px; }

/* Points + play/pause */
.rp-hero__controls {
	position: absolute;
	z-index: 4;
	bottom: 20px;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
.rp-hero__dots { display: flex; gap: 2px; }
.rp-hero__dot {
	/* Point visible 10px, mais zone tactile 24px (WCAG 2.5.8) via le padding
	   transparent + background limité à la boîte de contenu. */
	width: 10px;
	height: 10px;
	box-sizing: content-box;
	padding: 7px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.4);
	background-clip: content-box;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.rp-hero__dot.is-active { background-color: var(--wp--preset--color--orange); transform: scale(1.2); }
.rp-hero__playpause {
	position: relative;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	cursor: pointer;
}
.rp-hero__playpause[data-playing="true"]::before,
.rp-hero__playpause[data-playing="true"]::after {
	content: "";
	position: absolute;
	top: 7px;
	width: 3px;
	height: 10px;
	background: #fff;
}
.rp-hero__playpause[data-playing="true"]::before { left: 8px; }
.rp-hero__playpause[data-playing="true"]::after { right: 8px; }
.rp-hero__playpause[data-playing="false"]::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 9px;
	border-left: 9px solid #fff;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

@media (max-width: 760px) {
	.rp-hero--carousel { min-height: 72vh; }
	.rp-hero__nav { width: 38px; height: 38px; font-size: 1.4rem; }
	.rp-hero__nav--prev { left: 8px; }
	.rp-hero__nav--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.rp-hero__slide { transition: none; }
}

/* ---------- Pages vitrine (Inscriptions, Le club, Contact…) ---------- */
.rp-page-title { margin: 0 0 8px; }
.rp-page .rp-eyebrow { margin-bottom: 10px; }
.rp-lead {
	font-size: 1.2rem;
	color: var(--wp--preset--color--lavande);
	max-width: 60ch;
	margin: 0 0 8px;
}
.rp-page .rp-h2 { margin-top: 2.6rem; margin-bottom: 1rem; }
.rp-page .rp-steps { margin-top: 1.2rem; max-width: 760px; }

/* Tableau « Nos équipes » */
.rp-teams-table { width: 100%; overflow-x: auto; margin: 1.2rem 0 0; }
.rp-teams-table table { width: 100%; border-collapse: collapse; }
.rp-teams-table th,
.rp-teams-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.rp-teams-table thead th {
	background: var(--wp--preset--color--violet-fonce);
	color: #fff;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
}
.rp-teams-table tbody td { color: var(--wp--preset--color--lavande); }
.rp-teams-table tbody td:first-child {
	color: #fff;
	font-weight: 700;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.rp-teams-table a {
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	font-weight: 600;
	white-space: nowrap;
}
.rp-teams-table a:hover { color: #fff; }
.rp-page-cta { margin-top: 2rem; }

/* Valeurs (page Le club) */
.rp-values {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	max-width: 860px;
	margin-top: 1.2rem;
}
.rp-value {
	background: var(--wp--preset--color--violet-fonce);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px;
	padding: 22px 24px;
}
.rp-value__title {
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 6px;
}
.rp-value__text { color: var(--wp--preset--color--lavande); font-size: 0.95rem; margin: 0; }

/* Staff (page Le club) */
.rp-staff {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 1.2rem;
	max-width: 900px;
}
.rp-staff-card { text-align: center; }
.rp-staff-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	margin: 0 auto 12px;
	background: var(--wp--preset--color--violet);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	border: 2px solid rgba(255, 255, 255, 0.14);
}
.rp-staff-card__name {
	color: #fff;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 700;
	margin: 0;
}
.rp-staff-card__role { color: var(--wp--preset--color--lavande); font-size: 0.9rem; margin: 2px 0 0; }

@media (max-width: 700px) {
	.rp-values { grid-template-columns: 1fr; }
	.rp-staff { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Page Contact + formulaire ---------- */
.rp-h3 { color: #fff; margin: 0 0 14px; }
.rp-contact-cols { gap: 44px; margin-top: 1.4rem; }
.rp-form__row { margin: 0 0 16px; }
.rp-form label {
	display: block;
	color: var(--wp--preset--color--lavande);
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 6px;
}
.rp-form input[type="text"],
.rp-form input[type="email"],
.rp-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--wp--preset--color--violet-fonce);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
}
.rp-form input:focus,
.rp-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: 1px;
	border-color: transparent;
}
.rp-form textarea { resize: vertical; min-height: 120px; }
.rp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rp-form__submit { background: var(--wp--preset--color--orange); color: #fff; }
.rp-form__submit:hover,
.rp-form__submit:focus-visible { background: var(--wp--preset--color--orange-vif); transform: translateY(-2px); }
.rp-form__notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 18px;
	font-weight: 600;
}
.rp-form__notice--ok { background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.4); color: #c9f5d8; }
.rp-form__notice--error { background: rgba(224, 60, 60, 0.14); border: 1px solid rgba(224, 60, 60, 0.45); color: #f6cccc; }
@media (max-width: 781px) {
	.rp-contact-cols { gap: 24px; }
}

/* ---------- Pagination (Actualités / archives) ---------- */
.rp-pagination { margin-top: 3rem; gap: 8px; flex-wrap: wrap; }
.rp-pagination .page-numbers,
.rp-pagination .wp-block-query-pagination-previous,
.rp-pagination .wp-block-query-pagination-next {
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 8px;
	color: var(--wp--preset--color--lavande);
	border: 1px solid rgba(255, 255, 255, 0.18);
	text-decoration: none;
}
.rp-pagination a:hover { border-color: var(--wp--preset--color--orange); color: #fff; }
.rp-pagination .page-numbers.current {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border-color: var(--wp--preset--color--orange);
}

/* ---------- Partenaires : logos images + offres ---------- */
.rp-plogo img { max-width: 80%; max-height: 62%; object-fit: contain; }
.rp-offers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	max-width: 980px;
	margin-top: 1.2rem;
}
@media (max-width: 760px) { .rp-offers { grid-template-columns: 1fr; } }

/* ============================================================
   WOOCOMMERCE — boutique (templates blocs)
   ============================================================ */

/* -- En-tête de boutique : fil d'ariane, tri, compte -- */
.woocommerce-breadcrumb {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}
.woocommerce-breadcrumb a { color: var(--wp--preset--color--orange); text-decoration: none; }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }

.wp-block-woocommerce-product-results-count,
.woocommerce-result-count {
	color: var(--wp--preset--color--lavande);
	font-size: 0.9375rem;
	margin: 0;
}

/* Menu déroulant « Trier par » harmonisé au thème sombre */
.wp-block-woocommerce-catalog-sorting select,
.woocommerce-ordering select {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--wp--preset--color--violet-fonce);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	padding: 8px 34px 8px 14px;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.875rem;
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F07820' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.wp-block-woocommerce-catalog-sorting select:focus,
.woocommerce-ordering select:focus { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 1px; }

/* -- Grille de produits -- */
.wp-block-woocommerce-product-template {
	gap: 24px;
}
@media (min-width: 901px) {
	.wp-block-woocommerce-product-template.wc-block-product-template__responsive.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Chaque produit devient une carte */
.wp-block-woocommerce-product-template > li {
	list-style: none;
	background: var(--wp--preset--color--violet-fonce);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 14px;
	overflow: hidden;
	padding: 0 0 22px;
	display: flex;
	flex-direction: column;
	transition: border-color 220ms ease, transform 220ms ease;
}
.wp-block-woocommerce-product-template > li:hover {
	border-color: var(--wp--preset--color--orange);
	transform: translateY(-4px);
}

/* Visuel produit : tuile carrée claire, image couvrante */
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image {
	margin: 0 0 18px;
}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image a {
	display: block;
	aspect-ratio: 1;
	background: var(--wp--preset--color--clair);
	overflow: hidden;
}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Badge « Promo » discret */
.wp-block-woocommerce-product-template .wc-block-components-product-image .wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border: none;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
	padding: 4px 10px;
}

/* Titre produit */
.wp-block-woocommerce-product-template .wp-block-post-title {
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.1;
	margin: 0 16px 8px;
}
.wp-block-woocommerce-product-template .wp-block-post-title a { color: var(--wp--preset--color--orange); text-decoration: none; }
.wp-block-woocommerce-product-template .wp-block-post-title a:hover { color: var(--wp--preset--color--orange-vif); }

/* Prix */
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-price {
	margin: 0 16px 16px;
}
.wp-block-woocommerce-product-template .wc-block-components-product-price,
.wp-block-woocommerce-product-template .wc-block-components-product-price .amount {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.25rem;
	color: #fff;
}
.wp-block-woocommerce-product-template .wc-block-components-product-price del { color: var(--wp--preset--color--muted); opacity: 0.7; }
.wp-block-woocommerce-product-template .wc-block-components-product-price ins { text-decoration: none; color: var(--wp--preset--color--orange); }

/* Bouton « Ajouter au panier » */
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-button {
	margin: auto 16px 0;
}
.wp-block-woocommerce-product-template .wp-block-woocommerce-product-button .wp-block-button__link {
	display: block;
	width: 100%;
	text-align: center;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}
/* État « ajouté » (ajax) */
.wp-block-woocommerce-product-template .add_to_cart_button.added { opacity: 0.6; }
.wp-block-woocommerce-product-template .added_to_cart {
	display: block;
	text-align: center;
	margin: 10px 16px 0;
	color: var(--wp--preset--color--lavande);
	font-size: 0.875rem;
	text-decoration: underline;
}

/* -- Responsive -- */
@media (max-width: 900px) {
	.wp-block-woocommerce-product-template.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.wp-block-woocommerce-product-template.columns-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   WOOCOMMERCE — champs, fiche produit, panier, checkout
   (templates classiques PHP)
   ============================================================ */

/* -- Champs de formulaire génériques -- */
.woocommerce select,
.woocommerce input.qty,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce input[type="search"],
.woocommerce textarea {
	background-color: var(--wp--preset--color--violet-fonce);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	padding: 10px 12px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
}
.woocommerce select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 34px;
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F07820' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus { outline: 2px solid var(--wp--preset--color--orange); outline-offset: 1px; border-color: transparent; }
.woocommerce input::placeholder,
.woocommerce textarea::placeholder { color: var(--wp--preset--color--muted); }
.woocommerce label { color: var(--wp--preset--color--lavande); font-family: var(--wp--preset--font-family--label); }

/* -- Fiche produit -- */
.woocommerce div.product .product_title { color: #fff; }
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price ins,
.woocommerce-variation-price .price {
	color: #fff;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.5rem;
	font-weight: 400;
}
.woocommerce div.product p.price del { color: var(--wp--preset--color--muted); opacity: 0.7; font-size: 1.1rem; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce-product-details__short-description { color: var(--wp--preset--color--clair); }
.woocommerce div.product .woocommerce-product-gallery { border-radius: 14px; overflow: hidden; }

/* Table de variations */
.woocommerce table.variations { border: 0; margin-bottom: 1rem; }
.woocommerce table.variations th.label { color: #fff; font-family: var(--wp--preset--font-family--label); text-transform: uppercase; letter-spacing: 0.05em; vertical-align: middle; }
.woocommerce a.reset_variations { color: var(--wp--preset--color--orange); font-size: 0.85rem; }

/* Quantité + bouton */
.woocommerce .quantity input.qty { width: 64px; text-align: center; }
.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	padding: 14px 26px;
	border: 0;
	transition: background 200ms ease;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce .single_add_to_cart_button:hover { background: var(--wp--preset--color--orange-vif); }
.woocommerce .single_add_to_cart_button.disabled,
.woocommerce .single_add_to_cart_button:disabled { opacity: 0.45; cursor: not-allowed; }

/* Méta produit */
.woocommerce div.product .product_meta { color: var(--wp--preset--color--muted); font-size: 0.85rem; border-top: 1px solid var(--wp--preset--color--line); padding-top: 12px; margin-top: 20px; }
.woocommerce div.product .product_meta a { color: var(--wp--preset--color--orange); text-decoration: none; }

/* Onglets (description / avis) */
.woocommerce-tabs ul.tabs { border: 0; padding: 0; }
.woocommerce-tabs ul.tabs::before { border-color: var(--wp--preset--color--line); }
.woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px 8px 0 0;
}
.woocommerce-tabs ul.tabs li a { color: var(--wp--preset--color--lavande); font-family: var(--wp--preset--font-family--label); text-transform: uppercase; letter-spacing: 0.05em; }
.woocommerce-tabs ul.tabs li.active { background: var(--wp--preset--color--violet-fonce); border-bottom-color: var(--wp--preset--color--violet-fonce); }
.woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce-tabs .woocommerce-Tabs-panel h2 { color: #fff; }

/* Produits liés (ul.products classique) */
.woocommerce .related > h2,
.woocommerce .upsells > h2 { color: #fff; font-family: var(--wp--preset--font-family--display); }
.woocommerce ul.products li.product {
	background: var(--wp--preset--color--violet-fonce);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 14px;
	overflow: hidden;
	padding: 0 0 20px;
	text-align: center;
}
.woocommerce ul.products li.product a img { margin: 0 0 14px; background: var(--wp--preset--color--clair); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--wp--preset--color--orange); font-family: var(--wp--preset--font-family--label); text-transform: uppercase; font-size: 1rem; padding: 0 14px; }
.woocommerce ul.products li.product .price { color: #fff; font-family: var(--wp--preset--font-family--mono); }
.woocommerce ul.products li.product .button { margin: 12px 14px 0; background: var(--wp--preset--color--orange); color: #fff; border-radius: 8px; font-family: var(--wp--preset--font-family--label); text-transform: uppercase; }

/* -- Panier -- */
.woocommerce table.shop_table {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	border-collapse: separate;
}
.woocommerce table.shop_table th { color: #fff; font-family: var(--wp--preset--font-family--label); text-transform: uppercase; letter-spacing: 0.05em; }
.woocommerce table.shop_table td { border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--clair); }
.woocommerce table.shop_table td.product-name a { color: #fff; text-decoration: none; }
.woocommerce table.shop_table .amount { color: #fff; font-family: var(--wp--preset--font-family--mono); }
.woocommerce a.remove { color: var(--wp--preset--color--orange) !important; }
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-cart .cart-collaterals .cart_totals > h2 { color: #fff; font-family: var(--wp--preset--font-family--display); }
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border-radius: 10px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	padding: 16px;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: var(--wp--preset--color--orange-vif); }
.woocommerce .cart input.button,
.woocommerce .cart button.button {
	background: transparent;
	color: var(--wp--preset--color--lavande);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
}
.woocommerce .cart-empty,
.woocommerce-cart .cart-empty { color: var(--wp--preset--color--clair); }

/* -- Checkout -- */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading { color: #fff; font-family: var(--wp--preset--font-family--display); }
.woocommerce-checkout #payment {
	background: var(--wp--preset--color--violet-fonce);
	border-radius: 12px;
	border: 1px solid var(--wp--preset--color--line);
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: var(--wp--preset--color--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--wp--preset--color--violet-nuit); color: var(--wp--preset--color--clair); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--wp--preset--color--violet-nuit); }
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order {
	background: var(--wp--preset--color--orange);
	color: #fff;
	border-radius: 10px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	padding: 16px 28px;
	border: 0;
}
.woocommerce #payment #place_order:hover { background: var(--wp--preset--color--orange-vif); }

/* -- Notices -- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error li,
.woocommerce-noreviews,
.woocommerce-error {
	background: var(--wp--preset--color--violet-fonce);
	border-top: 3px solid var(--wp--preset--color--orange);
	color: #fff;
	border-radius: 0 0 8px 8px;
}
.woocommerce-message a,
.woocommerce-info a { color: var(--wp--preset--color--orange); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--wp--preset--color--orange); }

/* Notices « bloc » (WooCommerce Blocks) */
.wc-block-components-notice-banner {
	background: var(--wp--preset--color--violet-fonce) !important;
	color: #fff !important;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}
.wc-block-components-notice-banner.is-success { border-left: 4px solid var(--wp--preset--color--whatsapp); }
.wc-block-components-notice-banner.is-error { border-left: 4px solid var(--wp--preset--color--orange-vif); }
.wc-block-components-notice-banner.is-info { border-left: 4px solid var(--wp--preset--color--orange); }
.wc-block-components-notice-banner__content,
.wc-block-components-notice-banner__content a { color: #fff !important; }
.wc-block-components-notice-banner__content a { text-decoration: underline; text-decoration-color: var(--wp--preset--color--orange); }
.wc-block-components-notice-banner > svg { fill: var(--wp--preset--color--whatsapp); }
.wc-block-components-notice-banner.is-error > svg { fill: var(--wp--preset--color--orange-vif); }
.wc-block-components-notice-banner.is-info > svg { fill: var(--wp--preset--color--orange); }

/* ============================================================
   BANDEAU COOKIES (RGPD)
   ============================================================ */
.rp-cookie {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%) translateY(140%);
	z-index: 9999;
	width: min(760px, calc(100% - 32px));
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	background: var(--wp--preset--color--violet-fonce);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-left: 4px solid var(--wp--preset--color--orange);
	border-radius: 14px;
	padding: 18px 22px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: transform 300ms ease, opacity 300ms ease;
}
.rp-cookie.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.rp-cookie__text {
	flex: 1 1 320px;
	margin: 0;
	color: var(--wp--preset--color--clair);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.rp-cookie__link { color: var(--wp--preset--color--orange); text-decoration: underline; white-space: nowrap; }
.rp-cookie__accept {
	flex: 0 0 auto;
	background: var(--wp--preset--color--orange);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	font-family: var(--wp--preset--font-family--label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	cursor: pointer;
	transition: background 200ms ease;
}
.rp-cookie__accept:hover { background: var(--wp--preset--color--orange-vif); }
.rp-cookie__accept:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) {
	.rp-cookie { bottom: 0; border-radius: 14px 14px 0 0; width: 100%; }
	.rp-cookie__accept { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.rp-cookie { transition: opacity 200ms ease; transform: translateX(-50%); }
	.rp-cookie.is-visible { transform: translateX(-50%); }
}
