/* =============================================================================
   HERO BANNER (en haut de la page catalogue)
   ========================================================================== */

.elt-hero-banner {
  position: relative;
  margin: -32px 0 32px 0;
  padding: 48px 24px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #f472b6 0%, #60a5fa 50%, #7c3aed 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.elt-hero-content {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0;
}

.elt-hero-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.15);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 4px 12px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.4);
}

.elt-hero-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}

.elt-hero-text {
  flex: 1 1 auto;
  color: #fff;
}

.elt-hero-title {
  margin: 0 0 8px 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.elt-hero-subtitle {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(255,255,255,.95);
  font-weight: 400;
}

@media (max-width: 768px) {
  .elt-hero-banner {
    padding: 32px 20px;
  }
  
  .elt-hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .elt-hero-title {
    font-size: 1.5rem;
  }
  
  .elt-hero-subtitle {
    font-size: 1rem;
  }
}

/* =============================================================================
   ADMIN BANNER (sous la navigation) — scopé sur #elt-banner pour éviter conflits
   ========================================================================== */

#elt-banner.elt-banner {
  position: relative;
  margin: 12px 15px 16px 15px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
  color: #fff;
  min-height: 180px;
}

#elt-banner .elt-banner__inner {
  display: grid;
  grid-template-columns: 5fr 3.5fr 1.5fr;
  gap: 18px;
  padding: 0;
  align-items: stretch;
  min-height: 180px;
}

/* Panneaux translucides */
#elt-banner .elt-seg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  background: #f4f4f4;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  min-width: 0;
  overflow: hidden;
}
#elt-banner .elt-seg--main {
  background: linear-gradient(135deg, #f472b6 0%, #60a5fa 50%, #7c3aed 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Colonne 1 */
#elt-banner .elt-col-main { display: flex; align-items: stretch; position: relative; min-width: 0; }
#elt-banner .elt-seg--main { position: relative; }

/* Icône + heartbeat */
#elt-banner .elt-banner__icon {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(2px);
}
#elt-banner .elt-banner__icon svg {
  width: 36px;
  height: 36px;
  animation: elt-heartbeat 4s ease-in-out infinite;
  transform-origin: center;
}

/* Badge NEW (position spécifique bannière admin) */
#elt-banner .elt-badge-new {
  position: absolute;
  right: -6px;
  bottom: -6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
  pointer-events: none;
}

/* ====== Carte : Titre + Version (ligne) ====== */
.elt-title-row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 6px;
}

.elt-title{
  font-size: 18px;
  font-weight: 700;
  margin: 0;                 /* on supprime l’ancien margin ici, géré par .elt-title-row */
}

.elt-version{
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;       /* bleu très doux */
  color: #1f2937;            /* gris foncé lisible */
  border: 1px solid rgba(0,0,0,.06);
  white-space: nowrap;
}

/* ====== Badge BETA (comme NEW, empilable) ====== */
.elt-badge-beta{
  position: absolute;
  left: 8px;                 /* ← bas GAUCHE */
  bottom: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
  background: #fde68a;       /* jaune doux (Beta) */
  color: #7c2d12;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
}

/* ====== Badge OPEN SOURCE (avec logo Moodle) ====== */
.elt-badge-opensource{
  position: absolute;
  left: 8px;                 /* ← haut GAUCHE */
  top: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 6px;
  background: #f97316;       /* orange Moodle */
  color: #fff;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.elt-badge-opensource svg {
  flex-shrink: 0;
}


/* Textes */
#elt-banner .elt-banner__text { 
  flex: 0 0 auto; 
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: auto 0;
  padding-right: 80px;
}
#elt-banner .elt-eyebrow   { 
  font-size: 13px; 
  letter-spacing: .08em; 
  text-transform: uppercase; 
  opacity: .95; 
  font-weight: 400;
  margin: 0 0 12px 0;
}
#elt-banner .elt-headline  { 
  font-size: 24px; 
  font-weight: 700; 
  line-height: 1.2; 
  margin: 0; 
}
#elt-banner .elt-sub       { 
  font-size: 13px; 
  opacity: .92; 
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Actions (lien + bouton) */
#elt-banner .elt-actions { 
  display: flex; 
  align-items: center; 
  gap: 16px;
  margin-top: auto;
  align-self: flex-start;
}
#elt-banner .elt-link    { font-weight: 600; color: #fff; text-decoration: none !important; opacity: .95; }
#elt-banner .elt-link:hover { text-decoration: none !important; opacity: 1; }

