
.hero-formation {
  position: relative;
  min-height: clamp(30vh, 34vh, 39vh);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--base-white-color);
  background-size: 112%;
  background-position: 50% 50%;
  animation: heroPan 22s ease-in-out infinite alternate;
  isolation: isolate;
}
.hero-formation::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Overlay dégradé profond pour une lisibilité parfaite */
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(143,21,21,.35) 0%, rgba(143,21,21,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.38) 100%);
  z-index: -1;
}
.hero-formation::after {
  /* Accent en bas pour un effet premium */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.5) 100%);
  opacity: .65;
}
.hero-inner {
  padding: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 2.5vw, 2rem);
  max-width: 1000px;
  width: min(92%, 1000px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.08) 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(8px) saturate(120%);
}


.hero-formation .header-title {
  color: #fff;
  text-shadow: 0 8px 20px rgba(0,0,0,.28);
  background: linear-gradient(90deg, #ffffff 0%, #f3f3f3 45%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-formation .header-subtitle {
  color: #fff;
  opacity: .95;
  text-shadow: 0 4px 14px rgba(0,0,0,.25);
  margin-top: .35rem;
}

@keyframes heroPan {
  0% { background-size: 112%; background-position: 50% 50%; }
  100% { background-size: 118%; background-position: 48% 52%; }
}
.header-title {
  font-family: var(--global-font-family-titre);
  font-size: var(--font-size-h1);
  margin: 0 0 .25rem 0;
  color: var(--base-rouge-color);
  letter-spacing: .3px;
}

/* Responsive pour le header-title */
@media (max-width: 768px) {
  .header-title {
    font-size: var(--font-size-h1-mobile);
  }
}

@media (max-width: 576px) {
  .header-title {
    font-size: var(--font-size-h2-mobile);
  }
}
.header-subtitle {
  color: var(--base-noir-color);
  opacity: .9;
  line-height: 1.6;
  margin: 0 auto 1.25rem;
  max-width: 68ch;
}

/* Conteneur principal */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  width: 95%;
}

/* Espacement entre les sections */
main section {
  margin-bottom: 2rem;
}

main section:last-child {
  margin-bottom: 0;
}

/* CTA premium amélioré */
.cta {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
}

.cta-header {
  margin-bottom: 2rem;
}

.cta-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--base-rouge-color);
  position: relative;
}

/* Ligne décorative supprimée */

.cta-intro p {
  font-size: var(--font-size-normal);
  color: var(--base-noir-color);
  font-weight: 500;
  margin-bottom: 0;
}

.cta-content {
  margin-top: 2rem;
}

.cta-message {
  margin-bottom: 2rem;
}

.message-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(143,21,21,0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  max-width: 800px;
  margin: 0 auto;
}

.message-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(143,21,21,0.15);
  border-color: var(--base-rouge-color);
}

.message-icon {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(143,21,21,0.3);
}

.message-icon i {
  font-size: var(--font-size-h3);
}

.message-content h3 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.message-content p {
  color: var(--base-noir-color);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

.cta-actions {
  margin-bottom: 2rem;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.primary-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(143,21,21,0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  max-width: 400px;
  width: 100%;
}

.primary-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.primary-button:hover::before {
  left: 100%;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143,21,21,0.4);
}

.button-content {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 1rem;
}

.button-icon {
  background: rgba(255,255,255,0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.button-icon i {
  font-size: var(--font-size-h3);
  color: white;
}

.button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.button-title {
  font-size: var(--font-size-button);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
}

.button-subtitle {
  font-size: var(--font-size-normal);
  opacity: 0.9;
  color: white;
}

.button-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.primary-button:hover .button-arrow {
  transform: translateX(5px);
  background: rgba(255,255,255,0.3);
}

.button-arrow i {
  font-size: var(--font-size-normal);
  color: white;
}

.secondary-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--base-noir-color);
  font-weight: 500;
  font-size: var(--font-size-normal);
  transition: all 0.2s ease;
}

.action-item:hover {
  color: var(--base-rouge-color);
  transform: translateY(-2px);
}

.action-item i {
  color: var(--base-rouge-color);
  font-size: var(--font-size-normal);
}

.cta-guarantee {
  margin-top: 2rem;
}

.guarantee-card {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(143,21,21,0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  max-width: 800px;
  margin: 0 auto;
}

.guarantee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143,21,21,0.4);
}

