/* xl - DESKTOP STYLES */ 
/* ============================================================
   BOX SECTION — Keeth'So
   Fichier : assets/css/box-section.css
   Préfixe ks- pour éviter tout conflit avec le thème existant
   À enregistrer dans functions.php avec wp_enqueue_style()
   ============================================================ */

.ks-box-section {
	background: #141414;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

/* Texte décoratif fond */
.ks-box-bg-text {
	position: absolute;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 260px;
	font-style: italic;
	font-weight: 700;
	color: rgba(255,255,255,0.025);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	pointer-events: none;
	line-height: 1;
	user-select: none;
}

.ks-box-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	position: relative;
	z-index: 2;
}

/* ---- En-tête ---- */
.ks-box-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 60px;
	gap: 40px;
}

.ks-box-eyebrow {
	font-size: 10px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #f0a0bf;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.ks-box-eyebrow::before {
	content: '';
	display: block;
	width: 30px;
	height: 1px;
	background: #f0a0bf;
}

.ks-box-title {
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 300;
	color: #ffffff;
	line-height: 1.05;
}
.ks-box-title em {
	font-style: italic;
	color: #e8749d;
}

.ks-box-header-right {
	max-width: 300px;
	text-align: right;
	flex-shrink: 0;
}
.ks-box-header-right p {
	font-size: 14px;
	color: rgba(255,255,255,0.45);
	line-height: 1.7;
	margin-bottom: 20px;
}

.ks-btn-outline {
	display: inline-block;
	border: 1.5px solid #e8749d;
	color: #e8749d;
	padding: 12px 28px;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 500;
	background: transparent;
	transition: background 0.3s, color 0.3s;
	text-decoration: none;
}
.ks-btn-outline:hover {
	background: #e8749d;
	color: #fff;
}

/* ---- Cartes ---- */
.ks-box-cards {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	margin-bottom: 60px;
}

.ks-box-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	padding: 30px 28px 28px;
	position: relative;
	transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
	cursor: pointer;
	overflow: hidden;
}
.ks-box-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(232,116,157,0.08) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.4s;
}
.ks-box-card:hover {
	border-color: rgba(232,116,157,0.35);
	transform: translateY(-6px);
	box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.ks-box-card:hover::before,
.ks-box-card--featured::before {
	opacity: 1;
}
.ks-box-card--featured {
	border-color: #e8749d;
	background: rgba(232,116,157,0.07);
}

/* Badge "Populaire" */
.ks-box-card-badge {
	position: absolute;
	top: 0;
	right: 24px;
	background: #e8749d;
	color: white;
	font-size: 9px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 6px 14px;
	font-weight: 600;
}

/* Image */
.ks-box-img-wrap {
	width: 100%;
	height: 180px;
	margin-bottom: 22px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1e1e1e;
}
.ks-box-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.5s;
}
.ks-box-card:hover .ks-box-img-wrap img {
	transform: scale(1.04);
}

/* Texte carte */
.ks-box-card-name {
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 26px;
	font-weight: 300;
	color: #ffffff;
	margin-bottom: 6px;
	line-height: 1;
}
.ks-box-card-items {
	font-size: 11px;
	letter-spacing: 1px;
	color: #f0a0bf;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.ks-box-card-desc {
	font-size: 13px;
	color: rgba(255,255,255,0.45);
	line-height: 1.7;
	margin-bottom: 24px;
	min-height: 60px;
}
.ks-box-card-price {
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 42px;
	font-weight: 300;
	color: #ffffff;
	line-height: 1;
	margin-bottom: 4px;
}
.ks-box-card-price sup {
	font-size: 18px;
	vertical-align: super;
	margin-right: 3px;
}
.ks-box-card-pricetag {
	font-size: 11px;
	color: rgba(255,255,255,0.3);
	margin-bottom: 24px;
}
.ks-box-card-cta {
	display: block;
	background: rgba(255,255,255,0.08);
	color: #ffffff;
	text-align: center;
	padding: 13px;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 500;
	transition: background 0.3s, border-color 0.3s;
	border: 1px solid rgba(255,255,255,0.08);
	text-decoration: none;
}
.ks-box-card-cta:hover,
.ks-box-card--featured .ks-box-card-cta {
	background: #e8749d;
	border-color: #e8749d;
	color: #fff;
}

/* ---- Étapes ---- */
.ks-box-how {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(255,255,255,0.07);
	padding-top: 50px;
}
.ks-how-step {
	padding: 0 40px 0 0;
	position: relative;
}
.ks-how-step:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 20px;
	top: 8px;
	width: 1px;
	height: 40px;
	background: rgba(255,255,255,0.1);
}
.ks-how-num {
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 52px;
	font-weight: 300;
	color: rgba(232,116,157,0.3);
	line-height: 1;
	margin-bottom: 10px;
}
.ks-how-title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: 8px;
}
.ks-how-text {
	font-size: 13px;
	color: rgba(255,255,255,0.4);
	line-height: 1.7;
	margin: 0;
}
.ks-how-text em { color: #f0a0bf; font-style: italic; }

/* ---- Reveal au scroll ---- */
.ks-reveal {
	//opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s, transform 0.7s;
}
.ks-reveal.ks-visible {
	opacity: 1;
	transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.ks-box-inner { padding: 0 28px; }
}
@media (max-width: 860px) {
	.ks-box-section { padding: 60px 0; }
	.ks-box-inner { padding: 0 20px; }
	.ks-box-bg-text { font-size: 90px; }
	.ks-box-header { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
	.ks-box-header-right { max-width: 100%; text-align: left; }
	.ks-box-cards { grid-template-columns: 1fr; gap: 16px; }
	.ks-box-img-wrap { height: 220px; }
	.ks-box-how { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
	.ks-how-step { padding: 0; }
	.ks-how-step::after { display: none; }
}


