/* ==========================================================================
   Kits Marketing — système graphique « Élan »
   1. Jetons   2. Base   3. Composants   4. En-tête / pied   5. Sections
   Toutes les classes sont préfixées km- ; les blocs portent .km-scope.
   ========================================================================== */

/* 1. Jetons --------------------------------------------------------------- */
:root {
	--km-blue: #2457d6;
	--km-blue-dark: #1b45b0;
	--km-blue-tint: #edf2fd;
	--km-orange: #ffb176;
	--km-orange-tint: #fff0e3;
	--km-navy: #142b49;
	--km-cream: #fff9f1;
	--km-white: #fff;
	--km-muted: #4a5d78;            /* texte secondaire : 6,6:1 sur blanc */
	--km-line: rgba(20, 43, 73, .12);
	--km-success: #1d7a4f;
	--km-error: #b3261e;

	--km-font-title: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--km-font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--km-radius-sm: 10px;
	--km-radius: 16px;
	--km-radius-lg: 24px;
	--km-shadow-sm: 0 1px 2px rgba(20, 43, 73, .06), 0 2px 8px rgba(20, 43, 73, .05);
	--km-shadow: 0 2px 4px rgba(20, 43, 73, .05), 0 12px 28px rgba(20, 43, 73, .09);
	--km-container: 1180px;
	--km-gutter: clamp(16px, 4vw, 32px);
	--km-header-h: 72px;
}

/* 2. Base ----------------------------------------------------------------- */
.km-scope,
.km-scope *,
.km-scope *::before,
.km-scope *::after { box-sizing: border-box; }

.km-scope {
	font-family: var(--km-font-text);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	color: var(--km-navy);
	-webkit-font-smoothing: antialiased;
}

.km-scope h1, .km-scope h2, .km-scope h3 {
	font-family: var(--km-font-title);
	color: var(--km-navy);
	margin: 0;
	padding: 0;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.km-scope h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); font-weight: 800; line-height: 1.08; }
.km-scope h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.18; }
.km-scope h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.km-scope p { margin: 0; padding: 0; }
.km-scope a { color: var(--km-blue); text-decoration: none; }
.km-scope a:hover { color: var(--km-blue-dark); }
.km-scope img { max-width: 100%; height: auto; }

/* Divi stylise les listes par identifiant (#left-area ul) : on répond au même niveau. */
#page-container .km-scope ul,
#page-container .km-scope ol,
.km-scope ul,
.km-scope ol { list-style: none; margin: 0; padding: 0; line-height: inherit; }

.km-scope :focus-visible,
.km-skip:focus-visible {
	outline: 3px solid var(--km-blue);
	outline-offset: 3px;
	border-radius: 6px;
}
.km-section--navy :focus-visible, .km-footer :focus-visible { outline-color: var(--km-orange); }