.guarantee-icon {
  background: rgba(255,255,255,0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.guarantee-icon i {
  font-size: var(--font-size-h3);
  color: white;
}

.guarantee-content h4 {
  color: white;
  font-size: var(--font-size-h3);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.guarantee-content p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

/* Styles pour la galerie d'images */
.gallery-section {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
}

.gallery-header {
  margin-bottom: 2rem;
}

.gallery-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--base-rouge-color);
  position: relative;
}

.gallery-header p {
  font-size: var(--font-size-normal);
  color: var(--base-noir-color);
  font-weight: 500;
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(143,21,21,0.2);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(143,21,21,0.1), rgba(143,21,21,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-size-h1);
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}


/* Modal image - peaufiné */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: min(92%, 640px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}
.modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  font-weight: 700;
  cursor: pointer;
  z-index: 1001;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  transition: transform .2s ease, background .2s ease;
}
.modal-close:hover { transform: translateY(-1px) rotate(90deg); }
.modal-overlay.show { animation: fadeIn .25s ease-out; }
.modal-content.show { animation: slideIn .25s ease-out; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-50%) scale(.94); } to { opacity: 1; transform: translateY(-50%) scale(1); } }

/* Styles spécifiques pour les formations */
.formation-description,
.formation-objectives,
.formation-methods,
.formation-audience {
  padding: 2rem;
  background: transparent;
  border-radius: 0;
  border: none;
  transition: all 0.3s ease;
  box-shadow: none;
}

.formation-description:hover,
.formation-objectives:hover,
.formation-methods:hover,
.formation-audience:hover {
  transform: none;
  box-shadow: none;
}

.formation-description h2,
.formation-objectives h2,
.formation-methods h2,
.formation-audience h2 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  margin-bottom: 1rem;
  font-weight: 600;
}

.formation-description p,
.formation-methods p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.formation-description ul,
.formation-objectives ul,
.formation-audience ul {
  margin: 1rem 0;
}

.formation-description li,
.formation-objectives li,
.formation-audience li {
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

.formation-description li::before,
.formation-objectives li::before,
.formation-audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--base-rouge-color);
  border-radius: 50%;
}

/* Styles améliorés pour la section description */
.formation-description {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Styles améliorés pour la section objectifs pédagogiques */
.formation-objectives {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Styles améliorés pour la section moyens pédagogiques */
.formation-methods {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Styles améliorés pour la section public & prérequis */
.formation-audience {
  background: transparent;
  border: none;
  box-shadow: none;
}

.audience-header {
  text-align: center;
  margin-bottom: 2rem;
}

.audience-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--base-rouge-color);
  position: relative;
}

/* Ligne décorative supprimée */

.audience-intro p {
  font-size: var(--font-size-normal);
  color: var(--base-noir-color);
  font-weight: 500;
  margin-bottom: 0;
}

.audience-content {
  margin-top: 2rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.audience-card,
.prerequisites-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(143,21,21,0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.audience-card::before,
.prerequisites-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--base-rouge-color), #8f1515);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.audience-card:hover::before,
.prerequisites-card:hover::before {
  transform: scaleX(1);
}

.audience-card:hover,
.prerequisites-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(143,21,21,0.2);
  border-color: var(--base-rouge-color);
}

.audience-icon,
.prerequisites-icon {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(143,21,21,0.3);
  transition: all 0.3s ease;
}

.audience-card:hover .audience-icon,
.prerequisites-card:hover .prerequisites-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px rgba(143,21,21,0.4);
}

.audience-icon i,
.prerequisites-icon i {
  font-size: var(--font-size-h2);
}

