/* Page Conseils - Design Élégant */

.conseils-page {
	padding: 8rem 5% 6rem;
	background: #fafaf8;
	min-height: 100vh;
}

.conseils-header {
	margin-bottom: 5rem;
}

.conseils-title {
	color: #2c2c2c;
}

.conseils-description {
	color: #555;
}

.conseils-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}

/* Animation fadeInUp qui préserve la rotation */
@keyframes fadeInUp {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Card conseil - Style Post-it */
.conseil-card {
	opacity: 0;
	animation: fadeInUp 0.6s ease;
	animation-fill-mode: forwards;
	background: #fef9c3;
	border-radius: 2px;
	padding: 2rem;
	box-shadow: 
		1px 2px 6px rgba(0, 0, 0, 0.08),
		0 1px 3px rgba(0, 0, 0, 0.06);
	border: none;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				border-top-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	transform: translateY(var(--offset-y)) translateX(var(--offset-x)) rotate(var(--rotation));
}

/* Variations de position et rotation pour chaque post-it */
.conseil-card:nth-child(1) {
	--rotation: -4deg;
	--offset-x: -18px;
	--offset-y: 12px;
	background: #fffef5; /* Blanc crème */
	border-top: 3px solid #d4af37;
}

.conseil-card:nth-child(2) {
	--rotation: 3deg;
	--offset-x: 25px;
	--offset-y: -8px;
	background: #f8f8f6; /* Gris perle */
	border-top: 3px solid #b8941e;
}

.conseil-card:nth-child(3) {
	--rotation: -2.5deg;
	--offset-x: 10px;
	--offset-y: 16px;
	background: #fefdfb; /* Blanc ivoire */
	border-top: 3px solid #d4af37;
}

.conseil-card:nth-child(4) {
	--rotation: 5deg;
	--offset-x: -20px;
	--offset-y: -10px;
	background: #f9f9f7; /* Blanc cassé */
	border-top: 3px solid #b8941e;
}

.conseil-card:nth-child(5) {
	--rotation: -3.5deg;
	--offset-x: 15px;
	--offset-y: 8px;
	background: #faf9f5; /* Beige très clair */
	border-top: 3px solid #d4af37;
}

.conseil-card:nth-child(6) {
	--rotation: 2.5deg;
	--offset-x: -12px;
	--offset-y: -15px;
	background: #f7f7f5; /* Gris chaud */
	border-top: 3px solid #b8941e;
}

.conseil-card::before {
	display: none;
}

.conseil-card:hover,
.conseil-card:focus,
.conseil-card:active {
	transform: translateY(-10px) translateX(0) rotate(0deg) scale(1.02);
	box-shadow: 
		4px 12px 24px rgba(0, 0, 0, 0.15),
		0 4px 12px rgba(212, 175, 55, 0.25);
	border-top-width: 4px;
	z-index: 10;
	cursor: pointer;
}

.conseil-icon,
.conseil-title,
.conseil-content {
	pointer-events: none;
}

.conseil-card:hover .conseil-icon,
.conseil-card:focus .conseil-icon,
.conseil-card:active .conseil-icon {
	transform: scale(1.15);
	color: #b8941e;
}

.conseil-card:hover .conseil-title,
.conseil-card:focus .conseil-title,
.conseil-card:active .conseil-title {
	color: #d4af37;
}

.conseil-card .conseil-icon,
.conseil-card .conseil-title {
	transition: all 0.3s ease;
}

.conseil-card:nth-child(1) { animation-delay: 0.1s; }
.conseil-card:nth-child(2) { animation-delay: 0.2s; }
.conseil-card:nth-child(3) { animation-delay: 0.3s; }
.conseil-card:nth-child(4) { animation-delay: 0.4s; }
.conseil-card:nth-child(5) { animation-delay: 0.5s; }
.conseil-card:nth-child(6) { animation-delay: 0.6s; }

.conseil-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #d4af37;
	display: block;
}

.conseil-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: #2c2c2c;
	margin-bottom: 1rem;
}

.conseil-content {
	color: #3a3a3a;
	line-height: 1.7;
	font-size: 0.95rem;
	font-weight: 300;
}

.conseil-content p {
	margin-bottom: 1rem;
}

.conseil-content p:last-child {
	margin-bottom: 0;
}

.conseil-important {
	background: rgba(212, 175, 55, 0.1);
	border-left: 3px solid var(--gold-light);
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	border-radius: 4px;
}

.conseil-important strong {
	color: var(--gold-dark);
}

.conseils-loading {
	text-align: center;
	padding: 4rem 2rem;
	color: var(--gold-light);
	font-size: 1.2rem;
	font-family: Georgia, 'Times New Roman', serif;
}

/* Responsive - Desktop-First */

/* Ultra-large screens ≤2559px */
@media (max-width: 2559px) {
	/* Écrans ≤2559px */
}

/* Large desktop ≤1919px */
@media (max-width: 1919px) {
	/* Écrans ≤1919px */
}

/* Desktop ≤1439px */
@media (max-width: 1439px) {
	/* Écrans ≤1439px */
}

/* Laptop ≤1279px */
@media (max-width: 1279px) {
	.conseil-card {
		padding: 2.5rem;
	}
}

/* Tablet large ≤1023px */
@media (max-width: 1024px) {
	/* Écrans ≤1023px */
}

/* Tablet landscape ≤899px */
@media (max-width: 899px) {
	@media (orientation: landscape) {
		/* Tablette landscape ≤899px */
	}
}

/* Tablet portrait ≤899px */
@media (max-width: 899px) {
	@media (orientation: portrait) {
		/* Tablette portrait ≤899px */
	}
}

/* Small tablet ≤714px */
@media (max-width: 714px) {
	/* Écrans ≤714px */
}

/* Mobile landscape ≤640px */
@media (max-width: 640px) {
	/* Écrans ≤640px */
}

/* Mobile portrait */
@media (max-width: 768px) {
	.conseils-page {
		padding: 7rem 5% 4rem;
	}
	
	.page-title {
		font-size: 2rem;
	}
	
	.page-description {
		font-size: 0.95rem;
		line-height: 1.6;
	}
	
	.conseils-grid {
		gap: 1.5rem;
		grid-template-columns: 1fr;
	}
	
	.conseil-card {
		padding: 2rem 1.5rem;
		transform: rotate(0deg) !important;
	}
	
	.conseil-title {
		font-size: 1.4rem;
	}
	
	.conseil-content {
		font-size: 0.9rem;
		line-height: 1.7;
	}
}

@media (max-width: 480px) {
	.conseils-page {
		padding: 6rem 4% 3rem;
	}
	
	.page-title {
		font-size: 1.8rem;
	}
	
	.conseil-card {
		padding: 1.5rem 1.2rem;
	}
	
	.conseil-icon {
		font-size: 2.5rem;
	}
	
	.conseil-title {
		font-size: 1.2rem;
	}
	
	.conseil-content {
		font-size: 0.85rem;
	}
}