.km-sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.km-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--km-navy); color: #fff; padding: 10px 16px; border-radius: 10px;
	font-family: var(--km-font-text); font-weight: 500;
}
.km-skip:focus { top: 12px; color: #fff; }

.km-container { width: 100%; max-width: var(--km-container); margin-inline: auto; padding-inline: var(--km-gutter); }
.km-narrow { max-width: 780px; margin-inline: auto; }
.km-muted { color: var(--km-muted); }
.km-icon { flex: none; vertical-align: middle; }

/* 3. Composants ----------------------------------------------------------- */

/* Boutons */
.km-scope .km-btn, .km-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 20px;
	font-family: var(--km-font-text); font-size: 1rem; font-weight: 700; line-height: 1.2;
	border: 2px solid transparent; border-radius: 999px; cursor: pointer;
	text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.km-scope .km-btn--primary { background: var(--km-blue); color: #fff; }
.km-scope .km-btn--primary:hover { background: var(--km-blue-dark); color: #fff; }
.km-scope .km-btn--secondary { background: #fff; color: var(--km-blue); border-color: rgba(36, 87, 214, .35); }
.km-scope .km-btn--secondary:hover { border-color: var(--km-blue); color: var(--km-blue-dark); }
.km-scope .km-btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.06rem; }
.km-scope .km-btn--block { width: 100%; }
.km-scope .km-btn:active { transform: translateY(1px); }

.km-scope .km-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.km-scope .km-link:hover .km-icon { transform: translateX(3px); }
.km-scope .km-link .km-icon { transition: transform .15s; }

.km-scope .km-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent;
	color: var(--km-navy); cursor: pointer; padding: 0;
}
.km-scope .km-icon-btn:hover { background: var(--km-blue-tint); color: var(--km-blue); }

/* Étiquettes */
.km-tag {
	display: inline-flex; align-items: center; padding: 3px 10px; margin: 0 6px 0 0;
	font-size: .8rem; font-weight: 500; line-height: 1.5; border-radius: 999px;
	background: var(--km-blue-tint); color: var(--km-blue-dark);
}
.km-tag--type { background: var(--km-orange-tint); color: var(--km-navy); }
.km-tag--demo { background: var(--km-navy); color: #fff; }
.km-eyebrow {
	font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--km-blue); margin-bottom: 10px !important;
}
.km-price, .km-price .amount { font-family: var(--km-font-title); font-weight: 800; font-size: 1.2rem; color: var(--km-navy); white-space: nowrap; }

/* Cartes */
.km-card {
	position: relative; background: #fff; border: 1px solid var(--km-line);
	border-radius: var(--km-radius); box-shadow: var(--km-shadow-sm);
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.km-card:hover, .km-card:has(.km-stretched:hover) { box-shadow: var(--km-shadow); transform: translateY(-3px); border-color: rgba(36, 87, 214, .3); }
.km-stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.km-card:has(.km-stretched:focus-visible) { outline: 3px solid var(--km-blue); outline-offset: 3px; }
.km-scope .km-stretched:focus-visible { outline: none; }

/* Grilles */
.km-grid { display: grid; gap: 20px; }
.km-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.km-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .km-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .km-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .km-grid--4, .km-grid--3 { grid-template-columns: 1fr; } }

/* Aperçu produit composé (feuilles superposées) */
.km-cover {
	position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
	border-radius: calc(var(--km-radius) - 1px) calc(var(--km-radius) - 1px) 0 0;
	background: var(--km-blue-tint);
}
.km-cover--orange { background: var(--km-orange-tint); }
.km-cover--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.km-cover__sheet {
	position: absolute; left: 50%; top: 54%; width: 46%; aspect-ratio: 3 / 4;
	background: #fff; border-radius: 10px; border: 1px solid var(--km-line);
	box-shadow: 0 6px 16px rgba(20, 43, 73, .1);
	transform: translate(-50%, -50%);
}
.km-cover__sheet--back2 { transform: translate(-82%, -50%) rotate(-10deg); background: var(--km-orange); border-color: transparent; }
.km-cover--orange .km-cover__sheet--back2 { background: var(--km-blue); }
.km-cover__sheet--back1 { transform: translate(-22%, -52%) rotate(8deg); }
.km-cover__sheet--front { display: flex; flex-direction: column; gap: 9%; padding: 12%; transform: translate(-50%, -50%) rotate(-2deg); }
.km-cover__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
	border-radius: 10px; background: var(--km-blue); color: #fff;
}
.km-cover--orange .km-cover__icon { background: var(--km-orange); color: var(--km-navy); }
.km-cover__lines, .km-cover__tiles { display: grid; gap: 7px; }
.km-cover__lines i { display: block; height: 7px; border-radius: 4px; background: rgba(20, 43, 73, .13); }
.km-cover__lines i:nth-child(2) { width: 78%; }
.km-cover__lines i:nth-child(3) { width: 52%; background: var(--km-orange); }
.km-cover--orange .km-cover__lines i:nth-child(3) { background: var(--km-blue); opacity: .7; }
.km-cover__tiles { grid-template-columns: 1fr 1fr; }
.km-cover__tiles i { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--km-blue-tint); }
.km-cover__tiles i:nth-child(2), .km-cover__tiles i:nth-child(3) { background: var(--km-orange); }
.km-cover__label {
	position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px;
	background: #fff; color: var(--km-navy); font-size: .76rem; font-weight: 700; line-height: 1.4;
	box-shadow: var(--km-shadow-sm);
}
.km-cover--thumb { width: 72px; flex: none; aspect-ratio: 1; border-radius: 12px; }
.km-cover--thumb .km-cover__sheet { width: 54%; border-radius: 6px; }
.km-cover--thumb .km-cover__sheet--front { padding: 10%; gap: 6%; }
.km-cover--thumb .km-cover__icon { width: 22px; height: 22px; border-radius: 6px; }
.km-cover--thumb .km-cover__lines, .km-cover--thumb .km-cover__tiles { display: none; }
.km-cover--large { border-radius: var(--km-radius-lg); aspect-ratio: 1; }
.km-cover--large .km-cover__icon { width: 56px; height: 56px; border-radius: 14px; }
.km-cover--large .km-cover__lines i { height: 11px; }

