/*==========================================================
                    MODERN DESIGN SYSTEM - ADHET
==========================================================*/

.motto {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 1.5rem 0;
    letter-spacing: 1.5px;
    text-transform: lowercase;
    font-variant: small-caps;
}
/* Variables CSS pour la cohérence */
:root {
  --primary-color: #1e3a8a; /* Bleu marine professionnel */
  --secondary-color: #059669; /* Vert pour l'environnement */
  --accent-color: #dc2626; /* Rouge pour l'urgence des droits */
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
  --section-border: 1px solid rgba(0,0,0,0.06);
}

/* Reset et base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 72px !important;
}
/* Ajustement responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px !important;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 65px !important;
  }
}

main {
  flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-white);
}




















/* Cards modernes */
.card {
  background: var(--bg-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 1.5rem;
  overflow: hidden; /* S'assurer que les cards ont un overflow hidden */
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Fix pour les images d'actualités */
.article-image {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}


.card-img-top {
  border-radius: var(--border-radius);
  height: 200px;
  object-fit: cover;
  width: 100%;
  margin: 0;
  padding: 0;
}

.card-body {
  padding: 0.5rem;
}

/* Cercle vert clair */
.card-body .rounded-circle {
  width: 10px !important;
  height: 10px !important;
  background-color: #10b981 !important; /* Vert clair */
  flex-shrink: 0;
}
.d-flex .a-text-actualite {
  position: relative !important;
  margin-left: 0.5rem !important;

}
/* Texte "Actualité" plus petit */
.card-body .text-uppercase {
  font-size: 0.7rem !important; /* ✅ Réduit la taille */
  letter-spacing: 0.05em;
  margin: 0 !important;
  margin-left: 50 px !important;
  flex-shrink: 0;
  text-decoration: none !important;
  color: black !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  display: inline !important;
  text-decoration: none;
  font-weight: 600 !important;
}

/* Amélioration du style des cards d'actualités */
.card-body .text-simple {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.5;
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2; /*Limite 2 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}


.card-text {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Effet hover sur les cards d'actualités */
.card a {
  display: block;
  overflow: hidden;
}

.card a img {
  transition: transform 0.3s ease;
}

.card:hover a img {
  transform: scale(1.05);
}

/* Formulaires modernes */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  outline: none;
}

/* Boutons modernes */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-brand {
  background-color: var(--primary-color);
  color: white;
}

.btn-brand:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  width: 100%;
}

.btn-primary:hover {
  background-color: #1e40af;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/*==========================================================
            PAGE ADMIN CSS SPECIFIQUE AU CARD 
==========================================================*/

/* Éliminer l'espace entre card-admin et span-bottom-card-admin */
#card-admin {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#card-admin .card-body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#span-bottom-card-admin {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: block !important;
}

/* Si nécessaire, retirer aussi les espacements des éléments enfants */
#card-admin .card-body > *:last-child {
    margin-bottom: 0 !important;
}












/*----------------------------------------------------------------------------------*/
/*==========================================================
                    HERO SECTION - MODERNE
==========================================================*/
/* ========================================
   HEADER SECTIONS
======================================== */

/* Header principal */
.header {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

/* Pseudo-élément pour l'image de fond du header principal */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 59, 138, 0) 0%, rgba(30, 64, 175, 0) 100%), 
              url('../images/p1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

/* Zoom au hover pour header principal */
.header:hover::before {
  transform: scale(1.08);
}

/* Overlay assombrissant pour header principal */
.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: background 0.4s ease;
}

.header:hover::after {
  background: rgba(0, 0, 0, 0.4);
}

/* Header secondaire (membres) */
.header2 {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-bottom: 0;
}

/* Pseudo-élément pour l'image de fond du header2 */
.header2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 59, 138, 0) 0%, rgba(30, 64, 175, 0) 100%), 
              url('../images/membres-adhet-bg.jpg');
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

/* Zoom au hover pour header2 */
.header2:hover::before {
  transform: scale(1.08);
}

/* Overlay assombrissant pour header2 */
.header2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: background 0.4s ease;
}

.header2:hover::after {
  background: rgba(0, 0, 0, 0.4);
}

/* Contenu des headers (au-dessus de tout) */
.header > *,
.header2 > * {
  position: relative;
  z-index: 2;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Légère élévation du contenu au hover */
.header:hover .header-content,
.header2:hover .header-content {
  transform: translateY(-8px);
}

.header h1,
.header2 h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: text-shadow 0.3s ease;
}

