/* ============================================================
   DECIVISION — HUB ÉVÉNEMENTS
   Chargé via l'enqueue conditionnel du shortcode [dv_hub_evenements].
============================================================ */

:root {
  --dv-navy: #28217D;
  --dv-primary: #28217D;
  --dv-primary-light: #EEF0FB;
  --dv-accent: #FF9569;
  --dv-accent-soft: #FF9569;
  --dv-white: #FFFFFF;
  --dv-bg-soft: #F7F9FC;
  --dv-bg-lighter: #F5F6FC;
  --dv-border: #E8EAF6;
  --dv-border-strong: #C7CDF0;
  --dv-text-dark: #1A1A2E;
  --dv-text-med: #4A4A6A;
  --dv-text-light: #5A5A7A;
  --dv-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ============================================================
   RESET LOCAL
============================================================ */

#dv-hub-evenements *,
#dv-hub-evenements *::before,
#dv-hub-evenements *::after {
  box-sizing: border-box;
}

#dv-hub-evenements {
  font-family: var(--dv-font);
  color: var(--dv-text-dark);
}


/* ============================================================
   HERO
============================================================ */

.dv-hub-hero {
  background: var(--dv-white);
  padding: 72px 24px 56px;
  position: relative;
  border-bottom: 1px solid var(--dv-border);
}

.dv-hub-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.dv-hub-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--dv-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.dv-hub-h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  color: var(--dv-navy);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.dv-hub-h1 em {
  font-style: normal;
  color: var(--dv-accent);
}

.dv-hub-sub {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--dv-text-med);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 32px;
  font-weight: 400;
}

.dv-hub-stats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--dv-border);
}

.dv-hub-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dv-text-light);
  font-weight: 500;
  position: relative;
}

.dv-hub-stat strong {
  color: var(--dv-primary);
  font-weight: 700;
}

.dv-hub-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dv-border-strong);
}


/* ============================================================
   HERO — MOBILE
============================================================ */

@media (max-width: 600px) {

  .dv-hub-hero {
    padding: 42px 20px 34px;
  }

  .dv-hub-hero-inner {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .dv-hub-eyebrow {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .dv-hub-h1 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
  }

  .dv-hub-sub {
    max-width: none;
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.65;
  }

  .dv-hub-stats {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding-top: 20px;
  }

  .dv-hub-stat {
    font-size: 12px;
  }

  .dv-hub-stat:not(:last-child)::after {
    display: none;
  }

}


/* ============================================================
   BARRE DE FILTRES
============================================================ */

.dv-filter-zone {
  background: var(--dv-white);
  border-bottom: 1px solid var(--dv-border);
  position: sticky;
  top: 60px;
  z-index: 9;
  padding: 16px 24px;
  box-shadow: 0 1px 12px rgba(20, 17, 74, 0.04);
}

.dv-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}


/* ============================================================
   CHIPS
============================================================ */

.dv-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.dv-chip {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--dv-border);
  border-radius: 100px;
  font-family: var(--dv-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--dv-text-med);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.dv-chip:hover {
  border-color: var(--dv-primary);
  color: var(--dv-primary);
}

.dv-chip.active {
  background: var(--dv-primary);
  border-color: var(--dv-primary);
  color: var(--dv-white);
}


/* ============================================================
   SELECT THÉMATIQUE
============================================================ */

