/**
 * MÊME — home.css
 * Sections de la page d'accueil, dans l'ordre de la référence.
 */

/* Espacement entre les sections (référence : .page-index .page-content > div) */
@media (min-width: 768px) {
	.page-index .page-content > div:not(:last-child) {
		margin-bottom: 5rem;
	}
}

/* --------------------------------------------------------------------------
 * Hero — .crea-banners-wrapper.full-width
 * -------------------------------------------------------------------------- */
.crea-banners-wrapper.banner-mobile {
	display: block;
}

.crea-banners-wrapper.banner-desktop {
	display: none;
}

@media (min-width: 768px) {
	.crea-banners-wrapper.banner-mobile {
		display: none;
	}

	.crea-banners-wrapper.banner-desktop {
		display: block;
	}
}

.crea-banners-wrapper.full-width .swiper-slide {
	height: auto;
}

.crea-banners-banner {
	position: relative;
	height: 100%;
}

.crea-banners-banner__image {
	width: 100%;
}

.crea-banners-banner__image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

/* Desktop : 82vh, contenu à droite */
.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner {
	height: 82vh;
}

.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner__image {
	height: 100%;
}

.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner__image img {
	height: 100%;
}

.crea-banners-wrapper.full-width .crea-banners-banner__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 2rem 1.25rem;
	margin-top: 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.crea-banners-wrapper.full-width .crea-banners-banner__content {
		position: absolute;
		top: 0;
		right: 0;
		align-items: flex-start;
		width: 60%;
		height: 100%;
		padding: 6.25rem 2.5rem;
		margin-top: 0;
		text-align: left;
	}
}

@media (min-width: 992px) {
	.crea-banners-wrapper.full-width .crea-banners-banner__content {
		width: 50%;
		padding-right: 3.75rem;
		padding-left: 3.75rem;
	}

	.crea-banners-wrapper.full-width .less-width .crea-banners-banner__content {
		width: 46%;
	}
}

@media (min-width: 1400px) {
	.crea-banners-wrapper.full-width .crea-banners-banner__content {
		padding-right: 5rem;
		padding-left: 5rem;
	}
}

.crea-banners-banner__content-inner {
	width: 100%;
}

.crea-banners-banner__title {
	margin-bottom: 0;
	font-size: calc(1.325rem + 0.9vw);
	text-wrap: balance;
}

@media (min-width: 1200px) {
	.crea-banners-banner__title {
		font-size: 2rem;
	}
}

/* Titre hero desktop : 3rem */
.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner__title {
	font-size: calc(1.425rem + 2.1vw);
}

@media (min-width: 1200px) {
	.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner__title {
		font-size: 3rem;
	}
}

.crea-banners-banner__title strong,
.crea-banners-banner__title b {
	font-weight: 800;
}

.crea-banners-banner__description {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	text-wrap: balance;
}

.crea-banners-banner__description > :last-child {
	margin-bottom: 0;
}

.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner__description p {
	font-size: 1.0625rem;
}

.crea-banners-banner__btn {
	margin-top: 1.5rem;
}

@media (min-width: 768px) {
	.crea-banners-wrapper.full-width.banner-desktop .crea-banners-banner__btn {
		--bs-btn-padding-y: 0.875rem;
		--bs-btn-padding-x: 1.75rem;
		--bs-btn-font-size: 1.125rem;
		--bs-btn-border-radius: 0.5rem;
	}
}

.crea-banners-banner__btn.btn-link {
	display: inline-block;
}

/* Bannière blanche : texte blanc + bouton inversé */
.crea-banners-banner.banner-white .crea-banners-banner__title {
	color: #fff;
}

.crea-banners-banner.banner-white .crea-banners-banner__btn.btn-primary {
	--bs-btn-color: #2e2e2e;
	--bs-btn-bg: #fff;
	--bs-btn-border-color: #2e2e2e;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #2e2e2e;
	--bs-btn-hover-border-color: #2e2e2e;
}

.crea-banners-wrapper.full-width .swiper-buttons-wrapper {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	min-height: 50px;
	margin-top: 1rem;
}

/* Bannière éditoriale (image à gauche, contenu à droite) */
.crea-banners-wrapper.full-width .crea-banners-banner.with-link .crea-banners-banner__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: left center;
}

.crea-banners-wrapper.full-width .crea-banners-banner.with-link .crea-banners-banner__title {
	font-size: calc(1.375rem + 1.5vw);
	font-weight: 600;
}

@media (min-width: 1200px) {
	.crea-banners-wrapper.full-width .crea-banners-banner.with-link .crea-banners-banner__title {
		font-size: 2.5rem;
	}
}