.header:hover h1,
.header2:hover h1 {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.header p,
.header2 p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.header:hover p,
.header2:hover p {
  opacity: 1;
}

/* ========================================
   BANDEROLE
======================================== */

.banderole {
  background: linear-gradient(90deg, var(--secondary-color) 0%, #10b981 100%);
  color: white;
  padding: 3rem 0;
  margin: 0;
}

.drapeau {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.color {
  width: 60px;
  height: 40px;
  border-radius: 4px;
}

.color1 { 
  background-color: #ff0000;
  border-radius: 4px 0 0 4px;
}

.color2 { 
  background-color: #ffff00;
}

.color3 { 
  background-color: #0000ff;
  border-radius: 0 4px 4px 0;
}

.contenu-banderole {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contenu-banderole h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contenu-banderole p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {
  .header h1,
  .header2 h1 {
    font-size: 2.75rem;
  }

  .contenu-banderole h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .header,
  .header2 {
    min-height: 60vh;
  }

  .header h1,
  .header2 h1 {
    font-size: 2.25rem;
  }

  .header p,
  .header2 p {
    font-size: 1.125rem;
  }

  .header-content {
    padding: 1.5rem;
  }

  .contenu-banderole h1 {
    font-size: 1.75rem;
  }

  .contenu-banderole p {
    font-size: 1rem;
  }

  .color {
    width: 50px;
    height: 35px;
  }

  /* Réduire l'effet zoom sur mobile */
  .header:hover::before,
  .header2:hover::before {
    transform: scale(1.05);
  }

  .header:hover .header-content,
  .header2:hover .header-content {
    transform: translateY(-4px);
  }
}

@media (max-width: 576px) {
  .header,
  .header2 {
    min-height: 50vh;
  }

  .header h1,
  .header2 h1 {
    font-size: 1.875rem;
  }

  .header-content {
    padding: 1rem;
  }

  .color {
    width: 40px;
    height: 30px;
  }
}

/*==========================================================
                    NAVBAR MODERNE
==========================================================*/
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: var(--primary-color) !important;
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
}

/* Effet d'ombre plus prononcé au scroll */
.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
}

.adhet-logo {
  max-height: 40px;
  height: auto;
  width: auto;
  transition: all 0.3s ease;
  /* filter: brightness(0) invert(1); */
}
/* Logo plus petit au scroll (optionnel) */
.navbar.scrolled .adhet-logo {
  max-height: 36px;
}

@media (min-width: 768px) {
  .adhet-logo { max-height: 48px; }
  .navbar.scrolled .adhet-logo { max-height: 42px; }
}

.navbar .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: var(--transition);
  border-radius: var(--border-radius);
  margin: 0 0.25rem;
}

.navbar .nav-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar .nav-link.active {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid var(--secondary-color);
}

/*==========================================================
                    SECTIONS ET SPACING
==========================================================*/
.section {
  padding: 2rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-lg {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

/*==========================================================
                    SOCIAL MEDIA SECTION
==========================================================*/
.social-media {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f1f5f9 100%);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.social-icon.facebook { background-color: #1877f2; }
.social-icon.twitter { background-color: #1da1f2; }
.social-icon.instagram { background-color: #e4405f; }
.social-icon.telegram { background-color: #0088cc; }
.social-icon.youtube { background-color: #ff0000; }
.social-icon.x { background-color: #000000; }


/*==========================================================
                    FOOTER MODERNE
==========================================================*/
.footer {
  background: linear-gradient(90deg, var(--secondary-color) 0%, #01704b 100%);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-titre_menu {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: white;
}

/* Styles spécifiques par section du footer */
.footer .col-md-4:nth-child(1) .footer-titre_menu {
  color: #000000; /* Or pour les liens rapides */
    border-bottom: 2px solid black;
}

.footer .col-md-4:nth-child(2) .footer-titre_menu {
  color: #000000; /* Bleu cyan pour les réseaux sociaux */
  border-bottom: 2px solid black;
}

.footer .col-md-4:nth-child(3) .footer-titre_menu {
  color: #000000; /* Rouge corail pour nous rejoindre */
  border-bottom: 2px solid black;
}

/* Couleurs spécifiques pour les liens */
.footer .col-md-4:nth-child(1) ul li a {
  color: rgba(255, 215, 0, 0.8); /* Or transparent */
}

.footer .col-md-4:nth-child(1) ul li a:hover {
  color: #ffd700; /* Or au survol */
}

.footer .col-md-4:nth-child(2) ul li a {
  color: rgba(0, 212, 255, 0.8); /* Bleu cyan transparent */
}

.footer .col-md-4:nth-child(2) ul li a:hover {
  color: #00d4ff; /* Bleu cyan au survol */
}

.footer .col-md-4:nth-child(3) ul li a {
  color: rgba(255, 107, 107, 0.8); /* Rouge corail transparent */
}

.footer .col-md-4:nth-child(3) ul li a:hover {
  color: #ff6b6b; /* Rouge corail au survol */
}

/* Styles pour les informations de contact */
.footer .text-center p {
  color: rgba(255, 255, 255, 0.9);
}

.footer .text-center a {
  color: #4ecdc4; /* Turquoise pour les liens de contact */
  text-decoration: none;
  transition: var(--transition);
}

.footer .text-center a:hover {
  color: #45b7aa; /* Turquoise plus foncé au survol */
}

/* Style pour le copyright */
.footer .text-center p:first-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Style pour l'adresse */
.footer .text-center p:nth-last-child(2) {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Style pour le copyright en bas */
.footer .copyright-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 300;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Style pour les icônes SVG */
.footer svg {
  vertical-align: middle;
}

/* Couleurs spécifiques pour chaque icône */
.footer .email-icon {
  color: #ff6b6b; /* Rouge corail pour l'email */
}

.footer .phone-icon {
  color: #4ecdc4; /* Turquoise pour le téléphone */
}

.footer .location-icon {
  color: #ffd700; /* Or pour la localisation */
}

/*==========================================================
                    RESPONSIVE DESIGN
==========================================================*/
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .header p {
    font-size: 1.125rem;
  }
  
  .contenu-banderole h1 {
    font-size: 2rem;
  }
  
  .drapeau .color {
    width: 40px;
    height: 30px;
    margin: 0;
    padding: 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-lg {
    padding: 3rem 0;
  }

  .article-image,
  .card-img-top {
    height: 180px; /* Hauteur réduite sur tablette */
  }

    .card-body {
    padding: 0.5rem; /* Padding réduit sur tablette */
  }
  
  .card-title {
    font-size: 1rem;
    min-height: 2rem;
  }
  
  .card-body .text-simple {
    font-size: 0.8rem;
    -webkit-line-clamp: 4; /* Réduit à 3 lignes */
  }

}

@media (max-width: 576px) {
  .header {
    min-height: 60vh;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .article-image,
  .card-img-top {
    height: 160px; /* Hauteur encore plus réduite sur mobile */
  }
  
  .card-body {
    padding: 0.5rem; /* ✅ Padding du body uniquement, pas de la card */
  }
  
  .card-title {
    font-size: 0.95rem;
    min-height: 1.8rem;
  }
  
  .card-body .text-simple {
    font-size: 0.75rem;
    -webkit-line-clamp: 4;
    line-height: 1.4;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .social-icons {
    gap: 0.75rem;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .navbar .nav-link {
    padding: 0.5rem;
    margin: 0.125rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 400px) {
  .article-image,
  .card-img-top {
    height: 140px; /* Très petits écrans */
  }
  
  .card-body {
    padding: 0.5rem;
  }
  
  .card-title {
    font-size: 0.9rem;
  }
  
  .card-body .text-simple {
    font-size: 0.7rem;
    -webkit-line-clamp: 4;
  }
}
/*==========================================================
                   PROGRAMME PAGE - DESIGN MODERNE
==========================================================*/

/* Conteneur principal */
.div-programmes {
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  padding: 0;
}

/* Sections individuelles */
.div-programme {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 3px solid rgba(30, 58, 138, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dernière section sans bordure */
.div7-programme {
  border-bottom: none;
}

/* Pseudo-élément pour l'image de fond */
.div-programme::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

/* Images de fond par section */
.div1-programme::before { 
  background-image: url('/images/dhcs.jpg'); 
  background-position: center 45%;                         
}
.div2-programme::before { background-image: url('/images/aji.png'); }
.div3-programme::before { background-image: url('/images/droits-humains-et-environnement-sain.png'); }
.div4-programme::before { 
  background-image: url('/images/je.jpg'); 
  background-position: center 70%;                         
}
.div5-programme::before { background-image: url('/images/mf.jpg'); }
 .div6-programme::before { background-image: url('/images/resilience-climatique.jpg'); } 
.div7-programme::before { 
  background-image: url('/images/pt.jpg'); 
  background-position: center 30%;                         
}

/* Effet zoom subtil au hover */
.div-programme:hover::before {
  transform: scale(1.05);
}

/* Overlay avec gradient personnalisé par section */
.div-assombrir_img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.4s ease;
}

/* Gradients thématiques pour chaque section */
.div1-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.425) 100%);
}

.div2-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.425) 100%);
}

.div3-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.425) 100%);
}

.div4-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.425) 100%);
}

.div5-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.425) 100%);
}

/* .div6-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.425) 0%, rgba(0, 0, 0, 0.425) 100%);
} */

.div7-programme .div-assombrir_img {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.525) 0%, rgba(0, 0, 0, 0.525) 100%);
}

