/* ============================================================================
   ZEE SPA — Styles front (slider, promotions, spas, formulaire)
   Autonome : ne dépend d'aucun thème. Préfixe .zee- pour éviter les conflits.
   ========================================================================== */

.zee-slider,
.zee-promos,
.zee-spas,
.zee-lead-form {
	--zee-accent: #0f9bd7;         /* décoratif (anneaux focus, dégradés) */
	--zee-accent-dark: #0a7aab;    /* fond des surfaces portant du texte — AA 4.8:1 sur blanc */
	--zee-accent-darker: #075f86;  /* survol des CTA */
	--zee-red: #c62841;            /* rouge promo — AA sur blanc (badge/remise) */
	--zee-ink: #1a2b33;
	--zee-radius: 14px;
	box-sizing: border-box;
	font-family: inherit;
}

.zee-slider *,
.zee-promos *,
.zee-spas *,
.zee-lead-form * {
	box-sizing: border-box;
}

/* -------------------------------------------------------------- SLIDER */
.zee-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #0b1418;            /* évite un fond blanc si l'image ne couvre pas */
	--zee-slide-h: clamp( 420px, 66vh, 760px );
}
.zee-slider__track {
	position: relative;
	width: 100%;
	height: var(--zee-slide-h);
}
.zee-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease;
}
.zee-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}
.zee-slide__media,
.zee-slide__media img,
.zee-slide__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Voile : dégradé sombre pour la lisibilité, plus dense en bas. */
.zee-slide__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba( 7, 17, 23, 0.80 ) 0%,
		rgba( 7, 17, 23, 0.30 ) 44%,
		rgba( 7, 17, 23, 0.12 ) 100%
	);
}
.zee-slide__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;       /* texte TOUJOURS centré verticalement */
	gap: 1rem;
	width: min( 100%, 1200px );    /* cadre centré : marge à gauche/droite */
	margin-inline: auto;
	padding: clamp( 1.6rem, 5vw, 4.5rem );
	color: #fff;
}
/* L'alignement ne joue QUE sur l'horizontale ; la verticale reste centrée. */
.zee-align-center { align-items: center; text-align: center; }
.zee-align-left { align-items: flex-start; text-align: left; }
.zee-align-right { align-items: flex-end; text-align: right; }