.dv-theme-select {
  padding: 8px 32px 8px 14px;
  font-family: var(--dv-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--dv-text-med);
  background: var(--dv-bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A5A7A' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--dv-border);
  border-radius: 100px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.dv-theme-select:hover {
  border-color: var(--dv-primary);
  color: var(--dv-primary);
}

.dv-theme-select:focus {
  outline: none;
  border-color: var(--dv-accent);
  box-shadow: 0 0 0 3px rgba(255, 149, 105, 0.10);
}


/* ============================================================
   RECHERCHE
============================================================ */

.dv-filter-search {
  min-width: 220px;
}

.dv-filter-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  font-family: var(--dv-font);
  font-size: 12px;
  line-height: 1;
  color: var(--dv-text-dark);
  background: var(--dv-bg-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%235A5A7A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E")
    no-repeat left 12px center;
  background-size: 15px 15px;
  border: 1px solid var(--dv-border);
  border-radius: 100px;
  transition: all 0.18s ease;
}

.dv-filter-search input:focus {
  outline: none;
  background-color: var(--dv-white);
  border-color: var(--dv-accent);
  box-shadow: 0 0 0 3px rgba(255, 149, 105, 0.10);
}

.dv-filter-search svg {
  display: none !important;
}


/* ============================================================
   COMPTEUR
============================================================ */

.dv-filter-count {
  font-size: 12px;
  color: var(--dv-text-light);
  font-weight: 600;
  white-space: nowrap;
}


/* ============================================================
   BARRE DE FILTRES — MOBILE
============================================================ */

@media (max-width: 780px) {

  .dv-filter-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .dv-filter-search {
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .dv-filter-search input {
    height: 42px;
    padding: 10px 14px 10px 38px;
    font-size: 13px;
    line-height: 1;
    border-radius: 12px;
    background-position: left 13px center;
    background-size: 16px 16px;
  }

  .dv-filter-search svg {
    width: 16px;
    height: 16px;
    margin-right: -32px;
  }


  /* CHIPS — DÉFILEMENT HORIZONTAL */

  .dv-filter-chips,
  #dv-chips {
    order: 2;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center;
    justify-content: flex-start !important;

    gap: 8px;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    padding: 2px 2px 8px 0;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .dv-filter-chips::-webkit-scrollbar,
  #dv-chips::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .dv-filter-chips .dv-chip,
  #dv-chips .dv-chip {
    flex: 0 0 auto !important;
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;

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

    padding: 8px 14px;

    font-size: 12px;
    line-height: 1.2;

    white-space: nowrap;
  }


  /* SELECT THÉMATIQUE */

  .dv-theme-select {
    order: 3;

    width: 100%;
    height: 42px;

    padding: 9px 38px 9px 14px;

    font-size: 12px;
    border-radius: 12px;
  }


  /* COMPTEUR */

  .dv-filter-count {
    order: 4;

    display: block;
    width: 100%;

    padding: 1px 2px 0;

    text-align: left;
    font-size: 11px;
    font-weight: 600;
  }

}


/* ============================================================
   TRÈS PETITS ÉCRANS
============================================================ */

@media (max-width: 380px) {

  .dv-hub-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dv-hub-h1 {
    font-size: 27px;
  }

  .dv-hub-sub {
    font-size: 13.5px;
  }

}


/* ============================================================
   SECTIONS
============================================================ */

.dv-hub-section {
  padding: 56px 24px;
}

.dv-hub-section-alt {
  background: var(--dv-bg-soft);
}

.dv-hub-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.dv-hub-section-header {
  margin-bottom: 32px;
}

.dv-hub-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--dv-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dv-hub-section-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--dv-navy);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.015em;
}


/* ============================================================
   ÉTATS
============================================================ */

.dv-hub-loading,
.dv-hub-empty,
.dv-hub-error {
  text-align: center;
  padding: 48px 20px;
  color: var(--dv-text-light);
  font-size: 15px;
}

.dv-hub-empty strong {
  display: block;
  font-size: 17px;
  color: var(--dv-text-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.dv-hub-error {
  background: #FFF3F0;
  border: 1px solid #FFDBD1;
  border-radius: 12px;
  color: #A03720;
}

.dv-hub-loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 12px;
  border: 2px solid var(--dv-border);
  border-top-color: var(--dv-accent);
  border-radius: 50%;
  vertical-align: middle;
  animation: dvSpin 0.8s linear infinite;
}

@keyframes dvSpin {
  to {
    transform: rotate(360deg);
  }
}


/* ============================================================
   GRILLES
============================================================ */

.dv-cards-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 540px) {

 .dv-cards-featured {
    grid-template-columns: 1fr;
  }

  .dv-cards-featured .dv-card-featured {
    grid-template-columns: 1fr;
  }

  .dv-cards-featured .dv-card-featured .dv-card-featured-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    align-self: auto;
  }

  .dv-cards-featured .dv-card-featured .dv-card-featured-image img {
    height: 120%;
    object-position: center 40%;
  }

}


/* ============================================================
   CARDS À VENIR
============================================================ */

