/**
 * CLECOD — Black Friday, seconde version de la page de l'offre (« vitrine »).
 *
 * S'ajoute à landing.css (jetons --cbf-*, socle des sections, héro, bandeau, parcours, FAQ) : seules les
 * sections propres à cette version sont décrites ici, sous le préfixe .cb2-.
 * Charte : Archivo, rouge CLECOD, noir #080808, graphite #171717, gris clair #f4f4f4, angles droits, sans ombre.
 *
 *  1. Jetons, socle, boutons          7. Produits
 *  3. Choix immédiat                  8. Guide
 *  4. Offres                          9. Confiance, appel final
 *  6. Étapes                         10. Navigation collante
 *                                    11. Écrans étroits, mouvement réduit
 */

/* 1. Jetons, socle, boutons
   ========================================================================== */

body.clecod-bf-page {
	--cb2-black: #080808;
	--cb2-graphite: #171717;
	--cb2-grey: #f4f4f4;
	--cb2-ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

body.clecod-bf-page .cb2-sec--black {
	background: var(--cb2-black);
}

body.clecod-bf-page .cb2-sec--graphite {
	background: var(--cb2-graphite);
}

body.clecod-bf-page .cb2-sec--white {
	background: #fff;
}

/* Les ancres s'arrêtent sous l'en-tête du site et la barre de campagne. */
body.clecod-bf2 .cbf-sec[id] {
	scroll-margin-top: 112px;
}

body.clecod-bf-page .cbf-sec .cb2-title--center,
body.clecod-bf-page .cbf-sec .cb2-title--center .elementor-heading-title {
	text-align: center;
}

body.clecod-bf-page .cbf-sec .elementor-widget.cb2-lead--center {
	margin-inline: auto;
	text-align: center;
}

body.clecod-bf-page .cbf-sec .cb2-title--xl .elementor-heading-title {
	font-size: clamp(38px, 6.4vw, 96px);
	letter-spacing: -0.035em;
}

/* Boutons de cette version : libellé court, flèche qui avance au survol. */
body.clecod-bf-page .cb2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	min-height: 52px;
	padding: 6px 26px;
	border: 1px solid var(--cbf-red);
	border-radius: 0;
	background: var(--cbf-red);
	color: #fff;
	font-family: var(--cbf-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.clecod-bf-page .cb2-btn .cb2-arrow {
	flex: none;
	transition: transform 0.25s var(--cb2-ease);
}

body.clecod-bf-page .cb2-btn:hover .cb2-arrow,
body.clecod-bf-page .cb2-btn:focus-visible .cb2-arrow {
	transform: translateX(5px);
}

body.clecod-bf-page .cb2-btn--red:hover,
body.clecod-bf-page .cb2-btn--red:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--cb2-black);
}

body.clecod-bf-page .cb2-btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
}

body.clecod-bf-page .cb2-btn--ghost:hover,
body.clecod-bf-page .cb2-btn--ghost:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--cb2-black);
}

body.clecod-bf-page .cb2-btn--dark {
	border-color: var(--cb2-black);
	background: var(--cb2-black);
}

body.clecod-bf-page .cb2-btn--dark:hover,
body.clecod-bf-page .cb2-btn--dark:focus-visible {
	border-color: var(--cbf-red);
	background: var(--cbf-red);
	color: #fff;
}

body.clecod-bf-page .cb2-btn:focus-visible,
body.clecod-bf-page .cb2-choice__card:focus-visible,
body.clecod-bf-page .cb2-filter:focus-visible,
body.clecod-bf-page .cb2-rayon__box:focus-visible,
body.clecod-bf-page .cb2-guide__topic:focus-visible,
body.clecod-bf-page .cb2-product__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.cb2-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cb2-actions--center {
	justify-content: center;
}

/* Apparition au défilement (posée par showcase.js ; sans script, tout est visible). */
html.cb2-motion [data-cb2-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.6s ease, transform 0.7s var(--cb2-ease);
	transition-delay: var(--cb2-delay, 0s);
}

