* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.6;
}

.kerlys-front-page {
	margin: 0;
}

/* Repère visuel "donnée manquante / à venir", commun à plusieurs gabarits
   (fiche produit, à propos...) — d'où sa présence dans la feuille globale. */
.kerlys-flag-note {
	color: #7A4E00;
	background: #FDE68A33;
	border: 1px dashed #C9A227;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 13.5px;
}

.kerlys-button {
	display: inline-block;
	padding: 14px 32px;
	background: var(--color-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
}

.kerlys-button--ghost {
	background: transparent;
	border: 2px solid var(--color-secondary);
	color: var(--color-secondary);
	transition: border-color 0.2s ease, color 0.2s ease;
}

.kerlys-button--ghost:hover,
.kerlys-button--ghost:focus-visible {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/* ---------- Héro (carrousel Atlantik) ---------- */

.kerlys-hero {
	position: relative;
	overflow: hidden;
}

.kerlys-hero__slide {
	min-height: 620px;
	display: flex;
	background: var(--color-secondary);
}

/* Dégradés par slide — valeurs verbatim de la maquette. */
.kerlys-hero__slide--0 {
	background: linear-gradient(90deg, #202E37 0%, #202E37 78%, #51B2AA 100%);
}

.kerlys-hero__slide--1 {
	background: linear-gradient(90deg, #51B2AA 0%, #51B2AA 78%, #78C9B9 100%);
}

.kerlys-hero__slide--2 {
	background: linear-gradient(90deg, #78C9B9 0%, #78C9B9 78%, #BAC8D3 100%);
}

.kerlys-hero__slide--3 {
	background: linear-gradient(90deg, #BCCAD7 0%, #BCCAD7 78%, #1B2B39 100%);
}

.kerlys-hero__slide[hidden] {
	display: none;
}

.kerlys-hero__inner {
	max-width: var(--container-max);
	width: 100%;
	margin: auto;
	padding: 64px 48px 96px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	align-items: center;
}

.kerlys-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.kerlys-hero__visual img {
	width: 100%;
	max-width: 400px;
	height: auto;
	display: block;
}

.kerlys-hero__copy {
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items: flex-start;
}

.kerlys-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.85;
}

.kerlys-hero__eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

.kerlys-hero__copy h1,
.kerlys-hero__copy h2 {
	margin: 0;
	font-weight: 600;
	font-size: clamp(36px, 4.2vw, 58px);
	line-height: 1.02;
	text-transform: uppercase;
}

.kerlys-hero__subtitle {
	margin: 0;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6;
	opacity: 0.85;
	max-width: 420px;
}

.kerlys-hero__formats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.kerlys-hero__formats li {
	font-weight: 500;
	font-size: 13px;
	color: var(--color-secondary);
	background: #fff;
	padding: 6px 14px;
	border-radius: 999px;
}

.kerlys-hero__cta {
	display: inline-block;
	font-weight: 600;
	font-size: 15.5px;
	color: var(--color-secondary);
	background: #fff;
	padding: 16px 32px;
	border-radius: 999px;
	text-transform: uppercase;
	text-decoration: none;
	margin-top: 6px;
}

.kerlys-hero__dots {
	position: absolute;
	left: 48px;
	bottom: 36px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.kerlys-hero__dots [data-hero-dot] {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.4);
	transition: all 0.35s ease;
}

.kerlys-hero__dots [data-hero-dot][aria-current="true"] {
	width: 28px;
	background: #fff;
}

.kerlys-hero__arrows {
	position: absolute;
	right: 48px;
	bottom: 28px;
	display: flex;
	gap: 12px;
}

.kerlys-hero__arrows button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.5);
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease;
}

.kerlys-hero__arrows button:hover,
.kerlys-hero__arrows button:focus-visible {
	border-color: #fff;
}

/* ---------- Sections gammes ---------- */

.kerlys-gamme-grid {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 80px 48px 0;
}

.kerlys-gamme-grid__eyebrow {
	margin: 0 0 6px;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 2px;
	color: var(--color-primary);
	text-transform: uppercase;
}

.kerlys-gamme-grid__title {
	margin: 0 0 32px;
	font-weight: 600;
	font-size: 34px;
	color: var(--color-secondary);
	text-transform: uppercase;
}

.kerlys-gamme-grid__accent {
	color: var(--color-primary);
}

.kerlys-gamme-grid__products {
	display: flex;
	align-items: center;
	gap: 16px;
}

.kerlys-gamme-grid__products ul {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	flex: 1;
}

.kerlys-gamme-grid__products li {
	scroll-snap-align: start;
	flex: 1 0 calc(25% - 18px);
	min-width: 180px;
}

.kerlys-gamme-grid__products li a {
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-decoration: none;
}

.kerlys-gamme-grid__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--border);
	padding: 16px;
}

.kerlys-gamme-grid__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.kerlys-gamme-grid__label {
	align-self: center;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.5px;
	color: #fff;
	background: var(--color-primary);
	padding: 8px 18px;
	border-radius: 999px;
	text-transform: uppercase;
	text-align: center;
}

.kerlys-gamme-grid__prev,
.kerlys-gamme-grid__next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: #fff;
	cursor: pointer;
	color: var(--color-secondary);
	font-size: 16px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.kerlys-gamme-grid__prev:hover,
.kerlys-gamme-grid__next:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.kerlys-gamme-grid > .kerlys-gamme-grid__content > .kerlys-button--ghost {
	display: table;
	margin: 40px auto 0;
	padding: 16px 40px;
	font-size: 16px;
}

/* Variante spéciale : deux colonnes, photo lifestyle en face. */

.kerlys-gamme-grid--special {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
	padding-top: 88px;
}

.kerlys-gamme-grid--special .kerlys-gamme-grid__title {
	font-size: 28px;
	margin-bottom: 24px;
}

.kerlys-gamme-grid--special .kerlys-gamme-grid__products ul {
	overflow: visible;
	flex: 0 1 auto;
	gap: 20px;
}

/* Cartes de pots agrandies de 30 % (demande du 01/09, cf. maquette). */
.kerlys-gamme-grid--special .kerlys-gamme-grid__products li {
	flex: 0 0 195px;
	min-width: 0;
}

.kerlys-gamme-grid--special .kerlys-gamme-grid__thumb {
	width: 195px;
	height: 221px;
	aspect-ratio: auto;
	padding: 14px;
}

/* Les pots portent déjà leur étiquette : libellé réservé aux lecteurs d'écran. */
.kerlys-gamme-grid--special .kerlys-gamme-grid__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.kerlys-gamme-grid--special .kerlys-gamme-grid__prev,
.kerlys-gamme-grid--special .kerlys-gamme-grid__next {
	display: none;
}

.kerlys-gamme-grid--special > .kerlys-gamme-grid__content > .kerlys-button--ghost {
	display: inline-block;
	margin: 28px 0 0;
	padding: 14px 32px;
	font-size: 15px;
}

.kerlys-gamme-grid__media img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

.kerlys-gamme-grid--flip .kerlys-gamme-grid__media {
	order: -1;
}

/* ---------- Qui sommes-nous ---------- */

.kerlys-about {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 96px 48px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 64px;
	align-items: center;
}

.kerlys-about__slogan {
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--footer-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px;
	margin: 0 0 28px;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.35;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.kerlys-about__copy h2 {
	margin: 0 0 16px;
	font-weight: 600;
	font-size: 24px;
	color: var(--color-secondary);
}

.kerlys-about__copy p {
	margin: 0 0 14px;
	font-weight: 300;
	font-size: 15.5px;
	line-height: 1.7;
	color: #3E4A52;
}

.kerlys-about__image {
	width: 100%;
	height: 460px;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

/* ---------- Préservation de l'environnement ---------- */

.kerlys-environment {
	background: #202E37;
	color: #B7C2C9;
	padding: 80px 48px;
	margin-top: 88px;
}

.kerlys-environment h2 {
	max-width: var(--container-max);
	margin: 0 auto 40px;
	font-weight: 600;
	font-size: 38px;
	line-height: 1.15;
	color: #fff;
	text-transform: uppercase;
}

.kerlys-environment__columns {
	max-width: var(--container-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.65;
}

.kerlys-environment__columns p {
	margin: 0;
}

/* ---------- Bande lifestyle ---------- */

.kerlys-gallery {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 80px 48px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}

.kerlys-gallery img {
	width: 100%;
	height: 318px;
	object-fit: cover;
	display: block;
}

/* ---------- Nos valeurs ---------- */

.kerlys-values {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 80px 48px;
}

.kerlys-values__title {
	margin: 0 0 20px;
	font-weight: 600;
	font-size: 38px;
	color: var(--color-secondary);
	text-align: center;
	text-transform: uppercase;
}

.kerlys-values__intro {
	max-width: 820px;
	margin: 0 auto 48px;
	text-align: center;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-secondary);
	text-transform: uppercase;
}

.kerlys-values ul {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #0CA59F;
	border-radius: 16px;
	overflow: hidden;
}

.kerlys-values li {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 28px 20px;
	background: #0CA59F;
}

.kerlys-values li img {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	object-fit: cover;
	border-radius: 10px;
}

.kerlys-values__text h3 {
	margin: 0;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.35;
	color: #fff;
}

.kerlys-values__text p {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: #D2ECE9;
}

.kerlys-values__text p:empty {
	display: none;
}

/* ---------- Header ---------- */

.kerlys-header {
	background: #fff;
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 40;
}

.kerlys-header__inner {
	max-width: var(--container-max);
	margin: 0 auto;
	min-height: 88px;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.kerlys-header__brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 22px;
	color: var(--color-secondary);
	text-decoration: none;
	display: flex;
	align-items: center;
}

/* Taille de référence du logo, commune à toutes les pages (+30 % demandé le 01/09).
   Sélecteurs renforcés : la feuille WooCommerce (.woocommerce-page img { height: auto })
   est plus spécifique qu'une classe seule et regonflait les logos sur les pages
   catalogue/panier. */
.kerlys-header__logo,
.kerlys-header .kerlys-header__brand .kerlys-header__logo {
	height: 75px;
	width: auto;
	display: block;
}

.kerlys-footer .kerlys-footer__about .kerlys-footer__logo {
	height: 96px;
	width: auto;
}

.kerlys-header__nav {
	display: flex;
	align-items: center;
	gap: 32px;
	position: relative;
}

.kerlys-header__nav > a {
	color: var(--color-text);
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
}

.kerlys-header__nav > a:hover,
.kerlys-header__nav > a:focus-visible {
	color: var(--color-primary);
}

.kerlys-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid var(--border);
	color: var(--color-secondary);
	text-decoration: none;
	flex-shrink: 0;
}

.kerlys-header__cart:hover,
.kerlys-header__cart:focus-visible {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.kerlys-header__cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* ---------- Mega menu "Nos gammes" ---------- */

.kerlys-nav-item--mega {
	position: relative;
	display: inline-flex;
}

.kerlys-nav-item__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--color-text);
	cursor: pointer;
}

.kerlys-nav-item__trigger:hover,
.kerlys-nav-item__trigger:focus-visible {
	color: var(--color-primary);
}

.kerlys-nav-item--mega.is-open .kerlys-nav-item__trigger {
	color: var(--color-primary);
}

.kerlys-nav-item__chevron {
	color: currentColor;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.kerlys-nav-item--mega.is-open .kerlys-nav-item__chevron,
.kerlys-nav-item--mega:hover .kerlys-nav-item__chevron,
.kerlys-nav-item--mega:focus-within .kerlys-nav-item__chevron {
	transform: rotate(180deg);
}

.kerlys-mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 860px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid var(--border);
	border-top: none;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 24px 48px rgba(20, 29, 37, 0.14);
	padding: 40px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 50;
}

.kerlys-nav-item--mega.is-open .kerlys-mega-menu,
.kerlys-nav-item--mega:hover .kerlys-mega-menu,
.kerlys-nav-item--mega:focus-within .kerlys-mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Le clic sur le déclencheur doit pouvoir fermer le panneau même si la souris
   reste dessus — sans ça la règle :hover ci-dessus le garde ouvert malgré le
   retrait de .is-open. force-closed a une spécificité plus élevée et est
   retiré au prochain mouseenter du wrapper (voir mega-menu.js). */
.kerlys-nav-item--mega.force-closed:hover .kerlys-mega-menu,
.kerlys-nav-item--mega.force-closed:focus-within .kerlys-mega-menu {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
}

.kerlys-mega-menu__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1.1fr;
	gap: 32px;
}