.dv-card-featured {
  display: grid;
   grid-template-columns: auto 1fr;

  background: var(--dv-white);
  border: 1px solid var(--dv-border);
  border-radius: 16px;
  overflow: hidden;

  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  text-decoration: none;
  color: inherit;

  animation: dvFadeIn 0.4s ease both;
}

.dv-card-featured:hover {
  border-color: var(--dv-primary);
  box-shadow: 0 10px 30px rgba(20, 17, 74, 0.10);
  transform: translateY(-2px);
}


/* ============================================================
   IMAGE DES CARDS À VENIR
   Position absolue dans le parent pour garantir un remplissage
   complet en hauteur, indépendamment des règles responsive du
   thème (ex. img { height: auto !important; }).
============================================================ */

.dv-card-featured-image {
  position: relative;
  background: var(--dv-primary-light);
  overflow: hidden;
  width: 280px;
  align-self: stretch;
  min-height: 100%;
}

.dv-card-featured-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.dv-card-featured:hover .dv-card-featured-image img {
  transform: scale(1.05);
}


/* ============================================================
   CORPS DES CARDS À VENIR
============================================================ */

.dv-card-featured-body {
  padding: 24px 28px;

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

  gap: 12px;
}

.dv-card-featured-meta {
  display: flex;
  align-items: center;

  gap: 12px;
  flex-wrap: wrap;

  margin-bottom: 4px;
}

.dv-card-featured-date {
  font-size: 13px;
  font-weight: 700;

  color: var(--dv-primary);

  letter-spacing: 0.02em;
}

.dv-card-featured-time {
  font-size: 12px;
  color: var(--dv-text-light);
  font-weight: 500;
}

.dv-card-featured h3 {
  font-size: 20px;
  font-weight: 700;

  color: var(--dv-navy);

margin: 0 0 10px;

  line-height: 1.3;
  letter-spacing: -0.01em;
}

.dv-card-featured-excerpt {
  font-size: 14px;

  color: var(--dv-text-med);

  line-height: 1.6;

  margin: 0;
}

.dv-card-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
  flex-wrap: wrap;

  padding-top: 12px;
  border-top: 1px solid var(--dv-border);

  margin-top: 4px;
}

.dv-card-featured-footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dv-card-featured-location {
  font-size: 12px;

  color: var(--dv-text-light);

  display: inline-flex;
  align-items: center;

  gap: 6px;

  font-weight: 500;
}

.dv-card-featured-location svg {
  width: 12px;
  height: 12px;

  stroke: var(--dv-accent);

  fill: none;
  stroke-width: 2;

  flex-shrink: 0;
}

.dv-card-featured-link {
  display: inline-flex;
  align-items: center;

  gap: 5px;

  font-size: 13px;
  font-weight: 600;

  color: var(--dv-primary);

  text-decoration: none;

  transition: gap 0.2s ease, color 0.2s ease;
}

.dv-card-featured-link svg {
  width: 13px;
  height: 13px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;

  transition: transform 0.2s ease;
}

.dv-card-featured-link:hover {
  color: var(--dv-accent);
}

.dv-card-featured-link:hover svg {
  transform: translateX(3px);
}


/* ============================================================
   CTA DES CARDS À VENIR
============================================================ */

.dv-card-cta {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  padding: 8px 18px;

  background: var(--dv-accent);

  color: var(--dv-white) !important;

  border-radius: 100px;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;

  transition: all 0.18s ease;

  box-shadow: 0 2px 6px rgba(255, 149, 105, 0.20);
}

.dv-card-cta:hover {
  background: #E8754A;
}

.dv-card-cta svg {
  width: 12px;
  height: 12px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;

  transition: transform 0.2s ease;
}

.dv-card-featured:hover .dv-card-cta svg {
  transform: translateX(3px);
}


/* ============================================================
   CARDS ÉVÉNEMENTS PASSÉS
   NE PAS MODIFIER LE FORMAT DE LA CARD
============================================================ */

.dv-card {
  display: flex;
  flex-direction: column;

  background: var(--dv-white);

  border: 1px solid var(--dv-border);
  border-radius: 14px;

  overflow: hidden;

  text-decoration: none;
  color: inherit;

  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  animation: dvFadeIn 0.4s ease both;
}