html.cb2-motion [data-cb2-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* 3. Choix immédiat
   ========================================================================== */

.cb2-choice {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
	margin-top: var(--cbf-gap-y);
	font-family: var(--cbf-font);
}

body.clecod-bf-page .cb2-choice .cb2-choice__card {
	position: relative;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	min-height: clamp(260px, 25vw, 380px);
	padding: clamp(26px, 3.2vw, 54px);
	border: 1px solid var(--cb2-black);
	background: var(--cb2-black);
	color: #fff;
	text-decoration: none;
	transition: transform 0.35s var(--cb2-ease), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.6s ease;
}

body.clecod-bf-page .cb2-choice .cb2-choice__card--red {
	border-color: var(--cbf-red);
	background: var(--cbf-red);
}

.cb2-choice .cb2-choice__icon {
	display: block;
	width: 56px;
	height: 56px;
	color: #fff;
}

.cb2-choice .cb2-choice__title {
	margin: 18px 0 0;
	color: inherit;
	font-family: var(--cbf-font);
	font-size: clamp(30px, 3.5vw, 56px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.cb2-choice .cb2-choice__text {
	max-width: 440px;
	margin: 16px 0 28px;
	font-size: 17px;
	line-height: 1.55;
	opacity: 0.92;
}

.cb2-choice .cb2-choice__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: border-color 0.3s ease;
}

.cb2-choice .cb2-choice__cta .cb2-arrow {
	margin-left: auto;
	transition: transform 0.3s var(--cb2-ease);
}

@media (hover: hover) {
	body.clecod-bf-page .cb2-choice .cb2-choice__card:hover {
		transform: scale(1.012);
	}

	body.clecod-bf-page .cb2-choice .cb2-choice__card--red:hover {
		border-color: var(--cb2-black);
		background: var(--cb2-black);
	}

	body.clecod-bf-page .cb2-choice .cb2-choice__card--dark:hover {
		border-color: var(--cbf-red);
		background: #fff;
		color: var(--cb2-black);
	}

	.cb2-choice .cb2-choice__card--dark:hover .cb2-choice__cta {
		border-top-color: var(--cb2-black);
	}

	.cb2-choice .cb2-choice__card:hover .cb2-arrow {
		transform: translateX(8px);
	}
}

/* 4. Offres
   ========================================================================== */

:root .cb2-offers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.4vw, 20px);
	margin: var(--cbf-gap-y) 0 0;
	padding: 0;
	font-family: var(--cbf-font);
	list-style: none;
}

.cb2-offers .cb2-offer {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: clamp(22px, 2.4vw, 36px);
	border: 1px solid var(--cbf-line);
	background: #fff;
	color: var(--cbf-ink);
}

.cb2-offers .cb2-offer.is-featured {
	border-color: var(--cb2-black);
	background: var(--cb2-black);
	color: #fff;
}