/* Carte produit */
.km-product-card { display: flex; flex-direction: column; height: 100%; }
.km-product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; flex: 1; }
.km-product-card__category { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--km-muted); }
.km-scope .km-product-card__title, .km-product-card__title { font-family: var(--km-font-title); font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 0; padding: 0; }
.km-scope .km-product-card__title a, .km-product-card__title a { color: var(--km-navy); }
.km-product-card__subtitle { font-size: .92rem; font-weight: 500; color: var(--km-blue-dark); }
.km-product-card__tagline { font-size: .95rem; color: var(--km-muted); line-height: 1.5; }
.km-product-card__formats { margin-top: 4px !important; }
.km-product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.km-product-card__more { display: inline-flex; align-items: center; gap: 5px; font-size: .92rem; font-weight: 700; color: var(--km-blue); }

/* Listes */
.km-checks { display: grid; gap: 10px; }
.km-checks li { display: flex; gap: 10px; align-items: flex-start; }
.km-checks .km-icon { margin-top: 4px; color: var(--km-blue); }
.km-numbered { counter-reset: km; display: grid; gap: 12px; }
.km-numbered li { counter-increment: km; display: flex; gap: 12px; }
.km-numbered li::before {
	content: counter(km); flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: var(--km-blue-tint); color: var(--km-blue-dark); font-weight: 700; font-size: .9rem;
	display: inline-flex; align-items: center; justify-content: center;
}
.km-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.km-scope .km-chip { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--km-line); background: #fff; color: var(--km-navy); font-weight: 500; }
.km-scope .km-chip:hover { border-color: var(--km-blue); color: var(--km-blue); }

/* Messages */
.km-notice, .km-pending {
	display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 16px 0;
	border-radius: var(--km-radius-sm); font-family: var(--km-font-text); font-size: .95rem; line-height: 1.5; color: var(--km-navy);
}
.km-notice > .km-icon, .km-pending > .km-icon { margin-top: 2px; }
.km-notice p, .km-pending p { margin: 0; padding: 0; }
.km-notice { background: var(--km-blue-tint); border: 1px solid rgba(36, 87, 214, .2); }
.km-notice--success { background: #e9f6ef; border-color: rgba(29, 122, 79, .3); }
.km-notice--success > .km-icon { color: var(--km-success); }
.km-notice--error { background: #fdecea; border-color: rgba(179, 38, 30, .3); }
.km-notice--demo { background: var(--km-orange-tint); border-color: rgba(255, 177, 118, .9); }
.km-notice__title, .km-pending__title { font-weight: 700; }
.km-pending { background: #fff; border: 1.5px dashed rgba(20, 43, 73, .35); }
.km-pending__text { color: var(--km-muted); }
.km-pending__meta { font-size: .8rem; color: var(--km-muted); font-style: italic; }

/* Mascotte */
.km-mascot { display: block; }
.km-mascot--slot {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	border: 1.5px dashed rgba(20, 43, 73, .35); border-radius: var(--km-radius); background: rgba(255, 255, 255, .7);
	color: var(--km-navy); text-align: center; line-height: 1.2;
}
.km-mascot__name { font-family: var(--km-font-title); font-weight: 800; }
.km-mascot__hint { font-size: .68rem; color: var(--km-muted); padding: 0 6px; }

/* État vide */
.km-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 48px 20px; }
.km-scope .km-empty__title, .km-empty__title { font-family: var(--km-font-title); font-size: 1.4rem; font-weight: 800; color: var(--km-navy); padding: 0; }
.km-empty__text { color: var(--km-muted); max-width: 46ch; }

/* Formulaires */
.km-field label, .km-filters legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--km-navy); padding: 0; }
.km-search { position: relative; }
.km-search .km-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--km-muted); pointer-events: none; }
.km-scope .km-search input[type="search"] {
	width: 100%; min-height: 46px; padding: 10px 14px 10px 42px; margin: 0;
	font: inherit; color: var(--km-navy); background: #fff;
	border: 1.5px solid rgba(20, 43, 73, .25); border-radius: 12px; appearance: none;
}
.km-scope .km-search input[type="search"]:focus { border-color: var(--km-blue); outline: 3px solid rgba(36, 87, 214, .25); outline-offset: 0; }
.km-check { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font-size: .97rem; }
.km-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--km-blue); flex: none; }