/* --------------------------------------------------------------------------
 * Description SEO / h1
 * -------------------------------------------------------------------------- */
.home-seo-description {
	position: relative;
	margin-bottom: 1rem !important;
}

.home-seo-description::after {
	position: absolute;
	top: -1.5rem;
	width: 100%;
	height: 1px;
	content: "";
	background: var(--meme-color-border);
}

@media (min-width: 768px) {
	.home-seo-description {
		margin-top: -3rem;
		margin-bottom: 3rem !important;
	}

	.home-seo-description::after {
		display: none;
	}
}

.home-seo-description h1 {
	font-size: calc(1.325rem + 0.9vw);
	text-align: center;
}

@media (min-width: 1200px) {
	.home-seo-description h1 {
		font-size: 2rem;
	}
}

/* --------------------------------------------------------------------------
 * Réassurance — .crea-reassurance.crea-reassurance--home
 * -------------------------------------------------------------------------- */
.crea-reassurance--home {
	padding-top: 0;
	padding-bottom: 0;
}

/* Home : badges ronds 90x90 (référence .crea-reassurance--home .__image) */
.crea-reassurance--home .crea-reassurance__items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}

.crea-reassurance--home .crea-reassurance-item {
	width: auto;
	margin: 0 0.7142857143rem 1.4285714286rem;
}

.crea-reassurance--home .crea-reassurance-item__image {
	width: 5.625rem;
	height: 5.625rem;
}

.crea-reassurance-item {
	position: relative;
	display: flex;
	gap: 0.75rem;
	align-items: center;
	font-size: 0.875rem;
	line-height: 1.25;
	text-wrap: balance;
}

@media (min-width: 992px) {
	.crea-reassurance-item {
		flex-direction: column;
		text-align: center;
	}
}

.crea-reassurance-item__image {
	width: 2.875rem;
	height: 2.875rem;
	transition: filter var(--meme-transition);
}

.crea-reassurance-item__title {
	margin-bottom: 0;
	font-weight: 600;
	transition: color var(--meme-transition);
}

.crea-reassurance-item__subtitle {
	margin-top: 0.125rem;
	margin-bottom: 0;
}

.crea-reassurance-item--with-link:hover .crea-reassurance-item__title {
	color: var(--meme-color-accent);
}

/* --------------------------------------------------------------------------
 * Catégories à la une — .crea-featuredcategories
 * -------------------------------------------------------------------------- */
.crea-featuredcategories {
	padding: 0;
}

.crea-featuredcategories__nav {
	display: flex;
	column-gap: 0.5rem;
	justify-content: center;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.crea-featuredcategories__nav {
		column-gap: 3rem;
	}
}

@media (min-width: 992px) {
	.crea-featuredcategories__nav {
		padding-bottom: 2rem;
		margin-bottom: 2rem;
	}
}

.crea-featuredcategories__nav .crea-featuredcategories__nav-link {
	position: relative;
	padding: 0.5rem 1rem;
	font-family: var(--meme-font-heading);
	font-size: calc(1.4rem + 1.8vw);
	font-weight: 600;
	color: #979797;
	background-color: #fff;
	border: 0;
	transition: color var(--meme-transition);
}

@media (min-width: 1200px) {
	.crea-featuredcategories__nav .crea-featuredcategories__nav-link {
		font-size: 2.75rem;
	}
}

@media (max-width: 767.98px) {
	.crea-featuredcategories__nav .crea-featuredcategories__nav-link {
		font-size: calc(1.275rem + 0.3vw);
	}
}

.crea-featuredcategories__nav .crea-featuredcategories__nav-link::after {
	position: absolute;
	bottom: 6px;
	left: 50%;
	width: 86%;
	height: 1px;
	content: "";
	background-color: #979797;
	opacity: 0;
	transition: opacity var(--meme-transition);
	transform: translateX(-50%);
}

.crea-featuredcategories__nav .crea-featuredcategories__nav-link:hover::after,
.crea-featuredcategories__nav .crea-featuredcategories__nav-link.active::after {
	opacity: 1;
}

.crea-featuredcategories__nav .crea-featuredcategories__nav-link.active {
	color: #2e2e2e;
}

.crea-featuredcategories__tab-content {
	position: relative;
}

.crea-featuredcategory__tab-pane {
	position: relative;
}

.crea-featuredcategory__footer {
	margin-top: 2rem;
	text-align: center;
}

@media (min-width: 992px) {
	.crea-featuredcategory__footer {
		position: absolute;
		top: -2.5rem;
		right: 0;
		margin-top: 0;
	}
}

