/* ============================================================================
   ELLOHOST — BLOG ENHANCEMENTS
   Post à la une, placeholder amélioré, état vide stylé
   ============================================================================ */

/* === FEATURED POST (post à la une) === */
.featured-post-section {
  padding: 2rem 0 3rem;
}
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(233, 30, 99, 0.18);
  border-color: var(--border-rose);
}
.featured-post-image {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 360px;
  aspect-ratio: 16 / 10;
}
.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-post:hover .featured-post-image img {
  transform: scale(1.05);
}
.featured-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(124, 58, 237, 0.15));
  color: rgba(255, 255, 255, 0.4);
}
.featured-post-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.featured-post-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.featured-post-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.featured-post-title a {
  color: inherit;
  transition: color .25s ease;
}
.featured-post-title a:hover { color: var(--rose); }
.featured-post-excerpt {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.featured-post-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--grey);
  margin-bottom: 1.75rem;
}
.featured-post-meta .dot { opacity: .5; }
.featured-post-btn {
  align-self: flex-start;
  padding: .85rem 1.75rem;
  font-size: .95rem;
  font-weight: 700;
}

@media (max-width: 880px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-image { min-height: 240px; aspect-ratio: 16 / 9; }
  .featured-post-body { padding: 1.75rem 1.5rem; }
  .featured-post-title { font-size: 1.4rem; }
}

/* === PLACEHOLDERS améliorés pour cartes sans image === */
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(124, 58, 237, 0.08));
  color: rgba(255, 255, 255, 0.25);
}
.recent-thumb-placeholder {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: rgba(233, 30, 99, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* === ÉTAT VIDE (aucun article) === */
.no-posts-card {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
}
.no-posts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--rose);
  margin-bottom: 1.5rem;
}
.no-posts-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.no-posts-card p {
  color: var(--grey);
  font-size: .95rem;
}

/* === RECENT LIST améliorée === */
.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-list li { margin-bottom: .85rem; }
.recent-list li a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem;
  border-radius: 8px;
  transition: background .25s ease;
}
.recent-list li a:hover { background: rgba(255, 255, 255, 0.04); }
.recent-list li a img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.recent-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.recent-info strong {
  display: block;
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recent-info em {
  font-style: normal;
  color: var(--grey);
  font-size: .75rem;
}

/* ============================================================================
   ELLOHOST — AI MASCOTS (Luna / Elios / Max)
   Luna en bas à droite sur toutes les pages publiques
   ============================================================================ */

/* === LUNA WIDGET (fixe en bas à droite, au-dessus de WhatsApp + RDV) === */
.lunaWP {
  position: fixed;
  /* Stack vertical : WhatsApp 2rem, RDV 5.5rem, Luna ~9rem */
  bottom: 9rem;
  right: 2rem;
  z-index: 999998;
  font-family: 'Inter', sans-serif;
}
.lunaWP-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63 0%, #7c3aed 100%);
  border: 3px solid #fff;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
  transition: transform .25s ease, box-shadow .25s ease;
  padding: 0;
}
.lunaWP-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(233, 30, 99, 0.55);
}
.lunaWP-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.lunaWP-btn .lunaWP-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border-radius: 50%;
  border: 2.5px solid #fff;
  animation: lunaWPPulse 2s infinite;
}
@keyframes lunaWPPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.lunaWP[data-open="1"] .lunaWP-btn { display: none; }

/* Bulle "Je suis là 👋" */
.lunaWP-greet {
  position: absolute;
  bottom: 78px;
  right: 0;
  background: #fff;
  color: #1a1a2e;
  padding: 10px 14px 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  display: none;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: lunaWPGreetPop .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999999;
}
.lunaWP-greet::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.05);
}
@keyframes lunaWPGreetPop {
  from { opacity: 0; transform: translateY(8px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lunaWP-greet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.05);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  margin-left: 4px;
  transition: background .2s;
}
.lunaWP-greet-close:hover { background: rgba(0, 0, 0, 0.1); color: #1a1a2e; }

/* Panel chat ouvert */
.lunaWP-panel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  max-height: 580px;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: lunaWPPanelIn .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lunaWP[data-open="1"] .lunaWP-panel { display: flex; }
@keyframes lunaWPPanelIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lunaWP-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #e91e63 0%, #7c3aed 100%);
  color: #fff;
}
.lunaWP-head-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  flex-shrink: 0;
}
.lunaWP-head-av img { width: 100%; height: 100%; object-fit: cover; }
.lunaWP-head-txt { flex: 1; min-width: 0; }
.lunaWP-head-txt strong { display: block; font-size: 15px; font-weight: 700; }
.lunaWP-head-txt span { font-size: 12px; opacity: .9; }
.lunaWP-close {
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  padding: 0;
}
.lunaWP-close:hover { background: rgba(255, 255, 255, 0.25); }