/* FAQ */
.km-faq { display: grid; gap: 10px; }
.km-faq__item { background: #fff; border: 1px solid var(--km-line); border-radius: var(--km-radius-sm); }
.km-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 18px; cursor: pointer; font-weight: 700; list-style: none;
}
.km-faq__item summary::-webkit-details-marker { display: none; }
.km-faq__item summary .km-icon { color: var(--km-blue); transition: transform .2s; }
.km-faq__item[open] summary .km-icon { transform: rotate(180deg); }
.km-scope .km-faq__item p, .km-faq__item p { padding: 0 18px 18px; color: var(--km-muted); margin: 0; }

/* 4. En-tête et pied de page --------------------------------------------- */
.km-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--km-line); }
.admin-bar .km-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .km-header { top: 0; } }
.km-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--km-header-h); }
.km-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.km-logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.km-logo__img { display: block; height: 40px !important; width: auto !important; max-width: none; transform: scale(var(--km-logo-scale, 1)); transform-origin: left center; }
.km-logo__img--mobile { display: none; }
.km-scope .km-logo__slot {
	padding: 6px 14px; border: 1.5px dashed rgba(20, 43, 73, .35); border-radius: 10px;
	font-family: var(--km-font-text); font-weight: 700; color: var(--km-navy); white-space: nowrap;
}

.km-nav { margin-left: 8px; }
.km-nav__list { display: flex; align-items: center; gap: 4px; }
.km-nav__list > li { position: relative; }
.km-scope .km-nav__list a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--km-navy); font-weight: 500; }
.km-scope .km-nav__list a:hover, .km-scope .km-nav__list .current-menu-item > a { color: var(--km-blue); background: var(--km-blue-tint); }
.km-nav__list .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
#page-container .km-nav__list .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 280px; padding: 8px;
	background: #fff; border: 1px solid var(--km-line); border-radius: var(--km-radius); box-shadow: var(--km-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
#page-container .km-nav__list li:hover > .sub-menu,
#page-container .km-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.km-scope .km-nav__list .sub-menu a { display: flex; border-radius: 10px; padding: 9px 12px; }

.km-cart-count {
	position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--km-blue); color: #fff;
	font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
}
.km-cart-count--empty { display: none; }