.cb2-offers .cb2-offer__flag {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 8px 12px 7px;
	background: var(--cbf-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cb2-offers .cb2-offer__media {
	aspect-ratio: 800 / 477;
	margin: 4px -4% 0;
}

.cb2-offers .cb2-offer__img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: contain;
}

.cb2-offers .cb2-offer__elig {
	margin: 22px 0 0;
	color: var(--cbf-red);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cb2-offers .cb2-offer.is-featured .cb2-offer__elig {
	color: var(--cbf-red-bright);
}

.cb2-offers .cb2-offer__name {
	margin: 8px 0 0;
	color: inherit;
	font-family: var(--cbf-font);
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

.cb2-offers .cb2-offer__benefit {
	margin: 12px 0 0;
	color: var(--cbf-text);
	font-size: 15px;
	line-height: 1.55;
}

.cb2-offers .cb2-offer__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 20px 0 0;
	line-height: 1;
}

.cb2-offers .cb2-offer__price {
	font-size: clamp(38px, 3.6vw, 54px);
	font-weight: 700;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.cb2-offers .cb2-offer__was {
	color: #6c7075;
	font-size: 18px;
	text-decoration: line-through;
	white-space: nowrap;
}

.cb2-offers .cb2-offer__off {
	padding: 5px 8px 4px;
	background: var(--cbf-red);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.cb2-offers .cb2-offer__cond {
	margin: 16px 0 24px;
	color: var(--cbf-text);
	font-size: 13.5px;
	line-height: 1.55;
}

.cb2-offers .cb2-offer.is-featured .cb2-offer__benefit,
.cb2-offers .cb2-offer.is-featured .cb2-offer__cond {
	color: var(--cbf-text-dark);
}

.cb2-offers .cb2-offer.is-featured .cb2-offer__was {
	color: var(--cbf-muted-dark);
}

.cb2-offers .cb2-offer__cta {
	margin-top: auto;
}

.cb2-offers .cb2-offer__cta .qodef-button.cbf-cta {
	width: 100%;
}

/* Nature des cartes et conditions, sous les trois offres. */
.cb2-offers__note {
	max-width: 860px;
	margin: clamp(22px, 2.6vw, 34px) 0 0;
	color: var(--cbf-text);
	font-family: var(--cbf-font);
	font-size: 14px;
	line-height: 1.6;
}

body.clecod-bf-page .cb2-sec--offers .cb2-offers-terms {
	margin-top: 12px;
}

/* 6. Étapes
   ========================================================================== */

body.clecod-bf-page .cbf-steps.cb2-steps {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.clecod-bf-page .cb2-steps .cbf-step {
	min-height: 240px;
}

body.clecod-bf-page .cb2-steps .cbf-step .cbf-step__num .elementor-heading-title {
	font-size: clamp(46px, 5.2vw, 76px);
	font-weight: 600;
	line-height: 0.9;
	letter-spacing: -0.04em;
}

body.clecod-bf-page .cb2-steps .cbf-step .cbf-step__title {
	margin-top: 22px;
}

/* 7. Produits
   ========================================================================== */

.cb2-shop {
	margin-top: var(--cbf-gap-y);
	font-family: var(--cbf-font);
}

:root .cb2-shop .cb2-rayons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-line);
	list-style: none;
}

.cb2-shop .cb2-rayon {
	margin: 0;
	background: #fff;
}

.cb2-shop .cb2-rayon__box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: clamp(18px, 2vw, 28px);
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--cbf-ink);
	font-family: var(--cbf-font);
	text-align: left;
}

.cb2-shop button.cb2-rayon__box,
body.clecod-bf-page .cb2-shop a.cb2-rayon__box {
	cursor: pointer;
	color: var(--cbf-ink);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cb2-shop button.cb2-rayon__box:hover,
body.clecod-bf-page .cb2-shop a.cb2-rayon__box:hover {
	background: var(--cb2-black);
	color: #fff;
}

/* « Voir le rayon → » : poussé en bas de la tuile. */
.cb2-shop .cb2-rayon__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cb2-shop .cb2-rayon__go .cb2-arrow {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.cb2-shop a.cb2-rayon__box:hover .cb2-rayon__go .cb2-arrow {
	transform: translateX(4px);
}

/* Avant la vente : date d'application sous le prix à venir. */
.cb2-shop .cb2-product__when {
	display: block;
	margin-top: 4px;
	color: var(--cbf-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cb2-shop .cb2-rayon__off {
	color: var(--cbf-red);
	font-size: clamp(34px, 3.4vw, 54px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.cb2-shop .cb2-rayon__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.cb2-shop .cb2-shop__period {
	margin: 14px 0 0;
	color: var(--cbf-text);
	font-size: 14px;
	line-height: 1.5;
}

.cb2-shop .cb2-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: clamp(26px, 3vw, 40px);
}

.cb2-shop .cb2-filter {
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--cbf-line);
	border-radius: 0;
	background: #fff;
	color: var(--cbf-ink);
	font-family: var(--cbf-font);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cb2-shop .cb2-filter:hover {
	border-color: var(--cb2-black);
}

.cb2-shop .cb2-filter.is-active {
	border-color: var(--cb2-black);
	background: var(--cb2-black);
	color: #fff;
}

:root .cb2-shop .cb2-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(10px, 1.4vw, 20px);
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.cb2-shop .cb2-product {
	min-width: 0;
	margin: 0;
}

.cb2-shop .cb2-product[hidden] {
	display: none;
}

body.clecod-bf-page .cb2-shop .cb2-product__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--cbf-line);
	background: #fff;
	color: var(--cbf-ink);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

body.clecod-bf-page .cb2-shop .cb2-product__link:hover {
	border-color: var(--cb2-black);
}

/* Le fond gris tient la place de l'image pendant son chargement : aucun saut de mise en page. */
.cb2-shop .cb2-product__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--cb2-grey);
}

.cb2-shop .cb2-product__img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--cb2-ease);
}

.cb2-shop .cb2-product__link:hover .cb2-product__img {
	transform: scale(1.04);
}

.cb2-shop .cb2-product__badge {
	position: absolute;
	top: 0;
	left: 0;
	padding: 7px 10px 6px;
	background: var(--cbf-red);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.cb2-shop .cb2-product__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.cb2-shop .cb2-product__name {
	min-height: calc(3 * 1.3em); /* trois lignes réservées : les tarifs démarrent à la même hauteur. */
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: break-word;
}

.cb2-shop .cb2-product__prices {
	/* Collé en bas du corps de la carte : le tarif et la mention « Prix Black Friday » sont à la même hauteur
	   d'une carte à l'autre, quel que soit le nombre de lignes du nom du produit. */
	margin-top: auto;
	color: var(--cbf-text);
	font-size: 14px;
	line-height: 1.2;
}

.cb2-shop .cb2-product__line {
	display: block;
}

.cb2-shop .cb2-product__prices--locked {
	font-size: 13px;
}

.cb2-shop .cb2-product__price {
	color: var(--cbf-ink);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.cb2-shop .cb2-product__was {
	margin-left: 4px;
	color: #6c7075;
	text-decoration: line-through;
	white-space: nowrap;
}

.cb2-shop .cb2-product__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--cbf-line);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cb2-shop .cb2-product__stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--cbf-text);
}