.lunaWP-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.lunaWP-msg { display: flex; }
.lunaWP-msg-bot { justify-content: flex-start; }
.lunaWP-msg-user { justify-content: flex-end; }
.lunaWP-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.lunaWP-msg-bot .lunaWP-bubble {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.lunaWP-msg-user .lunaWP-bubble {
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.lunaWP-typing { display: inline-flex; gap: 4px; }
.lunaWP-typing span {
  width: 7px; height: 7px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: lunaWPTyping 1.2s infinite;
}
.lunaWP-typing span:nth-child(2) { animation-delay: .15s; }
.lunaWP-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lunaWPTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.lunaWP-suggestions {
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.lunaWP-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  font-family: inherit;
}
.lunaWP-chip:hover {
  background: rgba(233, 30, 99, 0.15);
  border-color: #e91e63;
  transform: translateX(2px);
}
.lunaWP-chip i { color: #e91e63; font-size: 13px; flex-shrink: 0; }

@media (max-width: 480px) {
  /* Luna empilée au-dessus de RDV (4.75rem) et WhatsApp (1.25rem) sur mobile */
  .lunaWP { bottom: 8.25rem; right: 1.25rem; }
  .lunaWP-btn { width: 56px; height: 56px; }
  .lunaWP-panel { width: calc(100vw - 32px); max-width: 380px; max-height: 75vh; }
}

/* ============================================================================
   AGENT BANNERS animés (Elios / Max / Luna / Maya)
   Style "chat bubble" avec typing animation
   ============================================================================ */
.agent-banner-section {
  padding: 2rem 0;
}
.agent-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.06), rgba(124, 58, 237, 0.06));
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
/* Couleurs par agent (border accent) */
.agent-banner--elios { border-color: rgba(99, 102, 241, 0.5); background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(124, 58, 237, 0.06)); }
.agent-banner--max   { border-color: rgba(34, 197, 94, 0.5);  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06),  rgba(20, 184, 166, 0.06)); }
.agent-banner--luna  { border-color: rgba(233, 30, 99, 0.5);  background: linear-gradient(135deg, rgba(233, 30, 99, 0.06),  rgba(168, 85, 247, 0.06)); }
.agent-banner--maya  { border-color: rgba(245, 158, 11, 0.5); background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(239, 68, 68, 0.06)); }