.dv-card:hover {
  border-color: var(--dv-primary);
  box-shadow: 0 8px 24px rgba(20, 17, 74, 0.08);
  transform: translateY(-3px);
}


/* ============================================================
   IMAGE DES CARDS PASSÉES
============================================================ */

.dv-card-image {
  position: relative;

  aspect-ratio: 16 / 9;

  background: var(--dv-primary-light);

  overflow: hidden;
}

.dv-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.dv-card:hover .dv-card-image img {
  transform: scale(1.05);
}

.dv-card-placeholder {
  width: 100%;
  height: 100%;

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

  background: linear-gradient(
    135deg,
    var(--dv-primary) 0%,
    var(--dv-navy) 100%
  );
}

.dv-card-placeholder svg {
  width: 40px;
  height: 40px;

  stroke: rgba(255,255,255,0.7);

  fill: none;
  stroke-width: 1.5;
}


/* ============================================================
   BADGES DES ÉVÉNEMENTS PASSÉS — DESKTOP
   → Déplacés en haut à droite
============================================================ */

.dv-card-badges-overlay {
  position: absolute;

  top: 12px;
  left: auto;
  right: 12px;

  display: flex;
  align-items: center;

  gap: 6px;
  flex-wrap: wrap;

  z-index: 2;

  justify-content: flex-end;
}


/* Badge TYPE */

.dv-card-badges-overlay .dv-card-badge-type {
  position: static;
}

.dv-card .dv-card-badge-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 12px;

  background: #FF9569;

  backdrop-filter: blur(8px);

  color: var(--dv-primary);

  border: 0;
  border-radius: 100px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  white-space: nowrap;
}


/* Badge THÉMATIQUE */

.dv-card .dv-card-badge-theme {
  display: inline-flex;
  align-items: center;

  gap: 5px;

  padding: 4px 12px;

  background: rgba(255, 149, 105, 0.15);

  border: 1px solid rgba(255, 149, 105, 0.30);

  border-radius: 100px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  color: #FF9569;

  white-space: nowrap;
}

.dv-card .dv-card-badges-overlay .dv-card-badge-theme::before {
	content: "";

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #FF9569;

  box-shadow: 0 0 6px rgba(255, 149, 105, 0.5);

  flex-shrink: 0;
}


/* ============================================================
   BADGES STATUT — NON UTILISÉS
   TODO: vérifier avant suppression — classes non utilisées dans
   les snippets fournis, à supprimer si aucune occurrence en prod
   après quelques semaines.
============================================================ */

/*
.dv-card .dv-card-badge-status {
  position: absolute;

  top: 12px;
  right: 12px;

  padding: 5px 10px;

  border-radius: 100px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;

  display: inline-flex;
  align-items: center;

  gap: 5px;

  white-space: nowrap;
}

.dv-card .dv-card-badge-status.status-replay {
  background: var(--dv-accent);
  color: var(--dv-white);
}

.dv-card .dv-card-badge-status.status-replay::before {
  content: '';

  width: 0;
  height: 0;

  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;

  display: inline-block;
}

.dv-card .dv-card-badge-status.status-synthese {
  background: var(--dv-primary);
  color: var(--dv-white);
}

.dv-card .dv-card-badge-status.status-passe {
  background: rgba(255, 255, 255, 0.90);
  color: var(--dv-text-light);
}
*/


/* ============================================================
   CONTENU DES CARDS PASSÉES
============================================================ */

.dv-card-body {
  padding: 18px 20px 20px;

  display: flex;
  flex-direction: column;
justify-content: space-between;
  gap: 8px;

  flex: 1;
}

.dv-card-date {
  font-size: 12px;

  font-weight: 700;

  color: var(--dv-primary);

  letter-spacing: 0.02em;
}

.dv-card-title {
  font-size: 16px;

  font-weight: 700;

  color: var(--dv-navy);

  line-height: 1.35;

  margin: 0;

  letter-spacing: -0.005em;

  display: -webkit-box;

  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;
}

.dv-card-excerpt {
  font-size: 13px;

  color: var(--dv-text-med);

  line-height: 1.55;

  margin: 0;

  display: -webkit-box;

  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;

  flex: 1;
}