.cb2-shop .cb2-product__stock::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #2a8a46;
}

.cb2-shop .cb2-product__stock--order::before {
	background: #c98a00;
}

.cb2-shop .cb2-product__stock--out::before {
	background: #8a8a8a;
}

.cb2-shop .cb2-product__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.cb2-shop .cb2-product__cta .cb2-arrow {
	width: 16px;
	height: 16px;
	transition: transform 0.25s var(--cb2-ease);
}

.cb2-shop .cb2-product__link:hover .cb2-product__cta {
	color: var(--cbf-red);
}

.cb2-shop .cb2-product__link:hover .cb2-arrow {
	transform: translateX(4px);
}

.cb2-shop .cb2-shop__empty,
.cb2-shop .cb2-shop__none {
	margin: 28px 0 0;
	color: var(--cbf-text);
	font-size: 16px;
}

.cb2-shop .cb2-shop__more {
	margin: clamp(28px, 3vw, 44px) 0 0;
	text-align: center;
}

/* 8. Guide
   ========================================================================== */

body.clecod-bf-page .cb2-guide__inner {
	flex-direction: row;
	gap: clamp(28px, 5vw, 88px);
}

body.clecod-bf-page .cb2-guide__copy {
	flex: 0 0 38%;
	width: 38%;
}

body.clecod-bf-page .cb2-guide__inner > .cb2-guide-widget {
	flex: 1 1 0;
	width: auto;
}

body.clecod-bf-page .cb2-sec--guide .cbf-title .elementor-heading-title {
	font-size: clamp(28px, 3.2vw, 46px);
}

.cb2-guide {
	font-family: var(--cbf-font);
}

:root .cb2-guide .cb2-guide__topics {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--cbf-line-dark);
	list-style: none;
}

.cb2-guide .cb2-guide__topics li {
	margin: 0;
	border-bottom: 1px solid var(--cbf-line-dark);
}

.cb2-guide .cb2-guide__topic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 14px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: #fff;
	font-family: var(--cbf-font);
	font-size: clamp(16px, 1.4vw, 19px);
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease, padding 0.3s var(--cb2-ease);
}

.cb2-guide .cb2-guide__topic .cb2-arrow {
	flex: none;
	transition: transform 0.3s var(--cb2-ease);
}

.cb2-guide .cb2-guide__topic:hover,
.cb2-guide .cb2-guide__topic[aria-expanded="true"] {
	padding-left: 12px;
	color: var(--cbf-red-bright);
}