.agent-banner-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-rose);
  background: rgba(255, 255, 255, 0.05);
}
.agent-banner--elios .agent-banner-avatar { border-color: rgba(99, 102, 241, 0.6); }
.agent-banner--max .agent-banner-avatar   { border-color: rgba(34, 197, 94, 0.6); }
.agent-banner--luna .agent-banner-avatar  { border-color: rgba(233, 30, 99, 0.6); }
.agent-banner--maya .agent-banner-avatar  { border-color: rgba(245, 158, 11, 0.6); }
.agent-banner-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-banner-avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.agent-banner-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border-radius: 50%;
  border: 2.5px solid var(--bg, #0a0e27);
  animation: agentBannerDotPulse 2s infinite;
}
@keyframes agentBannerDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.agent-banner-body { flex: 1; min-width: 0; }
.agent-banner-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.agent-banner-name {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}
.agent-banner-role {
  color: var(--grey);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.agent-banner--elios .agent-banner-role { color: #818cf8; }
.agent-banner--max .agent-banner-role   { color: #4ade80; }
.agent-banner--luna .agent-banner-role  { color: #f472b6; }
.agent-banner--maya .agent-banner-role  { color: #fbbf24; }

/* Bulles de dialogue */
.agent-banner-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 32px;
}
.agent-banner-bubble {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 14px;
  border-top-left-radius: 4px;
  font-size: .95rem;
  line-height: 1.5;
  max-width: 90%;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  word-wrap: break-word;
}
.agent-banner-bubble.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.agent-banner-bubble-prep {
  padding: 12px 16px;
}
.agent-banner-prep-dots {
  display: inline-flex;
  gap: 4px;
}
.agent-banner-prep-dots span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: agentTypingDot 1.2s infinite;
}
.agent-banner-prep-dots span:nth-child(2) { animation-delay: .15s; }
.agent-banner-prep-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes agentTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
/* Petit "cursor" qui clignote pendant le typing */
.agent-banner-bubble.is-typing::after {
  content: '▎';
  color: rgba(255, 255, 255, 0.6);
  animation: agentTypingCursor 0.8s infinite;
  margin-left: 1px;
}
@keyframes agentTypingCursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Typing initial (placeholder avant la première bulle) */
.agent-banner-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border-top-left-radius: 4px;
  width: fit-content;
}
.agent-banner-typing span {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: agentTypingDot 1.2s infinite;
}
.agent-banner-typing span:nth-child(2) { animation-delay: .15s; }
.agent-banner-typing span:nth-child(3) { animation-delay: .3s; }

@media (max-width: 640px) {
  .agent-banner { flex-direction: column; align-items: center; text-align: center; padding: 1.25rem; }
  .agent-banner-bubble { align-self: stretch; max-width: 100%; }
  .agent-banner-header { justify-content: center; }
}

/* ============================================================================
   AGENT CARDS — CTA "Discuter avec X" + hover interactif
   ============================================================================ */
.agent-card.js-agent-card {
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.agent-card.js-agent-card:hover {
  transform: translateY(-6px);
  border-color: var(--agent-color, var(--border-rose));
  box-shadow: 0 20px 50px var(--agent-glow, rgba(233, 30, 99, 0.18));
}
.agent-card.js-agent-card:focus-visible {
  outline: 3px solid var(--agent-color, #e91e63);
  outline-offset: 4px;
}
.agent-chat-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  padding: .7rem 1rem;
  background: var(--agent-bg, rgba(233, 30, 99, 0.08));
  border: 1px solid var(--agent-border, rgba(233, 30, 99, 0.25));
  border-radius: 10px;
  color: var(--agent-color, var(--rose));
  font-weight: 600;
  font-size: .88rem;
  transition: all .25s ease;
}
.agent-card.js-agent-card:hover .agent-chat-cta {
  background: var(--agent-color, var(--rose));
  color: #fff;
  border-color: var(--agent-color, var(--rose));
}
.agent-chat-cta-icon {
  font-size: 1rem;
}

/* ============================================================================
   MODAL DE CHAT AGENT (s'ouvre quand on clique sur une carte)
   ============================================================================ */
.agentChat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.agentChat-overlay[data-open="1"] {
  opacity: 1;
  pointer-events: auto;
}
.agentChat-modal {
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(.94) translateY(10px);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.agentChat-overlay[data-open="1"] .agentChat-modal {
  transform: scale(1) translateY(0);
}

.agentChat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--agent-color, #e91e63), rgba(255, 255, 255, 0.05));
  position: relative;
}
.agentChat-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--agent-color, #e91e63) 0%, transparent 80%);
  opacity: .85;
}
.agentChat-head > * { position: relative; z-index: 1; }

.agentChat-head-av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.agentChat-head-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agentChat-head-txt {
  flex: 1;
  min-width: 0;
  color: #fff;
}
.agentChat-head-txt strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.agentChat-head-txt span {
  font-size: .82rem;
  opacity: .9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.agentChat-head-txt span::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: agentChatStatusPulse 2s infinite;
}
@keyframes agentChatStatusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.agentChat-close {
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  padding: 0;
}
.agentChat-close:hover { background: rgba(0, 0, 0, 0.45); }

.agentChat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  min-height: 200px;
}
.agentChat-msg { display: flex; }
.agentChat-msg-bot { justify-content: flex-start; }
.agentChat-msg-user { justify-content: flex-end; }
.agentChat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: .92rem;
  line-height: 1.55;
  word-wrap: break-word;
  color: #fff;
}
.agentChat-msg-bot .agentChat-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
}
.agentChat-msg-user .agentChat-bubble {
  background: var(--agent-color, #e91e63);
  border-bottom-right-radius: 4px;
}
.agentChat-typing { display: inline-flex; gap: 4px; }
.agentChat-typing span {
  width: 7px; height: 7px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: agentChatTypingDot 1.2s infinite;
}
.agentChat-typing span:nth-child(2) { animation-delay: .15s; }
.agentChat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes agentChatTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.agentChat-suggestions {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 280px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.15);
}
.agentChat-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .87rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .2s;
  font-family: inherit;
}
.agentChat-chip:hover {
  background: var(--agent-color, #e91e63);
  border-color: var(--agent-color, #e91e63);
  transform: translateX(3px);
}
.agentChat-chip i {
  color: var(--agent-color, #e91e63);
  font-size: .9rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  transition: color .2s;
}
.agentChat-chip:hover i { color: #fff; }

.agentChat-chip-human {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
  margin-top: 6px;
}
.agentChat-chip-human i { color: #14B8A6; }
.agentChat-chip-human:hover {
  background: #14B8A6;
  border-color: #14B8A6;
}

@media (max-width: 520px) {
  .agentChat-overlay { padding: 0; align-items: stretch; }
  .agentChat-modal { max-width: 100%; max-height: 100vh; border-radius: 0; }
}

/* Bouton "Discuter avec X" dans les bandeaux d'agent */
.agent-banner-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: .65rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s ease;
}
.agent-banner--elios .agent-banner-chat-btn { color: #818cf8; border-color: rgba(99, 102, 241, 0.3); }
.agent-banner--max   .agent-banner-chat-btn { color: #fb923c; border-color: rgba(234, 88, 12, 0.3); }
.agent-banner--luna  .agent-banner-chat-btn { color: #2dd4bf; border-color: rgba(20, 184, 166, 0.3); }
.agent-banner--maya  .agent-banner-chat-btn { color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }
.agent-banner--noah  .agent-banner-chat-btn { color: #facc15; border-color: rgba(234, 179, 8, 0.3); }
.agent-banner--alex  .agent-banner-chat-btn { color: #34d399; border-color: rgba(16, 185, 129, 0.3); }

.agent-banner-chat-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}
.agent-banner--elios .agent-banner-chat-btn:hover { background: #6366f1; color: #fff; border-color: #6366f1; }
.agent-banner--max   .agent-banner-chat-btn:hover { background: #EA580C; color: #fff; border-color: #EA580C; }
.agent-banner--luna  .agent-banner-chat-btn:hover { background: #14B8A6; color: #fff; border-color: #14B8A6; }
.agent-banner--maya  .agent-banner-chat-btn:hover { background: #A855F7; color: #fff; border-color: #A855F7; }
.agent-banner--noah  .agent-banner-chat-btn:hover { background: #EAB308; color: #fff; border-color: #EAB308; }
.agent-banner--alex  .agent-banner-chat-btn:hover { background: #10B981; color: #fff; border-color: #10B981; }

/* ============================================================================
   DOMAIN SEARCH POPUP
   ============================================================================ */
.domain-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.domain-popup-overlay[data-open="1"] {
  opacity: 1;
  pointer-events: auto;
}
.domain-popup {
  position: relative;
  background: linear-gradient(160deg, #0f1419 0%, #1a1a2e 100%);
  border: 1px solid rgba(233, 30, 99, 0.25);
  border-radius: 22px;
  width: 100%;
  max-width: 540px;
  padding: 2.5rem 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: scale(.94) translateY(10px);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.domain-popup-overlay[data-open="1"] .domain-popup {
  transform: scale(1) translateY(0);
}
.domain-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey, #9ca3af);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  padding: 0;
}
.domain-popup-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white, #fff);
}
.domain-popup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(233, 30, 99, 0.3);
  color: var(--rose, #e91e63);
  margin: 0 auto 1.25rem;
}
.domain-popup-title {
  color: var(--white, #fff);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 .75rem;
}
.domain-popup-subtitle {
  color: var(--grey, #9ca3af);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
}
.domain-popup-form {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.domain-popup-input {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  color: var(--white, #fff);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
}
.domain-popup-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.domain-popup-input:focus {
  border-color: var(--rose, #e91e63);
  background: rgba(255, 255, 255, 0.08);
}
.domain-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: .9rem 1.4rem;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s;
}
.domain-popup-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(233, 30, 99, 0.35);
}
.domain-popup-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--grey, #9ca3af);
  font-size: .8rem;
  margin: 1rem 0 0;
  opacity: .8;
}
.domain-popup-note svg { color: #22c55e; flex-shrink: 0; }

@media (max-width: 520px) {
  .domain-popup { padding: 2rem 1.25rem 1.25rem; max-width: 100%; }
  .domain-popup-title { font-size: 1.3rem; }
  .domain-popup-form { flex-direction: column; }
  .domain-popup-btn { justify-content: center; width: 100%; }
}

/* ============================================================================
   SECTION TYPING (sous-titres animés avec data-typing-lines)
   ============================================================================ */
.js-section-typing {
  display: block;
}
.section-typing-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--rose, #e91e63);
  animation: sectionTypingCursorBlink 0.85s steps(1) infinite;
  font-weight: 700;
}
.section-typing-cursor.is-done {
  animation: sectionTypingCursorFadeOut 1s forwards;
}
@keyframes sectionTypingCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes sectionTypingCursorFadeOut {
  to { opacity: 0; }
}

/* CTA link inside chat bubble (used by Luna for WhatsApp / Calendly) */
.agentChat-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 9px 14px;
  background: var(--agent-color, #14B8A6);
  color: #fff !important;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter .2s, transform .2s;
  letter-spacing: .01em;
}
.agentChat-cta-link:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Chips spéciaux WhatsApp et Calendly dans le modal Luna */
.agentChat-chip-whatsapp {
  background: rgba(37, 211, 102, 0.12) !important;
  border-color: rgba(37, 211, 102, 0.35) !important;
}
.agentChat-chip-whatsapp i { color: #25D366 !important; }
.agentChat-chip-whatsapp:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
}
.agentChat-chip-whatsapp:hover i { color: #fff !important; }

.agentChat-chip-rdv {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(124, 58, 237, 0.12)) !important;
  border-color: rgba(124, 58, 237, 0.35) !important;
}
.agentChat-chip-rdv i { color: #7C3AED !important; }
.agentChat-chip-rdv:hover {
  background: linear-gradient(135deg, #e91e63, #7c3aed) !important;
  border-color: #7c3aed !important;
}
.agentChat-chip-rdv:hover i { color: #fff !important; }

/* ============================================================================
   MOBILE NAV — "Mon espace client" visible UNIQUEMENT en mobile
   ============================================================================ */
.nav-item-mobile-only { display: none; }
@media (max-width: 991px) {
  .nav-item-mobile-only { display: list-item; margin-top: 1rem; }
  .nav-link-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem !important;
    background: linear-gradient(135deg, #e91e63, #7c3aed) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    border-bottom: 0 !important;
  }
  .nav-link-cta:hover { filter: brightness(1.1); }
}

/* ============================================================================
   BLOG MAGAZINE — Redesign moderne
   ============================================================================ */

/* Hero compact (différent de l'ancien blog-hero) */
.blog-magazine-hero {
  padding: 6rem 0 2.5rem;
  text-align: center;
}
.blog-magazine-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin: .75rem 0 1rem;
  letter-spacing: -.01em;
}
.blog-magazine-subtitle {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: var(--grey);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Toolbar : filtres + recherche */
.blog-toolbar {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: .75rem 0;
}
.blog-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.blog-toolbar-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.blog-toolbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: .5rem .9rem;
  min-width: 240px;
  transition: border-color .2s;
}
.blog-toolbar-search:focus-within {
  border-color: var(--rose);
}
.blog-toolbar-search svg { color: var(--grey); flex-shrink: 0; }
.blog-toolbar-search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
}
.blog-toolbar-search input::placeholder { color: rgba(255, 255, 255, 0.35); }

/* Featured grid : 1 grand + 2 petits */
.blog-magazine-featured {
  padding: 3rem 0 2rem;
}
.magazine-featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}
.magazine-featured-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card magazine */
.magazine-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.magazine-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-rose);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.magazine-card-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(124, 58, 237, 0.1));
}
.magazine-card-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .5s ease;
  display: block;
}
.magazine-card:hover .magazine-card-image { transform: scale(1.05); }
.magazine-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(124, 58, 237, 0.12));
  color: rgba(255, 255, 255, 0.3);
}

/* Card hero spécifique */
.magazine-card-hero .magazine-card-image-link { aspect-ratio: 16 / 11; }
.magazine-card-hero .magazine-card-body { padding: 2rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.magazine-card-title-hero {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: .75rem 0 1rem;
}
.magazine-card-title-hero a { color: inherit; transition: color .25s; }
.magazine-card-title-hero a:hover { color: var(--rose); }

.magazine-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.magazine-card-category {
  display: inline-flex;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--rose);
  background: rgba(233, 30, 99, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: .65rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.magazine-card-category:hover {
  background: var(--rose);
  color: #fff;
}
.magazine-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .65rem;
  flex-shrink: 0;
}
.magazine-card-title a { color: inherit; transition: color .25s; }
.magazine-card-title a:hover { color: var(--rose); }
.magazine-card-side .magazine-card-image-link { aspect-ratio: 16 / 9; }
.magazine-card-side .magazine-card-title { font-size: 1.05rem; }

.magazine-card-excerpt {
  font-size: .88rem;
  color: var(--grey);
  line-height: 1.55;
  margin-bottom: .85rem;
  flex: 1;
}
.magazine-card-hero .magazine-card-excerpt { font-size: 1rem; line-height: 1.6; margin-bottom: 1.25rem; }

.magazine-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--grey);
  margin-top: auto;
}
.magazine-card-meta .dot { opacity: .5; }

/* Badge "★ À la une" */
.magazine-badge-featured {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  z-index: 2;
}

/* Section grid principale */
.blog-magazine-grid-section {
  padding: 3rem 0 4rem;
}
.blog-magazine-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: .75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.blog-magazine-section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-weight: 800;
}
.blog-magazine-section-count {
  font-size: .85rem;
  color: var(--grey);
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* CTA en bas */
.blog-magazine-cta {
  margin-top: 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
}
.blog-magazine-cta-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}
.blog-magazine-cta h3 {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .5rem;
}
.blog-magazine-cta p {
  color: var(--grey);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 920px) {
  .magazine-featured-grid { grid-template-columns: 1fr; }
  .magazine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-toolbar { position: static; }
  .blog-toolbar-search { min-width: 100%; width: 100%; }
  .magazine-grid { grid-template-columns: 1fr; }
  .magazine-card-hero .magazine-card-body { padding: 1.5rem 1.25rem; }
}

/* ============================================================================
   BLOG ÉDITORIAL — Refonte premium (mai 2026)
   Layout : Hero animé + Featured massif + Trending sidebar + Grille asymétrique
   ============================================================================ */

/* ───── HERO ÉDITORIAL avec blobs animés ───── */
.blog-editorial { background: var(--bg, #0a0e27); }

.editorial-hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}
.editorial-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
.editorial-hero-blob {
  position: absolute;
  border-radius: 50%;
  animation: editorialBlob 18s ease-in-out infinite;
}
.editorial-hero-blob-1 {
  top: -10%; left: 5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, #e91e63 0%, transparent 70%);
}
.editorial-hero-blob-2 {
  top: 10%; right: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  animation-delay: -6s;
}
.editorial-hero-blob-3 {
  bottom: -15%; left: 30%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
  animation-delay: -12s;
}
@keyframes editorialBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(.95); }
}

.editorial-hero-content { text-align: center; max-width: 820px; margin: 0 auto; }
.editorial-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(233, 30, 99, 0.3);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.editorial-hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: editorialPulse 2s infinite;
}
@keyframes editorialPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.editorial-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 1.25rem;
}
.editorial-hero-gradient {
  background: linear-gradient(135deg, #e91e63 0%, #7c3aed 50%, #14b8a6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: editorialGradient 8s ease infinite;
}
@keyframes editorialGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.editorial-hero-query {
  color: var(--rose);
  font-style: italic;
}
.editorial-hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--grey);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* ───── TOOLBAR : filtres + recherche ───── */
.editorial-toolbar {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(10, 14, 39, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
}
.editorial-toolbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.editorial-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.editorial-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--grey);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.editorial-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 30, 99, 0.3);
  color: var(--white);
  transform: translateY(-1px);
}
.editorial-chip.is-active {
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.editorial-chip-emoji { font-size: .9rem; }
.editorial-chip-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
}
.editorial-chip.is-active .editorial-chip-count {
  background: rgba(0, 0, 0, 0.25);
}

.editorial-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 18px;
  min-width: 260px;
  transition: border-color .2s;
}
.editorial-search:focus-within { border-color: var(--rose); }
.editorial-search svg { color: var(--grey); flex-shrink: 0; }
.editorial-search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.editorial-search input::placeholder { color: rgba(255, 255, 255, 0.4); }

/* ───── FEATURED + TRENDING ───── */
.editorial-featured {
  padding: 3.5rem 0 2rem;
}
.editorial-featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
}
.editorial-featured-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.editorial-featured-imglink {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(124, 58, 237, 0.15));
}
.editorial-featured-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .6s ease;
}
.editorial-featured-imglink:hover .editorial-featured-img { transform: scale(1.04); }