.zee-slide__title {
	margin: 0;
	max-width: 22ch;
	/* Police globale « Principale » d'Elementor (repli = réglages par défaut du slider). */
	font-family: var( --e-global-typography-primary-font-family, inherit );
	font-size: var( --e-global-typography-primary-font-size, clamp( 2rem, 5vw, 3.8rem ) );
	font-weight: var( --e-global-typography-primary-font-weight, 800 );
	line-height: var( --e-global-typography-primary-line-height, 1.04 );
	letter-spacing: var( --e-global-typography-primary-letter-spacing, -0.02em );
	text-transform: var( --e-global-typography-primary-text-transform, none );
	text-shadow: 0 2px 24px rgba( 0, 0, 0, 0.4 );
}
.zee-align-center .zee-slide__title { max-width: 24ch; }
.zee-slide__subtitle {
	margin: 0;
	/* Police globale « Texte » d'Elementor. */
	font-family: var( --e-global-typography-text-font-family, inherit );
	font-size: var( --e-global-typography-text-font-size, clamp( 1rem, 1.8vw, 1.35rem ) );
	font-weight: var( --e-global-typography-text-font-weight, 400 );
	line-height: var( --e-global-typography-text-line-height, 1.5 );
	letter-spacing: var( --e-global-typography-text-letter-spacing, normal );
	max-width: 46ch;
	color: rgba( 255, 255, 255, 0.9 );
	text-shadow: 0 1px 14px rgba( 0, 0, 0, 0.4 );
}
.zee-slide__cta {
	margin-top: 0.6rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.95rem 2rem;
	background: var(--zee-accent-dark);
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	/* Police globale « Accentué » d'Elementor. */
	font-family: var( --e-global-typography-accent-font-family, inherit );
	font-size: var( --e-global-typography-accent-font-size, 1.02rem );
	font-weight: var( --e-global-typography-accent-font-weight, 700 );
	letter-spacing: var( --e-global-typography-accent-letter-spacing, normal );
	text-transform: var( --e-global-typography-accent-text-transform, none );
	box-shadow: 0 10px 26px rgba( 15, 155, 215, 0.45 );
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.zee-slide__cta::after {
	content: '→';
	font-size: 1.05em;
	line-height: 1;
	transition: transform 0.2s ease;
}
.zee-slide__cta:hover {
	background: var(--zee-accent-darker);
	transform: translateY( -2px );
	box-shadow: 0 14px 32px rgba( 15, 155, 215, 0.55 );
}
.zee-slide__cta:hover::after { transform: translateX( 3px ); }
.zee-slide__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Animations d'entrée du contenu de la slide active */
.zee-slide.is-active .zee-slide__content > * {
	animation: zeeUp 0.8s both cubic-bezier( 0.22, 1, 0.36, 1 );
}
.zee-slide.is-active .zee-slide__title { animation-delay: 0.05s; }
.zee-slide.is-active .zee-slide__subtitle { animation-delay: 0.16s; }
.zee-slide.is-active .zee-slide__cta { animation-delay: 0.28s; }
@keyframes zeeUp {
	from { opacity: 0; transform: translateY( 26px ); }
	to { opacity: 1; transform: translateY( 0 ); }
}
.zee-anim-zoom.is-active .zee-slide__media img,
.zee-anim-zoom.is-active .zee-slide__media video {
	animation: zeeZoom 8s ease-out both;
}
@keyframes zeeZoom {
	from { transform: scale( 1.02 ); }
	to { transform: scale( 1.14 ); }
}
.zee-anim-slide.is-active .zee-slide__content > * {
	animation: zeeSlideIn 0.8s both cubic-bezier( 0.22, 1, 0.36, 1 );
}
@keyframes zeeSlideIn {
	from { opacity: 0; transform: translateX( -44px ); }
	to { opacity: 1; transform: translateX( 0 ); }
}

/* Flèches : boutons « verre » (glassmorphism) avec chevrons SVG nets. */
.zee-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 3;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba( 255, 255, 255, 0.45 );
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.14 );
	-webkit-backdrop-filter: blur( 8px );
	backdrop-filter: blur( 8px );
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.zee-slider__nav svg { width: 24px; height: 24px; display: block; }
.zee-slider__nav:hover {
	background: rgba( 255, 255, 255, 0.28 );
	border-color: rgba( 255, 255, 255, 0.7 );
}
.zee-slider__nav:active { transform: translateY( -50% ) scale( 0.94 ); }
.zee-slider__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.zee-slider__prev { left: clamp( 12px, 2vw, 28px ); }
.zee-slider__next { right: clamp( 12px, 2vw, 28px ); }
@media ( max-width: 560px ) {
	.zee-slider__nav { width: 42px; height: 42px; }
	.zee-slider__nav svg { width: 20px; height: 20px; }
}

