
/* ===== V241.225 bundled from assets/css/ofqd-v21-6-event-images.css ===== */
/* OFQD V21.6 — images événement fiables et séparées des professionnels */
.ofqd-event-card-media,.ofqd-events-v50-media{position:relative;overflow:hidden;background:#eef2f8!important}
.ofqd-event-card-media>img,.ofqd-events-v50-media>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;z-index:0}
.ofqd-event-card-media:after,.ofqd-events-v50-media:before{z-index:1}
.ofqd-event-card-media>span,.ofqd-events-v50-media>span{z-index:2}

/* ===== V241.225 bundled from assets/css/ofqd-charte-officielle-v250.css ===== */
/*
 * OFQD V250 — Charte graphique officielle Horizon & Découverte
 * Référence : Q orange, Poppins, pictogrammes fins et cohérents.
 * Couche visuelle uniquement : ne modifie ni Pexels, ni le cache, ni l'anti-doublons.
 */
:root{
  --ofqd-ink:#0D1B2A;
  --ofqd-navy:#071B55;
  --ofqd-blue:#1E3A8A;
  --ofqd-blue-live:#2563EB;
  --ofqd-sky:#7DB8FF;
  --ofqd-sun:#FFC857;
  --ofqd-orange:#FF8A00;
  --ofqd-red:#FF3D3D;
  --ofqd-paper:#FFFFFF;
  --ofqd-canvas:#F4F7FC;
  --ofqd-line:#DCE6F4;
  --ofqd-muted:#617089;
  --ofqd-radius-sm:10px;
  --ofqd-radius:16px;
  --ofqd-radius-lg:24px;
  --ofqd-shadow-sm:0 5px 16px rgba(7,27,85,.08);
  --ofqd-shadow:0 14px 38px rgba(7,27,85,.12);
  --ofqd-focus:0 0 0 4px rgba(37,99,235,.22);
}

html,body,button,input,select,textarea{font-family:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif!important}
body{color:var(--ofqd-ink);background:var(--ofqd-canvas)}