.dv-card-footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding-top: 12px;

  margin-top: 4px;

  border-top: 1px solid var(--dv-border);
}

.dv-card-cta-links {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  font-size: 12px;
  font-weight: 700;

  color: var(--dv-primary);
}

.dv-card-arrow {
  color: var(--dv-accent);

  display: inline-flex;

  transition: transform 0.2s ease;
}

.dv-card-arrow svg {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.dv-card:hover .dv-card-arrow {
  transform: translateX(4px);
}


/* ============================================================
   BADGES DES CARDS À VENIR — DESKTOP
============================================================ */

.dv-card-featured .dv-card-badges-overlay {
  position: absolute;

  top: 16px;
  left: 16px;
  right: auto;

  display: flex;
  align-items: center;

  gap: 5px;
  flex-wrap: wrap;

  justify-content: flex-start;

  z-index: 5;
}


/* Badge TYPE À VENIR */

.dv-card-featured .dv-card-badges-overlay .dv-card-badge-type {
  position: static;

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

  padding: 8px 12px;

  background: #FF9569;

  backdrop-filter: blur(8px);

  color: var(--dv-primary);

  border: 0;

  border-radius: 100px;

  font-size: 10px;
  line-height: 1.2;

  letter-spacing: 0.035em;

  font-weight: 700;

  text-transform: uppercase;

  white-space: nowrap;
}


/* Badge THÉMATIQUE À VENIR */

.dv-card-featured .dv-card-badges-overlay .dv-card-badge-theme {
  display: inline-flex;
  align-items: center;

  gap: 4px;

  padding: 8px 12px;

  background: rgba(255, 149, 105, 0.15);

  border: 1px solid rgba(255, 149, 105, 0.30);

  border-radius: 100px;

  font-size: 10px;
  line-height: 1.2;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #FF9569;

  white-space: nowrap;
}

.dv-card-featured .dv-card-badges-overlay .dv-card-badge-theme::before {
  content: "";

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #FF9569;

  box-shadow: 0 0 5px rgba(255, 149, 105, 0.5);

  flex-shrink: 0;
}


/* ============================================================
   BADGES — OVERRIDES MOBILE
============================================================ */

@media (max-width: 600px) {

  .dv-card .dv-card-badges-overlay {
    top: 10px;
    left: auto;
    right: 10px;
    justify-content: flex-end;
    gap: 4px;
  }

  .dv-card .dv-card-badges-overlay .dv-card-badge-type {
    font-size: 8.5px;
    padding: 1px 9px;
    letter-spacing: 0.03em;
  }

.dv-card .dv-card-image .dv-card-badges-overlay .dv-card-badge-theme {
	font-size: 8.5px;
    padding: 3px 9px;
    gap: 4px;
    letter-spacing: 0.03em;
  }

  .dv-card .dv-card-badge-theme::before {
    width: 4px;
    height: 4px;
  }

  .dv-card-featured .dv-card-badges-overlay {
    top: 18px;
    left: 18px;
    right: auto;
    justify-content: flex-start;
  }

  .dv-card-featured .dv-card-badges-overlay .dv-card-badge-type {
    font-size: 9px;
    padding: 6px 10px;
  }

  .dv-card-featured .dv-card-badges-overlay .dv-card-badge-theme {
    font-size: 9px;
    padding: 6px 10px;
  }

}


/* ============================================================
   BADGES LOGOS PARTENAIRES
============================================================ */

.dv-logo-badges {
  display: flex;

  align-items: center;

  gap: 8px;

  flex-wrap: wrap;

  padding: 12px 0 4px;
}

.dv-logo-badge {
  display: inline-flex;

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

  width: 120px;
  height: 56px;

  background: #FFFFFF;

  border: 1px solid var(--dv-border);

  border-radius: 100px;

  padding: 2px 12px;

  box-shadow: 0 1px 4px rgba(20, 17, 74, 0.06);

  transition: box-shadow 0.18s ease;
}

.dv-logo-badge:hover {
  box-shadow: 0 2px 8px rgba(20, 17, 74, 0.10);
}

.dv-logo-badge img {
  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  display: block;
}

.dv-card .dv-logo-badges {
  padding: 8px 0 0;
}

.dv-card .dv-logo-badge img {
  height: 20px;
}


/* ============================================================
   PONT VERS /syntheses/ — NON UTILISÉ
   TODO: vérifier avant suppression — classes non utilisées dans
   les snippets fournis, à supprimer si aucune occurrence en prod
   après quelques semaines.
============================================================ */

/*
.dv-hub-pont {
  background: linear-gradient(
    135deg,
    var(--dv-navy) 0%,
    var(--dv-primary) 100%
  );

  padding: 48px 24px;

  color: var(--dv-white);

  position: relative;

  overflow: hidden;
}

.dv-hub-pont::after {
  content: '';

  position: absolute;

  bottom: -120px;
  right: -80px;

  width: 320px;
  height: 320px;

  background: radial-gradient(
    circle,
    rgba(255,149,105,0.12) 0%,
    transparent 70%
  );

  pointer-events: none;
}

.dv-hub-pont-inner {
  max-width: 900px;

  margin: 0 auto;

  text-align: center;

  position: relative;

  z-index: 1;
}

.dv-hub-pont h2 {
  font-size: clamp(20px, 2.4vw, 26px);

  font-weight: 700;

  color: var(--dv-white);

  margin: 0 0 12px;

  line-height: 1.3;
}

.dv-hub-pont p {
  font-size: 15px;

  color: rgba(255,255,255,0.80);

  margin: 0 0 24px;

  line-height: 1.6;
}

.dv-hub-pont-links {
  display: inline-flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 8px;
}

.dv-hub-pont-link {
  padding: 8px 16px;

  background: rgba(255,255,255,0.10);

  color: var(--dv-white) !important;

  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  border-radius: 100px;

  border: 1px solid rgba(255,255,255,0.15);

  transition: all 0.18s ease;
}

.dv-hub-pont-link:hover {
  background: var(--dv-accent);
  border-color: var(--dv-accent);
}
*/


/* ============================================================
   VOIR PLUS VOIR MOINS
============================================================ */
#dv-load-more-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.dv-load-more-btn,
.dv-load-less-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}

