/* Blog Predix — magazine éditorial */

.public-page--blog .public-main {
  max-width: 68rem;
}

.public-page--blog .public-main {
  padding-bottom: 5rem;
}

/* ─── Liste ─── */
.blog-page {
  position: relative;
}

.blog-hero {
  position: relative;
  text-align: center;
  padding: 1.5rem 0 2.75rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.blog-hero__aurora {
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background:
    radial-gradient(ellipse 55% 45% at 20% 30%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(34, 211, 238, 0.22), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 80%, rgba(236, 72, 153, 0.15), transparent 55%);
  pointer-events: none;
  animation: blog-aurora-drift 14s ease-in-out infinite alternate;
}

@keyframes blog-aurora-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.05); }
}

.blog-hero__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pp-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 9999px;
  background: rgba(34, 211, 238, 0.08);
}

.blog-hero__pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pp-cyan);
  box-shadow: 0 0 10px var(--pp-cyan);
  animation: blog-pulse 1.6s ease-in-out infinite;
}

@keyframes blog-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.blog-hero__title {
  position: relative;
  margin: 0 0 0.85rem;
  font-family: var(--pp-display);
  font-size: clamp(2.25rem, 8vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.blog-hero__gradient {
  background: linear-gradient(120deg, #c4b5fd 0%, #22d3ee 45%, #f9a8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hero__lead {
  position: relative;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--pp-muted);
}

.blog-hero__stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.blog-hero__stats strong {
  color: #fff;
}

.blog-hero__sep {
  opacity: 0.4;
}

.blog-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pp-muted);
}

.blog-featured {
  margin-bottom: 2.5rem;
}