.cb2-guide .cb2-guide__topic[aria-expanded="true"] .cb2-arrow {
	transform: rotate(90deg);
}

.cb2-guide .cb2-guide__answer {
	margin: 0 0 22px;
	padding: 4px 0 4px 20px;
	border-left: 2px solid var(--cbf-red);
	animation: cb2-panel 0.4s var(--cb2-ease) both;
}

@keyframes cb2-panel {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

.cb2-guide .cb2-guide__answer p {
	margin: 0;
	color: var(--cbf-text-dark);
	font-size: 16px;
	line-height: 1.6;
}

.cb2-guide .cb2-guide__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px !important;
}

/* 9. Confiance, appel final
   ========================================================================== */

:root .cb2-trust {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(18px, 2.2vw, 36px);
	margin: var(--cbf-gap-y) 0 0;
	padding: 0;
	font-family: var(--cbf-font);
	list-style: none;
}

.cb2-trust .cb2-trust__item {
	margin: 0;
	padding-top: 18px;
	border-top: 2px solid var(--cb2-black);
}

.cb2-trust .cb2-trust__num {
	color: var(--cbf-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.cb2-trust .cb2-trust__title {
	margin: 12px 0 0;
	color: var(--cbf-ink);
	font-family: var(--cbf-font);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.cb2-trust .cb2-trust__text {
	margin: 10px 0 0;
	color: var(--cbf-text);
	font-size: 15px;
	line-height: 1.6;
}

body.clecod-bf-page .cb2-sec--trust .cb2-reviews-widget {
	margin-top: clamp(32px, 4vw, 56px);
}

body.clecod-bf-page .cb2-sec--final .cbf-inner {
	align-items: center;
}

body.clecod-bf-page .cb2-sec--final .cbf-inner::before {
	content: "";
	display: block;
	position: static;
	flex: none;
	align-self: center;
	width: 64px;
	height: 4px;
	margin: 0 auto 26px;
	border: 0;
	background: var(--cbf-red);
}

body.clecod-bf-page .cb2-sec--final .cb2-final-actions {
	margin-top: 32px;
}

/* Section finale : le décompte est la pièce maîtresse. Un halo rouge très doux le détache du noir, les dés
   (scène Spline, fond effacé par « lighten ») flottent dessus sans cadre. */
body.clecod-bf-page .cb2-sec--final {
	position: relative;
	overflow: hidden;
	background: #050505 radial-gradient(ellipse 60% 46% at 50% 78%, rgba(226, 1, 0, 0.26) 0%, rgba(226, 1, 0, 0.08) 48%, transparent 74%);
}

body.clecod-bf-page .cb2-sec--final .elementor-widget.cbf-final-dice {
	width: auto;
	max-width: 100%;
	margin-top: clamp(40px, 5vw, 72px);
}

body.clecod-bf-page .cb2-sec--final .cbf-final-dice .cbf-dice {
	min-width: min(100%, calc(var(--cbf-die) * 6.4));
}

/* Le champ « année » du héro, cible du bouton « Trouver ma carte » de la barre : il se pose sous l'en-tête collant. */
body.clecod-bf-page #cbf-pick-year {
	scroll-margin-top: 200px;
}

/* 10. Navigation collante
   Ordinateur : barre de campagne sous l'en-tête du site (--cb2-top écrit par showcase.js).
   Téléphone et tablette : deux actions au-dessus de la barre d'application (--cb2-bottom).
   ========================================================================== */

.cb2-nav,
.cb2-bar {
	position: fixed;
	right: 0;
	left: 0;
	z-index: 90;
	box-sizing: border-box;
	background: rgba(8, 8, 8, 0.97);
	color: #fff;
	font-family: var(--cbf-font);
	visibility: hidden;
	transition: transform 0.35s var(--cb2-ease), visibility 0s linear 0.35s;
}

.cb2-nav.is-on,
.cb2-bar.is-on {
	visibility: visible;
	transform: none;
	transition: transform 0.35s var(--cb2-ease), visibility 0s;
}

.cb2-nav {
	top: var(--cb2-top, 0px);
	display: flex;
	align-items: center;
	gap: 28px;
	height: 52px;
	padding: 0 var(--cbf-pad-x, 40px);
	border-bottom: 1px solid #2b2b2b;
	transform: translateY(-120%);
}

.cb2-nav[hidden],
.cb2-bar[hidden] {
	display: none;
}

body.clecod-bf-page .cb2-nav .cb2-nav__logo {
	display: inline-flex;
	align-items: center;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none;
}

.cb2-nav .cb2-nav__logo-img {
	display: block;
	width: auto;
	max-width: none;
	height: 20px;
}

:root .cb2-nav .cb2-nav__links {
	display: flex;
	gap: 26px;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.cb2-nav .cb2-nav__links li {
	margin: 0;
}

body.clecod-bf-page .cb2-nav .cb2-nav__links a {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

body.clecod-bf-page .cb2-nav .cb2-nav__links a:hover,
body.clecod-bf-page .cb2-nav .cb2-nav__links a:focus-visible {
	color: var(--cbf-red-bright);
}

body.clecod-bf-page .cb2-nav .cb2-btn {
	min-height: 36px;
	padding: 4px 16px;
	font-size: 12px;
}

.cb2-bar {
	bottom: var(--cb2-bottom, 0px);
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid #2b2b2b;
	transform: translateY(130%);
}

body.clecod-bf-page .cb2-bar .cb2-btn {
	min-height: 46px;
	padding: 4px 10px;
	border-width: 0;
	font-size: 12.5px;
}

body.clecod-bf-page .cb2-bar .cb2-btn .cb2-arrow {
	display: none;
}

/* 11. Écrans étroits, mouvement réduit
   ========================================================================== */

@media (max-width: 1200px) {
	:root .cb2-shop .cb2-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	:root .cb2-trust {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.cb2-nav {
		display: none;
	}

	.cb2-bar {
		display: grid;
	}

	/* La bulle WhatsApp et le bouton « haut de page » montent au-dessus des deux actions quand elles sont affichées. */
	body.clecod-bf2.cb2-bar-on .joinchat,
	body.clecod-bf2.cb2-bar-on #qodef-back-to-top {
		translate: 0 -50px;
	}

	body.clecod-bf2 .cbf-sec[id] {
		scroll-margin-top: 76px;
	}

	body.clecod-bf-page .cb2-guide__inner {
		flex-direction: column;
	}

	body.clecod-bf-page .cb2-guide__copy,
	body.clecod-bf-page .cb2-guide__inner > .cb2-guide-widget {
		flex: none;
		width: 100%;
	}

	:root .cb2-shop .cb2-rayons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	:root .cb2-offers {
		grid-template-columns: minmax(0, 1fr);
		max-width: 520px;
		margin-inline: auto;
	}

	body.clecod-bf-page .cbf-steps.cb2-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	body.clecod-bf-page .cb2-steps .cbf-step {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.cb2-actions--center .cb2-btn {
		flex: 1 1 100%;
	}

	.cb2-choice {
		grid-template-columns: minmax(0, 1fr);
	}

	body.clecod-bf-page .cb2-choice .cb2-choice__card {
		min-height: 0;
	}

	:root .cb2-shop .cb2-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cb2-shop .cb2-product__body {
		padding: 12px;
	}

	.cb2-shop .cb2-product__name {
		min-height: calc(4 * 1.3em);
		font-size: 14px;
	}

	/* Deux colonnes : « À partir de » peut passer à la ligne ; deux lignes réservées pour aligner la mention. */
	.cb2-shop .cb2-product__line {
		min-height: 52px;
	}

	.cb2-shop .cb2-product__price {
		font-size: 18px;
	}

	:root .cb2-trust {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 360px) {
	:root .cb2-shop .cb2-rayons {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.clecod-bf-page .cb2-btn,
	body.clecod-bf-page .cb2-btn .cb2-arrow,
	body.clecod-bf-page .cb2-choice .cb2-choice__card,
	.cb2-choice .cb2-arrow,
	.cb2-shop .cb2-product__img,
	.cb2-guide .cb2-guide__topic,
	.cb2-nav,
	.cb2-bar {
		transition: none;
	}

	.cb2-guide .cb2-guide__answer {
		animation: none;
	}
}