.kerlys-mega-menu__all-link {
	display: block;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	text-align: right;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: none;
}

.kerlys-mega-menu__all-link:hover,
.kerlys-mega-menu__all-link:focus-visible {
	color: var(--color-primary-hover);
	text-decoration: underline;
}

.kerlys-mega-menu__col-label {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.kerlys-mega-menu__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.kerlys-mega-menu__items a {
	display: flex;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.kerlys-mega-menu__tag {
	flex-shrink: 0;
	width: 14px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 13px;
}

.kerlys-mega-menu__item-name {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
}

.kerlys-mega-menu__items a:hover .kerlys-mega-menu__item-name,
.kerlys-mega-menu__items a:focus-visible .kerlys-mega-menu__item-name {
	color: var(--color-primary);
}

.kerlys-mega-menu__item-desc {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--text-muted);
}

.kerlys-mega-menu__featured {
	display: flex;
	flex-direction: column;
	background: var(--footer-bg);
	border-radius: 12px;
	padding: 20px;
	color: #fff;
}

.kerlys-mega-menu__featured-label {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent-light);
}

.kerlys-mega-menu__featured-image {
	margin-bottom: 14px;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
}

.kerlys-mega-menu__featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.kerlys-mega-menu__featured-title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.kerlys-mega-menu__featured-desc {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #C7D0D5;
}

