@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --nuit:        #1a1a1a;
  --nuit-mid:    #2a2a2a;
  --nuit-soft:   #3a3a3a;
  --bleu:        #009faa;
  --bleu-clair:  #4dc5ce;
  --bleu-pale:   #e0f5f7;
  --orange:      #009faa;
  --orange-pale: #e0f5f7;
  --vert:        #2a2a2a;
  --vert-pale:   #f0f0f0;
  --blanc:       #FFFFFF;
  --fond:        #f5f5f5;
  --texte:       #1a1a1a;
  --texte-sec:   #555555;
  --texte-ter:   #999999;
  --border:      #dddddd;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.nav {
  background: var(--nuit);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--nuit-soft);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-wordmark { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: var(--blanc); letter-spacing: -1px; }
.nav-wordmark span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--bleu-clair); text-decoration: none; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--blanc); }

/* ── SOUS-MENUS WP NATIFS ── */
.nav-links li { position: relative; }
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--nuit-mid);
  border: 1px solid var(--nuit-soft);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 200px;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 200;
  flex-direction: column;
  gap: 0;
}
.nav-links li:hover > .sub-menu { display: flex; }
.nav-links .sub-menu li { width: 100%; }
.nav-links .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--bleu-clair);
  white-space: nowrap;
  border-radius: 0;
}
.nav-links .sub-menu a:hover { background: var(--nuit-soft); color: var(--blanc); }
.nav-cta { background: var(--bleu) !important; color: var(--blanc) !important; padding: 7px 16px; border-radius: 6px; font-weight: 600 !important; font-size: 12px !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--blanc); border-radius: 2px; }