.dv-load-more-btn {
  background: #28217d;
  color: #fff;
  border: 1px solid #28217d;
}

.dv-load-more-btn:hover {
  background: #14114a;
  border-color: #14114a;
  transform: translateY(-2px);
}

.dv-load-less-btn {
  background: transparent;
  color: #28217d;
  border: 1px solid #28217d;
}

.dv-load-less-btn:hover {
  background: #f3f2fa;
  transform: translateY(-2px);
}


/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes dvFadeIn {

  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.dv-cards-grid > *:nth-child(1)  { animation-delay: .05s; }
.dv-cards-grid > *:nth-child(2)  { animation-delay: .10s; }
.dv-cards-grid > *:nth-child(3)  { animation-delay: .15s; }
.dv-cards-grid > *:nth-child(4)  { animation-delay: .20s; }
.dv-cards-grid > *:nth-child(5)  { animation-delay: .25s; }
.dv-cards-grid > *:nth-child(6)  { animation-delay: .30s; }
.dv-cards-grid > *:nth-child(7)  { animation-delay: .35s; }
.dv-cards-grid > *:nth-child(8)  { animation-delay: .40s; }
.dv-cards-grid > *:nth-child(9)  { animation-delay: .45s; }


/* ============================================================
   COMPOSANTS SECONDAIRES DES CARDS — NON UTILISÉS
   TODO: vérifier avant suppression — classes non utilisées dans
   les snippets fournis, à supprimer si aucune occurrence en prod
   après quelques semaines.
============================================================ */

/*
.dv-card-cta-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dv-primary);
  text-decoration: none;
}

.dv-card-cta-replay svg {
  width: 10px;
  height: 10px;
  fill: var(--dv-accent);
  flex-shrink: 0;
}

.dv-card-link-secondary {
  font-size: 12px;
  font-weight: 600;
  color: var(--dv-text-light);
  text-decoration: none;
}

.dv-card-link-secondary:hover {
  color: var(--dv-primary);
}

.dv-card-badge-replay {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dv-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

.dv-card-badge-replay::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #fff;
  display: inline-block;
}
*/