.kerlys-mega-menu__featured-link {
	margin-top: auto;
	color: var(--accent-light);
	text-decoration: none;
	font-weight: 600;
	font-size: 13.5px;
}

.kerlys-mega-menu__featured-link:hover,
.kerlys-mega-menu__featured-link:focus-visible {
	text-decoration: underline;
}

/* ---------- Footer ---------- */

.kerlys-footer {
	background: var(--footer-bg);
	padding: 72px 48px 24px;
	margin-top: 64px;
	color: #8DA0AA;
	font-size: 14px;
}

.kerlys-footer__cols {
	max-width: var(--container-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 56px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kerlys-footer__logo {
	height: 96px;
	width: auto;
	display: block;
	margin-bottom: 18px;
}

.kerlys-footer__about p {
	margin: 0;
	max-width: 320px;
	font-weight: 300;
	line-height: 1.6;
}

.kerlys-footer__col-title {
	margin: 0 0 14px;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--accent-light);
}

.kerlys-footer__gammes {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kerlys-footer__contact {
	font-weight: 300;
	line-height: 1.7;
}

.kerlys-footer a {
	color: #C7D0D5;
	text-decoration: none;
}

.kerlys-footer a:hover,
.kerlys-footer a:focus-visible {
	color: #fff;
}

.kerlys-footer__legal {
	max-width: var(--container-max);
	margin: 20px auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 13px;
}

.kerlys-footer__copy {
	max-width: var(--container-max);
	margin: 20px auto 0;
	padding-top: 16px;
	color: #5E6E77;
	font-size: 13px;
	font-weight: 300;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.kerlys-mega-menu {
		position: fixed;
		left: 16px;
		right: 16px;
		top: 88px;
		width: auto;
		max-width: none;
		border-radius: 16px;
		max-height: calc(100vh - 104px);
		overflow-y: auto;
	}

	.kerlys-mega-menu__grid {
		grid-template-columns: 1fr 1fr;
	}

	.kerlys-hero__inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 48px 24px 110px;
	}

	.kerlys-hero__visual img {
		max-width: 260px;
	}

	.kerlys-hero__slide {
		min-height: 0;
	}

	.kerlys-gamme-grid,
	.kerlys-about,
	.kerlys-values,
	.kerlys-gallery {
		padding-left: 24px;
		padding-right: 24px;
	}

	.kerlys-gamme-grid--special {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.kerlys-gamme-grid--flip .kerlys-gamme-grid__media {
		order: 0;
	}

	.kerlys-about {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.kerlys-about__image {
		height: 320px;
	}

	.kerlys-environment {
		padding: 56px 24px;
	}

	.kerlys-environment__columns {
		grid-template-columns: 1fr;
	}

	.kerlys-gallery {
		grid-template-columns: 1fr;
	}

	.kerlys-values ul {
		grid-template-columns: 1fr 1fr;
	}

	.kerlys-footer__cols {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.kerlys-hero__dots {
		left: 24px;
	}

	.kerlys-hero__arrows {
		right: 24px;
	}
}

@media (max-width: 640px) {
	.kerlys-header__inner {
		padding: 0 20px;
		min-height: 72px;
	}

	.kerlys-header__nav {
		gap: 20px;
	}

	.kerlys-header__logo,
	.kerlys-header .kerlys-header__brand .kerlys-header__logo {
		height: 57px;
	}

	.kerlys-mega-menu {
		top: 72px;
		max-height: calc(100vh - 88px);
	}

	.kerlys-mega-menu__grid {
		grid-template-columns: 1fr;
	}

	.kerlys-values ul {
		grid-template-columns: 1fr;
	}

	.kerlys-gamme-grid__products li {
		flex-basis: calc(50% - 12px);
		min-width: 140px;
	}
}

/* ---------- Navigation mobile : menu burger (v0.13.1, 02/09) ----------
   ≤ 900px : le bouton .kerlys-burger apparaît dans le header et la nav
   principale devient un tiroir latéral droit ; le mega menu « Nos gammes »
   s'y replie en accordéon piloté uniquement par .is-open (clic), plus de
   survol. Overlay + verrou de scroll gérés par assets/js/mobile-nav.js. */

.kerlys-burger {
	display: none;
}

html.kerlys-no-scroll,
html.kerlys-no-scroll body {
	overflow: hidden;
}

.kerlys-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(27, 43, 57, 0.45);
	z-index: 39;
}

.kerlys-nav-overlay[hidden] {
	display: none;
}

@media (max-width: 900px) {
	.kerlys-burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 0 11px;
		border: 1px solid var(--border);
		border-radius: 10px;
		background: #fff;
		cursor: pointer;
		flex-shrink: 0;
	}

	.kerlys-burger__bar {
		display: block;
		height: 2px;
		width: 100%;
		background: var(--color-secondary);
		border-radius: 2px;
		transition: transform 0.25s ease, opacity 0.2s ease;
	}

	.kerlys-header--nav-open .kerlys-burger__bar:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.kerlys-header--nav-open .kerlys-burger__bar:nth-child(2) {
		opacity: 0;
	}

	.kerlys-header--nav-open .kerlys-burger__bar:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* La nav devient un tiroir latéral droit. */
	.kerlys-header__nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(360px, 88vw);
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 88px 24px 32px;
		transform: translateX(105%);
		transition: transform 0.3s ease;
		box-shadow: -24px 0 48px rgba(20, 29, 37, 0.18);
		overflow-y: auto;
		z-index: 60;
	}

	.kerlys-header--nav-open .kerlys-header__nav {
		transform: translateX(0);
	}

	@media (prefers-reduced-motion: reduce) {
		.kerlys-header__nav,
		.kerlys-burger__bar {
			transition: none;
		}
	}

	.kerlys-header__nav > a {
		padding: 14px 0;
		border-bottom: 1px solid #EEF0F2;
		font-size: 16px;
	}

	.kerlys-nav-item--mega {
		/* En pile : déclencheur « Nos gammes » AU-DESSUS du panneau (PJ du
		   02/09) — le display:inline-flex desktop mettait le panneau statique
		   à côté du bouton dans le tiroir. */
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		border-bottom: 1px solid #EEF0F2;
	}

	.kerlys-nav-item__trigger {
		width: 100%;
		justify-content: space-between;
		padding: 14px 0;
		font-size: 16px;
	}

	/* Mega menu en accordéon dans le tiroir : uniquement piloté par .is-open. */
	.kerlys-header__nav .kerlys-mega-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 0 0 16px;
		width: auto;
		max-width: none;
		max-height: none;
		overflow: visible;
		transition: none;
	}

	.kerlys-header__nav .kerlys-nav-item--mega:not(.is-open) .kerlys-mega-menu {
		display: none;
	}

	.kerlys-header__nav .kerlys-nav-item--mega.is-open .kerlys-mega-menu {
		display: block;
	}

	.kerlys-header__nav .kerlys-mega-menu__grid {
		/* 2 colonnes comme la capture validée du 02/09 (PJ utilisateur). */
		grid-template-columns: 1fr 1fr;
		gap: 24px 20px;
	}

	/* Le panneau « Gamme du moment » est superflu dans le tiroir. */
	.kerlys-header__nav .kerlys-mega-menu__featured {
		display: none;
	}
}

/* ---------- Footer : badge « Fabriqué en France » (v0.13.4, 03/09) ----------
   À droite du logo Kerlys, hauteur réduite de 40 % par rapport au logo (96px
   → 58px), lien vers la page /made-in-france. */

.kerlys-footer__logos {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.kerlys-footer__badge-france {
	height: 58px;
	width: auto;
	display: block;
	border-radius: 4px;
}

@media (max-width: 640px) {
	.kerlys-footer__badge-france {
		height: 44px;
	}
}