.audience-content h3,
.prerequisites-content h3 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audience-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(143,21,21,0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.audience-item:hover {
  background: rgba(143,21,21,0.1);
  transform: translateX(5px);
}

.audience-item i {
  color: var(--base-rouge-color);
  font-size: var(--font-size-normal);
  width: 20px;
  text-align: center;
}

.audience-item span {
  color: var(--base-noir-color);
  font-weight: 500;
  font-size: var(--font-size-normal);
}

.prerequisites-highlight {
  text-align: center;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: var(--font-size-normal);
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(143,21,21,0.3);
  transition: all 0.3s ease;
}

.highlight-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(143,21,21,0.4);
}

.highlight-badge i {
  font-size: var(--font-size-h3);
}

.prerequisites-highlight p {
  color: var(--base-noir-color);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
  font-weight: 500;
}

.audience-summary {
  margin-top: 2rem;
}

.audience-summary .summary-card {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(143,21,21,0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.audience-summary .summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143,21,21,0.4);
}

.audience-summary .summary-icon {
  background: rgba(255,255,255,0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.audience-summary .summary-icon i {
  font-size: var(--font-size-h3);
  color: white;
}

.audience-summary .summary-content h4 {
  color: white;
  font-size: var(--font-size-h3);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.audience-summary .summary-content p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

.methods-header {
  text-align: center;
  margin-bottom: 2rem;
}

.methods-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--base-rouge-color);
  position: relative;
}

/* Ligne décorative supprimée */

.methods-intro p {
  font-size: var(--font-size-normal);
  color: var(--base-noir-color);
  font-weight: 500;
  margin-bottom: 0;
}

.methods-content {
  margin-top: 2rem;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.method-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(143,21,21,0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--base-rouge-color), #8f1515);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.method-card:hover::before {
  transform: scaleX(1);
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(143,21,21,0.2);
  border-color: var(--base-rouge-color);
}

.method-icon {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(143,21,21,0.3);
  transition: all 0.3s ease;
}

.method-card:hover .method-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 25px rgba(143,21,21,0.4);
}

.method-icon i {
  font-size: var(--font-size-h2);
}

