/* ============================================
   01. STYLE CARTE CADEAU
   ============================================ */

/* Stepper personnalisé */
.gift-card-stepper {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	flex: 1;
	max-width: 200px;
}

/* Step number de base */
.step-number {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 10px;
	transition: all 0.3s ease;
	border: 3px solid #f0f0f0;
}

/* Step actif - fond plus foncé */
.step-item.active .step-number {
	background: #757575;
	color: white;
	border: 3px solid #f0f0f0;
	transform: scale(1.1);
	padding-bottom: 3px;
}

/* Step complété - vert avec check icon */
.step-item.completed .step-number {
	background: #a2bba3;
	color: white;
	border-color: #a2bba3;
	font-size: 1rem;
}

/* Masquer le chiffre et afficher le check sur les steps complétés */
.step-item.completed .step-number::before {
	content: "\f00c";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}

/* Cacher le texte du chiffre dans les steps complétés */
.step-item.completed .step-number {
	font-size: 0; /* Cache le texte du chiffre */
}

.step-item.completed .step-number::before {
	font-size: 0.9rem; /* Taille de l'icône check */
}

.step-label {
	font-size: 0.9rem;
	color: #999;
	text-align: center;
	transition: all 0.3s ease;
	margin-bottom: 10px;
}

.step-item.active .step-label {
	color: #757575;
	font-weight: 600;
}   

.step-item.completed .step-label {
	color: #a2bba3;
	font-weight: 600;
}  

/* Contenu des étapes */
.step-content {
	display: none;
	animation: fadeIn 0.5s ease;
}

.step-content.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Étape 1: Choix massage/forfait */
.choice-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.choice-column {
	background: white;
	border-radius: 12px;
	padding: 30px;
	border: 1px dashed #ddd;
}

.choice-column h3 {
	font-family: 'Playfair', serif;
	font-size: 1.8rem;
	margin-bottom: 10px;
	color: #2c2c2c;
}

.choice-column .subtitle {
	color: #777;
	margin-bottom: 30px;
	font-size: 1rem;
	text-align: center;
}