/* Signature OFQD : le Q orange reste toujours identifiable. */
.ofqd-v22-name{letter-spacing:-.055em!important;line-height:.88!important}
.ofqd-v22-name b{font-weight:800!important;color:#fff!important;font-style:normal!important}
.ofqd-v22-name em{font-weight:800!important;color:var(--ofqd-orange)!important;font-style:normal!important;text-shadow:0 2px 12px rgba(255,138,0,.25)}
.ofqd-v22-wordmark small{font-weight:600!important;letter-spacing:.01em!important;color:rgba(255,255,255,.88)!important}
.ofqd-brand{min-width:116px!important}

/* En-tête officiel plus net, sans modifier sa structure. */
.ofqd-topbar-v1,.ofqd-header-v22{
  background:linear-gradient(100deg,#071B55 0%,#0B2868 58%,#071B55 100%)!important;
  border-bottom:1px solid rgba(125,184,255,.18)!important;
  box-shadow:0 8px 26px rgba(7,27,85,.18)!important;
}
.ofqd-nav-wrap{min-height:70px!important}
.ofqd-main-nav .ofqd-nav-item{
  border-radius:12px!important;
  color:rgba(255,255,255,.86)!important;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.ofqd-main-nav .ofqd-nav-item:hover,
.ofqd-main-nav .ofqd-nav-item:focus-visible{
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
.ofqd-main-nav .ofqd-nav-item.active{
  background:linear-gradient(180deg,rgba(125,184,255,.22),rgba(37,99,235,.12))!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(125,184,255,.16)!important;
}
.ofqd-main-nav svg,.ofqd-top-actions svg,.ofqd-mobile-menu-toggle svg{
  fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.ofqd-main-nav .ofqd-nav-deposit-link{
  background:linear-gradient(135deg,var(--ofqd-blue-live),#0877FF)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 10px 24px rgba(37,99,235,.28)!important;
}
.ofqd-main-nav .ofqd-nav-deposit-link:hover{background:linear-gradient(135deg,#174FC4,#0877FF)!important;box-shadow:0 13px 28px rgba(37,99,235,.36)!important}

/* Icônes : même géométrie, même épaisseur, même rythme. */
.ofqd-icon,[data-ofqd-icon] svg,.ofqd-modern-nav-icon,
button svg,a svg:not(.leaflet-control-zoom-in svg):not(.leaflet-control-zoom-out svg){
  vector-effect:non-scaling-stroke;
}
.ofqd-action-icon{border-radius:12px!important;transition:background .18s ease,transform .18s ease!important}
.ofqd-action-icon:hover,.ofqd-action-icon:focus-visible{background:rgba(255,255,255,.09)!important;transform:translateY(-1px)}
.ofqd-fav-link:hover svg{color:var(--ofqd-red)!important;stroke:var(--ofqd-red)!important}

/* Boutons et contrôles officiels. */
button,.btn,.ofqd-btn,[class*="button"],input[type="submit"],input[type="button"]{
  font-weight:700;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0!important;box-shadow:var(--ofqd-focus)!important}
.ofqd-btn-primary,.btn-primary,.ofqd-search-submit,.events-search-button,
button[type="submit"]:not(.ofqd-icon-button):not(.ofqd-action-icon){
  border-radius:999px!important;
}

/* Cartes et panneaux : identité commune, sans changer les dimensions validées. */
.ofqd-card,.event-card,.event-item,.pro-card,.project-card,.nearby-event,
[class*="info-card"],[class*="panel"],[class*="surface"]{
  border-color:rgba(30,58,138,.10)!important;
}
.event-card,.event-item,.ofqd-event-card{
  background:var(--ofqd-paper)!important;
  border:1px solid rgba(30,58,138,.10)!important;
  border-radius:var(--ofqd-radius-sm)!important;
  box-shadow:var(--ofqd-shadow-sm)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.event-card:hover,.event-item:hover,.ofqd-event-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(37,99,235,.22)!important;
  box-shadow:0 12px 26px rgba(7,27,85,.14)!important;
}
.event-card img,.event-item img,.ofqd-event-card img{transition:transform .28s ease,filter .28s ease!important}
.event-card:hover img,.event-item:hover img,.ofqd-event-card:hover img{transform:scale(1.025)}

/* Badges de catégories : sobres, lisibles, forme commune. */
.event-category,.category-badge,.ofqd-category-badge,[class*="category-chip"]{
  border-radius:999px!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  box-shadow:0 2px 8px rgba(7,27,85,.08)!important;
}

/* Formulaires et filtres. */
input,select,textarea{
  border-radius:12px!important;
  border-color:var(--ofqd-line)!important;
  color:var(--ofqd-ink)!important;
}
input::placeholder,textarea::placeholder{color:#8794A8!important;opacity:1}
.filter-chip,.ofqd-filter-chip,.events-filter-chip,.quick-filter,
[class*="filter-pill"],[class*="quick-chip"]{
  border-radius:999px!important;
  border-color:rgba(30,58,138,.13)!important;
  background:#fff!important;
  color:var(--ofqd-navy)!important;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease!important;
}
.filter-chip:hover,.ofqd-filter-chip:hover,.events-filter-chip:hover,.quick-filter:hover,
[class*="filter-pill"]:hover,[class*="quick-chip"]:hover{transform:translateY(-1px);border-color:rgba(37,99,235,.28)!important}
.filter-chip.active,.ofqd-filter-chip.active,.events-filter-chip.active,.quick-filter.active,
[class*="filter-pill"].active,[class*="quick-chip"].active{
  background:var(--ofqd-blue)!important;color:#fff!important;border-color:var(--ofqd-blue)!important;
}

/* Mention obligatoire : discrète mais lisible sur toutes les photos externes. */
.ofqd-photo-disclaimer,.photo-disclaimer,[data-photo-disclaimer]::after{
  background:rgba(7,27,85,.82)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:999px!important;
  font-size:clamp(7px,.52vw,10px)!important;
  font-weight:600!important;
  letter-spacing:.005em!important;
  padding:2px 6px!important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

/* Fiche événement Premium : rétablit la qualité sans toucher à la source photo. */
.ofqd-event-detail-hero,.event-detail-hero,.event-hero{
  overflow:hidden!important;
  background-color:#20355f!important;
}
.ofqd-event-detail-hero::after,.event-detail-hero::after,.event-hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(7,27,85,.90) 0%,rgba(7,27,85,.62) 42%,rgba(7,27,85,.12) 76%,rgba(7,27,85,.02) 100%);
}
.ofqd-event-detail-hero > *,.event-detail-hero > *,.event-hero > *{position:relative;z-index:1}
.ofqd-event-detail-main,.event-detail-card,.event-sheet-card{
  border-radius:24px!important;
  border:1px solid rgba(30,58,138,.10)!important;
  box-shadow:var(--ofqd-shadow)!important;
}
.ofqd-event-detail-actions a,.ofqd-event-detail-actions button,
.event-detail-actions a,.event-detail-actions button{
  border-radius:12px!important;min-height:44px!important;
}

/* Footer et logo : cohérence sur fond sombre. */
.ofqd-footer,footer{background:linear-gradient(100deg,#071B55,#0B2868)!important}
.ofqd-footer img,footer img{object-fit:contain}

/* Mobile : conserve la densité et évite les pictogrammes surdimensionnés. */
@media(max-width:860px){
  .ofqd-nav-wrap{min-height:58px!important}
  .ofqd-brand{min-width:92px!important}
  .ofqd-v22-name{font-size:27px!important}
  .ofqd-v22-wordmark small{font-size:7px!important}
  .ofqd-main-nav .ofqd-nav-item svg{width:22px!important;height:22px!important}
  .ofqd-photo-disclaimer,.photo-disclaimer{font-size:7px!important;padding:2px 5px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.ofqd-brand-question{color:var(--ofqd-red)!important;font-style:normal!important;font-weight:800!important;margin-left:1px}

/* ===== V241.225 bundled from assets/css/ofqd-favorites-v18.css ===== */
/* OFQD V18 — Favoris fiables et panneau Premium.
   Périmètre : favoris uniquement. */

.ofqd-favorites-panel[hidden]{display:none!important}
.ofqd-favorites-panel{
  position:fixed;
  inset:0;
  z-index:2147482500;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(3,14,45,.64);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
html.ofqd-favorites-open{overflow:hidden}

.ofqd-favorites-dialog{
  width:min(760px,calc(100vw - 32px));
  max-height:min(82vh,820px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.55);
  border-radius:24px;
  background:#fff;
  box-shadow:0 30px 100px rgba(0,0,0,.34);
}
.ofqd-favorites-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:17px 19px;
  background:linear-gradient(135deg,#071b55,#104393);
  color:#fff;
}
.ofqd-favorites-head h2{
  margin:0;
  color:#fff;
  font-size:22px;
  line-height:1.05;
}
.ofqd-favorites-head p{
  margin:4px 0 0;
  color:rgba(255,255,255,.78);
  font-size:11px;
  font-weight:600;
}
.ofqd-favorites-close{
  flex:0 0 38px;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:11px;
  background:rgba(255,255,255,.13);
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.ofqd-favorites-list{
  min-height:120px;
  overflow:auto;
  padding:12px;
  background:#f6f8fc;
}
.ofqd-favorites-item{
  display:grid;
  grid-template-columns:82px minmax(0,1fr) 38px;
  align-items:center;
  gap:11px;
  margin:0 0 8px;
  padding:8px;
  border:1px solid #e0e7f1;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 14px rgba(7,27,85,.055);
}
.ofqd-favorites-media{
  display:grid;
  place-items:center;
  width:82px;
  height:60px;
  overflow:hidden;
  border-radius:10px;
  background:#eef4fb;
  color:#d52b49;
  font-size:22px;
}
.ofqd-favorites-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.ofqd-favorites-info{
  min-width:0;
  color:#071b55;
  text-decoration:none;
}
.ofqd-favorites-info strong{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:13px;
  line-height:1.25;
}
.ofqd-favorites-info small{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
  margin-top:5px;
  color:#61708b;
  font-size:10px;
  font-weight:650;
}
.ofqd-favorites-info small i{
  color:#a8b4c6;
  font-style:normal;
}
.ofqd-favorites-remove{
  width:36px;
  height:36px;
  border:0;
  border-radius:10px;
  background:#fff1f4;
  color:#c9233e;
  font-size:20px;
  font-weight:800;
  cursor:pointer;
}
.ofqd-favorites-empty{
  display:grid;
  gap:5px;
  margin:3px;
  padding:38px 18px;
  border:1px dashed #b9c8dc;
  border-radius:16px;
  background:#fff;
  text-align:center;
  color:#4b5f7b;
}
.ofqd-favorites-empty strong{color:#071b55;font-size:15px}
.ofqd-favorites-empty span{font-size:12px}

.ofqd-action-icon.ofqd-fav-link{position:relative}
.ofqd-favorites-count{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:19px;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  background:#dc3048;
  color:#fff;
  border:2px solid #fff;
  font:800 10px/15px Poppins,sans-serif;
  text-align:center;
  box-shadow:0 3px 8px rgba(7,27,85,.25);
}
.ofqd-favorites-count[hidden]{display:none!important}

/* Le cœur reste strictement individuel. */
.ofqd-favorite-btn.is-favorite,
.ofqd-business-favorite.is-favorite{
  color:#d52b49!important;
}
.ofqd-favorite-btn.is-favorite svg,
.ofqd-business-favorite.is-favorite svg{
  fill:currentColor!important;
}

html.ofqd-night .ofqd-favorites-list,
body.night .ofqd-favorites-list{background:#071a38}
html.ofqd-night .ofqd-favorites-item,
html.ofqd-night .ofqd-favorites-empty,
body.night .ofqd-favorites-item,
body.night .ofqd-favorites-empty{
  background:#0d2347;
  border-color:#2b4268;
  color:#eaf1ff;
}
html.ofqd-night .ofqd-favorites-info,
html.ofqd-night .ofqd-favorites-empty strong,
body.night .ofqd-favorites-info,
body.night .ofqd-favorites-empty strong{color:#f5f8ff}

@media(max-width:760px){
  .ofqd-favorites-panel{align-items:end;padding:0}
  .ofqd-favorites-dialog{
    width:100%;
    max-height:88vh;
    border-radius:20px 20px 0 0;
  }
  .ofqd-favorites-item{
    grid-template-columns:64px minmax(0,1fr) 36px;
    gap:9px;
  }
  .ofqd-favorites-media{width:64px;height:52px}
}

/* ===== V241.225 bundled from assets/css/ofqd-profile-favorites-v271.css ===== */
/* OFQD V271 — Profil et Favoris Premium */
.ofqd-v143-profile{--v271-blue:#071b55;--v271-orange:#f28b21;--v271-red:#dc3048;--v271-line:#dfe7f2;--v271-soft:#f5f8fc}
.ofqd-v143-profile .ofqd-v143-hero{background:linear-gradient(135deg,#071b55 0%,#0b347d 72%,#1553a0 100%);border-radius:24px;box-shadow:0 18px 50px rgba(7,27,85,.18);overflow:hidden;position:relative}
.ofqd-v143-profile .ofqd-v143-hero:after{content:"?";position:absolute;right:25%;top:-55px;font:900 210px/1 Poppins,sans-serif;color:rgba(255,255,255,.055);transform:rotate(8deg);pointer-events:none}
.ofqd-v143-profile .ofqd-v143-score-mini{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(12px);border-radius:18px;padding:18px;min-width:210px}
.ofqd-v143-profile .ofqd-v143-top-grid{gap:18px}
.ofqd-v143-profile .ofqd-pro-card,.ofqd-v143-profile .ofqd-step-card{border:1px solid var(--v271-line);border-radius:20px;box-shadow:0 10px 30px rgba(7,27,85,.07)}
.ofqd-v143-profile .ofqd-v143-card-head>span{background:linear-gradient(135deg,var(--v271-orange),#ffad45);color:#fff;box-shadow:0 7px 18px rgba(242,139,33,.28)}
.ofqd-v143-profile .ofqd-v143-preview{border:1px solid var(--v271-line);background:linear-gradient(180deg,#fff,var(--v271-soft));border-radius:16px}
.ofqd-v143-profile .ofqd-v143-preview img{border-radius:13px;aspect-ratio:16/8;object-fit:cover;width:100%}
.ofqd-v271-icon-title{display:flex;align-items:center;gap:10px}
.ofqd-v271-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ofqd-v143-profile .ofqd-v143-preview-buttons span,.ofqd-v143-profile .ofqd-v143-switch span{display:flex;align-items:center;gap:7px}
.ofqd-v143-profile .ofqd-v143-preview-buttons .ofqd-v271-icon,.ofqd-v143-profile .ofqd-v143-switch .ofqd-v271-icon{width:18px;height:18px}
.ofqd-v143-profile input,.ofqd-v143-profile select,.ofqd-v143-profile textarea{border:1px solid #cfd9e8;border-radius:12px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.ofqd-v143-profile input:focus,.ofqd-v143-profile select:focus,.ofqd-v143-profile textarea:focus{border-color:#2d68bf;box-shadow:0 0 0 4px rgba(45,104,191,.12);outline:0}
.ofqd-v143-profile .ofqd-v143-sticky-actions{border:1px solid var(--v271-line);border-radius:18px;box-shadow:0 12px 34px rgba(7,27,85,.12)}
.ofqd-action-icon.ofqd-fav-link{position:relative}
.ofqd-favorites-count{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#dc3048;color:#fff;border:2px solid #fff;font:800 10px/15px Poppins,sans-serif;text-align:center;box-shadow:0 3px 8px rgba(7,27,85,.25)}
.ofqd-favorites-count[hidden]{display:none!important}
.ofqd-favorites-panel{background:rgba(3,14,45,.64)!important;backdrop-filter:blur(8px)!important}
.ofqd-favorites-dialog{width:min(760px,calc(100vw - 32px))!important;max-height:min(82vh,820px)!important;border-radius:24px!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 30px 100px rgba(0,0,0,.34)!important}
.ofqd-favorites-head{padding:18px 20px!important;background:linear-gradient(135deg,#071b55,#104393)!important;border:0!important}
.ofqd-favorites-head h2{color:#fff!important;font-size:23px!important;display:flex;align-items:center;gap:10px}
.ofqd-favorites-head h2:before{content:"";width:24px;height:24px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8b2b' stroke-width='2'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8l1.1 1.1L12 21l7.8-7.5 1.1-1.1a5.5 5.5 0 0 0-.1-7.8Z'/%3E%3C/svg%3E")}
.ofqd-favorites-close{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important}
.ofqd-favorites-list{padding:14px!important;background:#f6f8fc!important}
.ofqd-favorites-item{margin:0 0 10px!important;padding:10px!important;border:1px solid #e0e7f1!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 16px rgba(7,27,85,.06)!important}
.ofqd-favorites-media{border-radius:11px!important;overflow:hidden!important}
.ofqd-favorites-remove{border-radius:11px!important;background:#fff3f5!important;color:#c9233e!important}
.ofqd-favorites-empty{margin:4px;padding:42px 20px!important;border:1px dashed #b9c8dc;border-radius:17px;background:#fff;text-align:center;color:#4b5f7b}
body.night .ofqd-v143-profile .ofqd-pro-card,body.night .ofqd-v143-profile .ofqd-step-card{border-color:#2b4268;background:#0d2347}
body.night .ofqd-v143-profile input,body.night .ofqd-v143-profile select,body.night .ofqd-v143-profile textarea{background:#071a38;border-color:#38517b;color:#f5f8ff}
body.night .ofqd-favorites-list{background:#071a38!important}body.night .ofqd-favorites-item,body.night .ofqd-favorites-empty{background:#0d2347!important;border-color:#2b4268!important;color:#eaf1ff!important}
@media(max-width:760px){.ofqd-v143-profile .ofqd-v143-hero{border-radius:18px}.ofqd-v143-profile .ofqd-v143-score-mini{min-width:0;width:100%}.ofqd-v143-profile .ofqd-v143-sticky-actions{border-radius:14px}.ofqd-favorites-dialog{width:100%!important;max-height:88vh!important;border-radius:22px 22px 0 0!important}.ofqd-favorites-panel{align-items:end!important;padding:0!important}}