.method-content h3 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  margin: 0 0 1rem 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.method-content p {
  color: var(--base-noir-color);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

.methods-highlight {
  margin-top: 2rem;
}

.highlight-card {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(143,21,21,0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143,21,21,0.4);
}

.highlight-icon {
  background: rgba(255,255,255,0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.highlight-icon i {
  font-size: var(--font-size-h3);
  color: white;
}

.highlight-content h4 {
  color: white;
  font-size: var(--font-size-h3);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.highlight-content p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

.objectives-header {
  text-align: center;
  margin-bottom: 2rem;
}

.objectives-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--base-rouge-color);
  position: relative;
}

/* Ligne décorative supprimée */

.objectives-intro p {
  font-size: var(--font-size-normal);
  color: var(--base-noir-color);
  font-weight: 500;
  margin-bottom: 0;
}

.objectives-content {
  margin-top: 2rem;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.objective-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(143,21,21,0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.objective-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--base-rouge-color), #8f1515);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.objective-card:hover::before {
  transform: scaleX(1);
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(143,21,21,0.2);
  border-color: var(--base-rouge-color);
}

.objective-icon {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(143,21,21,0.3);
  transition: all 0.3s ease;
}

.objective-card:hover .objective-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px rgba(143,21,21,0.4);
}

.objective-icon i {
  font-size: var(--font-size-h2);
}

.objective-content h3 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  margin: 0 0 1rem 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.objective-content p {
  color: var(--base-noir-color);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

.objectives-summary {
  margin-top: 2rem;
}

.summary-card {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(143,21,21,0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(143,21,21,0.4);
}

.summary-icon {
  background: rgba(255,255,255,0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.summary-icon i {
  font-size: var(--font-size-h3);
  color: white;
}

.summary-content h4 {
  color: white;
  font-size: var(--font-size-h3);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.summary-content p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.6;
  font-size: var(--font-size-normal);
}

.description-header {
  text-align: center;
  margin-bottom: 2rem;
}

.description-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--base-rouge-color);
  position: relative;
}

/* Ligne décorative supprimée */

.description-intro p {
  font-size: var(--font-size-normal);
  color: var(--base-noir-color);
  font-weight: 500;
  margin-bottom: 0;
}

.description-content {
  margin-top: 2rem;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-category {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(143,21,21,0.15);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.form-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(143,21,21,0.15);
  border-color: var(--base-rouge-color);
}

.form-category h3 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-h3);
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(143,21,21,0.2);
}

.form-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-category li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.form-category li:last-child {
  border-bottom: none;
}

.form-category li:hover {
  background: rgba(143,21,21,0.05);
  padding-left: 0.5rem;
  border-radius: 6px;
}

.form-category li i {
  color: var(--base-rouge-color);
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
  font-size: var(--font-size-normal);
}

.form-category li::before {
  display: none;
}

.description-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-card {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(143,21,21,0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(143,21,21,0.15);
  border-color: var(--base-rouge-color);
}

.detail-icon {
  background: linear-gradient(135deg, var(--base-rouge-color), #8f1515);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(143,21,21,0.3);
}

.detail-icon i {
  font-size: var(--font-size-h3);
}

.detail-content h4 {
  color: var(--base-rouge-color);
  font-size: var(--font-size-normal);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.detail-content p {
  color: var(--base-noir-color);
  margin: 0;
  line-height: 1.5;
  font-size: var(--font-size-normal);
}

/* Responsive */
@media (max-width: 768px) {
  .forms-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .description-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .detail-card {
    flex-direction: column;
    text-align: center;
  }
  
  .detail-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .form-category h3 {
    font-size: var(--font-size-normal);
  }
  
  .description-header h2 {
    font-size: var(--font-size-h2-mobile);
  }
  
  .objectives-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .objective-card {
    padding: 1.5rem;
  }
  
  .summary-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .summary-icon {
    margin-bottom: 1rem;
  }
  
  .objectives-header h2 {
    font-size: var(--font-size-h2-mobile);
  }
  
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .method-card {
    padding: 1.5rem;
  }
  
  .highlight-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .highlight-icon {
    margin-bottom: 1rem;
  }
  
  .methods-header h2 {
    font-size: var(--font-size-h2-mobile);
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .audience-card,
  .prerequisites-card {
    padding: 1.5rem;
  }
  
  .audience-summary .summary-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .audience-summary .summary-icon {
    margin-bottom: 1rem;
  }
  
  .audience-header h2 {
    font-size: var(--font-size-h2-mobile);
  }
  
  .message-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .message-icon {
    margin-bottom: 1rem;
  }
  
  .secondary-actions {
    gap: 1rem;
  }
  
  .guarantee-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .guarantee-icon {
    margin-bottom: 1rem;
  }
  
  .cta-header h2 {
    font-size: var(--font-size-h2-mobile);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 140px;
  }
  
  .gallery-header h2 {
    font-size: var(--font-size-h2-mobile);
  }
  
  .gallery-section {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-formation { min-height: 30vh; }
  .hero-inner { 
    border-radius: 14px; 
    backdrop-filter: blur(6px) saturate(115%);
    padding: clamp(1rem, 3vw, 1.5rem) clamp(0.75rem, 2vw, 1.5rem);
  }
  .container { padding: 1.25rem 1rem 2rem; }
  
  .formation-description,
  .formation-objectives,
  .formation-methods,
  .formation-audience {
    padding: 1.25rem;
  }
  
  .form-category {
    padding: 1rem;
  }
  
  .detail-card {
    padding: 1rem;
  }
  
  .description-header h2 {
    font-size: var(--font-size-h3);
  }
  
  .description-intro p {
    font-size: var(--font-size-normal);
  }
  
  .objectives-intro p {
    font-size: var(--font-size-normal);
  }
  
  .objective-card {
    padding: 1.25rem;
  }
  
  .objective-icon {
    width: 60px;
    height: 60px;
  }
  
  .objective-icon i {
    font-size: var(--font-size-h3);
  }
  
  .objective-content h3 {
    font-size: var(--font-size-normal);
  }
  
  .summary-card {
    padding: 1.25rem;
  }
  
  .summary-icon {
    width: 50px;
    height: 50px;
  }
  
  .summary-icon i {
    font-size: var(--font-size-h3);
  }
  
  .methods-intro p {
    font-size: var(--font-size-normal);
  }
  
  .method-card {
    padding: 1.25rem;
  }
  
  .method-icon {
    width: 60px;
    height: 60px;
  }
  
  .method-icon i {
    font-size: var(--font-size-h3);
  }
  
  .method-content h3 {
    font-size: var(--font-size-normal);
  }
  
  .highlight-card {
    padding: 1.25rem;
  }
  
  .highlight-icon {
    width: 50px;
    height: 50px;
  }
  
  .highlight-icon i {
    font-size: var(--font-size-h3);
  }
  
  .audience-intro p {
    font-size: var(--font-size-normal);
  }
  
  .audience-card,
  .prerequisites-card {
    padding: 1.25rem;
  }
  
  .audience-icon,
  .prerequisites-icon {
    width: 60px;
    height: 60px;
  }
  
  .audience-icon i,
  .prerequisites-icon i {
    font-size: var(--font-size-h3);
  }
  
  .audience-content h3,
  .prerequisites-content h3 {
    font-size: var(--font-size-normal);
  }
  
  .audience-item {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .audience-item i {
    font-size: var(--font-size-normal);
  }
  
  .audience-item span {
    font-size: var(--font-size-normal);
  }
  
  .highlight-badge {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-normal);
  }
  
  .highlight-badge i {
    font-size: var(--font-size-normal);
  }
  
  .audience-summary .summary-card {
    padding: 1.25rem;
  }
  
  .audience-summary .summary-icon {
    width: 50px;
    height: 50px;
  }
  
  .audience-summary .summary-icon i {
    font-size: var(--font-size-h3);
  }
  
  .cta-intro p {
    font-size: var(--font-size-normal);
  }
  
  .message-card {
    padding: 1.25rem;
  }
  
  .message-icon {
    width: 50px;
    height: 50px;
  }
  
  .message-icon i {
    font-size: var(--font-size-h3);
  }
  
  .message-content h3 {
    font-size: var(--font-size-normal);
  }
  
  .button-content {
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
  }
  
  .button-icon {
    width: 40px;
    height: 40px;
  }
  
  .button-icon i {
    font-size: var(--font-size-normal);
  }
  
  .button-title {
    font-size: var(--font-size-normal);
  }
  
  .button-subtitle {
    font-size: var(--font-size-normal);
  }
  
  .button-arrow {
    width: 35px;
    height: 35px;
  }
  
  .button-arrow i {
    font-size: var(--font-size-normal);
  }
  
  .action-item {
    font-size: var(--font-size-normal);
  }
  
  .action-item i {
    font-size: var(--font-size-normal);
  }
  
  .guarantee-card {
    padding: 1.25rem;
  }
  
  .guarantee-icon {
    width: 50px;
    height: 50px;
  }
  
  .guarantee-icon i {
    font-size: var(--font-size-h3);
  }
  
  .guarantee-content h4 {
    font-size: var(--font-size-normal);
  }
  
  .gallery-section {
    padding: 1.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 120px;
  }
  
  .gallery-header h2 {
    font-size: var(--font-size-h3);
  }
  
  .gallery-header p {
    font-size: var(--font-size-normal);
  }
  
  .gallery-section {
    padding: 1rem;
  }
  
  .gallery-item::after {
    font-size: var(--font-size-h3);
  }
  
  main section {
    margin-bottom: 1.5rem;
  }
}


