/* ACCORDÉON MODERN - BASE ADAPTÉ RESPONSIVE*/
.accordion-faq-modern {
  width: 100%;
}

.accordion-item {
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  margin-bottom: 2rem;
  position: relative;
}

/* HEADER */
.accordion-header {
  position: relative;
  cursor: pointer;
  overflow: hidden;
	height: 350px; /* Supprimer la ligne pour laisser full hauteur */
}

/* IMAGE : dézoomée par défaut */
.accordion-bg img {
  width: 100%;
  display: block;
  transform: scale(1); /* dézoom par défaut */
  transition: transform 0.6s ease;
  object-fit: cover;
}

/* ZOOM IMAGE uniquement au clic */
.accordion-bg img.zoomed {
  transform: scale(1.4);
}

/* Bandeau titre adaptatif / glacé et plus clair */
.accordion-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 25px 16px 25px;
  backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,0.1);
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
}

/* Texte titre flexible */
.accordion-title .title-text {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 1rem; /* espace avec la flèche */
}

.accordion-title h2,
.accordion-title p {
  margin: 0;
  word-break: break-word;
}

/* Balayage lumineux */
.accordion-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.accordion-title:hover::before {
  left: 100%;
}

/* TITRES */
.accordion-title h2 {
  font-size: 25px;
  font-weight: 700;
  color: white;
	padding-bottom: 0px;
}

.accordion-title p {
  font-size: 16px;
  color: rgba(255,255,255);
	font-weight: 300;
}

/* FLECHE CHEVRON */
.accordion-arrow {
  flex-shrink: 0; /* Ne jamais rétrécir */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transform: rotate(90deg); /* chevron vers le bas */
  transition: transform 0.4s ease, color 0.3s ease, border-color 0.3s ease;
  border-radius: 25px;
  border: 3px solid var(--accent-color); /* couleur dynamique */
  width: 25px;
	padding: 6px 17px 7px 17px;
}

/* Rotation au clic */
.accordion-arrow.open {
  transform: rotate(-90deg); /* chevron vers le haut */
}

/* CONTENT */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: #2C4964;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 2rem;
}

.accordion-content.open {
  max-height: 3000px; /* assez grand pour tout le contenu */
  padding: 2rem;
}

/* ESPACE entre le texte principal et les colonnes */
.accordion-content > .intro {
  margin-bottom: 1.6rem;
	font-size:16px;
}

/* COLONNES */
.accordion-columns {
  display: flex;
  flex-wrap: wrap;
  /*gap: 2rem;*/
}

.accordion-column {
  flex: 1 1 calc(50% - 1rem);
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.column-text {
  position: relative;
  padding-left: 1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
	padding-right: 0.35rem;
}

/* Barre latérale gauche uniquement sur texte */
.column-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: currentColor; /* couleur dynamique selon texte */
  border-radius: 5px;
}

.column-subtitle {
  font-weight: bold;
  font-size: 16px;
}
.column-subtitle-v2 {
  font-weight: 800 !important;
  font-size: 14px !important;
	display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.column-body {
  color: rgba(255,255,255);
	font-size: 14px;
	line-height: 1.4em;
}

.accordion-content-size {
	font-weight: 300;
}
.accordion-number {
	font-size: 18px;
	font-weight: bold;
}

/* BOUTONS */
.accordion-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.accordion-btn {
  color: #FFFFFF !important;
  border-radius: 60px;
  /*font-size: 18px;*/
  font-weight: 700 !important;
  text-transform: uppercase !important;
  background-color: rgba(255,255,255,0.12);
  padding: 0.3em 1.5em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.accordion-btn:hover {
  background-color: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

/* SINGLE COLUMN VARIANT */
.variant-singlecol .accordion-columns {
  flex-direction: column;
}

.variant-singlecol .accordion-column {
  flex: 1 1 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .accordion-title h2 { font-size: 24px; }
  .accordion-title p { font-size: 18px; }
}

@media (max-width: 768px) {
  .accordion-title h2 { font-size: 16px; }
  .accordion-title p { font-size: 14px; }
  .accordion-column { flex: 1 1 100%; }
	.accordion-header {
		height: 100%; /* Supprimer la ligne pour laisser full hauteur */
	}
	.accordion-arrow {
  font-size: 20px;
  width: 40px;
	padding: 5px;
}
}

@media (max-width: 480px) {
  .accordion-title h2 { font-size: 15px; }
  .accordion-title p { font-size: 12px; }
}

/*THEME COLORS - ACCORDION-COLOR-*/
.accordion-color-green { --accent-color: #009358; }
.accordion-color-blue { --accent-color: #5191cd; }
.accordion-color-orange { --accent-color: #f28705; }

.accordion-faq-modern[class*="accordion-color-"] .column-text::before {
  background-color: var(--accent-color);
}

.accordion-faq-modern[class*="accordion-color-"] .accordion-arrow .chevron {
  color: var(--accent-color);
}

.accordion-faq-modern[class*="accordion-color-"] .text-orange { color: var(--accent-color) !important; }
.accordion-faq-modern[class*="accordion-color-"] .text-green { color: var(--accent-color) !important; }
.accordion-faq-modern[class*="accordion-color-"] .text-blue { color: var(--accent-color) !important; }