#elt-banner .elt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 10px 14px;
  background: #fff; color: #111; text-decoration: none !important; font-weight: 600;
  transition: transform .08s ease, box-shadow .2s ease; cursor: pointer;
}
#elt-banner .elt-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
#elt-banner .elt-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Colonne Services (col 2) */
#elt-banner .elt-col-services { display: flex; align-items: stretch; min-width: 0; }
#elt-banner .elt-services__text {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
#elt-banner .elt-services__header {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e80580;
  margin: 0 0 12px 0;
}
#elt-banner .elt-services__title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}
#elt-banner .elt-services__desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
  margin: 0 0 auto 0;
}
#elt-banner .elt-services__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  margin-top: auto;
}
#elt-banner .elt-services__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Colonne boutons empilés (col 3) */
#elt-banner .elt-col-quick { 
  display: flex; 
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
#elt-banner .elt-quicklink.elt-seg {
  justify-content: center;
  align-items: center;
  text-decoration: none; 
  color: #1f2937;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  flex: 1;
}
#elt-banner .elt-quicklink:hover {
  transform: translateY(-2px);
  background: #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
#elt-banner .elt-quicklink:focus { outline: 2px solid #7c3aed; outline-offset: 2px; }
#elt-banner .elt-quick__label { font-size: 13px; font-weight: 800; letter-spacing: .01em; text-align: center; color: #111827; }

/* Responsive admin banner */
@media (max-width: 960px) {
  #elt-banner .elt-banner__inner { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .elt-banner__inner { flex-direction: column; align-items: flex-start; }
  .elt-banner .elt-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .elt-banner .elt-btn { justify-content: center; }
}

/* =============================================================================
   ANIMATION — unique et partagée
   ========================================================================== */
@keyframes elt-heartbeat {
  0%   { transform: scale(1); }
  10%  { transform: scale(1.15); }
  20%  { transform: scale(1); }
  30%  { transform: scale(1.08); }
  40%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #elt-banner .elt-banner__icon svg { animation: none; }
}

/* =============================================================================
   CATALOGUE — filtre / grille / cartes
   ========================================================================== */

/* Featured section */
.elt-featured-section {
  margin: 32px 0 48px 0;
}

.elt-featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #111827;
}

.elt-featured-grid {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 0 0 32px 0;
  grid-template-columns: repeat(1, 1fr);
}

/* Responsive: same as main grid */
@media (min-width: 600px) {
  .elt-featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .elt-featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .elt-featured-grid { grid-template-columns: repeat(4, 1fr); }
}

/* All plugins section title */
.elt-all-plugins-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #111827;
}