.editorial-placeholder, .editorial-placeholder-lg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(124, 58, 237, 0.12));
  position: relative;
}
.editorial-placeholder::after, .editorial-placeholder-lg::after {
  content: '✨';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: .3;
}

.editorial-featured-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.45);
}

.editorial-featured-body { padding: 0 .25rem; }
.editorial-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(233, 30, 99, 0.12);
  color: var(--rose);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: all .2s;
}
.editorial-category-pill:hover {
  background: var(--rose); color: #fff;
}
.editorial-featured-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
}
.editorial-featured-title a { color: inherit; transition: color .25s; }
.editorial-featured-title a:hover { color: var(--rose); }
.editorial-featured-excerpt {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.editorial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--grey);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.editorial-meta-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  margin-right: 4px;
}
.editorial-meta-dot { color: rgba(255, 255, 255, 0.3); }
.editorial-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: #0a0e27;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s;
  align-self: flex-start;
}
.editorial-featured-cta:hover {
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  transform: translateX(3px);
}
.editorial-featured-cta svg { transition: transform .25s; }
.editorial-featured-cta:hover svg { transform: translateX(3px); }

/* Trending sidebar */
.editorial-trending {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  position: sticky;
  top: 160px;
  align-self: start;
}
.editorial-trending-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.editorial-trending-icon { font-size: 1.3rem; }
.editorial-trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.editorial-trending-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.editorial-trending-num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  width: 36px;
}
.editorial-trending-body { flex: 1; min-width: 0; }
.editorial-trending-cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--rose);
  margin-bottom: 4px;
}
.editorial-trending-link {
  display: block;
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color .2s;
}
.editorial-trending-link:hover { color: var(--rose); }
.editorial-trending-meta {
  font-size: .75rem;
  color: var(--grey);
}