.km-scope .km-header__menu-btn { display: none; }
.km-header__menu-close { display: none; }
.km-header__menu-btn[aria-expanded="true"] .km-header__menu-open { display: none; }
.km-header__menu-btn[aria-expanded="true"] .km-header__menu-close { display: inline-flex; }
.km-mobile-nav { border-top: 1px solid var(--km-line); background: #fff; padding: 12px 0 24px; max-height: calc(100vh - var(--km-header-h)); overflow-y: auto; }
.km-mobile-nav[hidden] { display: none; }
.km-scope .km-mobile-nav__list a { display: flex; align-items: center; min-height: 48px; padding: 8px 4px; color: var(--km-navy); font-weight: 700; border-bottom: 1px solid var(--km-line); }
.km-scope .km-mobile-nav__list .sub-menu a { font-weight: 400; padding-left: 20px; }
.km-mobile-nav .km-btn { margin-top: 18px; }

@media (max-width: 980px) {
	:root { --km-header-h: 64px; }
	.km-nav { display: none; }
	.km-scope .km-header__menu-btn { display: inline-flex; }
	.km-logo__img--desktop:not(.km-logo__img--always) { display: none; }
	.km-logo__img--mobile { display: block; }
}
@media (min-width: 981px) { .km-mobile-nav { display: none !important; } }

.km-footer { background: var(--km-navy); color: rgba(255, 255, 255, .82); padding-top: 64px; font-size: .97rem; }
.km-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px 32px; }
.km-footer__brand { display: grid; gap: 12px; align-content: start; max-width: 34ch; }
.km-footer__name { font-family: var(--km-font-title); font-weight: 800; font-size: 1.25rem; color: #fff; }
.km-scope.km-footer h2 { font-family: var(--km-font-text); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--km-orange); margin-bottom: 14px; }
.km-footer li { margin-bottom: 4px; }
.km-scope.km-footer a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .82); }
.km-scope.km-footer a:hover { color: #fff; text-decoration: underline; }
.km-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.km-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.km-footer__legal li { margin: 0; }
@media (max-width: 900px) { .km-footer__grid { grid-template-columns: 1fr 1fr; } .km-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .km-footer__grid { grid-template-columns: 1fr; } }

/* 5. Sections ------------------------------------------------------------- */
.km-section { padding-block: clamp(56px, 8vw, 96px); background: #fff; }
.km-section--tight { padding-block: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--km-line); }
.km-section--cream { background: var(--km-cream); }
.km-section--navy { background: var(--km-navy); color: rgba(255, 255, 255, .85); }
.km-scope.km-section--navy h2, .km-scope.km-section--navy h3 { color: #fff; }
.km-section--navy .km-eyebrow { color: var(--km-orange); }

.km-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.km-lead { font-size: 1.1rem; color: var(--km-muted); max-width: 60ch; margin-top: 10px !important; }
.km-section--navy .km-lead { color: rgba(255, 255, 255, .78); }

/* Hero */
.km-hero { background: var(--km-cream); overflow: hidden; }
.km-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding-block: clamp(40px, 7vw, 88px); }
.km-hero__text { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--km-muted); max-width: 48ch; margin-top: 20px !important; }
.km-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.km-hero__media { position: relative; min-height: 380px; }
.km-hero__visual { position: absolute; inset: 0; }
.km-hero__visual::before { content: ""; position: absolute; right: -6%; top: 6%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--km-blue); opacity: .08; }
.km-hero__mascot { position: absolute; right: 2%; bottom: 0; z-index: 3; }