/* Toolbar (filtre) */
.elt-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
}
.elt-filter-label { font-weight: 600; }
.elt-filter-select {
  min-width: 220px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

/* Grille */
.elt-grid {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 12px 0 32px;
  /* default to single column on very small screens */
  grid-template-columns: repeat(1, 1fr);
}

/* Responsive: 2 / 3 / 4 columns as viewport permits (max 4 columns) */
@media (min-width: 600px) {
  .elt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .elt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .elt-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Carte + cadre icône */
.elt-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Carte installée (grisée) */
.elt-card--installed {
  opacity: 0.6;
  background: #f9fafb;
  position: relative;
}

.elt-card--installed::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 18px;
  pointer-events: none;
}

/* Cadre visuel du haut de la carte */
.elt-card-top{
  position: relative;
  height: 140px;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 16px;
  margin-bottom: 12px;

  /* clé pour que l'image couvre le bloc */
  overflow: hidden;                 /* rogne l'image aux bords arrondis */
  display: block;                   /* plus besoin de centrer un pictogramme */
}

/* image icon in pix/ — show and size like the SVG */
.elt-icon{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

/* Les badges restent visibles par-dessus l'image */
.elt-badge-new,
.elt-badge-beta{
  position: absolute;               /* (déjà en place) */
  z-index: 2;
}

/* Favorite button */
.elt-favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.elt-favorite-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.elt-favorite-btn svg {
  width: 20px;
  height: 20px;
  stroke: #64748b;
  fill: none;
  transition: all 0.2s ease;
}

.elt-favorite-btn.is-favorite svg {
  fill: #f59e0b;
  stroke: #f59e0b;
}

.elt-favorite-btn:hover svg {
  stroke: #1e293b;
}

.elt-favorite-btn.is-favorite:hover svg {
  fill: #d97706;
  stroke: #d97706;
}

/* Badges catégories */
.elt-badges { display: flex; gap: 8px; margin: 6px 0 8px; }
.elt-badge {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06); background: #f3f4f6;
}
.elt-badge-ai      { background: #fde7f3; }
.elt-badge-admin   { background: #dbeafe; }
.elt-badge-interface { background: #e0e7ff; }
.elt-badge-courses { background: #fff7e6; }

/* Badge "Déjà installé" */
.elt-badge-installed {
  font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
  background: #d1d5db;
  color: #374151;
  border: 1px solid rgba(0,0,0,.1);
  white-space: nowrap;
}

/* Availability badge (Inclus / Sur devis) — displayed before categories */
.elt-badge-availability {
  font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  white-space: nowrap;
}
.elt-badge-availability--included {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857; /* green */
  border-color: rgba(4,120,87,0.08);
}
.elt-badge-availability--quote {
  background: linear-gradient(180deg, #fff8e6 0%, #fff1d6 100%);
  color: #b45309; /* amber */
  border-color: rgba(180,83,9,0.08);
}

/* Titre / description carte */
.elt-title { font-size: 18px; font-weight: 700; margin: 6px 0 6px; }
.elt-desc  { color: #374151; font-size: 14px; line-height: 1.5; }

/* Actions de carte (collées en bas et centrées) */
.elt-card .elt-actions { margin-top: auto; display: flex; gap: 10px; justify-content: flex-start; }

/* Boutons carte (forte spécificité pour contrer Bootstrap/thème) */
.elt-card .elt-actions a.elt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 14px; border-radius: 12px;
  text-decoration: none !important; font-weight: 700;
  border: 1px solid rgba(0,0,0,.08);
}

.elt-card .elt-actions .elt-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.elt-card .elt-actions .elt-btn-ghost { background: #fff !important; color: #111 !important; }
.elt-card .elt-actions .elt-btn-ghost {
  display: block !important;
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #fff1f6 0%, #ffeef4 100%) !important; /* pale pink */
  color: #e80580 !important; /* darker rose for contrast */
  border: 1px solid rgba(123,31,58,0.06) !important;
  box-shadow: none !important;
  text-align: center;
}

/* Ensure demo button sits alone at bottom — if there are multiple actions, keep spacing */
.elt-card .elt-actions { gap: 8px; }
.elt-card .elt-actions a.elt-btn-quote { background: #fff3cd !important; color: #8a6d3b !important; border-color: #ffeeba !important; }

/* Non-interactive button look (used for 'Sur devis' / 'Inclus' labels) */
.elt-btn-disabled {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 14px; border-radius: 12px;
  text-decoration: none !important; font-weight: 700;
  border: 1.5px solid currentColor; /* slightly thinner border */
  cursor: default; opacity: 0.98;
  pointer-events: none; /* ensure non-clickable */
  background: #fff; /* base: match demo/ghost button */
  color: #111;
  box-shadow: none;
}

/* 'Sur devis' (quote) – yellow tone, non-interactive */
.elt-btn-quote.elt-btn-disabled {
  background: #fff7e0; /* soft yellow */
  color: #8a6d3b;
  border: 1.5px solid currentColor;
}

/* 'Inclus' – light green tone, visually similar to ghost/demo but green */
.elt-btn-primary.elt-btn-disabled {
  background: #ecfdf5; /* very light green */
  color: #065f46; /* dark green text */
  border: 1.5px solid currentColor;
}

/* Peppier colors for 'Sur devis' and 'Inclus' labels */
.elt-btn-quote.elt-btn-disabled {
  background: linear-gradient(180deg, #fff8e6 0%, #fff1d6 100%);
  color: #b45309; /* warm amber */
  border-color: rgba(180,83,9,0.12);
}
.elt-btn-primary.elt-btn-disabled {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857; /* more vivid green */
  border-color: rgba(4,120,87,0.12);
}

/* Filter button group (horizontal pill buttons) */
.elt-filter-group {
  display: inline-flex;
  gap: 10px; /* space between independent buttons */
  align-items: center;
}
.elt-filter-btn {
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #111;
  padding: 8px 12px;
  font-weight: 700;
  border-radius: 12px; /* individual rounded buttons */
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}
.elt-filter-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.elt-filter-btn.is-active { background: linear-gradient(90deg, #60a5fa, #7c3aed); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.elt-filter-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }

/* Remove any visible border on active button to avoid gradient seam artifacts */
.elt-filter-btn.is-active { border: none; }

/* Favorites filter button with star icon */
.elt-filter-favorites {
  display: flex;
  align-items: center;
  gap: 6px;
}

.elt-filter-favorites .elt-star-icon {
  width: 16px;
  height: 16px;
}

.elt-filter-favorites.is-active .elt-star-icon {
  fill: #fbbf24;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Empty state for favorites */
.elt-empty-favorites {
  text-align: center;
  padding: 64px 24px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
}

.elt-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.elt-empty-favorites p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Badge NEW (générique pour les cartes — offsets internes) */
.elt-badge-new {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
}

/* Bandeau contact (bas de page catalogue) */
.elt-cta-banner {
  margin: 28px 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  background: linear-gradient(135deg, #f472b6 0%, #60a5fa 50%, #7c3aed 100%);
  color: #fff;
}
.elt-cta-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 22px 20px; text-align: center;
}
.elt-cta-text {
  margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25;
}
.elt-cta-banner .elt-btn-white {
  padding: 10px 14px; border-radius: 12px; text-decoration: none !important;
  font-weight: 700; background: #fff; color: #111; border: 0;
  transition: transform .08s ease, box-shadow .2s ease;
}
.elt-cta-banner .elt-btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.elt-cta-banner .elt-btn-white:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Contact card variant matching the usual gradient and centered layout */
.elt-card-contact {
  /* Use the same gradient as banners to feel consistent */
  background: linear-gradient(135deg, #f472b6 0%, #60a5fa 50%, #7c3aed 100%);
  color: #fff; /* white text on gradient */
  border: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  /* center content vertically */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;
  min-height: 260px; /* tunable — keeps the card tall enough to feel like a banner */
  padding: 20px;
}
.elt-card-contact .elt-card-top{
  /* keep the top block but empty; it provides the rounded header look */
  height: 28px; /* small spacer to keep card proportions */
  border: none;
  border-radius: 12px;
  margin-bottom: 8px;
  background: transparent;
}
.elt-card-contact .elt-title-row{ justify-content: center; }
.elt-card-contact .elt-title{ color: #fff; text-align: center; margin: 6px 0; }
.elt-card-contact .elt-desc{ color: rgba(255,255,255,0.92); text-align: center; margin: 6px 0 12px; }
.elt-card-contact .elt-actions { justify-content: center; margin-top: 0; }
.elt-card-contact .elt-btn { background: #fff; color: #111; border: 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.elt-card-contact .elt-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }

@media (max-width: 520px) {
  .elt-card-contact { min-height: 220px; padding: 16px; }
}

/* =============================================================================
   BANNIÈRE GÉNÉRIQUE (si utilisée ailleurs que #elt-banner)
   ========================================================================== */
.elt-banner {
  position: relative;
  margin: 12px 0 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  background: linear-gradient(135deg, #f472b6 0%, #60a5fa 50%, #7c3aed 100%);
  color: #fff;
}
.elt-banner__inner {
  display: flex; align-items: center; gap: 18px; padding: 16px 20px;
}
.elt-banner .elt-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.elt-banner .elt-link { font-weight: 600; color: #fff; text-decoration: none; opacity: .95; }
.elt-banner .elt-link:hover { text-decoration: underline; opacity: 1; }
.elt-divider { opacity: .5; }
.elt-banner .elt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 10px 14px;
  background: #fff; color: #111; text-decoration: none; font-weight: 600;
  transition: transform .08s ease, box-shadow .2s ease;
}
.elt-banner .elt-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.elt-banner .elt-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* =============================================================================
   SECTION ARTICLES (intégrée dans la bannière principale)
   ========================================================================== */
.elt-banner__articles {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
}

.elt-articles-container {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.elt-articles-banner__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 12px 16px;
  position: relative;
  background: #111827;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.elt-articles-banner__title:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.elt-articles-banner__title::before {
  content: "📰";
  margin-right: 6px;
  font-size: 14px;
  animation: pulse 3s ease-in-out infinite;
}

.elt-articles-banner__title::after {
  display: none; /* Pas de séparateur car c'est maintenant un bouton */
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.elt-articles-grid {
  display: flex;
  align-items: center;
  background: #f4f4f4;
  border-radius: 0 8px 8px 0;
  border: 1px solid rgba(0,0,0,.08);
  border-left: none;
  padding: 12px 16px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  position: relative;
  flex: 1;
  min-width: 0;
}

.elt-articles-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
}

.elt-articles-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.elt-article-card {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  padding: 8px 16px;
  position: relative;
  overflow: hidden;
}

.elt-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.elt-article-card:hover {
  transform: translateY(-2px);
}

.elt-article-card:hover::before {
  opacity: 1;
}

.elt-article-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 0.5px;
}

/* Badge NEW pour articles récents */
.elt-article-badge-new {
  position: absolute;
  top: 0px;
  right: 8px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f59e0b;
  color: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  z-index: 10;
  opacity: 0.95;
}



.elt-article-card--recent {
  position: relative;
  z-index: 1;
}

.elt-article-card__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #4b5563;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.elt-article-card__link:hover {
  color: #e80580;
  text-decoration: none;
}

.elt-article-card__image {
  display: none; /* Masquer l'image dans le format bandeau */
}

.elt-article-card__content {
  padding: 0;
  display: flex;
  align-items: center;
}

.elt-article-card__categories {
  display: none; /* Masquer les catégories dans le format bandeau */
}

/* Limiter l'affichage à 2 catégories maximum */
.elt-article-card__categories .elt-article-category:nth-child(n+3) {
  display: none;
}

.elt-article-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 10px;
  background: #fce7f3;
  color: #be185d;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  border: 1px solid rgba(190, 24, 93, 0.1);
  transition: transform 0.15s ease, background 0.15s ease;
}

/* Couleurs pastels variées pour différentes catégories */
.elt-article-category:nth-child(1) {
  background: #fce7f3;
  color: #be185d;
  border-color: rgba(190, 24, 93, 0.1);
}

.elt-article-category:nth-child(2) {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: rgba(29, 78, 216, 0.1);
}

.elt-article-category:nth-child(3) {
  background: #ede9fe;
  color: #7c2d92;
  border-color: rgba(124, 45, 146, 0.1);
}

.elt-article-category:nth-child(4) {
  background: #d1fae5;
  color: #047857;
  border-color: rgba(4, 120, 87, 0.1);
}

.elt-article-category:nth-child(5) {
  background: #fef3c7;
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.1);
}

.elt-article-card:hover .elt-article-category {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.elt-article-card__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: inherit;
  position: relative;
  transition: all 0.3s ease;
}

.elt-article-card:hover .elt-article-card__title {
  font-weight: 700;
}

.elt-article-card:hover .elt-article-card__title {
  color: inherit;
}

.elt-article-card__excerpt {
  display: none; /* Masquer l'extrait dans le format bandeau */
}

.elt-article-card__date {
  display: none; /* Masquer la date dans le format bandeau */
}

/* Responsive pour la barre d'articles */
@media (max-width: 960px) {
  .elt-articles-container {
    flex-direction: column;
    gap: 8px;
  }
  
  .elt-articles-banner__title {
    font-size: 0.75rem;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
  }
  
  .elt-articles-grid {
    border-radius: 8px;
    border-left: 1px solid rgba(0,0,0,.08);
    padding: 10px 14px;
  }
  
  .elt-article-card {
    padding: 6px 12px;
  }
  
  .elt-article-card__title {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .elt-articles-banner__title {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
  
  .elt-articles-grid {
    padding: 8px 12px;
  }
  
  .elt-article-card {
    padding: 4px 8px;
  }
  
  .elt-article-card__title {
    font-size: 0.8rem;
  }
  
  .elt-article-badge-new {
    font-size: 8px;
    padding: 1px 4px;
    top: 1px;
    right: 6px;
  }
}