/* Contenu */
.div-contenu {
  position: relative;
  text-align: center;
  color: #ffffff;
  max-width: 850px;
  padding: 3rem 2rem;
  z-index: 2;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
  border-radius: 16px;
  backdrop-filter: blur(2px);
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
}

/* Élévation au hover */
.div-programme:hover .div-contenu {
  transform: translateY(-8px) scale(1.02);
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.237);
}

/* Titres */
.div-contenu h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.div-programme:hover .div-contenu h2 {
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

/* Paragraphes */
.div-contenu p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.div-programme:hover .div-contenu p {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Boutons améliorés */
.div-contenu .btn {
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.div-contenu .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(235, 235, 235, 0.678) 40%, var(--secondary-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.div-contenu .btn span,
.div-contenu .btn {
  position: relative;
  z-index: 1;
}

.div-contenu .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.div-contenu .btn:hover::before {
  opacity: 1;
}

.div-contenu .btn:hover {
  color: rgb(0, 0, 0) !important;
}

/* Indicateur visuel d'alternance */
.div-programme:nth-child(even)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--secondary-color), transparent);
  z-index: 3;
  opacity: 0.6;
}

.div-programme:nth-child(odd)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  z-index: 3;
  opacity: 0.6;
}

/* Animation d'entrée subtile */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.div-programme {
  animation: fadeInUp 0.6s ease-out backwards;
}

