/* Force le background blanc sur tout le site */
body {
    background-color: #ffffff !important;
}

/* Si certaines sections héritent d'un bg bleu, tu peux aussi ajouter */
section {
    background-color: #ffffff !important;
}

/* Style pour les placeholders */
.form-control::placeholder {
  color: #6c757d; /* Couleur grise standard de Bootstrap */
  opacity: 1; /* S'assure que la couleur n'est pas transparente */
}

/* Pour les navigateurs plus anciens */
.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #6c757d;
}
.form-control::-moz-placeholder { /* Firefox 19+ */
  color: #6c757d;
  opacity: 1;
}
.form-control:-ms-input-placeholder { /* IE 10+ */
  color: #6c757d;
}
.form-control:-moz-placeholder { /* Firefox 18- */
  color: #6c757d;
  opacity: 1;
}
.close-menu {
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 9999; /* 🔥 très important */

  width: 35px;
  height: 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f1f1f1;
  border: none;
  border-radius: 6px;

  cursor: pointer;
}

/* ❌ caché par défaut (desktop) */
.close-menu {
  display: none;
}

/* ✅ visible uniquement en mobile */
@media (max-width: 991.98px) {
  .close-menu {
    display: flex;
  }
}
/* ═══════════════════════════════════════════════════════════════ */
/* CUSTOM FLASH MESSAGES - Matching Brand Colors & Design */
/* ═══════════════════════════════════════════════════════════════ */

.flash-alert {
  position: relative;
  border: none;
  border-left: 4px solid;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  animation: slideDownIn 0.35s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Slide in animation */
@keyframes slideDownIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide out animation */
@keyframes slideUpOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.alert.fade.show:not(.show) {
  animation: slideUpOut 0.35s ease-in forwards;
}

/* ── Success Alert (#10b981) ── */
.alert-success {
  background-color: #ecfdf5;
  border-left-color: #10b981;
  color: #065f46;
}

.alert-success .flash-icon {
  color: #10b981;
  font-size: 1.25rem;
}

.alert-success .btn-close {
  background-color: rgba(16, 185, 129, 0.1);
  opacity: 1;
}

.alert-success .btn-close:hover {
  background-color: rgba(16, 185, 129, 0.2);
}

/* ── Error/Danger Alert (#ff5938 - Your Brand Color) ── */
.alert-danger,
.alert-error {
  background-color: #fff5f3;
  border-left-color: #ff5938;
  color: #7c2d12;
}

.alert-danger .flash-icon,
.alert-error .flash-icon {
  color: #ff5938;
  font-size: 1.25rem;
}

.alert-danger .btn-close,
.alert-error .btn-close {
  background-color: rgba(255, 89, 56, 0.1);
  opacity: 1;
}

.alert-danger .btn-close:hover,
.alert-error .btn-close:hover {
  background-color: rgba(255, 89, 56, 0.2);
}

/* ── Warning Alert (#f97316) ── */
.alert-warning {
  background-color: #fef3c7;
  border-left-color: #f97316;
  color: #7c2d12;
}

.alert-warning .flash-icon {
  color: #f97316;
  font-size: 1.25rem;
}

.alert-warning .btn-close {
  background-color: rgba(249, 115, 22, 0.1);
  opacity: 1;
}

.alert-warning .btn-close:hover {
  background-color: rgba(249, 115, 22, 0.2);
}

/* ── Info Alert (#3b82f6) ── */
.alert-info {
  background-color: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e3a8a;
}

.alert-info .flash-icon {
  color: #3b82f6;
  font-size: 1.25rem;
}

.alert-info .btn-close {
  background-color: rgba(59, 130, 246, 0.1);
  opacity: 1;
}

.alert-info .btn-close:hover {
  background-color: rgba(59, 130, 246, 0.2);
}

/* ── Flash Message Typography ── */
.flash-content {
  font-size: 0.95rem;
  line-height: 1.5;
}

.flash-message {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
}

/* ── Responsive Design ── */
@media (max-width: 576px) {
  .flash-alert {
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
  }

  .d-flex.gap-3 {
    gap: 12px !important;
  }

  .flash-icon {
    font-size: 1.1rem !important;
    min-width: 24px;
  }
}

.youtube-short-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #000;
  box-shadow: 0 24px 60px rgba(30, 24, 53, 0.18);
}

.youtube-short-hero iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 420px);
  height: 100%;
  transform: translateX(-50%);
  border: 0;
}

@media (max-width: 991.98px) {
  .community-values-section {
    margin-top: 0 !important;
  }
}



/* SECTION */

.testimonial-section{
	padding: 100px 0;
	overflow: visible;
}

/* TITLE */

.testimonial-heading{
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 20px;
}

.testimonial-subtitle{
	font-size: 18px;
	line-height: 1.8;
	color: #64748b;
	margin-bottom: 70px;
}


/* CARD */

.testimonial-card{
	background: white;
	border-radius: 18px;
	padding: 45px;
	height: 100%;
	min-height: 520px;

	display: flex;
	flex-direction: column;
	justify-content: space-between;

	box-shadow: 0 8px 30px rgba(0,0,0,0.05);

	transition: 0.3s ease;
}


/* USER */

.testimonial-user{
	display: flex;
	align-items: center;
	margin-top: auto;
}

.testimonial-avatar{
	width: 65px;
	height: 65px;
	border-radius: 50%;
	object-fit: contain;
	background-color: #f8f9fa;
	margin-right: 18px;
}


/* TITLE IN CARD */

.testimonial-title{
	font-size: 20px;
	line-height: 1.5;
	font-weight: 700;
	color: #1683d3;
	margin-bottom: 28px;
}


/* SWIPER WRAPPER FIX */

.testimonialsSwiper{
	position: relative;
	padding-bottom: 80px;
	overflow: visible;
}

.testimonialsSwiper .swiper-wrapper{
	align-items: stretch;
}

.testimonialsSwiper .swiper-slide{
	height: auto;
}


/* PAGINATION FIX ULTRA ROBUST */

.testimonialsSwiper .swiper-pagination{
	position: static !important;

	margin-top: 30px;

	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 8px;

	width: 100%;
	z-index: 10;
}


/* BULLETS */

.swiper-pagination-bullet{
	width: 10px;
	height: 10px;
	background: #cbd5e1;
	opacity: 1;
	transition: 0.3s ease;
}

.swiper-pagination-bullet-active{
	width: 28px;
	border-radius: 30px;
	background: #1683d3;
}


/* RESPONSIVE */

@media(max-width:991px){

	.testimonial-card{
		min-height: auto;
		padding: 35px;
	}
}

@media(max-width:767px){

	.testimonial-section{
		padding: 70px 0;
	}

	.testimonial-heading{
		font-size: 34px;
	}

	.testimonial-card{
		padding: 28px;
	}
}


/* Hero sur photo claire : ombre portée sur le texte pour garantir le contraste
   par-dessus des visuels lumineux (boutique par catégorie, hub ressources). */
.hero-on-photo h1,
.hero-on-photo p {
	text-shadow: 0 2px 12px rgba(30, 24, 53, 0.55);
}