/* Points : pastilles qui s'allongent en pilule quand actives. */
.zee-slider__dots {
	position: absolute;
	bottom: clamp( 14px, 2.4vw, 26px );
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.zee-slider__dot {
	position: relative;
	width: 9px;
	height: 9px;
	border: none;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.55 );
	cursor: pointer;
	padding: 0;
	transition: width 0.3s ease, background 0.3s ease;
}
/* Zone cliquable élargie à ~25px sans changer la taille visuelle (cible tactile). */
.zee-slider__dot::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; }
.zee-slider__dot:hover { background: rgba( 255, 255, 255, 0.85 ); }
.zee-slider__dot.is-active { width: 28px; background: #fff; }
.zee-slider__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Respect de la préférence « animations réduites » : on coupe Ken Burns et
   les entrées animées pour les utilisateurs sensibles au mouvement. */
@media ( prefers-reduced-motion: reduce ) {
	.zee-slide,
	.zee-slide.is-active .zee-slide__content > *,
	.zee-anim-zoom.is-active .zee-slide__media img,
	.zee-anim-zoom.is-active .zee-slide__media video,
	.zee-anim-slide.is-active .zee-slide__content > * {
		animation: none !important;
		transition: opacity 0.25s ease !important;
	}
}

/* ---------------------------------------------------------- GRILLES */
.zee-promos,
.zee-spas {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) );
}
.zee-cols-1 { grid-template-columns: 1fr; }
.zee-cols-2 { grid-template-columns: repeat( 2, 1fr ); }
.zee-cols-3 { grid-template-columns: repeat( 3, 1fr ); }
.zee-cols-4 { grid-template-columns: repeat( 4, 1fr ); }
@media ( max-width: 900px ) {
	.zee-cols-3, .zee-cols-4 { grid-template-columns: repeat( 2, 1fr ); }
}
@media ( max-width: 560px ) {
	.zee-cols-2, .zee-cols-3, .zee-cols-4 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------ PROMOTIONS */
.zee-promos-section { margin: 2rem 0; }
.zee-promos-title {
	margin: 0 0 1.5rem;
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
}
.zee-promo {
	position: relative;
	border-radius: var(--zee-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 30px rgba( 0, 0, 0, 0.08 );
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.zee-promo:hover {
	transform: translateY( -4px );
	box-shadow: 0 16px 40px rgba( 0, 0, 0, 0.14 );
}
.zee-promo__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--zee-red);
	color: #fff;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.zee-promo__media img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.zee-promo__body { padding: 1.3rem; }
.zee-promo__discount {
	color: var(--zee-red);
	font-weight: 800;
	font-size: 1.5rem;
}
.zee-promo__title { margin: 0.2rem 0 0.5rem; font-size: 1.2rem; }
.zee-promo__desc { font-size: 0.95rem; opacity: 0.85; }
.zee-promo__cta {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.65rem 1.4rem;
	background: var(--zee-accent-dark);
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 700;
}
.zee-promo__cta:hover { background: var(--zee-accent-darker); }
.zee-promo__cta:focus-visible { outline: 3px solid var(--zee-accent-darker); outline-offset: 2px; }

/* ------------------------------------------------------------- SPAS */
.zee-spa-card {
	background: #fff;
	border-radius: var(--zee-radius);
	overflow: hidden;
	box-shadow: 0 8px 30px rgba( 0, 0, 0, 0.08 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.zee-spa-card:hover {
	transform: translateY( -4px );
	box-shadow: 0 16px 40px rgba( 0, 0, 0, 0.14 );
}
.zee-spa-card__link { text-decoration: none; color: inherit; display: block; position: relative; }
.zee-spa-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
	text-transform: capitalize;
}
.zee-tag-neuf { background: #0f7a44; }        /* AA : blanc ~5.3:1 (était #2fae7a 2.82:1) */
.zee-tag-occasion { background: #b45309; }    /* AA : blanc ~4.9:1 (était #e0912f 2.54:1) */
.zee-spa-card__media img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}
.zee-spa-card__body { padding: 1.2rem; }
.zee-spa-card__title { margin: 0 0 0.5rem; font-size: 1.15rem; }
.zee-spa-card__specs {
	list-style: none;
	padding: 0;
	margin: 0 0 0.7rem;
	display: flex;
	gap: 1rem;
	font-size: 0.85rem;
	opacity: 0.75;
}
.zee-spa-card__price {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}
.zee-spa-card__old {
	text-decoration: line-through;
	opacity: 0.5;
	font-size: 0.9rem;
}
.zee-spa-card__now {
	color: var(--zee-accent-dark);
	font-weight: 800;
	font-size: 1.35rem;
}

/* ------------------------------------------------------- FORMULAIRE */
.zee-lead-form {
	max-width: 620px;
	background: #fff;
	padding: 1.8rem;
	border-radius: var(--zee-radius);
	box-shadow: 0 8px 30px rgba( 0, 0, 0, 0.08 );
}
.zee-lead-form__title { margin: 0 0 1.2rem; font-size: 1.5rem; }
.zee-field { margin-bottom: 1rem; }
.zee-field-row { display: flex; gap: 1rem; }
.zee-field-row .zee-field { flex: 1; }
@media ( max-width: 480px ) { .zee-field-row { flex-direction: column; gap: 0; } }
.zee-field label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: var(--zee-ink);
}
.zee-field input,
.zee-field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #d5dee2;
	border-radius: 10px;
	font: inherit;
	background: #f8fafb;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.zee-field input:focus,
.zee-field textarea:focus {
	outline: none;
	border-color: var(--zee-accent);
	box-shadow: 0 0 0 3px rgba( 15, 155, 215, 0.15 );
	background: #fff;
}
.zee-lead-form__submit {
	width: 100%;
	padding: 0.9rem;
	border: none;
	border-radius: 10px;
	background: var(--zee-accent-dark);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease;
}
.zee-lead-form__submit:hover { background: var(--zee-accent-darker); }
.zee-lead-form__submit:focus-visible { outline: 3px solid var(--zee-accent-darker); outline-offset: 2px; }
.zee-lead-form__submit:disabled { opacity: 0.6; cursor: default; }
.zee-lead-form__submit.is-loading::after { content: ' …'; }
.zee-lead-form__msg {
	padding: 0.85rem 1rem;
	border-radius: 10px;
	margin-bottom: 1rem;
	font-size: 0.95rem;
}
.zee-lead-form__msg.is-success { background: #e4f7ee; color: #1c7a4f; border: 1px solid #b7e6cf; }
.zee-lead-form__msg.is-error { background: #fdecef; color: #b32c42; border: 1px solid #f4c2cc; }

/* Consentement RGPD — sélecteur descendant pour l'emporter sur « .zee-field label »
   (spécificité 0,2,0 > 0,1,1) sans recourir à !important. */
.zee-consent .zee-consent__label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 400;
	font-size: 0.85rem;
	line-height: 1.4;
	cursor: pointer;
}
.zee-consent__label input { width: auto; margin-top: 0.15rem; }
.zee-consent__label a { color: var(--zee-accent-dark); }

/* ---------------------------------------------------- FICHE SPA (single) */
.zee-single-spa { max-width: 1180px; margin: 2rem auto; padding: 0 1rem; }
.zee-single-spa__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; }
@media ( max-width: 860px ) { .zee-single-spa__grid { grid-template-columns: 1fr; } }
.zee-single-spa__media { position: relative; }
.zee-single-spa__cover img { width: 100%; border-radius: var(--zee-radius); display: block; }
.zee-single-spa__gallery { display: grid; grid-template-columns: repeat( 4, 1fr ); gap: 0.6rem; margin-top: 0.6rem; }
.zee-single-spa__gallery img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; display: block; }
.zee-single-spa__title { font-size: clamp( 1.6rem, 3vw, 2.4rem ); margin: 0 0 1rem; }
.zee-single-spa__price { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.4rem; }
.zee-single-spa__specs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.zee-single-spa__specs li { display: flex; justify-content: space-between; background: #f4f8fa; padding: 0.6rem 0.9rem; border-radius: 8px; font-size: 0.92rem; }
.zee-single-spa__specs span { color: #6b7c88; }
.zee-single-spa__desc { margin-bottom: 1.8rem; line-height: 1.6; }
.zee-single-spa__cta .zee-lead-form { max-width: none; }