.massage-item {
	padding: 10px;
	border: 2px solid #f0f0f0;
	border-radius: 8px;
	margin-bottom: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.massage-item:hover {
	border-color: #a2bba3;
	background: #f9faf9;
	transform: translateX(5px);
}

.massage-item.selected {
	border-color: #a2bba3;
	background: #f0f4f0;
	border-width: 3px;
}

.massage-info {
	flex: 1;
}

.massage-name {
	font-weight: 600;
	font-size: 1.1rem;
	color: #2c2c2c;
	margin-bottom: 5px;
}

.massage-duration {
	font-size: 0.9rem;
	color: #777;
	font-family: var(--secondary-font);
}

.massage-price {
	font-family: 'Playfair', serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #a2bba3;
}

/* Étape 2-4: Layout avec preview */
.form-with-preview {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.form-section {
	background: white;
	border-radius: 12px;
	padding: 30px;
	border: 1px dashed #ddd;
}

.form-section h3 {
	font-family: 'Playfair', serif;
	font-size: 1.5rem;
	margin-bottom: 25px;
	color: #2c2c2c;
}

/* Preview carte cadeau */
.card-preview {
	background: white;
	border-radius: 12px;
	padding: 30px;
	border: 1px dashed #ddd;
	position: sticky;
	top: 20px;
}

.card-preview h4 {
	font-family: 'Playfair', serif;
	font-size: 1.3rem;
	margin-bottom: 20px;
	color: #2c2c2c;
	text-align: center;
}

.gift-card-visual {
	background: #3d4146;
	border-radius: 20px;
	padding: 20px 20px;
	color: white;
	min-height: 350px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	position: relative;
}

.gift-card-visual::before {
	content: '\f663';
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	position: absolute;
	right: 35px;
	font-size: 2.5rem;
	color: white;
	opacity: 0.6;
}

.card-header {
	text-align: center;
	padding-bottom: 10px;
}

.card-title {
	font-family: 'Jost', sans-serif;
	font-size: 2rem;
	margin-bottom: 8px;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.card-subtitle {
	font-size: 1.1rem;
	opacity: 0.95;
	font-weight: 300;
	letter-spacing: 1px;
}

.card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 20px 20px;
	min-height: 200px;
}

.card-massage {
	font-family: 'Jost', sans-serif;
	font-size: 1.5rem;
	margin-bottom: 8px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	text-align: center;
}

.card-duration {
	font-size: 1.1rem;
	color: #a2bba3;
	font-weight: 300;
	text-align: center;
	margin-bottom: 10px;
}

.card-message {
	flex: 1;
	font-style: italic;
	font-size: 0.95rem;
	line-height: 1.6;
	opacity: 0.85;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 6px;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 10px;
}

.card-to {
	font-size: 1rem;
	font-weight: 300;
}

.card-to strong {
	font-weight: 400;
}

.card-price {
	font-family: 'Jost', sans-serif;
	font-size: 2rem;
	font-weight: 300;
	letter-spacing: 1px;
	color: #a2bba3;
}

/* Formulaires */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #2c2c2c;
	font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-family: 'Jost', sans-serif;
	font-size: 0.95rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #a2bba3;
}

.form-group textarea {
	min-height: 100px;
	resize: vertical;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.form-helper {
	font-size: 0.8rem;
	color: #777;
	margin-top: 4px;
}

/* Récapitulatif */
.summary-box {
	background: white;
	border-radius: 12px;
	padding: 30px;
	border: 1px dashed #ddd;
	margin-bottom: 30px;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-child {
	border-bottom: none;
	margin-top: 10px;
	padding-top: 20px;
	font-size: 1.3rem;
	font-weight: 600;
}

.summary-label {
	color: #777;
}

.summary-value {
	font-weight: 600;
	color: #2c2c2c;
}

.message-preview {
	background: #f9faf9;
	border-left: 4px solid #a2bba3;
	padding: 20px;
	margin-top: 10px;
	font-style: italic;
	color: #555;
}

/* Boutons de navigation - utilise les classes existantes du site */
.step-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
	gap: 20px;
}

.step-navigation .btn {
	flex: 0 0 auto; /* Change cette ligne */
}

/* Pour l'étape 1 - bouton unique à droite */
.step-content[data-step="1"] .step-navigation {
	justify-content: flex-end;
}

.step-content[data-step="1"] .step-navigation .btn {
	flex: 0 0 auto;
}

/* Confirmation */
.confirmation-message {
	text-align: center;
	padding: 60px 20px;
}

.btn i {
	padding: 0 10px; /* Ajoute : après padding */
}
.confirmation-icon {
	width: 80px;
	height: 80px;
	background: #a2bba3;
	border-radius: 50%;
	margin: 0 auto 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: white;
}

.confirmation-message h2 {
	font-family: 'Playfair', serif;
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.confirmation-message p {
	font-size: 1.2rem;
	color: #666;
	line-height: 1.8;
	max-width: 600px;
	margin: 0 auto;
}

/* Force la suppression de toutes les bordures/ombres sur les boutons */
#next-step-1,
#next-step-2,
#next-step-4,
.step-navigation button {
	outline: none !important;
	box-shadow: none !important;
	border: 1px solid transparent !important;
}

.step-navigation button:focus,
.step-navigation button:active {
	outline: none !important;
	box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
	.choice-grid {
		grid-template-columns: 1fr;
	}
	
	.form-grid {
		grid-template-columns: 1fr;
	}
	
	.gift-card-stepper {
		padding: 20px 0;
	}
	
	.step-label {
		font-size: 0.75rem;
	}
	
	.step-number {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}
	
	.step-navigation {
		flex-direction: column;
	}
}