/* ───── GRILLE ASYMÉTRIQUE ───── */
.editorial-grid-section { padding: 3rem 0 4rem; }
.editorial-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.editorial-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}
.editorial-section-count {
  font-size: .85rem;
  color: var(--grey);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.editorial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 30, 99, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.editorial-card-large {
  grid-column: span 2;
}
.editorial-card-large .editorial-card-imglink { aspect-ratio: 21 / 9; }
.editorial-card-large .editorial-card-title { font-size: 1.5rem; line-height: 1.25; }
.editorial-card-large .editorial-card-body { padding: 1.75rem 1.75rem 1.75rem 1.75rem; }

.editorial-card-imglink {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(124, 58, 237, 0.1));
}
.editorial-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .5s ease;
}
.editorial-card:hover .editorial-card-img { transform: scale(1.06); }

.editorial-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.editorial-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin: 0 0 .65rem;
}
.editorial-card-title a { color: inherit; transition: color .25s; text-decoration: none; }
.editorial-card-title a:hover { color: var(--rose); }
.editorial-card-excerpt {
  font-size: .9rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}
.editorial-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--grey);
  margin-top: auto;
}

/* Card newsletter inline */
.editorial-card-newsletter {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(233, 30, 99, 0.4);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.editorial-newsletter-emoji { font-size: 2.5rem; margin-bottom: .5rem; }
.editorial-newsletter-title {
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 800;
  margin: 0 0 .5rem;
}
.editorial-newsletter-text {
  font-size: .85rem;
  color: var(--grey);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.editorial-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: #0a0e27;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  transition: all .25s;
}
.editorial-newsletter-btn:hover {
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  color: #fff;
  transform: translateY(-2px);
}

/* ───── ÉTAT VIDE ───── */
.editorial-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}
.editorial-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 50%;
  color: var(--rose);
  margin-bottom: 1.5rem;
}
.editorial-empty h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0 0 .5rem;
}
.editorial-empty p {
  color: var(--grey);
  margin: 0;
}