.blog-grid-section {
  margin-bottom: 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Carte article ─── */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
  border: 1px solid var(--pp-border);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.35s,
    box-shadow 0.35s;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.blog-card--featured {
  flex-direction: column;
}

@media (min-width: 768px) {
  .blog-card--featured {
    flex-direction: row;
    min-height: 16rem;
  }

  .blog-card--featured .blog-card__cover {
    flex: 0 0 42%;
    min-height: 16rem;
  }

  .blog-card--featured .blog-card__body {
    flex: 1;
    justify-content: center;
    padding: 2rem 2.25rem;
  }

  .blog-card--featured .blog-card__title {
    font-size: 1.65rem;
  }
}

.blog-card__cover {
  position: relative;
  min-height: 9.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.75;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__orb--1 {
  transform: scale(1.15) translate(4%, -4%);
}

.blog-card__orb--1 {
  width: 70%;
  height: 70%;
  top: -15%;
  left: -10%;
}

.blog-card__orb--2 {
  width: 55%;
  height: 55%;
  bottom: -20%;
  right: -5%;
  opacity: 0.5;
}

.blog-card__illus-wrap {
  position: relative;
  z-index: 1;
  width: 88%;
  max-width: 16rem;
  margin: 0 auto;
  transform: translateY(4px);
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__illus-wrap {
  transform: translateY(0) scale(1.02);
}

.blog-card__icon {
  position: absolute;
  z-index: 2;
  right: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.blog-card--violet .blog-card__cover {
  background: linear-gradient(145deg, #1e1035 0%, #0a0a0f 100%);
}
.blog-card--violet .blog-card__orb--1 { background: #7c3aed; }
.blog-card--violet .blog-card__orb--2 { background: #a78bfa; }

.blog-card--cyan .blog-card__cover {
  background: linear-gradient(145deg, #0c2a33 0%, #0a0a0f 100%);
}
.blog-card--cyan .blog-card__orb--1 { background: #0891b2; }
.blog-card--cyan .blog-card__orb--2 { background: #22d3ee; }

.blog-card--emerald .blog-card__cover {
  background: linear-gradient(145deg, #0a2e22 0%, #0a0a0f 100%);
}
.blog-card--emerald .blog-card__orb--1 { background: #059669; }
.blog-card--emerald .blog-card__orb--2 { background: #34d399; }

.blog-card--amber .blog-card__cover {
  background: linear-gradient(145deg, #2e1f08 0%, #0a0a0f 100%);
}
.blog-card--amber .blog-card__orb--1 { background: #d97706; }
.blog-card--amber .blog-card__orb--2 { background: #fbbf24; }

.blog-card--rose .blog-card__cover {
  background: linear-gradient(145deg, #2e0a18 0%, #0a0a0f 100%);
}
.blog-card--rose .blog-card__orb--1 { background: #e11d48; }
.blog-card--rose .blog-card__orb--2 { background: #fb7185; }

.blog-card--indigo .blog-card__cover {
  background: linear-gradient(145deg, #12103a 0%, #0a0a0f 100%);
}
.blog-card--indigo .blog-card__orb--1 { background: #4f46e5; }
.blog-card--indigo .blog-card__orb--2 { background: #818cf8; }

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.35rem;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card__cat {
  color: var(--pp-accent);
}

.blog-card__date,
.blog-card__read {
  color: rgba(255, 255, 255, 0.4);
}

.blog-card__dot {
  color: rgba(255, 255, 255, 0.2);
}

.blog-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--pp-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.blog-card__excerpt {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pp-muted);
}

.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--pp-accent);
  transition: gap 0.2s;
}

.blog-card:hover .blog-card__cta {
  gap: 0.55rem;
}

/* FAQ (SEO + utilisateurs) */
.blog-faq {
  margin-top: 2.5rem;
}

.blog-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-faq__item {
  border-radius: 0.85rem;
  border: 1px solid var(--pp-border);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.blog-faq__q {
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.blog-faq__q::-webkit-details-marker {
  display: none;
}

.blog-faq__a {
  margin: 0;
  padding: 0 1.15rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pp-muted);
}

/* Strip CTA */
.blog-strip {
  margin-top: 2rem;
}

.blog-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .blog-strip__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.blog-strip__title {
  margin: 0 0 0.35rem;
  font-family: var(--pp-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.blog-strip__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--pp-muted);
  max-width: 28rem;
}

.blog-strip__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #0a0a0f;
  text-decoration: none;
  background: linear-gradient(135deg, var(--pp-accent), var(--pp-cyan));
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-strip__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.45);
}

/* ─── Reveal ─── */
.blog-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.65s cubic-bezier(0.33, 1, 0.68, 1);
}

.blog-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-reveal--delay-1.is-visible { transition-delay: 0.08s; }
.blog-reveal--delay-2.is-visible { transition-delay: 0.16s; }

/* ─── Article page ─── */
.blog-article-page {
  position: relative;
}

.blog-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pp-accent), var(--pp-cyan));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  pointer-events: none;
  transition: width 0.12s linear;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pp-muted);
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.blog-back:hover {
  color: #fff;
  border-color: var(--pp-border);
  background: rgba(255, 255, 255, 0.04);
}

.blog-article-hero {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--pp-border);
}

.blog-article-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blog-article-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.blog-article-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.blog-article-hero__orb--1 {
  width: 50%;
  height: 60%;
  top: -20%;
  left: -10%;
}

.blog-article-hero__orb--2 {
  width: 40%;
  height: 50%;
  bottom: -25%;
  right: -5%;
}

.blog-article-hero--violet { background: linear-gradient(160deg, #1a0f2e 0%, #0a0a0f 70%); }
.blog-article-hero--violet .blog-article-hero__orb--1 { background: #7c3aed; }
.blog-article-hero--violet .blog-article-hero__orb--2 { background: #c4b5fd; }

.blog-article-hero--cyan { background: linear-gradient(160deg, #0a2530 0%, #0a0a0f 70%); }
.blog-article-hero--cyan .blog-article-hero__orb--1 { background: #0891b2; }
.blog-article-hero--cyan .blog-article-hero__orb--2 { background: #67e8f9; }

.blog-article-hero--emerald { background: linear-gradient(160deg, #0a2820 0%, #0a0a0f 70%); }
.blog-article-hero--emerald .blog-article-hero__orb--1 { background: #059669; }
.blog-article-hero--emerald .blog-article-hero__orb--2 { background: #6ee7b7; }

.blog-article-hero--amber { background: linear-gradient(160deg, #2a1c08 0%, #0a0a0f 70%); }
.blog-article-hero--amber .blog-article-hero__orb--1 { background: #d97706; }
.blog-article-hero--amber .blog-article-hero__orb--2 { background: #fde68a; }

.blog-article-hero--rose { background: linear-gradient(160deg, #2a0a14 0%, #0a0a0f 70%); }
.blog-article-hero--rose .blog-article-hero__orb--1 { background: #e11d48; }
.blog-article-hero--rose .blog-article-hero__orb--2 { background: #fda4af; }

.blog-article-hero--indigo { background: linear-gradient(160deg, #14102e 0%, #0a0a0f 70%); }
.blog-article-hero--indigo .blog-article-hero__orb--1 { background: #4f46e5; }
.blog-article-hero--indigo .blog-article-hero__orb--2 { background: #a5b4fc; }

.blog-article-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 900px) {
  .blog-article-hero__layout {
    grid-template-columns: 1fr min(42%, 22rem);
  }
}

.blog-article-hero__content {
  position: relative;
  padding: 2.25rem 1.5rem 2.5rem;
}

@media (min-width: 640px) {
  .blog-article-hero__content {
    padding: 2.75rem 2rem 3rem 2.5rem;
  }
}

.blog-article-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 900px) {
  .blog-article-hero__visual {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 2rem 2rem 1.5rem;
  }
}

.blog-article-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.blog-article-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.blog-chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  color: var(--pp-accent);
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.blog-chip--muted {
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--pp-border);
}

.blog-article-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--pp-display);
  font-size: clamp(1.75rem, 5.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.blog-article-hero__lead {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.blog-article-hero__byline {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.blog-article-hero__byline strong {
  color: rgba(255, 255, 255, 0.75);
}

.blog-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 960px) {
  .blog-article-layout {
    grid-template-columns: minmax(0, 1fr) 16rem;
    align-items: start;
  }
}

/* Prose */
.blog-prose {
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pp-border);
}

@media (min-width: 640px) {
  .blog-prose {
    padding: 2rem 2.25rem;
  }
}

.blog-prose .blog-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.blog-prose .blog-lead::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--pp-display);
  font-size: 3.2em;
  font-weight: 800;
  line-height: 0.85;
  color: var(--pp-accent);
}

.blog-prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--pp-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.blog-prose h2:first-of-type {
  margin-top: 0;
}

.blog-prose p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pp-muted);
}

.blog-prose strong {
  color: #fff;
  font-weight: 600;
}

.blog-prose code {
  padding: 0.15rem 0.4rem;
  font-size: 0.85em;
  border-radius: 0.35rem;
  background: rgba(167, 139, 250, 0.12);
  color: #c4b5fd;
}

.blog-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--pp-muted);
}

.blog-list li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.blog-list--ordered {
  padding-left: 1.35rem;
}

.blog-quote {
  margin: 1.5rem 0;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-left: 3px solid var(--pp-accent);
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(167, 139, 250, 0.08);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.blog-callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(167, 139, 250, 0.08);
}

.blog-callout--tip {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.06);
}

.blog-callout--tip .blog-callout__title {
  color: var(--pp-cyan);
}

.blog-callout--warn {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
}

.blog-callout--warn .blog-callout__title {
  color: #fbbf24;
}

.blog-callout__title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-accent);
}

.blog-callout p:last-child {
  margin-bottom: 0;
}

/* Aside */
.blog-aside {
  position: relative;
}

@media (min-width: 960px) {
  .blog-aside {
    position: sticky;
    top: 5.5rem;
  }
}

.blog-aside__box {
  padding: 1.35rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.14) 0%, rgba(8, 8, 20, 0.9) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

@media (max-width: 959px) {
  .blog-article-layout {
    gap: 1.5rem;
  }

  .blog-aside__box {
    padding: 1.25rem 1rem;
  }
}

.blog-aside__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pp-cyan);
}

.blog-aside__text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--pp-muted);
}

.blog-aside__box a.blog-aside__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.75rem 1rem;
  min-height: 2.85rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0a0a0f !important;
  text-decoration: none !important;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.38);
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.2s, transform 0.15s;
}

.blog-aside__box a.blog-aside__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.blog-aside__link {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pp-accent);
  text-decoration: none;
}

.blog-aside__link:hover {
  color: var(--pp-cyan);
}

/* Related */
.blog-related {
  margin-bottom: 2.5rem;
}

.blog-related__title {
  margin: 0 0 1.25rem;
  font-family: var(--pp-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.blog-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .blog-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-related__grid .blog-card__cover {
  min-height: 7rem;
}

.blog-related__grid .blog-card__title {
  font-size: 1rem;
}

.blog-related__grid .blog-card__excerpt {
  display: none;
}

/* End CTA */
.blog-end-cta {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--pp-border);
  overflow: hidden;
}

.blog-end-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(124, 58, 237, 0.25), transparent 65%);
  pointer-events: none;
}

.blog-end-cta__title {
  position: relative;
  margin: 0 0 0.5rem;
  font-family: var(--pp-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: #fff;
}

.blog-end-cta__text {
  position: relative;
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-size: 0.95rem;
  color: var(--pp-muted);
}

.blog-end-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

/* ─── Figures & illustrations éditoriales ─── */
.blog-figure {
  margin: 1.75rem 0;
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--pp-border);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.blog-figure .blog-illus {
  overflow: visible;
}

.blog-figure__cap {
  margin: 0;
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  border-top: 1px solid var(--pp-border);
  background: rgba(255, 255, 255, 0.02);
}

.blog-media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .blog-media-row .blog-figure {
    margin: 0;
  }
}

.blog-illus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.15rem;
  min-height: 10rem;
}

.blog-illus--cover {
  padding: 0.65rem 0.5rem 1rem;
  min-height: 7.5rem;
}

.blog-illus--hero {
  padding: 0.75rem;
  min-height: 11rem;
  width: 100%;
}

/* Illustration primitives */
.blog-illus *,
.blog-illus *::before,
.blog-illus *::after {
  box-sizing: border-box;
}

.bi-glyph {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.bi-glyph--accent {
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5));
}

.bi-mono { font-family: ui-monospace, monospace; font-weight: 800; font-size: 0.75rem; }
.bi-pill { font-size: 0.55rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.4rem; border-radius: 9999px; }
.bi-pill--live { color: #fff; background: hsl(348 86% 57%); box-shadow: 0 0 10px hsl(348 86% 57% / 0.5); }

/* Live card */
.bi-live-card {
  width: 100%;
  max-width: 18rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(12, 12, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.bi-live-card__head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.bi-timer { margin-left: auto; font-family: ui-monospace, monospace; font-weight: 800; font-size: 0.8rem; color: #fbbf24; padding: 0.15rem 0.4rem; border-radius: 0.35rem; background: rgba(251, 191, 36, 0.12); }
.bi-spark { height: 2.5rem; margin-bottom: 0.45rem; }
.bi-spark svg { width: 100%; height: 100%; display: block; }
.bi-spark__line { fill: none; stroke: hsl(160 68% 48%); stroke-width: 2.5; stroke-linecap: round; }
.bi-spark__strike { stroke: rgba(251, 191, 36, 0.6); stroke-width: 1; stroke-dasharray: 4 3; }
.bi-live-card__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; font-size: 0.72rem; }
.bi-price { font-family: ui-monospace, monospace; font-weight: 900; font-size: 1rem; }
.bi-price--up { color: hsl(160 68% 52%); }
.bi-target { color: rgba(255, 255, 255, 0.45); }
.bi-odds { display: flex; width: 100%; min-height: 1.35rem; border-radius: 0.4rem; overflow: hidden; font-size: 0.55rem; font-weight: 800; }
.bi-odds__yes { display: flex; align-items: center; min-width: 2rem; padding: 0 0.35rem; color: #0a0a0f; background: linear-gradient(90deg, hsl(160 68% 42%), hsl(160 68% 52%)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bi-odds__no { display: flex; align-items: center; justify-content: flex-end; min-width: 1.5rem; padding: 0 0.35rem; color: #fff; background: linear-gradient(90deg, hsl(348 70% 45%), hsl(348 86% 57%)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Anatomy */
.bi-anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; width: 100%; max-width: 20rem; }
@media (max-width: 380px) {
  .bi-anatomy { grid-template-columns: 1fr; max-width: 14rem; }
}
.bi-anatomy__item { padding: 0.5rem 0.55rem; border-radius: 0.55rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.bi-anatomy__n { display: inline-flex; width: 1.1rem; height: 1.1rem; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.6rem; font-weight: 800; background: var(--pp-accent); color: #0a0a0f; margin-right: 0.25rem; }
.bi-anatomy__lbl { font-size: 0.62rem; font-weight: 700; color: rgba(255, 255, 255, 0.7); }
.bi-anatomy__mini { margin-top: 0.35rem; height: 1.25rem; border-radius: 0.3rem; }
.bi-spark-mini { background: linear-gradient(90deg, transparent, hsl(160 68% 48% / 0.5)); }
.bi-price-mini { background: linear-gradient(90deg, hsl(160 68% 48% / 0.3), transparent); }
.bi-timer-mini { font-family: ui-monospace, monospace; font-size: 0.65rem; font-weight: 800; color: #fbbf24; line-height: 1.25rem; text-align: center; }
.bi-odds-mini { display: flex; height: 100%; }
.bi-odds-mini::before, .bi-odds-mini::after { content: ''; flex: 1; }
.bi-odds-mini::before { background: hsl(160 68% 48%); border-radius: 0.3rem 0 0 0.3rem; }
.bi-odds-mini::after { background: hsl(348 86% 57%); border-radius: 0 0.3rem 0.3rem 0; }

/* Platform */
.bi-platform { display: flex; flex-direction: column; gap: 0.45rem; width: 100%; max-width: 16rem; }
.bi-platform__card { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.55rem 0.65rem; border-radius: 0.55rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.72rem; }
.bi-platform__body { display: flex; flex-direction: column; gap: 0.08rem; min-width: 0; }
.bi-platform__body strong { font-size: 0.78rem; }
.bi-platform__body span { color: rgba(255, 255, 255, 0.45); font-size: 0.62rem; }
.bi-platform__card--accent { border-color: rgba(167, 139, 250, 0.4); background: rgba(167, 139, 250, 0.12); }

/* Path */
.bi-path { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; justify-content: center; max-width: 22rem; }
.bi-path__step { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; font-size: 0.58rem; font-weight: 700; color: rgba(255, 255, 255, 0.4); }
.bi-path__step span { width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); font-size: 0.65rem; }
.bi-path__step--done span { border-color: hsl(160 68% 48%); color: hsl(160 68% 48%); }
.bi-path__step--active span { background: var(--pp-accent); border-color: var(--pp-accent); color: #0a0a0f; }
.bi-path__line { width: 1.25rem; height: 2px; background: rgba(255, 255, 255, 0.12); }

/* League */
.bi-league { width: 100%; max-width: 16rem; padding: 0.75rem; border-radius: 0.75rem; background: rgba(8, 12, 24, 0.9); border: 1px solid rgba(34, 211, 238, 0.2); }
.bi-league__header { display: flex; align-items: center; gap: 0.35rem; font-weight: 800; font-size: 0.8rem; color: #fff; margin-bottom: 0.55rem; }
.bi-league__list { list-style: none; margin: 0; padding: 0; }
.bi-league__list li { display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0; font-size: 0.72rem; color: rgba(255, 255, 255, 0.85); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.bi-league__list li:last-child { border-bottom: 0; }
.bi-league__list em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--pp-cyan); font-size: 0.65rem; }
.bi-rank { width: 1.15rem; font-weight: 800; color: rgba(255, 255, 255, 0.35); font-size: 0.65rem; }
.bi-rank--1 { color: #fbbf24; }
.bi-avatar { width: 1.35rem; height: 1.35rem; border-radius: 50%; background: rgba(167, 139, 250, 0.25); font-size: 0.55rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Invite */
.bi-invite { text-align: center; max-width: 16rem; width: 100%; }
.bi-invite__lbl { margin: 0 0 0.35rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45); }
.bi-invite__url { display: block; padding: 0.55rem 0.75rem; border-radius: 0.5rem; background: rgba(0, 0, 0, 0.35); border: 1px dashed rgba(34, 211, 238, 0.4); color: var(--pp-cyan); font-size: 0.65rem; font-weight: 700; word-break: break-all; }
.bi-invite__share { display: flex; justify-content: center; gap: 0.35rem; margin-top: 0.55rem; flex-wrap: wrap; }
.bi-invite__share span { font-size: 0.6rem; padding: 0.2rem 0.45rem; border-radius: 9999px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.55); }

/* Coins */
.bi-coins { position: relative; width: 8rem; height: 7rem; margin: 0 auto; }
.bi-coin { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 900; font-size: 0.55rem; color: #0a0a0f; background: linear-gradient(145deg, #34d399, #059669); border: 2px solid rgba(255, 255, 255, 0.25); box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4); }
.bi-coin--lg { width: 3.25rem; height: 3.25rem; left: 50%; top: 0; transform: translateX(-50%); font-size: 0.7rem; z-index: 2; }
.bi-coin:nth-child(2) { width: 2.25rem; height: 2.25rem; left: 0.5rem; bottom: 0.5rem; opacity: 0.85; }
.bi-coin--sm { width: 1.75rem; height: 1.75rem; right: 0.25rem; bottom: 1rem; opacity: 0.7; }
.bi-coins__bal { position: absolute; bottom: -0.25rem; left: 50%; transform: translateX(-50%); margin: 0; font-family: ui-monospace, monospace; font-weight: 900; font-size: 1rem; color: #fff; white-space: nowrap; }
.bi-coins__bal small { font-size: 0.55rem; font-weight: 600; color: rgba(255, 255, 255, 0.45); }

/* Flow */
.bi-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem; max-width: 20rem; }
.bi-flow__node { display: flex; align-items: center; gap: 0.25rem; padding: 0.4rem 0.55rem; border-radius: 0.5rem; font-size: 0.65rem; font-weight: 700; color: #fff; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.25); }
.bi-flow__arrow { color: rgba(255, 255, 255, 0.25); font-size: 0.75rem; }
.bi-flow__ban { width: 100%; margin-top: 0.35rem; text-align: center; font-size: 0.62rem; font-weight: 700; color: hsl(348 86% 62%); display: flex; align-items: center; justify-content: center; gap: 0.25rem; }

/* Podium */
.bi-podium { display: flex; align-items: flex-end; justify-content: center; gap: 0.35rem; height: 5.5rem; width: 100%; max-width: 14rem; }
.bi-podium__place { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 2.75rem; border-radius: 0.4rem 0.4rem 0 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.bi-podium__place span { font-weight: 900; font-size: 1rem; padding-top: 0.35rem; }
.bi-podium__place small { font-size: 0.55rem; padding-bottom: 0.35rem; color: rgba(255, 255, 255, 0.5); }
.bi-podium__place--1 { height: 4.5rem; background: linear-gradient(180deg, rgba(251, 191, 36, 0.25), rgba(255, 255, 255, 0.04)); border-color: rgba(251, 191, 36, 0.35); color: #fbbf24; }
.bi-podium__place--2 { height: 3.25rem; }
.bi-podium__place--3 { height: 2.5rem; }

/* Badges */
.bi-badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; max-width: 16rem; width: 100%; }
.bi-badge-item { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.5rem; border-radius: 0.45rem; font-size: 0.62rem; font-weight: 700; color: #fff; background: rgba(225, 29, 72, 0.15); border: 1px solid rgba(225, 29, 72, 0.25); }
.bi-badge-item--locked { opacity: 0.45; filter: grayscale(0.6); }

/* Odds compare */
.bi-odds-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; width: 100%; max-width: 20rem; }
@media (max-width: 420px) {
  .bi-odds-compare { grid-template-columns: 1fr; max-width: 14rem; }
}
.bi-odds-compare__card { padding: 0.55rem; border-radius: 0.55rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.bi-odds-compare__card p { margin: 0 0 0.35rem; font-size: 0.65rem; font-weight: 800; color: rgba(255, 255, 255, 0.7); }
.bi-odds-compare__card small { display: block; margin-top: 0.35rem; font-size: 0.55rem; color: rgba(255, 255, 255, 0.4); }
.bi-odds-compare__card--hot { border-color: rgba(129, 140, 248, 0.35); }

/* Habits */
.bi-habits { display: flex; gap: 0.5rem; max-width: 18rem; width: 100%; }
.bi-habit { flex: 1; text-align: center; padding: 0.65rem 0.4rem; border-radius: 0.55rem; background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(129, 140, 248, 0.25); }
.bi-habit__pct { display: block; font-family: ui-monospace, monospace; font-weight: 900; font-size: 1.1rem; color: #a5b4fc; }
.bi-habit span:last-child { font-size: 0.58rem; color: rgba(255, 255, 255, 0.45); }

.blog-illus--cover .bi-live-card { max-width: 100%; }
.blog-illus--cover .bi-odds__yes,
.blog-illus--cover .bi-odds__no {
  font-size: 0;
  padding: 0;
  min-width: 0;
}

.blog-illus--hero .bi-live-card { max-width: 100%; }

.blog-card__illus-wrap .blog-illus {
  padding: 0.5rem 0.35rem 0.75rem;
  min-height: 6.5rem;
}

.blog-card__illus-wrap .bi-odds {
  font-size: 0;
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero__aurora,
  .blog-hero__pulse {
    animation: none;
  }

  .blog-reveal {
    opacity: 1;
    transform: none;
  }
}