.km-sheet { position: absolute; background: #fff; border-radius: 16px; border: 1px solid var(--km-line); box-shadow: var(--km-shadow); padding: 16px; }
.km-sheet--calendar { left: 4%; top: 6%; width: 58%; transform: rotate(-4deg); }
.km-sheet__title { display: block; width: 44%; height: 10px; border-radius: 5px; background: var(--km-navy); opacity: .85; margin-bottom: 14px; }
.km-sheet__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.km-sheet__grid i { display: block; aspect-ratio: 1; border-radius: 7px; background: var(--km-blue-tint); }
.km-sheet__grid i:nth-child(2), .km-sheet__grid i:nth-child(9), .km-sheet__grid i:nth-child(13) { background: var(--km-blue); }
.km-sheet__grid i:nth-child(5), .km-sheet__grid i:nth-child(11) { background: var(--km-orange); }
.km-sheet--post { right: 4%; top: 22%; width: 38%; transform: rotate(5deg); display: grid; gap: 9px; }
.km-sheet__image { display: block; aspect-ratio: 1; border-radius: 10px; background: linear-gradient(140deg, var(--km-orange), #ffd3ae); }
.km-sheet__line { display: block; height: 8px; border-radius: 4px; background: rgba(20, 43, 73, .14); }
.km-sheet__line--short { width: 60%; }
.km-sheet--checklist { left: 14%; bottom: 4%; width: 46%; transform: rotate(2deg); display: grid; gap: 10px; }
.km-sheet__check { display: flex; align-items: center; gap: 9px; }
.km-sheet__check .km-icon { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--km-blue); color: #fff; }
.km-sheet__check i { display: block; flex: 1; height: 8px; border-radius: 4px; background: rgba(20, 43, 73, .14); }
.km-sheet__check:nth-child(2) i { max-width: 70%; }
.km-sheet__check:nth-child(4) .km-icon { background: var(--km-blue-tint); color: transparent; }
@media (max-width: 860px) {
	.km-hero__inner { grid-template-columns: 1fr; }
	.km-hero__media { min-height: 300px; max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) { .km-hero__actions .km-btn { width: 100%; } }

/* Bénéfices : une bande avec séparateurs, pas quatre cartes identiques */
.km-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.km-benefits li { display: flex; gap: 14px; padding: 4px 24px; border-left: 1px solid var(--km-line); }
.km-benefits li:first-child { border-left: 0; padding-left: 0; }
.km-benefits__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--km-orange-tint); color: var(--km-navy); }
.km-scope .km-benefits h3 { font-size: 1.02rem; }
.km-benefits p { font-size: .93rem; color: var(--km-muted); line-height: 1.5; margin-top: 4px !important; }
@media (max-width: 1080px) {
	.km-benefits { grid-template-columns: 1fr 1fr; gap: 24px 0; }
	.km-benefits li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) { .km-benefits { grid-template-columns: 1fr; } .km-benefits li { border-left: 0; padding-left: 0; } }

/* Catégories */
.km-scope .km-category-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; color: var(--km-navy); }
.km-category-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--km-blue-tint); color: var(--km-blue); margin-bottom: 6px; }
.km-category-card--orange .km-category-card__icon { background: var(--km-orange-tint); color: var(--km-navy); }
.km-category-card__name { font-family: var(--km-font-title); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.km-category-card__text { font-size: .94rem; color: var(--km-muted); line-height: 1.5; }
.km-category-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; font-size: .9rem; font-weight: 700; color: var(--km-blue); }

/* Fonctionnement */
.km-steps__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.km-steps__intro .km-section-header { margin-bottom: 20px; }
.km-steps { display: grid; gap: 14px; }
.km-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--km-radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.km-steps__number { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--km-orange); color: var(--km-navy); font-family: var(--km-font-title); font-weight: 800; font-size: 1.15rem; }
.km-steps p { color: rgba(255, 255, 255, .78); font-size: .97rem; margin-top: 4px !important; }
@media (max-width: 860px) { .km-steps__layout { grid-template-columns: 1fr; } .km-steps__mascot { display: none; } }

/* Kits complets */
.km-complete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.km-complete__intro .km-section-header { margin-bottom: 22px; }
.km-complete__list { display: grid; gap: 12px; }
.km-scope .km-complete__item { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; color: var(--km-navy); }
.km-complete__text { display: grid; flex: 1; min-width: 0; }
.km-complete__category { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--km-muted); }
.km-complete__name { font-family: var(--km-font-title); font-weight: 700; line-height: 1.3; }
@media (max-width: 860px) { .km-complete { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .km-cover--thumb { width: 56px; } }

/* Articles */
.km-article-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; height: 100%; }
.km-scope .km-article-card h3 a { color: var(--km-navy); }
.km-article-card > p { color: var(--km-muted); font-size: .96rem; }
.km-article-card__more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .92rem; color: var(--km-blue); }

/* En-tête de page intérieure */
.km-page-header { background: var(--km-cream); padding-block: clamp(36px, 6vw, 64px); }
.km-scope.km-page-header h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.km-contact { padding-block: 8px 32px; display: grid; gap: 14px; }

/* Mouvement : discret, et désactivé si la personne le demande */
@media (prefers-reduced-motion: reduce) {
	.km-scope *, .km-scope *::before, .km-scope *::after, .km-card, .km-btn { transition: none !important; animation: none !important; }
	.km-card:hover, a.km-card:hover { transform: none !important; }
	html { scroll-behavior: auto !important; }
}

/* Les composants utilisés hors d'un bloc .km-scope (cartes des produits
   complémentaires, messages de la fiche produit) gardent le même modèle de boîte. */
[class^="km-"], [class*=" km-"], [class^="km-"]::before, [class*=" km-"]::after { box-sizing: border-box; }