.div1-programme { animation-delay: 0.1s; }
.div2-programme { animation-delay: 0.15s; }
.div3-programme { animation-delay: 0.2s; }
.div4-programme { animation-delay: 0.25s; }
.div5-programme { animation-delay: 0.3s; }
.div6-programme { animation-delay: 0.35s; }
.div7-programme { animation-delay: 0.4s; }

/*==========================================================
                        RESPONSIVE
==========================================================*/

@media (max-width: 1200px) {
  .div-contenu h2 { font-size: 2.25rem; }
  .div-contenu p { font-size: 1.1rem; }
}

@media (max-width: 992px) {
  .div-programme { min-height: 55vh; }
  .div-contenu {
    max-width: 700px;
    padding: 2.5rem 2rem;
  }
  .div-contenu h2 { font-size: 2rem; }
  .div-contenu p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
  .card-title {
    font-size: 0.95rem;
    min-height: 2rem; 
    -webkit-line-clamp: 2;
  }
  .card-body .text-simple {
    font-size: 0.7rem;
    -webkit-line-clamp: 4;
  }

  .div-programme { min-height: 50vh; }
  .div-contenu {
    padding: 2rem 1.5rem;
    max-width: 90%;
  }
  .div-contenu h2 { font-size: 1.75rem; }
  .div-contenu p { 
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .div-contenu .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
  }
  
  /* Réduire l'effet zoom sur tablette */
  .div-programme:hover::before {
    transform: scale(1.03);
  }
  
  /* Masquer les indicateurs latéraux sur mobile */
  .div-programme::after {
    display: none;
  }
}

@media (max-width: 576px) {
    .card-body .text-simple {
    font-size: 0.75rem;
    -webkit-line-clamp: 4;
    line-height: 1.4;
  }
  
  .div-programme { min-height: 45vh; }
  .div-contenu {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }
  .div-contenu h2 { 
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .div-contenu p { 
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .div-contenu .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
  }
  
  /* Pas de zoom sur mobile */
  .div-programme:hover::before {
    transform: scale(1);
  }
  
  .div-programme:hover .div-contenu {
    transform: translateY(-4px) scale(1);
  }
}

@media (max-width: 400px) {
  .article-image,
  .card-img-top {
    height: 140px;
  }
  
  .card-body {
    padding: 0;
    margin: 0;
  }
  
  .card-title {
    font-size: 0.85rem;
    min-height: 2rem;
    -webkit-line-clamp: 2;
  }
  
  .card-body .text-simple {
    font-size: 0.7rem;
    -webkit-line-clamp: 4;
  }

  .div-contenu h2 { font-size: 1.35rem; }
  .div-contenu p { font-size: 0.9rem; }
}