.crea-featuredcategory__footer a {
	font-family: var(--meme-font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	color: #2e2e2e;
	text-decoration: none;
	transition: color var(--meme-transition);
}

.crea-featuredcategory__footer a:hover {
	color: var(--meme-color-accent);
}

/* --------------------------------------------------------------------------
 * Avis clients — .crea-topreviews
 * -------------------------------------------------------------------------- */
.crea-topreviews {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--meme-color-surface);
}

@media (min-width: 992px) {
	.crea-topreviews {
		flex-direction: row;
	}
}

.crea-topreviews__content {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 1.25rem;
	color: #2e2e2e;
	text-align: center;
	background-color: var(--meme-color-surface);
}

@media (min-width: 576px) {
	.crea-topreviews__content {
		padding-right: 1.875rem;
		padding-left: 1.875rem;
	}
}

@media (min-width: 768px) {
	.crea-topreviews__content {
		padding-right: 2.5rem;
		padding-left: 2.5rem;
	}
}

@media (min-width: 992px) {
	.crea-topreviews__content {
		width: 50%;
		padding-right: 3.75rem;
		padding-left: 3.75rem;
	}
}

@media (min-width: 1400px) {
	.crea-topreviews__content {
		padding-right: 5rem;
		padding-left: 5rem;
	}
}

.crea-topreviews__title {
	margin-bottom: 1.5rem;
	font-size: calc(1.325rem + 0.9vw);
	font-weight: 600;
	text-align: center;
}

@media (min-width: 1200px) {
	.crea-topreviews__title {
		font-size: 2rem;
	}
}

.crea-topreviews__reviews {
	display: flex;
	column-gap: 0.875rem;
	align-items: center;
	margin-bottom: 1.625rem;
}

.crea-topreviews__reviews p {
	margin-bottom: 0;
}

.crea-topreviews__reviews-grades {
	display: flex;
	column-gap: 0.375rem;
	align-items: center;
}

.crea-topreviews__reviews-icon {
	width: 1.375rem;
	height: 1.375rem;
	fill: #2e2e2e;
	stroke: #2e2e2e;
}

.crea-topreviews__reviews-grade {
	font-family: var(--meme-font-heading);
	font-size: calc(1.275rem + 0.3vw);
	font-weight: 600;
}

@media (min-width: 1200px) {
	.crea-topreviews__reviews-grade {
		font-size: 1.5rem;
	}
}

.crea-topreviews__reviews-count {
	font-family: var(--meme-font-heading);
	font-size: 0.875rem;
}

.crea-topreviews__reviews-count a,
.crea-topreviews__reviews-count span {
	font-weight: 600;
	color: #2e2e2e;
}

.crea-topreviews__swiper-container {
	width: 100%;
	overflow: hidden;
}

.crea-topreviews__swiper-container .swiper-slide {
	height: auto;
}

.crea-topreviews-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	font-size: 0.9375rem;
	line-height: 1.6;
	text-align: center;
}

.crea-topreviews-item__comment {
	margin-bottom: 1rem;
}

.crea-topreviews-item__author {
	margin-top: auto;
	margin-bottom: 0;
	font-size: 0.875rem;
	font-weight: 700;
}