/* ───── PAGINATION ───── */
.editorial-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.editorial-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
}
.editorial-pagination .page-numbers:hover,
.editorial-pagination .page-numbers.current {
  background: linear-gradient(135deg, #e91e63, #7c3aed);
  border-color: transparent;
  color: #fff;
}

/* ───── BOTTOM CTA (avec WhatsApp) ───── */
.editorial-bottom-cta {
  padding: 3rem 0 5rem;
}
.editorial-bottom-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(233, 30, 99, 0.3);
  border-radius: 24px;
  padding: 2.5rem 2.5rem;
}
.editorial-bottom-cta-left h2 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
}
.editorial-bottom-cta-left p {
  color: var(--grey);
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
}
.editorial-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}
.editorial-cta-btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}
.editorial-cta-btn-wa:hover {
  background: #1ebd5b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

/* ───── RESPONSIVE ───── */
@media (max-width: 1024px) {
  .editorial-featured-grid { grid-template-columns: 1fr; gap: 2rem; }
  .editorial-trending { position: static; }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-card-large { grid-column: span 2; }
  .editorial-card-large .editorial-card-imglink { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .editorial-toolbar { position: static; padding: .75rem 0; }
  .editorial-search { min-width: 100%; }
  .editorial-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .editorial-card-large { grid-column: span 1; }
  .editorial-bottom-cta-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .editorial-bottom-cta-left { text-align: center; }
  .editorial-cta-btn { justify-content: center; }
  .editorial-hero { padding: 4rem 0 2.5rem; }
  .editorial-featured { padding: 2rem 0 1rem; }
}

/* ============================================================================
   BOUTONS WHATSAPP — style cohérent
   ============================================================================ */
.btn-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .25s ease !important;
}
.btn-whatsapp:hover {
  background: #1ebd5b !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
  transform: translateY(-1px);
}
.btn-whatsapp svg { fill: currentColor; }
/* Variant ghost sur les pages produits */
.btn-ghost-lg.btn-whatsapp {
  background: rgba(37, 211, 102, 0.1) !important;
  color: #25D366 !important;
  border: 1.5px solid #25D366 !important;
}
.btn-ghost-lg.btn-whatsapp:hover {
  background: #25D366 !important;
  color: #fff !important;
}

/* ============================================================================
   HERO — Pilule "Conseiller humain" distinctive
   ============================================================================ */
.hero-agent-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--grey);
  opacity: .55;
  margin: 0 2px;
  user-select: none;
}
.hero-agent-pill-human {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(20, 184, 166, 0.12)) !important;
  border: 1.5px solid rgba(34, 197, 94, 0.45) !important;
  position: relative;
  font-weight: 700;
}
.hero-agent-pill-human::after {
  content: '';
  position: absolute;
  top: 50%; right: -3px;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--bg, #0a0e27);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: heroHumanPulse 2s infinite;
}
@keyframes heroHumanPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hero-pill-avatar-human {
  background: linear-gradient(135deg, #22c55e, #14b8a6) !important;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