/* ── HERO ── */
.hero { background: var(--nuit); padding: 80px 5% 0; text-align: center; position: relative; overflow: visible; }
.hero::before {
  content: '';
  position: absolute; top: -80px; left: -10%; width: 120%; height: 300px;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,109,181,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 50%, rgba(232,120,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-wave { display:block; width:100%; margin-bottom:-4px; vertical-align:bottom; }
.hero-eyebrow {
  display: inline-block; background: var(--nuit-soft); color: var(--bleu-clair);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; border: 1px solid rgba(123,167,212,0.2);
}
.hero-title { font-family: 'Inter', sans-serif; font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: var(--blanc); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero-title .accent { color: var(--orange); }
.hero-subtitle { font-size: 17px; color: var(--bleu-clair); max-width: 520px; margin: 0 auto 36px; font-weight: 300; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; padding: 24px 0; border-top: 1px solid rgba(123,167,212,0.15); }
.hero-stat-num { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 800; color: var(--blanc); }
.hero-stat-num span { color: var(--orange); }
.hero-stat-label { font-size: 11px; color: var(--texte-sec); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── BOUTONS ── */
.btn-primary {
  background: var(--orange); color: var(--blanc); border: none; border-radius: 8px;
  padding: 13px 28px; font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-block; transition: opacity 0.2s, transform 0.15s; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--blanc); border: 1.5px solid var(--bleu); border-radius: 8px;
  padding: 13px 28px; font-size: 14px; font-weight: 500; cursor: pointer;
  text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.15s; font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover { background: var(--nuit-soft); transform: translateY(-1px); }
.btn-link { font-size: 13px; color: var(--bleu); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.btn-link:hover { color: var(--nuit); }

/* ── SECTIONS ── */
.section { padding: 64px 5%; }
.section-alt { background: var(--blanc); }
.section-fond { background: var(--fond); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 16px; }
.section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.section-dot { width: 8px; height: 8px; border-radius: 50%; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.section-title { font-family: 'Inter', sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--nuit); letter-spacing: -0.5px; line-height: 1.2; }
.section-link { font-size: 13px; color: var(--bleu); text-decoration: none; font-weight: 500; white-space: nowrap; transition: color 0.2s; }
.section-link:hover { color: var(--nuit); }

/* ── BADGES ── */
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 20px; }
.badge-blue { background: var(--bleu-pale); color: #007a84; }
.badge-green { background: var(--vert-pale); color: #1a1a1a; }
.badge-premium { background: #e0f5f7; color: #009faa; font-weight:600; }

/* ── CARD FEATURED ── */
.card-featured { background: var(--blanc); border-radius: 16px; border: 1px solid var(--border); overflow: hidden; max-width: 780px; }
.card-featured-header { background: var(--nuit); padding: 24px 28px; display: flex; align-items: center; gap: 18px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.avatar-bleu { background: var(--bleu); color: var(--blanc); }
.avatar-vert { background: var(--vert); color: var(--blanc); }
.avatar-orange { background: var(--orange); color: var(--blanc); }
.card-featured-name { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; color: var(--blanc); margin-bottom: 4px; }
.card-featured-meta { font-size: 13px; color: var(--bleu-clair); }
.card-featured-body { padding: 24px 28px; }
.card-featured-quote { font-size: 16px; color: var(--texte); line-height: 1.7; font-style: italic; border-left: 3px solid var(--bleu); padding-left: 18px; }
.card-featured-footer { padding: 16px 28px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── CARDS GRID ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.card-mini { background: var(--blanc); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.card-mini:hover { border-color: var(--bleu); transform: translateY(-2px); }
.card-mini-header { padding: 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.avatar-sm { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.card-mini-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--nuit); }
.card-mini-meta { font-size: 11px; color: var(--texte-sec); margin-top: 2px; }
.card-mini-body { padding: 14px 16px; }
.card-mini-desc { font-size: 12px; color: var(--texte-sec); line-height: 1.6; margin-bottom: 12px; }
.card-mini-footer { display: flex; align-items: center; justify-content: space-between; }

/* ── CARD ÉVÉNEMENT ── */
.card-event { background: var(--blanc); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; display: flex; transition: border-color 0.2s, transform 0.2s; }
.card-event:hover { border-color: var(--orange); transform: translateY(-2px); }
.card-event-date { background: var(--nuit); width: 72px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 8px; }
.card-event-day { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 800; color: var(--blanc); line-height: 1; }
.card-event-month { font-size: 10px; color: var(--orange); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.card-event-body { padding: 16px; flex: 1; }
.card-event-title { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--nuit); margin-bottom: 6px; }
.card-event-meta { font-size: 11px; color: var(--texte-sec); margin-bottom: 10px; }
.card-event-footer { display: flex; align-items: center; justify-content: space-between; }

/* ── SCORING ── */
.scoring-section { background: var(--nuit); padding: 64px 5%; position: relative; overflow: hidden; }
.scoring-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,120,42,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.scoring-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.scoring-title { font-family: 'Inter', sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--blanc); letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; }
.scoring-title span { color: var(--orange); }
.scoring-sub { font-size: 15px; color: var(--bleu-clair); line-height: 1.7; margin-bottom: 28px; font-weight: 300; }
.scoring-pillars { display: flex; flex-direction: column; gap: 10px; }
.pillar { background: var(--nuit-soft); border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(123,167,212,0.15); }
.pillar-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pillar-name { font-size: 13px; font-weight: 600; color: var(--blanc); }
.pillar-pts { font-size: 10px; color: var(--texte-sec); margin-top: 2px; }
.pillar-score { margin-left: auto; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--orange); }

/* ── RESSOURCES ── */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.res-card { background: var(--blanc); border-radius: 12px; border: 1px solid var(--border); padding: 20px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.2s, transform 0.2s; text-decoration: none; }
.res-card:hover { border-color: var(--bleu); transform: translateY(-2px); }
.res-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bleu-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.res-title { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--nuit); margin-bottom: 4px; }
.res-meta { font-size: 11px; color: var(--texte-sec); margin-bottom: 10px; }
.res-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bleu); }

/* ── FOOTER ── */
.footer { background: var(--nuit); padding: 48px 5% 32px; border-top: 1px solid var(--nuit-soft); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand-logo { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 800; color: var(--blanc); letter-spacing: -1px; margin-bottom: 8px; }
.footer-brand-logo span { color: var(--orange); }
.footer-tagline { font-size: 12px; color: var(--texte-sec); margin-bottom: 6px; }
.footer-url { font-size: 11px; color: #2A4060; font-family: monospace; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte-sec); margin-bottom: 4px; }
.footer-nav a { font-size: 13px; color: var(--bleu-clair); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--blanc); }
.footer-bottom { border-top: 1px solid var(--nuit-soft); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-breizhix { font-size: 12px; color: var(--texte-sec); }
.footer-breizhix a { color: var(--orange); text-decoration: none; font-weight: 600; }
.footer-copy { font-size: 11px; color: #2A4060; }

/* ── PAGES INTÉRIEURES ── */
.page-hero { background: var(--nuit); padding: 56px 5% 48px; }
.page-hero-title { font-family: 'Inter', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--blanc); letter-spacing: -1px; margin-bottom: 10px; }
.page-hero-sub { font-size: 16px; color: var(--bleu-clair); font-weight: 300; }
.page-content { padding: 48px 5%; max-width: 1200px; }

/* ── ANNUAIRE FILTRES ── */
.filtres { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filtre-btn { background: var(--blanc); border: 1px solid var(--border); border-radius: 20px; padding: 7px 16px; font-size: 12px; font-weight: 500; color: var(--texte-sec); cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.filtre-btn:hover, .filtre-btn.active { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }

/* ── WAVE SEPARATOR ── */
.wave-sep { display: block; width: 100%; height: 20px; overflow: hidden; }

/* ── RESPONSIVE ── */

/* Tablette 481-768px */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--nuit); padding: 20px 5%; gap: 16px;
    border-bottom: 1px solid var(--nuit-soft); z-index: 99;
  }
  .nav-cta { display: inline-block; width: fit-content; }

  /* Hero */
  .hero { padding: 48px 5% 0; }
  .hero-title { font-size: clamp(28px, 7vw, 40px); letter-spacing: -1px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions a { width: 100%; max-width: 320px; text-align: center; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-num { font-size: 22px; }

  /* Sections */
  .section { padding: 40px 5%; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 20px; }

  /* Cards featured */
  .card-featured { max-width: 100%; }
  .card-featured-header { padding: 16px 18px; gap: 12px; }
  .card-featured-name { font-size: 15px; }
  .card-featured-body { padding: 16px 18px; }
  .card-featured-quote { font-size: 14px; }
  .card-featured-footer { padding: 12px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Cards grid */
  .cards-grid { grid-template-columns: 1fr; }

  /* Card event */
  .card-event { flex-direction: row; }

  /* Scoring */
  .scoring-section { padding: 48px 5%; }
  .scoring-inner { grid-template-columns: 1fr; gap: 28px; }
  .scoring-title { font-size: 22px; }

  /* Ressources */
  .res-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 40px 5% 28px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Pages intérieures */
  .page-hero { padding: 40px 5% 32px; }
  .page-hero-title { font-size: 26px; }
}

/* Mobile 320-480px */
@media (max-width: 480px) {
  /* Nav */
  .nav { padding: 0 4%; }
  .nav-wordmark { font-size: 18px; }

  /* Hero */
  .hero { padding: 40px 4% 0; }
  .hero-title { font-size: 26px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 32px; }
  .hero-stats { gap: 12px; padding: 16px 0; }
  .hero-stat-num { font-size: 20px; }
  .hero-stat-label { font-size: 9px; }

  /* Sections */
  .section { padding: 32px 4%; }
  .section-title { font-size: 18px; }
  .section-eyebrow { font-size: 10px; }

  /* Card featured header */
  .card-featured-header { flex-wrap: wrap; }
  .avatar { width: 44px; height: 44px; font-size: 14px; }
  .card-featured-name { font-size: 14px; }
  .card-featured-meta { font-size: 11px; }

  /* Badges */
  .badges { gap: 6px; }
  .badge { font-size: 10px; padding: 3px 8px; }

  /* Scoring */
  .scoring-section { padding: 36px 4%; }
  .scoring-title { font-size: 20px; }
  .scoring-sub { font-size: 13px; }
  .pillar { padding: 10px 12px; gap: 10px; }
  .pillar-name { font-size: 12px; }
  .pillar-pts { font-size: 9px; }

  /* Card event */
  .card-event-date { width: 60px; }
  .card-event-day { font-size: 22px; }

  /* Res card */
  .res-card { flex-direction: column; gap: 10px; }
  .res-icon { width: 36px; height: 36px; }

  /* Footer */
  .footer { padding: 32px 4% 24px; }
  .footer-brand-logo { font-size: 22px; }
  .footer-nav a { font-size: 12px; }
  .footer-breizhix { font-size: 11px; text-align: center; }
  .footer-copy { font-size: 10px; }

  /* Pages intérieures */
  .page-hero { padding: 32px 4% 24px; }
  .page-hero-title { font-size: 22px; letter-spacing: -0.5px; }
  .page-hero-sub { font-size: 13px; }

  /* Filtres */
  .filtres { gap: 6px; }
  .filtre-btn { font-size: 11px; padding: 6px 12px; }

  /* Single acteur/lieu/event */
  .section > div[style*="grid-template-columns:2fr"] {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* Grilles 2 colonnes pages intérieures */
.single-grid { display: grid; }
@media (max-width: 768px) {
  .single-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* Fix général overflow horizontal — sans casser Leaflet */
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
input, textarea, select { max-width: 100%; box-sizing: border-box; }
.cards-grid, .res-grid { overflow: hidden; }

/* Leaflet — ne jamais contraindre */
.leaflet-container * { max-width: none !important; }
.leaflet-tile { max-width: none !important; width: auto !important; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.5s ease both; }
.hero-title   { animation: fadeUp 0.6s 0.1s ease both; }
.hero-subtitle{ animation: fadeUp 0.6s 0.2s ease both; }
.hero-actions { animation: fadeUp 0.6s 0.3s ease both; }
.hero-stats   { animation: fadeUp 0.6s 0.4s ease both; }

/* Badge shimmer */
@keyframes shimmer {
  from { left: -80%; }
  to   { left: 140%; }
}
.hero-eyebrow {
  position: relative;
  overflow: hidden;
}
.hero-eyebrow::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: shimmer 3.5s ease infinite 1.5s;
  border-radius: inherit;
  pointer-events: none;
}

/* Vague hero animée */
@keyframes waveFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-wave-animated {
  display: block;
  width: 200%;
  height: 60px;
  animation: waveFlow 7s linear infinite;
}
.hero-wave-wrap {
  overflow: hidden;
  width: 100%;
  height: 60px;
  display: block;
  line-height: 0;
}

/* Compteurs — état initial avant JS */
.hero-stat-num[data-target] { opacity: 0; transition: opacity 0.3s; }
.hero-stat-num.counted      { opacity: 1; }

/* ═══════════════════════════════════════════════
   B2BREIZH — FRONTEND FICHE EDITOR
═══════════════════════════════════════════════ */

#b2b-edit-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: linear-gradient(135deg, #1a1a1a, #007a84);
    color: #fff;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
}
body.b2b-fiche-owner { padding-top: 42px !important; }

[data-b2b-editable] {
    position: relative;
    transition: outline 0.15s;
}
[data-b2b-editable]:hover {
    outline: 2px dashed #009faa;
    outline-offset: 4px;
    border-radius: 4px;
}
[data-b2b-editable]:hover::after {
    content: '✏️';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #009faa;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    pointer-events: none;
}

/* Boutons offre overlay */
.b2b-offre-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: none;
    gap: 6px;
    z-index: 10;
}
.b2b-offre-card:hover .b2b-offre-overlay { display: flex; }
.b2b-offre-overlay button {
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    backdrop-filter: blur(4px);
}
.b2b-offre-overlay button:hover { background: #009faa; }

/* Bouton ajouter offre */
#b2b-add-offre-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 2px dashed #009faa;
    border-radius: 12px;
    background: none;
    color: #009faa;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.15s;
}
#b2b-add-offre-btn:hover { background: #e0f5f7; }

/* Modaux */
#b2b-editor-modal,
#b2b-offre-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
#b2b-editor-modal.open,
#b2b-offre-modal.open {
    display: flex;
}
.b2b-modal-inner {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    font-family: 'Inter', sans-serif;
}
.b2b-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.b2b-modal-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.b2b-modal-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    padding: 0;
    line-height: 1;
}
.b2b-modal-inner textarea,
.b2b-modal-inner input[type="text"],
.b2b-modal-inner input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.15s;
}
.b2b-modal-inner textarea:focus,
.b2b-modal-inner input:focus {
    outline: none;
    border-color: #009faa;
}
.b2b-form-row {
    margin-bottom: 14px;
}
.b2b-form-row label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    margin-bottom: 5px;
}
.b2b-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.b2b-modal-actions button {
    padding: 9px 20px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.b2b-modal-actions button:first-child {
    background: #f0f0f0;
    color: #555;
}
.b2b-modal-actions button:last-child {
    background: #009faa;
    color: #fff;
}
.b2b-btn-ghost {
    background: none;
    border: 1px dashed #009faa;
    color: #009faa;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
}

/* Toast */
#b2b-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100000;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.25s, opacity 0.25s;
    pointer-events: none;
}
#b2b-toast.show { transform: translateY(0); opacity: 1; }
#b2b-toast.success { background: #007a84; }
#b2b-toast.error   { background: #c00; }