.crea-topreviews__swiperbuttons {
	position: relative;
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

.crea-topreviews__swiperbuttons .swiper-button-prev,
.crea-topreviews__swiperbuttons .swiper-button-next {
	position: static;
	display: block;
	transform: none;
}

.crea-topreviews__image {
	flex: 0 0 auto;
	overflow: hidden;
}

@media (min-width: 992px) {
	.crea-topreviews__image {
		width: 50%;
	}
}

.crea-topreviews__image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* La mosaïque d'avis de la référence est au format 4:3 (720x540 à 50 %) */
@media (min-width: 992px) {
	.crea-topreviews__image-img {
		aspect-ratio: 4 / 3;
	}
}

/* --------------------------------------------------------------------------
 * Conseils (articles) — .crea-wordpress-posts
 * -------------------------------------------------------------------------- */
.crea-wordpress-posts {
	padding-top: 0;
}

.crea-wordpress-posts .crea-wordpress-container {
	padding-right: 1.25rem;
	padding-left: 1.25rem;
}

/* Gutter vertical de la grille : on conserve le comportement de la référence
   (le collapse du margin négatif aligne le haut des cartes sur 2565px à 1440). */

@media (min-width: 576px) {
	.crea-wordpress-posts .crea-wordpress-container {
		padding-right: 1.875rem;
		padding-left: 1.875rem;
	}
}

@media (min-width: 768px) {
	.crea-wordpress-posts .crea-wordpress-container {
		padding-right: 2.5rem;
		padding-left: 2.5rem;
	}
}

@media (min-width: 992px) {
	.crea-wordpress-posts .crea-wordpress-container {
		padding-right: 3.75rem;
		padding-left: 3.75rem;
	}
}

@media (min-width: 1400px) {
	.crea-wordpress-posts .crea-wordpress-container {
		padding-right: 5rem;
		padding-left: 5rem;
	}
}

.crea-wordpress-posts .crea-wordpress__title {
	margin-bottom: 1rem;
	font-size: calc(1.325rem + 0.9vw);
	font-weight: 600;
}

@media (min-width: 1200px) {
	.crea-wordpress-posts .crea-wordpress__title {
		font-size: 2rem;
	}
}

@media (min-width: 768px) {
	.crea-wordpress-posts .crea-wordpress__title {
		margin-bottom: 1.5rem;
	}
}

.crea-wordpress-posts .crea-wordpress__button {
	width: fit-content;
}

.crea-wordpress-posts .crea-wordpress-post {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.crea-wordpress-post__image {
	overflow: hidden;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.crea-wordpress-post__image-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 12;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.crea-wordpress-post:hover .crea-wordpress-post__image-img {
	transform: scale(1.03);
}

.crea-wordpress-post__content {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	width: 100%;
	padding: 1.5rem;
	background-color: #fffdfb;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	transition: background-color var(--meme-transition);
}

.crea-wordpress-post:hover .crea-wordpress-post__content {
	background-color: var(--meme-color-cream);
}

.crea-wordpress-post__title {
	margin-bottom: 0.5rem;
	font-family: var(--meme-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #2e2e2e;
}

.crea-wordpress-post__actions {
	padding-top: 0.75rem;
	margin-top: auto;
}

/* --------------------------------------------------------------------------
 * Routines — .featuredproducts.products-section
 * -------------------------------------------------------------------------- */
.products-section {
	padding-top: 3rem;
	padding-bottom: 3rem;
	background-color: var(--meme-color-surface);
}

.products-section .swiper-slide {
	height: auto;
}

.products-section__title {
	margin-bottom: 2.5rem;
	font-size: calc(1.375rem + 1.5vw);
	font-weight: 600;
	text-align: center;
}

@media (min-width: 1200px) {
	.products-section__title {
		font-size: 2.5rem;
	}
}

.products-section .swiper-button-prev,
.products-section .swiper-button-next,
.crea-featuredcategories .swiper-button-prev,
.crea-featuredcategories .swiper-button-next {
	display: none;
}

@media (min-width: 992px) {
	.products-section .swiper-button-prev,
	.crea-featuredcategories .swiper-button-prev {
		left: -3rem;
		display: block;
	}

	.products-section .swiper-button-next,
	.crea-featuredcategories .swiper-button-next {
		right: -3rem;
		display: block;
	}
}

/* --------------------------------------------------------------------------
 * Newsletter — .newsletter-block
 * -------------------------------------------------------------------------- */
.newsletter-block {
	padding-top: 2rem;
	padding-bottom: 2rem;
	background-color: var(--meme-color-cream);
}

@media (min-width: 992px) {
	.newsletter-block {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
}

.newsletter-block__title {
	margin-bottom: 0;
	font-family: var(--meme-font-heading);
	font-size: calc(1.275rem + 0.3vw);
	font-weight: 400;
	max-width: 24rem;
	text-wrap: balance;
}

@media (min-width: 1200px) {
	.newsletter-block__title {
		font-size: 1.5rem;
	}
}

@media (max-width: 767.98px) {
	.newsletter-block__title {
		font-size: 1.125rem;
	}
}

.newsletter-block__title strong {
	display: block;
	font-weight: 600;
}

.newsletter-block__conditions {
	margin-bottom: 0;
	font-size: 0.75rem;
	text-align: left;
}

.newsletter-form {
	position: relative;
}

.newsletter-form .custom-form-element .form-control {
	min-height: 48px;
	padding-top: 12px;
	padding-right: 7rem;
	padding-bottom: 0;
	font-size: 0.875rem;
	border-color: transparent;
}

.custom-form-element .form-label {
	position: absolute;
	top: 6px;
	left: 1.125rem;
	z-index: 2;
	font-size: 0.6875rem;
	font-weight: 400;
	color: #5f5f5f;
	transition: all 0.3s ease;
}

.custom-form-element.empty .form-label {
	top: 50%;
	font-size: 0.875rem;
	transform: translateY(-50%);
}

.custom-form-element.empty .form-control::placeholder {
	opacity: 0;
}

.newsletter-form__submit-btn {
	position: absolute;
	top: 50%;
	right: 8px;
	padding: 0.3125rem 1rem;
	transform: translateY(-50%);
}

.newsletter-message {
	display: none;
	padding: 8px 14px;
	margin-top: 10px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 5px;
}

.newsletter-message.success {
	color: #0a3622;
	background-color: #d1e7dd;
	border-color: #0a3622;
}

.newsletter-message.error {
	color: #fff;
	background-color: #dc3545;
	border-color: #dc3545;
}

/* --------------------------------------------------------------------------
 * Galerie (ex-section sociale) — .crea-banners-wrapper.carousel-image
 * -------------------------------------------------------------------------- */
.crea-banners-wrapper.carousel-image {
	padding: 0;
}

.crea-banners-wrapper.carousel-image .crea-banners__title {
	margin-bottom: 1.5rem;
	font-size: calc(1.275rem + 0.3vw);
	font-weight: 600;
	text-align: center;
}

@media (min-width: 1200px) {
	.crea-banners-wrapper.carousel-image .crea-banners__title {
		font-size: 1.5rem;
	}
}

.crea-banners-wrapper.carousel-image .swiper {
	overflow: hidden;
}

.crea-banners-wrapper.carousel-image .swiper-scrollbar {
	margin-right: 1.25rem;
	margin-left: 1.25rem;
}

.crea-banners-wrapper.carousel-image .swiper-button-prev,
.crea-banners-wrapper.carousel-image .swiper-button-next {
	top: calc(50% - 1.25rem);
}

.crea-banners-wrapper.carousel-image .swiper-button-prev {
	left: 1.25rem;
}

.crea-banners-wrapper.carousel-image .swiper-button-next {
	right: 1.25rem;
}

.crea-banners-gallery__item img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Hero vidéo (bannière vidéo locale, Lead 2026-11-15) */
.crea-banners-banner__image { position: relative; }
.crea-banners-banner__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.banner-desktop .crea-banners-banner__video { min-height: 82vh; }
.banner-mobile .crea-banners-banner__video { min-height: auto; aspect-ratio: 1 / 1; }

/* --------------------------------------------------------------------------
 * Cartes produits — hauteurs égales et bouton aligné (client review 2026-11-15)
 * Réserve 2 lignes de titre + 1 ligne de sous-titre pour que les boutons
 * « Ajouter au panier » soient sur la même ligne dans un rail.
 * ----------------------------------------------------------------------- */
.crea-featuredcategories .swiper-wrapper,
.products-section .swiper-wrapper {
	align-items: stretch;
}

.crea-featuredcategories .swiper-slide,
.products-section .swiper-slide {
	display: flex;
	height: auto;
}

.crea-featuredcategories .product-miniature,
.products-section .product-miniature {
	width: 100%;
	height: 100%;
}

.crea-featuredcategories .product-miniature__name,
.products-section .product-miniature__name {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5em;
	margin-bottom: 0;
	line-height: 1.25;
}

.crea-featuredcategories .product-miniature__subtitle,
.products-section .product-miniature__subtitle {
	min-height: 1.35em;
	margin-bottom: 0;
	line-height: 1.35;
}

/* --------------------------------------------------------------------------
 * Hero vidéo « Le rouge sans compromis » — alignement sur la référence
 * 2026-11-15 (titre rouge à droite, bouton sombre, pas de description).
 * ----------------------------------------------------------------------- */
.banner-red-light .crea-banners-banner__description {
	display: none;
}

.banner-desktop .crea-banners-banner.banner-red-light .crea-banners-banner__content {
	width: 50%;
	align-items: flex-start;
	justify-content: center;
	padding: 6.25rem 7.5rem 6.25rem 5rem;
	text-align: left;
}

.banner-desktop .crea-banners-banner.banner-red-light .crea-banners-banner__content-inner {
	align-items: flex-start;
	text-align: left;
}

.banner-desktop .crea-banners-banner.banner-red-light .crea-banners-banner__title {
	margin-bottom: 3.9375rem;
	font-size: 3rem;
	font-weight: 500;
	line-height: 1.2;
	color: #e83c4c;
	text-align: left;
}

.banner-desktop .crea-banners-banner.banner-red-light .crea-banners-banner__btn {
	padding: 1rem 3.25rem;
	font-size: 1rem;
}

.banner-mobile .crea-banners-banner.banner-red-light .crea-banners-banner__title {
	color: #e83c4c;
}
