:root {
  --rh-bg: #f5f7fb;
  --rh-bg-2: #eef2ff;
  --rh-paper: rgba(255, 255, 255, 0.82);
  --rh-paper-solid: #ffffff;
  --rh-ink: #111827;
  --rh-muted: #64748b;

  --rh-blue: #2563eb;
  --rh-blue-dark: #1e3a8a;
  --rh-purple: #7c3aed;
  --rh-cyan: #06b6d4;
  --rh-gold: #f59e0b;
  --rh-red: #dc2626;
  --rh-green: #059669;

  --rh-border: rgba(15, 23, 42, 0.10);
  --rh-border-strong: rgba(37, 99, 235, 0.22);

  --rh-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --rh-shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.16);

  --rh-radius: 28px;
  --rh-radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--rh-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(37, 99, 235, .16), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(124, 58, 237, .16), transparent 28%),
    radial-gradient(circle at 78% 90%, rgba(6, 182, 212, .12), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 75%);
}

img {
  max-width: 100%;
  height: auto;
}

/* PAGE */

.rh-blog-page {
  min-height: 100vh;
}

/* HERO MODERNE */

.rh-blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 92px) clamp(20px, 6vw, 82px);
  color: #fff;
  border-radius: 0 0 46px 46px;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 158, 11, .42), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(6, 182, 212, .36), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(124, 58, 237, .42), transparent 34%),
    linear-gradient(135deg, #020617 0%, #0f172a 38%, #1e1b4b 68%, #312e81 100%);
  box-shadow: var(--rh-shadow-strong);
}

.rh-blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.11), transparent 32%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.035) 0,
      rgba(255,255,255,.035) 1px,
      transparent 1px,
      transparent 72px
    );
  opacity: .85;
}

.rh-blog-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255,255,255,.20), transparent 58%),
    radial-gradient(circle, rgba(245,158,11,.35), transparent 62%);
  filter: blur(4px);
}

.rh-blog-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  font-size: .9rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.rh-blog-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 5.6vw, 5rem);
  line-height: .98;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.rh-blog-intro {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.rh-blog-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.rh-blog-meta span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.105);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  font-size: .92rem;
  font-weight: 750;
}

/* LAYOUT */

.rh-blog-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 890px);
  gap: 34px;
  max-width: 1240px;
  margin: 42px auto 0;
  padding: 0 20px 80px;
  align-items: start;
}

.rh-blog-content {
  min-width: 0;
}

/* SOMMAIRE */

.rh-blog-sidebar {
  position: sticky;
  top: 22px;
}

.rh-toc {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--rh-shadow-soft);
  backdrop-filter: blur(20px);
}

.rh-toc-title {
  margin: 0 0 12px;
  color: #0f172a;
  font-weight: 950;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rh-toc a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 11px;
  margin: 3px 0;
  border-radius: 14px;
  color: #334155;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 750;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rh-toc a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  transform: translateX(3px);
}

/* CARTES DE CONTENU */

.rh-blog-content section,
.rh-retain-box,
.rh-faq-box,
.rh-quiz-box,
.rh-related,
.history-echo-wrapper,
.rh-key-box,
.rh-warning-box,
.rh-blog-cta {
  margin-bottom: 30px;
}

.rh-blog-content section,
.rh-retain-box,
.rh-faq-box,
.rh-quiz-box,
.rh-related {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--rh-radius);
  background: var(--rh-paper);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: var(--rh-shadow-soft);
  backdrop-filter: blur(18px);
}

.rh-blog-content section::before,
.rh-retain-box::before,
.rh-faq-box::before,
.rh-quiz-box::before,
.rh-related::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(37, 99, 235, .06);
}

/* TITRES */

.rh-blog-content h2,
.rh-retain-box h2,
.rh-faq-box h2,
.rh-quiz-box h2,
.rh-related h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.rh-blog-content h2::before,
.rh-retain-box h2::before,
.rh-faq-box h2::before,
.rh-quiz-box h2::before {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  margin-bottom: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rh-blue), var(--rh-purple), var(--rh-gold));
}

.rh-blog-content h3,
.rh-faq-box h3 {
  margin: 26px 0 10px;
  color: #172554;
  font-size: 1.27rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rh-blog-content p,
.rh-retain-box p,
.rh-faq-box p,
.rh-quiz-box p {
  margin: 0 0 16px;
  color: #263244;
  font-size: 1.055rem;
}

.rh-blog-content p:last-child,
.rh-retain-box p:last-child,
.rh-faq-box p:last-child {
  margin-bottom: 0;
}

.rh-blog-content strong,
.rh-retain-box strong,
.rh-faq-box strong {
  color: #020617;
  font-weight: 900;
}

.rh-blog-content a,
.rh-faq-box a {
  color: #1d4ed8;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.rh-blog-content a:hover,
.rh-faq-box a:hover {
  color: var(--rh-purple);
}

.rh-blog-content ul,
.rh-blog-content ol,
.rh-retain-box ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.rh-blog-content li,
.rh-retain-box li {
  margin: 9px 0;
  padding-left: 5px;
}

/* CITATION */

.history-echo-wrapper {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 34px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(245, 158, 11, .36), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(6, 182, 212, .34), transparent 30%),
    linear-gradient(135deg, #020617, #172554 56%, #4c1d95);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--rh-shadow-strong);
}

.history-echo-wrapper::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.13), transparent 38%);
}

.history-echo-inner {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.history-icon-bg {
  position: absolute;
  top: -52px;
  left: -12px;
  color: rgba(255,255,255,.08);
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.history-text {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.history-gold {
  color: #facc15;
}

.history-separator {
  width: 86px;
  height: 5px;
  margin: 20px 0 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #facc15, #fb923c);
}

.history-author {
  color: rgba(255,255,255,.78);
  font-weight: 760;
}

/* ENCADRÉS */

.rh-key-box,
.rh-warning-box {
  position: relative;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--rh-shadow-soft);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.rh-key-box::before,
.rh-warning-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
}

.rh-key-box::before {
  background: linear-gradient(180deg, #10b981, #06b6d4);
}

.rh-warning-box::before {
  background: linear-gradient(180deg, #ef4444, #f59e0b);
}

.rh-box-label {
  display: inline-flex;
  margin: 0 0 10px !important;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: .78rem !important;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.rh-key-box .rh-box-label {
  color: #047857;
  background: rgba(16, 185, 129, .12);
}

.rh-warning-box .rh-box-label {
  color: #b91c1c;
  background: rgba(239, 68, 68, .12);
}

/* IMAGES */

.rh-figure {
  margin: 26px 0 0;
}

.rh-figure img {
  display: block;
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 24px 58px rgba(15, 23, 42, .16);
  border: 1px solid rgba(255,255,255,.7);
}

.rh-figure figcaption {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--rh-muted);
  font-size: .92rem;
  text-align: center;
}

/* FRISE */

.rh-timeline {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.rh-timeline div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  background: rgba(248, 250, 252, .88);
  border: 1px solid rgba(37, 99, 235, .10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rh-timeline div:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .24);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.rh-timeline span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .20);
}

.rh-timeline p {
  margin: 0;
}

/* PLAN */

.rh-plan-box {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.rh-plan-box div {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(37,99,235,.07), rgba(124,58,237,.06)),
    rgba(248,250,252,.9);
  border: 1px solid rgba(37, 99, 235, .12);
}

.rh-plan-box strong {
  display: block;
  color: #1d4ed8;
  margin-bottom: 6px;
}

/* CTA */

.rh-blog-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 34px;
  color: #fff;
  background:

    radial-gradient(circle at 8% 20%, rgba(245, 158, 11, .40), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, .35), transparent 28%),
    linear-gradient(135deg, #020617, #1e3a8a 58%, #4c1d95);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--rh-shadow-strong);
}

.rh-blog-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}

.rh-blog-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.rh-blog-cta h2::before {
  display: none;
}

.rh-blog-cta p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.84);
}

.rh-cta-small {
  margin-bottom: 8px !important;
  color: #fde68a !important;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-size: .82rem !important;
}

.rh-cta-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  padding: 15px 22px;
  border-radius: 999px;
  color: #020617 !important;
  background: linear-gradient(135deg, #facc15, #fb923c);
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 16px 30px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.rh-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(0,0,0,.26);
}

/* ARTICLES LIÉS */

.rh-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rh-related-card {
  display: block;
  min-height: 146px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,250,252,.82));
  border: 1px solid rgba(37, 99, 235, .11);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rh-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .26);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.rh-related-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, .10);
  font-size: .8rem;
  font-weight: 950;
}

.rh-related-card strong {
  display: block;
  color: var(--rh-ink);
  font-size: 1.06rem;
  line-height: 1.32;
}

/* QUIZ */

.rh-question {
  padding: 18px;
  margin: 14px 0;
  border-radius: 22px;
  background: rgba(248, 250, 252, .90);
  border: 1px solid rgba(37, 99, 235, .10);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.rh-question:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .22);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .06);
}

.rh-question strong {
  display: block;
  margin-bottom: 12px;
  color: #172554;
  font-weight: 950;
}

.rh-question label {
  display: block;
  margin: 8px 0;
  padding: 9px 11px;
  border-radius: 14px;
  cursor: pointer;
  background: rgba(255,255,255,.66);
  transition: background .16s ease;
}

.rh-question label:hover {
  background: rgba(37, 99, 235, .08);
}

.rh-question input {
  margin-right: 8px;
}

.quiz-submit,
.quiz-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.quiz-submit {
  color: #fff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  box-shadow: 0 14px 26px rgba(37, 99, 235, .22);
}

.quiz-reset {
  margin-left: 8px;
  color: #020617;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow: 0 14px 26px rgba(245, 158, 11, .20);
}

.quiz-submit:hover,
.quiz-reset:hover {
  transform: translateY(-2px);
}

.quiz-result {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(16, 185, 129, .10);
  border: 1px solid rgba(16, 185, 129, .24);
  color: #065f46;
  font-weight: 950;
}

.rh-good-answer {
  border-color: rgba(16, 185, 129, .45) !important;
  background: rgba(16, 185, 129, .08) !important;
}

.rh-bad-answer {
  border-color: rgba(239, 68, 68, .45) !important;
  background: rgba(239, 68, 68, .08) !important;
}

/* MOBILE */

@media (max-width: 980px) {
  .rh-blog-layout {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .rh-blog-sidebar {
    position: static;
  }

  .rh-blog-cta {
    grid-template-columns: 1fr;
  }

  .rh-cta-button {
    width: 100%;
  }

  .rh-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    line-height: 1.68;
  }

  .rh-blog-hero {
    padding: 38px 18px 42px;
    border-radius: 0 0 30px 30px;
  }

  .rh-blog-layout {
    padding: 0 14px 54px;
  }

  .rh-toc {
  border-radius: 22px;
}

  .rh-blog-content section,
  .rh-retain-box,
  .rh-faq-box,
  .rh-quiz-box,
  .rh-related,
  .rh-key-box,
  .rh-warning-box,
  .history-echo-wrapper,
  .rh-blog-cta {
    border-radius: 22px;
  }

  .rh-timeline div {
    grid-template-columns: 1fr;
  }

  .rh-blog-meta span {
    width: 100%;
  }

  .quiz-submit,
  .quiz-reset {
    width: 100%;
  }

  .quiz-reset {
    margin-left: 0;
  }
}

/* ================================
   PATCH PERFORMANCE MOBILE STATIQUE
   ================================ */

@media (max-width: 620px) {
  body {
    background: #f5f7fb;
  }

  body::before {
    display: none;
  }

  .rh-blog-hero {
    background: linear-gradient(135deg, #020617 0%, #1e3a8a 68%, #312e81 100%);
    box-shadow: none;
  }

  .rh-blog-hero::before,
  .rh-blog-hero::after {
    display: none;
  }

  .rh-blog-kicker,
  .rh-blog-meta span,
  .rh-toc,
  .rh-blog-content section,
  .rh-retain-box,
  .rh-faq-box,
  .rh-quiz-box,
  .rh-related,
  .rh-key-box,
  .rh-warning-box,
  .history-echo-wrapper,
  .rh-blog-cta {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .rh-blog-content section,
  .rh-retain-box,
  .rh-faq-box,
  .rh-quiz-box,
  .rh-related,
  .rh-key-box,
  .rh-warning-box {
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  }

  .history-echo-wrapper,
  .rh-blog-cta {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
  }

  .rh-figure img {
    box-shadow: none;
    border-radius: 18px;
  }
}

/* Réduit le coût de rendu des grosses sections hors écran */
.rh-blog-content section:nth-of-type(n+4),
.rh-retain-box,
.rh-faq-box,
.rh-quiz-box,
.rh-related {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

/* ================================
   SOMMAIRE MOBILE HAMBURGER
   ================================ */

.rh-toc-toggle {
  display: none;
}

.rh-toc-head {
  display: block;
}

.rh-toc-close {
  display: none;
}

.rh-toc-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .rh-blog-sidebar {
    position: static;
  }

  .rh-toc-toggle {
    position: sticky;
    top: 12px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
    color: #fff;
    font-weight: 900;
    font-size: .95rem;
    box-shadow: 0 14px 30px rgba(29, 78, 216, .24);
    cursor: pointer;
  }

  .rh-toc-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
  }

  .rh-toc-toggle-icon span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .rh-toc {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: block;
    width: min(88vw, 340px);
    height: 100vh;
    padding: 22px 16px 24px;
    border-radius: 0 24px 24px 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
    transform: translateX(-105%);
    transition: transform .22s ease;
    overflow-y: auto;
  }

  .rh-toc.is-open {
    transform: translateX(0);
  }

  .rh-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
  }

  .rh-toc-title {
    margin: 0;
    font-size: .88rem;
  }

  .rh-toc-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #0f172a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  .rh-toc a {
    margin: 4px 0;
    padding: 11px 12px;
    font-size: .95rem;
  }

  .rh-toc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(15, 23, 42, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .rh-toc-backdrop.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* =========================================================
   BLOCS RÉCUPÉRÉS DE L'ANCIEN CSS WORDPRESS
   VERSION STATIQUE PROPRE
   ========================================================= */


/* =========================================================
   BLOC AUTEUR MODERNE
   ========================================================= */

.author-box-modern {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 56px auto 34px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-top: 4px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(#ffffff, #f8fbff) padding-box,
    linear-gradient(90deg, #2563eb, #0ea5e9, #f59e0b) border-box;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.author-box-modern::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(11, 114, 201, 0.16), transparent 70%);
  pointer-events: none;
}

.author-box-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.author-avatar {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border: 4px solid #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.author-info {
  position: relative;
  z-index: 2;
}

.author-meta {
  margin-bottom: 12px;
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
}

.author-name a {
  color: var(--rh-blue);
  font-weight: 900;
  text-decoration: none;
  border-bottom: none;
}

.author-name a:hover {
  color: #084f8f;
}

.author-date {
  color: #64748b;
  font-weight: 700;
}

.author-bio,
.author-bio p {
  margin: 0;
  padding: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.75;
}

.author-bio strong {
  color: #172554;
  font-weight: 850;
}

.author-bio a {
  color: var(--rh-blue);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid rgba(11, 114, 201, 0.18);
}

.author-bio a:hover {
  color: #084f8f;
  border-bottom-color: #084f8f;
}


/* =========================================================
   NOTE "SAVIEZ-VOUS"
   ========================================================= */

.note-saviez-vous {
  position: relative;
  margin: 35px 0;
  padding: 18px 25px 16px 30px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.note-saviez-vous:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.14);
}

.note-saviez-vous::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #c06c84 0%, #6c5b7b 50%, #355c7d 100%);
}

.note-saviez-vous::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #c06c84 0%, #6c5b7b 50%, #355c7d 100%);
}

.note-saviez-vous strong {
  color: #6c5b7b;
  font-size: 1.1rem;
  font-weight: 850;
}


/* =========================================================
   CARTE ACTUALITÉ / EXEMPLE
   ========================================================= */

.actu-card {
  position: relative;
  margin: 32px 0;
  padding: 26px;
  overflow: hidden;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.actu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
}

.actu-gradient-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
}

.actu-title {
  display: inline-block;
  margin: 0 0 10px;
  background: linear-gradient(90deg, #ff3cac 0%, #784ba0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.actu-content {
  margin: 0;
  color: #4a5568;
  font-size: 0.98rem;
  line-height: 1.65;
}

.actu-link-wrapper {
  margin-top: 14px;
}

.actu-link {
  color: #784ba0;
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid #ff3cac;
  transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease;
}

.actu-link:hover {
  color: #2b86c5;
  border-bottom-color: #2b86c5;
  letter-spacing: 0.3px;
}


/* =========================================================
   TABLEAUX STATIQUES
   ========================================================= */

.rh-blog-content table {
  width: 100%;
  margin: 28px 0;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.rh-blog-content th {
  padding: 14px 18px;
  background: #10233f;
  color: #ffffff;
  font-weight: 850;
  text-align: left;
}

.rh-blog-content td {
  padding: 14px 18px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
}

.rh-blog-content tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.72);
}


/* =========================================================
   SÉPARATEUR MODERNE
   ========================================================= */

.rh-blog-content hr {
  height: 2px;
  margin: 40px 0;
  border: 0;
  background: linear-gradient(90deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
  opacity: 1;
  mask: repeating-linear-gradient(90deg, #000 0, #000 10px, transparent 10px, transparent 15px);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0, #000 10px, transparent 10px, transparent 15px);
}


/* =========================================================
   CONFETTIS OPTIONNELS
   ========================================================= */

.confettis {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: fall 3s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}


/* =========================================================
   RESPONSIVE BLOCS RÉCUPÉRÉS
   ========================================================= */

@media (max-width: 767px) {
  .author-box-modern {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 42px auto 28px;
    padding: 24px 20px;
    border-radius: 22px;
    text-align: center;
  }

  .author-avatar {
    width: 135px;
    height: 135px;
    margin: 0 auto;
    border-radius: 20px;
  }

  .author-meta {
    font-size: 13.5px;
  }

  .author-bio,
  .author-bio p {
    font-size: 16px;
    line-height: 1.7;
  }

  .note-saviez-vous {
    margin: 28px 0;
    padding: 18px 18px 16px 22px;
    border-radius: 14px;
  }

  .actu-card {
    margin: 28px 0;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .rh-blog-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .rh-blog-content th,
  .rh-blog-content td {
    padding: 12px 14px;
  }
}

/* =========================================================
   CITATION PREMIUM — VERSION PROPRE
   ========================================================= */

.history-quote-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 30px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 20%, rgba(251, 146, 60, .22), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(99, 102, 241, .24), transparent 30%),
    linear-gradient(135deg, #080f1f 0%, #111d3a 42%, #1d2f6f 72%, #30338f 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow:
    0 20px 48px rgba(8, 15, 31, .24),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.history-quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .075), transparent 42%);
  pointer-events: none;
}

.history-quote-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 68%);
  pointer-events: none;
}

.history-quote-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 0 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #ffe082;
  font-size: .78rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.history-quote-mark {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 34px;
  left: auto;
  color: rgba(255, 255, 255, .075);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: .8;
  pointer-events: none;
  user-select: none;
}

.rh-blog-content p.history-quote-text,
.history-quote-text {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.1vw, 3.65rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.rh-blog-content p.history-quote-text span,
.history-quote-text span {
  color: #ffd54a;
  text-shadow:
    0 0 12px rgba(255, 213, 74, .32),
    0 0 28px rgba(255, 213, 74, .18);
}

.history-quote-line {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 6px;
  margin: 26px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd54a 0%, #fb923c 100%);
  box-shadow: 0 0 18px rgba(251, 146, 60, .20);
}

.rh-blog-content p.history-quote-author,
.history-quote-author {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 1.05rem;
  line-height: 1.45;
}

.history-quote-author strong {
  color: #ffffff;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.history-quote-author span,
.history-quote-author em {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  font-weight: 650;
  font-style: normal;
}

@media (max-width: 620px) {
  .history-quote-card {
    padding: 24px 20px 22px;
    border-radius: 24px;
  }

  .history-quote-badge {
    margin-bottom: 18px;
    padding: 7px 12px;
    font-size: .70rem;
    letter-spacing: .065em;
  }

  .history-quote-mark {
    top: 16px;
    right: 18px;
    left: auto;
    font-size: 5.2rem;
  }

  .rh-blog-content p.history-quote-text,
  .history-quote-text {
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: -0.055em;
  }

  .history-quote-line {
    width: 76px;
    height: 5px;
    margin: 20px 0 16px;
  }

  .rh-blog-content p.history-quote-author,
  .history-quote-author {
    display: block;
    font-size: .96rem;
  }

  .history-quote-author strong {
    display: block;
    margin-bottom: 2px;
    font-size: 1.22rem;
  }

  .history-quote-author span,
  .history-quote-author em {
    display: inline;
    font-size: .96rem;
  }
}

/* =========================================================
   HEADER STATIQUE LÉGER
   ========================================================= */

.rh-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: rgba(255, 255, 255, .90);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rh-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
}

.rh-site-logo,
.rh-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-weight: 950;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.rh-site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  box-shadow: 0 10px 22px rgba(37, 99, 235, .20);
  font-size: .80rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.rh-site-logo-text {
  font-size: 1.05rem;
}

.rh-main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.rh-main-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #334155;
  background: transparent;
  font-size: .92rem;
  line-height: 1.1;
  font-weight: 850;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rh-main-menu a:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, .08);
  transform: translateY(-1px);
}

.rh-main-menu .rh-main-menu-cta {
  margin-left: 4px;
  color: #020617;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow: 0 10px 22px rgba(245, 158, 11, .18);
}

.rh-main-menu .rh-main-menu-cta:hover {
  color: #020617;
  background: linear-gradient(135deg, #fde047, #fb923c);
}

.rh-main-menu-toggle {
  display: none;
}


/* =========================================================
   BLOC AUTEUR STATIQUE
   Complément du bloc .author-box-modern existant
   ========================================================= */

.rh-author-box {
  margin-top: 0;
  margin-bottom: 30px;
}

.rh-author-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  flex: 0 0 170px;
  border: 4px solid #ffffff;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 18%, rgba(250, 204, 21, .35), transparent 28%),
    linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  font-size: 2.35rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.rh-author-avatar-fallback:hover {
  color: #ffffff;
  transform: translateY(-1px);
}


/* =========================================================
   FOOTER STATIQUE
   ========================================================= */

.rh-site-footer {
  margin-top: 34px;
  color: #e5e7eb;
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 158, 11, .18), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(37, 99, 235, .20), transparent 28%),
    linear-gradient(135deg, #020617 0%, #0f172a 52%, #111d3a 100%);
}

.rh-site-footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: 42px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 20px 36px;
}

.rh-footer-logo {
  color: #ffffff;
}

.rh-footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  line-height: 1.7;
}

.rh-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rh-footer-title {
  margin: 0 0 12px;
  color: #fde68a;
  font-size: .82rem;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rh-footer-col a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .76);
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.rh-footer-col a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.rh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.rh-footer-bottom p {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 20px 20px;
  color: rgba(255, 255, 255, .56);
  font-size: .88rem;
}


/* =========================================================
   RESPONSIVE HEADER + FOOTER
   ========================================================= */

@media (max-width: 980px) {
  .rh-site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .rh-site-header-inner {
    padding: 10px 16px;
  }

  .rh-main-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
    box-shadow: 0 12px 26px rgba(37, 99, 235, .22);
    font-weight: 900;
    cursor: pointer;
  }

  .rh-main-menu-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
  }

  .rh-main-menu-bars span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
  }

  .rh-main-menu-label {
    font-size: .88rem;
    line-height: 1;
  }

  .rh-main-menu {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    z-index: 220;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
  }

  .rh-main-menu.is-open {
    display: flex;
  }

  .rh-main-menu a {
    justify-content: center;
    width: 100%;
    min-height: 46px;
    font-size: .98rem;
  }

  .rh-main-menu .rh-main-menu-cta {
    margin-left: 0;
  }

  .rh-site-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rh-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .rh-author-avatar-fallback {
    width: 135px;
    height: 135px;
    flex-basis: 135px;
    margin: 0 auto;
    border-radius: 20px;
    font-size: 1.95rem;
  }
}

@media (max-width: 620px) {
  .rh-site-logo-text {
    font-size: 1rem;
  }

  .rh-site-logo-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .rh-main-menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
  }

  .rh-main-menu-toggle {
    width: 44px;
    padding: 0;
  }

  .rh-site-footer-inner {
    padding: 40px 18px 28px;
  }

  .rh-footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rh-footer-bottom p {
    padding: 16px 18px 20px;
  }
}

.rh-author-photo-link {
  display: block;
  width: 170px;
  height: 170px;
  border-radius: 22px;
  text-decoration: none;
}

.author-avatar {
  display: block;
  width: 170px;
  height: 170px;
  object-fit: cover;
  object-position: center center;
  border: 4px solid #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

/* =========================================================
   PATCH ACCESSIBILITÉ : ZONES TACTILES MOBILE
   ========================================================= */

@media (max-width: 980px) {
  .rh-footer-col a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 8px 0 !important;
    margin: 4px 0 !important;
  }

  .rh-related-card {
    min-height: 150px !important;
  }

  .rh-main-menu a {
    min-height: 46px !important;
  }
}

/* =========================================================
   PATCH CLS : SOMMAIRE MOBILE HORS FLUX
   ========================================================= */

@media (max-width: 980px) {
  .rh-toc {
    position: fixed !important;
    top: 58px !important;
    left: 0 !important;
    z-index: 190 !important;
    display: block !important;
    width: min(88vw, 340px) !important;
    height: calc(100dvh - 58px) !important;
    max-height: calc(100dvh - 58px) !important;
    transform: translateX(-105%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow-y: auto !important;
  }

  .rh-toc.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .rh-toc-backdrop {
    position: fixed !important;
    top: 58px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 180 !important;
  }
}

/* =========================================================
   MENU : LIEN ACTIF
   ========================================================= */

.rh-main-menu a.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.rh-main-menu a.is-active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.rh-main-menu .rh-main-menu-cta.is-active {
  color: #020617;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.22);
}

@media (max-width: 980px) {
  .rh-main-menu a.is-active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
  }

  .rh-main-menu .rh-main-menu-cta.is-active {
    color: #020617 !important;
    background: linear-gradient(135deg, #facc15, #fb923c);
  }
}

/* =========================================================
   PATCH STATIQUE GLOBAL — BREADCRUMB + QUIZ + CARTES THÈMES
   À coller à la fin de /assets/css/rh-blog-static.css
   ========================================================= */

/* ---------- Breadcrumb statique propre ---------- */

.rh-blog-content .breadcrumbs,
.rh-blog-content nav.breadcrumbs,
.rh-blog-content .rh-breadcrumbs,
.rh-blog-content nav.rh-breadcrumbs {
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rh-blog-content .breadcrumbs-list,
.rh-blog-content ol.breadcrumbs-list,
.rh-blog-content .rh-breadcrumbs-list,
.rh-blog-content ol.rh-breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rh-blog-content .breadcrumbs-item,
.rh-blog-content .breadcrumbs-list li,
.rh-blog-content .rh-breadcrumbs-item,
.rh-blog-content .rh-breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.25;
  font-weight: 800;
}

.rh-blog-content .breadcrumbs-item::marker,
.rh-blog-content .breadcrumbs-list li::marker,
.rh-blog-content .rh-breadcrumbs-item::marker,
.rh-blog-content .rh-breadcrumbs-list li::marker {
  content: "";
}

.rh-blog-content .breadcrumbs-item:not(:last-child)::after,
.rh-blog-content .breadcrumbs-list li:not(:last-child)::after,
.rh-blog-content .rh-breadcrumbs-item:not(:last-child)::after,
.rh-blog-content .rh-breadcrumbs-list li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #94a3b8;
  font-weight: 950;
}

.rh-blog-content .breadcrumbs a,
.rh-blog-content .rh-breadcrumbs a,
.rh-blog-content .breadcrumbs-list a,
.rh-blog-content .rh-breadcrumbs-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .12);
  font-size: .88rem;
  line-height: 1.1;
  font-weight: 900;
  text-decoration: none;
  text-underline-offset: 0;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rh-blog-content .breadcrumbs a:hover,
.rh-blog-content .rh-breadcrumbs a:hover,
.rh-blog-content .breadcrumbs-list a:hover,
.rh-blog-content .rh-breadcrumbs-list a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  transform: translateY(-1px);
}

.rh-blog-content .breadcrumbs-item.active,
.rh-blog-content .breadcrumbs-list li:last-child,
.rh-blog-content .rh-breadcrumbs-item.active,
.rh-blog-content .rh-breadcrumbs-list li:last-child {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #334155;
  background: rgba(15, 23, 42, .055);
  border: 1px solid rgba(15, 23, 42, .08);
}

/* ---------- Quiz statique global ---------- */

.rh-quiz-box form,
.quiz-box form {
  margin-top: 20px;
}

.rh-question,
.question[data-answer] {
  position: relative;
  padding: 18px;
  margin: 14px 0;
  border-radius: 22px;
  background: rgba(248, 250, 252, .94);
  border: 1px solid rgba(37, 99, 235, .12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.rh-question:hover,
.question[data-answer]:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .24);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
}

.rh-question strong,
.question[data-answer] strong {
  display: block;
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 950;
}

.rh-question label,
.question[data-answer] label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 8px 0;
  padding: 11px 13px;
  border-radius: 15px;
  color: #263244;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .07);
  cursor: pointer;
  line-height: 1.45;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.rh-question label:hover,
.question[data-answer] label:hover {
  background: rgba(37, 99, 235, .07);
  border-color: rgba(37, 99, 235, .18);
  transform: translateX(2px);
}

.rh-question input[type="radio"],
.question[data-answer] input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: .18em 0 0;
  accent-color: var(--rh-blue);
}

.rh-question.rh-good-answer,
.question[data-answer].rh-good-answer {
  border-color: rgba(16, 185, 129, .50) !important;
  background: rgba(16, 185, 129, .075) !important;
}

.rh-question.rh-bad-answer,
.question[data-answer].rh-bad-answer {
  border-color: rgba(239, 68, 68, .50) !important;
  background: rgba(239, 68, 68, .075) !important;
}

.rh-question.rh-good-answer::after,
.question[data-answer].rh-good-answer::after,
.rh-question.rh-bad-answer::after,
.question[data-answer].rh-bad-answer::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 950;
}

.rh-question.rh-good-answer::after,
.question[data-answer].rh-good-answer::after {
  content: "✓";
  background: #059669;
}

.rh-question.rh-bad-answer::after,
.question[data-answer].rh-bad-answer::after {
  content: "×";
  background: #dc2626;
}

.quiz-submit,
.quiz-reset,
.rh-quiz-submit,
.rh-quiz-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.quiz-submit,
.rh-quiz-submit {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  box-shadow: 0 14px 26px rgba(37, 99, 235, .24);
}

.quiz-reset,
.rh-quiz-reset {
  margin-left: 8px;
  color: #020617;
  background: linear-gradient(135deg, #facc15, #fb923c);
  box-shadow: 0 14px 26px rgba(245, 158, 11, .20);
}

.quiz-submit:hover,
.quiz-reset:hover,
.rh-quiz-submit:hover,
.rh-quiz-reset:hover {
  transform: translateY(-2px);
}

.quiz-result,
.rh-quiz-result {
  display: none;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(16, 185, 129, .10);
  border: 1px solid rgba(16, 185, 129, .25);
  color: #065f46;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 900;
}

.quiz-result.is-visible,
.rh-quiz-result.is-visible {
  display: block;
}

/* ---------- Cartes thèmes HGGSP ---------- */

.rh-theme-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.rh-theme-card {
  position: relative;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .055), rgba(124, 58, 237, .05)),
    rgba(255, 255, 255, .92);
  border: 1px solid rgba(37, 99, 235, .12);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.rh-theme-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--rh-blue), var(--rh-purple), var(--rh-gold));
}

.rh-theme-card h3 {
  margin-top: 0;
}

.rh-theme-card p {
  margin-bottom: 12px;
}

.rh-theme-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.rh-theme-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #172554;
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .12);
  font-size: .86rem;
  line-height: 1.15;
  font-weight: 900;
}

.rh-theme-actions,
.rh-theme-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.rh-theme-button,
.rh-theme-actions a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 999px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  box-shadow: 0 12px 24px rgba(37, 99, 235, .20);
  font-size: .95rem;
  line-height: 1.1;
  font-weight: 950;
  text-decoration: none !important;
}

.rh-theme-links a:not(.rh-theme-button),
.rh-theme-actions a:not(:first-child) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #1d4ed8 !important;
  background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .12);
  font-size: .93rem;
  line-height: 1.1;
  font-weight: 900;
  text-decoration: none !important;
}

@media (max-width: 620px) {
  .rh-blog-content .breadcrumbs-list,
  .rh-blog-content ol.breadcrumbs-list,
  .rh-blog-content .rh-breadcrumbs-list,
  .rh-blog-content ol.rh-breadcrumbs-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .rh-blog-content .breadcrumbs-list::-webkit-scrollbar,
  .rh-blog-content .rh-breadcrumbs-list::-webkit-scrollbar {
    display: none;
  }

  .rh-question,
  .question[data-answer] {
    padding: 16px;
    border-radius: 20px;
  }

  .rh-question label,
  .question[data-answer] label {
    padding: 11px 12px;
  }

  .quiz-submit,
  .quiz-reset,
  .rh-quiz-submit,
  .rh-quiz-reset {
    width: 100%;
    margin-left: 0;
  }

  .rh-theme-card {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .rh-theme-actions,
  .rh-theme-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rh-theme-button,
  .rh-theme-actions a:first-child,
  .rh-theme-links a:not(.rh-theme-button),
  .rh-theme-actions a:not(:first-child) {
    width: 100%;
    justify-content: center;
  }
}

/* Ajustements spécifiques page Bac HGGSP 2027 */
.rh-blog-content > section > a,
.rh-blog-content > section > p > a:first-child:last-child {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:12px 16px;
  border-radius:999px;
  color:#fff !important;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  text-decoration:none !important;
  font-weight:900;
  box-shadow:0 12px 26px rgba(37,99,235,.18);
}
.rh-separator { display:none; }
.rh-blog-content section > .rh-related-box { margin-top:22px; }
/* =========================================================
   5. BREADCRUMB COMPACT
   ========================================================= */

body.single-post .breadcrumbs,
body.single-post nav.breadcrumbs,
body.page .breadcrumbs,
body.page nav.breadcrumbs {
  width: 100% !important;
  max-width: none !important;
  margin: 10px auto 36px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.single-post .breadcrumbs-list,
body.single-post ol.breadcrumbs-list,
body.page .breadcrumbs-list,
body.page ol.breadcrumbs-list {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 2px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  list-style: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.single-post .breadcrumbs-list::-webkit-scrollbar,
body.single-post ol.breadcrumbs-list::-webkit-scrollbar,
body.page .breadcrumbs-list::-webkit-scrollbar,
body.page ol.breadcrumbs-list::-webkit-scrollbar {
  display: none !important;
}

body.single-post .breadcrumbs-item,
body.single-post ol.breadcrumbs-list li,
body.page .breadcrumbs-item,
body.page ol.breadcrumbs-list li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #64748b !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

body.single-post .breadcrumbs-item::marker,
body.single-post ol.breadcrumbs-list li::marker,
body.page .breadcrumbs-item::marker,
body.page ol.breadcrumbs-list li::marker {
  content: "" !important;
}

body.single-post .breadcrumbs-item:not(:last-child)::after,
body.single-post ol.breadcrumbs-list li:not(:last-child)::after,
body.page .breadcrumbs-item:not(:last-child)::after,
body.page ol.breadcrumbs-list li:not(:last-child)::after {
  content: "›" !important;
  margin-left: 6px !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
}

body.single-post .breadcrumbs-item a,
body.single-post ol.breadcrumbs-list li a,
body.page .breadcrumbs-item a,
body.page ol.breadcrumbs-list li a {
  color: #64748b !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

body.single-post .breadcrumbs-item a:hover,
body.single-post ol.breadcrumbs-list li a:hover,
body.page .breadcrumbs-item a:hover,
body.page ol.breadcrumbs-list li a:hover {
  color: var(--rh-blue) !important;
}

body.single-post .breadcrumbs-item.active,
body.single-post ol.breadcrumbs-list li:last-child,
body.page .breadcrumbs-item.active,
body.page ol.breadcrumbs-list li:last-child {
  color: #334155 !important;
  font-weight: 850 !important;
}


/* CTA FORMATION HGGSP 2027 - VERSION MULTI-BLOCS CORRIGÉE */
/* Fonctionne avec :
   #rh-hggsp-cta-final
   #rh-hggsp-cta-mid
   #rh-hggsp-cta-last
   à condition que chaque section ait class="rh-hggsp-cta-final"
*/
/* ========================================================= */

.rh-hggsp-cta-final,
.rh-hggsp-cta-final *{
  box-sizing:border-box !important;
}

.rh-hggsp-cta-final{
  position:relative !important;
  overflow:hidden !important;
  margin:40px 0 54px !important;
  padding:34px !important;
  border-radius:32px !important;
  color:#ffffff !important;

  background:
    radial-gradient(circle at 8% 0%, rgba(0,169,255,.36), transparent 34%),
    radial-gradient(circle at 76% 6%, rgba(255,63,180,.36), transparent 35%),
    radial-gradient(circle at 92% 98%, rgba(255,138,0,.34), transparent 40%),
    linear-gradient(135deg,#061326 0%,#071833 42%,#170b36 72%,#3a172d 100%) !important;

  border:1px solid rgba(255,255,255,.16) !important;

  box-shadow:
    0 26px 65px rgba(3,10,30,.42),
    inset 0 1px 0 rgba(255,255,255,.09) !important;
}

/* variantes de placement */
#rh-hggsp-cta-mid{
  margin:46px 0 50px !important;
}

#rh-hggsp-cta-last{
  margin:54px 0 60px !important;
}

/* ========================================================= */
/* IMAGE BANNIÈRE - HOVER CTA FORMATION */
/* ========================================================= */

.rh-hggsp-cta-final .rh-cta-banner-link{
  position:relative !important;
  z-index:3 !important;
  display:block !important;
  width:100% !important;
  margin:0 0 28px !important;
  border-radius:26px !important;
  overflow:hidden !important;
  text-decoration:none !important;

  box-shadow:
    0 22px 48px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.12) !important;

  transform:translateY(0) scale(1) !important;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    filter .28s ease !important;
}

.rh-hggsp-cta-final .rh-cta-banner-img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  border-radius:26px !important;

  transform:scale(1) !important;
  transition:
    transform .34s ease,
    filter .34s ease !important;
}

/* reflet lumineux au survol */
.rh-hggsp-cta-final .rh-cta-banner-link::after{
  content:"" !important;
  position:absolute !important;
  inset:-40% -70% !important;
  z-index:2 !important;

  background:linear-gradient(
    120deg,
    transparent 35%,
    rgba(255,255,255,.32) 48%,
    transparent 62%
  ) !important;

  transform:translateX(-55%) rotate(8deg) !important;
  opacity:0 !important;
  pointer-events:none !important;
  transition:
    transform .55s ease,
    opacity .28s ease !important;
}

.rh-hggsp-cta-final .rh-cta-banner-link:hover{
  transform:translateY(-5px) scale(1.015) !important;
  filter:brightness(1.06) contrast(1.04) !important;

  box-shadow:
    0 30px 70px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,79,195,.34),
    0 0 38px rgba(255,63,180,.22) !important;
}

.rh-hggsp-cta-final .rh-cta-banner-link:hover .rh-cta-banner-img{
  transform:scale(1.035) !important;
}

.rh-hggsp-cta-final .rh-cta-banner-link:hover::after{
  opacity:1 !important;
  transform:translateX(55%) rotate(8deg) !important;
}

/* accessibilité clavier */
.rh-hggsp-cta-final .rh-cta-banner-link:focus-visible{
  outline:3px solid #ffd84d !important;
  outline-offset:5px !important;
}

/* ========================================================= */
/* DÉCORS */
/* ========================================================= */

.rh-hggsp-cta-final .rh-cta-bg-grid{
  position:absolute !important;
  inset:0 !important;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) !important;
  background-size:44px 44px !important;
  opacity:.18 !important;
  pointer-events:none !important;
}

.rh-hggsp-cta-final .rh-cta-orbit{
  position:absolute !important;
  border-radius:999px !important;
  pointer-events:none !important;
}

.rh-hggsp-cta-final .rh-cta-orbit-one{
  width:420px !important;
  height:420px !important;
  right:6% !important;
  bottom:-170px !important;
  border:1px solid rgba(255,138,0,.24) !important;
  box-shadow:0 0 90px rgba(255,138,0,.16) !important;
}

.rh-hggsp-cta-final .rh-cta-orbit-two{
  width:260px !important;
  height:260px !important;
  left:-90px !important;
  top:-100px !important;
  border:1px solid rgba(0,169,255,.20) !important;
  box-shadow:0 0 80px rgba(0,169,255,.14) !important;
}

/* ========================================================= */
/* HAUT DU CTA */
/* ========================================================= */

.rh-hggsp-cta-final .rh-cta-head{
  position:relative !important;
  z-index:2 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 360px !important;
  gap:34px !important;
  align-items:start !important;
  margin-bottom:30px !important;
}

.rh-hggsp-cta-final .rh-cta-badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  margin-bottom:18px !important;
  padding:9px 17px !important;
  border-radius:999px !important;

  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;

  color:#ffd84d !important;
  font-size:.95rem !important;
  font-weight:950 !important;
  line-height:1 !important;
}

.rh-hggsp-cta-final h3,
.rh-hggsp-cta-final .rh-cta-left h3{
  max-width:850px !important;
  margin:0 0 15px !important;

  color:#f8fbff !important;
  font-size:2.38rem !important;
  line-height:1.04 !important;
  font-weight:950 !important;
  letter-spacing:-.045em !important;
}

.rh-hggsp-cta-final h3 span,
.rh-hggsp-cta-final .rh-cta-left h3 span{
  color:#ff4fc3 !important;
  text-shadow:0 0 24px rgba(255,79,195,.36) !important;
}

.rh-hggsp-cta-final .rh-cta-left p{
  max-width:790px !important;
  margin:0 !important;

  color:rgba(255,255,255,.84) !important;
  font-size:1.08rem !important;
  line-height:1.65 !important;
  font-weight:600 !important;
}

/* ========================================================= */
/* PRIX */
/* ========================================================= */

.rh-hggsp-cta-final .rh-cta-price{
  padding:23px 26px !important;
  border-radius:28px !important;

  background:
    radial-gradient(circle at top right, rgba(255,164,40,.22), transparent 48%),
    linear-gradient(135deg,rgba(255,72,170,.32),rgba(255,255,255,.085)) !important;

  border:1px solid rgba(255,110,200,.40) !important;

  box-shadow:
    0 20px 42px rgba(255,63,180,.16),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
}

.rh-hggsp-cta-final .rh-cta-price-label{
  margin-bottom:13px !important;

  color:#ff67cb !important;
  font-size:1.42rem !important;
  line-height:1 !important;
  font-weight:950 !important;
  text-transform:uppercase !important;
  letter-spacing:.065em !important;
}

.rh-hggsp-cta-final .rh-cta-price-line{
  display:flex !important;
  align-items:baseline !important;
  gap:18px !important;
  margin-bottom:11px !important;
}

.rh-hggsp-cta-final .rh-cta-price-line strong{
  color:#fff6dc !important;
  font-size:3.25rem !important;
  line-height:1 !important;
  font-weight:950 !important;
  text-shadow:0 6px 20px rgba(0,0,0,.30) !important;
}

.rh-hggsp-cta-final .rh-cta-price-line span{
  color:rgba(255,255,255,.80) !important;
  font-size:1.48rem !important;
  font-weight:950 !important;
  text-decoration:line-through !important;
  text-decoration-thickness:4px !important;
  text-decoration-color:#ff9d00 !important;
}

.rh-hggsp-cta-final .rh-cta-date{
  color:#ffffff !important;
  font-size:1rem !important;
  line-height:1.2 !important;
  font-weight:950 !important;
  text-transform:uppercase !important;
}

.rh-hggsp-cta-final .rh-cta-lifetime{
  margin-top:8px !important;
  color:#ffd84d !important;
  font-size:.95rem !important;
  line-height:1.2 !important;
  font-weight:900 !important;
}

/* ========================================================= */
/* CARTES */
/* ========================================================= */

.rh-hggsp-cta-final .rh-cta-cards{
  position:relative !important;
  z-index:2 !important;
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:14px !important;
  margin:0 0 24px !important;
}

.rh-hggsp-cta-final .rh-cta-card{
  min-height:128px !important;
  padding:18px 18px 17px !important;
  border-radius:23px !important;

  background:
    linear-gradient(135deg,rgba(4,10,32,.97),rgba(11,18,52,.93)) !important;

  border:1px solid rgba(255,255,255,.12) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 30px rgba(0,0,0,.24) !important;
}

.rh-hggsp-cta-final .rh-cta-icon{
  display:inline-block !important;
  margin-right:5px !important;
  font-size:1.05rem !important;
  line-height:1 !important;
}

.rh-hggsp-cta-final .rh-cta-card strong{
  display:inline-block !important;
  margin-bottom:9px !important;

  color:#f7f8ff !important;
  font-size:1.08rem !important;
  line-height:1.25 !important;
  font-weight:950 !important;
}

.rh-hggsp-cta-final .rh-cta-card p{
  margin:0 !important;

  color:rgba(255,255,255,.78) !important;
  font-size:.96rem !important;
  line-height:1.48 !important;
  font-weight:600 !important;
}

/* ========================================================= */
/* BAS CTA */
/* ========================================================= */

.rh-hggsp-cta-final .rh-cta-bottom{
  position:relative !important;
  z-index:2 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:15px !important;
  flex-wrap:wrap !important;

  margin-top:8px !important;
  padding:18px 20px !important;
  border-radius:25px !important;

  background:rgba(4,10,32,.48) !important;
  border:1px solid rgba(255,255,255,.11) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* bouton : padding conservé comme demandé */
.rh-hggsp-cta-final .rh-cta-button,
.rh-hggsp-cta-final .rh-cta-button:link,
.rh-hggsp-cta-final .rh-cta-button:visited,
.rh-hggsp-cta-final .rh-cta-button:hover,
.rh-hggsp-cta-final .rh-cta-button:active,
.rh-hggsp-cta-final .rh-cta-button:focus{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:15px !important;

  height:58px !important;
  min-height:58px !important;
  padding:0 30px 1px !important;
  border-radius:18px !important;

  background:linear-gradient(90deg,#ff49b8 0%,#ff5e7a 52%,#ff9800 100%) !important;
  border:1px solid rgba(255,255,255,.18) !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none !important;

  font-size:1.04rem !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;

  box-shadow:
    0 18px 34px rgba(255,90,130,.32),
    0 0 24px rgba(255,90,180,.18) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;
}

.rh-hggsp-cta-final .rh-cta-button:hover{
  transform:translateY(-2px) !important;
  filter:brightness(1.07) !important;

  box-shadow:
    0 22px 42px rgba(255,90,130,.42),
    0 0 30px rgba(255,90,180,.22) !important;
}

.rh-hggsp-cta-final .rh-cta-safe{
  color:rgba(255,255,255,.92) !important;
  font-size:.98rem !important;
  line-height:1.35 !important;
  font-weight:850 !important;
  text-align:right !important;
}

/* ========================================================= */
/* RESPONSIVE TABLETTE */
/* ========================================================= */

@media(max-width:980px){
  .rh-hggsp-cta-final .rh-cta-head{
    grid-template-columns:1fr !important;
  }

  .rh-hggsp-cta-final .rh-cta-price{
    max-width:520px !important;
  }

  .rh-hggsp-cta-final .rh-cta-cards{
    grid-template-columns:repeat(2,1fr) !important;
  }

  .rh-hggsp-cta-final .rh-cta-bottom{
    justify-content:flex-start !important;
    gap:15px !important;
  }

  .rh-hggsp-cta-final .rh-cta-safe{
    text-align:left !important;
  }
}

/* ========================================================= */
/* RESPONSIVE MOBILE */
/* ========================================================= */

@media(max-width:640px){
  .rh-hggsp-cta-final{
    padding:24px 18px !important;
    border-radius:25px !important;
  }

  .rh-hggsp-cta-final .rh-cta-banner-link{
    margin-bottom:22px !important;
    border-radius:20px !important;
  }

  .rh-hggsp-cta-final .rh-cta-banner-img{
    border-radius:20px !important;
  }

  .rh-hggsp-cta-final .rh-cta-banner-link:hover{
    transform:translateY(-3px) scale(1.01) !important;
  }

  .rh-hggsp-cta-final .rh-cta-banner-link:hover .rh-cta-banner-img{
    transform:scale(1.02) !important;
  }

  .rh-hggsp-cta-final h3,
  .rh-hggsp-cta-final .rh-cta-left h3{
    font-size:1.75rem !important;
    line-height:1.08 !important;
  }

  .rh-hggsp-cta-final .rh-cta-left p{
    font-size:1rem !important;
  }

  .rh-hggsp-cta-final .rh-cta-price-line strong{
    font-size:2.55rem !important;
  }

  .rh-hggsp-cta-final .rh-cta-price-line span{
    font-size:1.25rem !important;
  }

  .rh-hggsp-cta-final .rh-cta-cards{
    grid-template-columns:1fr !important;
  }

  .rh-hggsp-cta-final .rh-cta-bottom{
    padding:16px 14px !important;
    gap:15px !important;
  }

  .rh-hggsp-cta-final .rh-cta-button,
  .rh-hggsp-cta-final .rh-cta-button:link,
  .rh-hggsp-cta-final .rh-cta-button:visited,
  .rh-hggsp-cta-final .rh-cta-button:hover,
  .rh-hggsp-cta-final .rh-cta-button:active,
  .rh-hggsp-cta-final .rh-cta-button:focus{
    width:100% !important;
    max-width:100% !important;

    height:auto !important;
    min-height:54px !important;

    padding:14px 18px 15px !important;
    border-radius:18px !important;

    font-size:.92rem !important;
    line-height:1.18 !important;
    text-align:center !important;
    white-space:normal !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:15px !important;
  }

  .rh-hggsp-cta-final .rh-cta-safe{
    width:100% !important;
    max-width:360px !important;
    margin:0 auto !important;

    font-size:.88rem !important;
    line-height:1.35 !important;
    text-align:center !important;
  }
}

/* ========================================================= */
/* CORRECTION FORTE : COULEURS TEXTES CTA HGGSP */
/* À coller tout en bas du CSS */
/* ========================================================= */

/* Texte général des CTA */
.rh-hggsp-cta-final,
.rh-hggsp-cta-final .rh-cta-left,
.rh-hggsp-cta-final .rh-cta-card,
.rh-hggsp-cta-final .rh-cta-bottom{
  color:#ffffff !important;
}

/* Titre principal : partie normale */
.rh-hggsp-cta-final .rh-cta-left h3,
.rh-hggsp-cta-final h3{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:0 0 22px rgba(255,255,255,.10) !important;
}

/* Mots en rose dans les titres */
.rh-hggsp-cta-final .rh-cta-left h3 span,
.rh-hggsp-cta-final h3 span{
  color:#ff4fc3 !important;
  -webkit-text-fill-color:#ff4fc3 !important;
  text-shadow:
    0 0 18px rgba(255,79,195,.42),
    0 0 34px rgba(255,79,195,.20) !important;
}

/* Paragraphes du haut */
.rh-hggsp-cta-final .rh-cta-left p{
  color:#dbeafe !important;
  -webkit-text-fill-color:#dbeafe !important;
  opacity:1 !important;
  font-weight:600 !important;
}

/* Titres des cartes */
.rh-hggsp-cta-final .rh-cta-card strong{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  font-weight:950 !important;
  text-shadow:0 0 14px rgba(255,255,255,.10) !important;
}

/* Textes des cartes */
.rh-hggsp-cta-final .rh-cta-card p,
.rh-hggsp-cta-final .rh-cta-card{
  color:#dce8ff !important;
  -webkit-text-fill-color:#dce8ff !important;
  opacity:1 !important;
  font-weight:600 !important;
}

/* Pour les textes bruts dans les cartes du premier CTA */
.rh-hggsp-cta-final .rh-cta-card{
  line-height:1.55 !important;
}

/* Badge */
.rh-hggsp-cta-final .rh-cta-badge{
  color:#ffd84d !important;
  -webkit-text-fill-color:#ffd84d !important;
  background:rgba(255,255,255,.13) !important;
  border:1px solid rgba(255,255,255,.20) !important;
}

/* Prix */
.rh-hggsp-cta-final .rh-cta-price-label{
  color:#ff70d2 !important;
  -webkit-text-fill-color:#ff70d2 !important;
}

.rh-hggsp-cta-final .rh-cta-price-line strong{
  color:#ffd84d !important;
  -webkit-text-fill-color:#ffd84d !important;
  text-shadow:
    0 0 18px rgba(255,216,77,.24),
    0 6px 20px rgba(0,0,0,.34) !important;
}

.rh-hggsp-cta-final .rh-cta-price-line span{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:.92 !important;
  text-decoration-color:#ff9d00 !important;
}

/* Date / offre */
.rh-hggsp-cta-final .rh-cta-date{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  font-weight:950 !important;
}

/* Texte sécurité sous bouton */
.rh-hggsp-cta-final .rh-cta-safe{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  font-weight:900 !important;
  text-shadow:0 0 12px rgba(0,0,0,.18) !important;
}

/* Cartes : un peu plus contrastées */
.rh-hggsp-cta-final .rh-cta-card{
  background:
    linear-gradient(135deg, rgba(4,10,32,.98), rgba(9,17,52,.96)) !important;
  border:1px solid rgba(255,255,255,.16) !important;
}

/* Fond du bas : plus lisible */
.rh-hggsp-cta-final .rh-cta-bottom{
  background:rgba(4,10,32,.62) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

/* Le bouton reste comme demandé */
.rh-hggsp-cta-final .rh-cta-button,
.rh-hggsp-cta-final .rh-cta-button:link,
.rh-hggsp-cta-final .rh-cta-button:visited,
.rh-hggsp-cta-final .rh-cta-button:hover,
.rh-hggsp-cta-final .rh-cta-button:active,
.rh-hggsp-cta-final .rh-cta-button:focus{
  gap:15px !important;
  padding:0 30px 1px !important;
}

/* ========================================================= */
/* FORMULAIRE VISIBLE HGGSP 2027 */
/* ========================================================= */

.rh-hggsp-inline-lead,
.rh-hggsp-inline-lead *{
  box-sizing:border-box !important;
}

.rh-hggsp-inline-lead{
  position:relative !important;
  overflow:hidden !important;
  margin:42px 0 52px !important;
  padding:32px !important;
  border-radius:30px !important;

  background:
    radial-gradient(circle at 8% 0%, rgba(0,169,255,.30), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(255,63,180,.30), transparent 36%),
    radial-gradient(circle at 92% 100%, rgba(255,138,0,.26), transparent 38%),
    linear-gradient(135deg,#061326 0%,#071833 46%,#170b36 74%,#34152c 100%) !important;

  border:1px solid rgba(255,255,255,.15) !important;
  box-shadow:
    0 24px 58px rgba(3,10,30,.38),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-bg{
  position:absolute !important;
  inset:0 !important;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) !important;
  background-size:44px 44px !important;
  opacity:.16 !important;
  pointer-events:none !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-content{
  position:relative !important;
  z-index:2 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 390px !important;
  gap:32px !important;
  align-items:center !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-badge{
  display:inline-flex !important;
  margin-bottom:18px !important;
  padding:9px 17px !important;
  border-radius:999px !important;

  background:rgba(255,255,255,.13) !important;
  border:1px solid rgba(255,255,255,.20) !important;

  color:#ffd84d !important;
  -webkit-text-fill-color:#ffd84d !important;
  font-size:.95rem !important;
  line-height:1 !important;
  font-weight:950 !important;
}

.rh-hggsp-inline-lead h3{
  max-width:820px !important;
  margin:0 0 15px !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:2.18rem !important;
  line-height:1.05 !important;
  font-weight:950 !important;
  letter-spacing:-.04em !important;
}

.rh-hggsp-inline-lead h3 span{
  color:#ff4fc3 !important;
  -webkit-text-fill-color:#ff4fc3 !important;
  text-shadow:
    0 0 18px rgba(255,79,195,.42),
    0 0 34px rgba(255,79,195,.20) !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-left p{
  max-width:760px !important;
  margin:0 0 18px !important;

  color:#dbeafe !important;
  -webkit-text-fill-color:#dbeafe !important;
  font-size:1.06rem !important;
  line-height:1.65 !important;
  font-weight:650 !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px 14px !important;
  margin:22px 0 0 !important;
  padding:0 !important;
  list-style:none !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-list li{
  padding:13px 14px !important;
  border-radius:16px !important;

  background:rgba(4,10,32,.68) !important;
  border:1px solid rgba(255,255,255,.12) !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:.95rem !important;
  line-height:1.35 !important;
  font-weight:850 !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-form-box{
  padding:25px !important;
  border-radius:26px !important;

  background:
    radial-gradient(circle at top right, rgba(255,164,40,.20), transparent 48%),
    linear-gradient(135deg,rgba(255,72,170,.30),rgba(255,255,255,.085)) !important;

  border:1px solid rgba(255,110,200,.40) !important;
  box-shadow:
    0 20px 42px rgba(255,63,180,.15),
    inset 0 1px 0 rgba(255,255,255,.12) !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-form-title{
  margin-bottom:8px !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:1.42rem !important;
  line-height:1.15 !important;
  font-weight:950 !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-form-subtitle{
  margin:0 0 18px !important;

  color:#dbeafe !important;
  -webkit-text-fill-color:#dbeafe !important;
  font-size:.98rem !important;
  line-height:1.48 !important;
  font-weight:650 !important;
}

.rh-hggsp-inline-form{
  margin:0 !important;
}

.rh-hggsp-inline-form .rh-inline-field{
  margin-bottom:14px !important;
}

.rh-hggsp-inline-form label{
  display:block !important;
  margin-bottom:7px !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  font-size:.94rem !important;
  line-height:1.2 !important;
  font-weight:850 !important;
}

.rh-hggsp-inline-form input{
  width:100% !important;
  height:54px !important;
  padding:0 16px !important;
  border-radius:16px !important;

  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(255,255,255,.35) !important;

  color:#071326 !important;
  -webkit-text-fill-color:#071326 !important;
  font-size:1rem !important;
  line-height:1 !important;
  font-weight:700 !important;
  outline:none !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 10px 22px rgba(0,0,0,.14) !important;
}

.rh-hggsp-inline-form input::placeholder{
  color:#64748b !important;
  -webkit-text-fill-color:#64748b !important;
}

.rh-hggsp-inline-form input:focus{
  border-color:#ffd84d !important;
  box-shadow:
    0 0 0 3px rgba(255,216,77,.28),
    0 10px 22px rgba(0,0,0,.16) !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-button{
  width:100% !important;
  min-height:58px !important;
  padding:0 24px 1px !important;
  border-radius:18px !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:15px !important;

  background:linear-gradient(90deg,#ff49b8 0%,#ff5e7a 52%,#ff9800 100%) !important;
  border:1px solid rgba(255,255,255,.18) !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;

  font-size:1rem !important;
  line-height:1 !important;
  font-weight:950 !important;
  text-align:center !important;
  cursor:pointer !important;

  box-shadow:
    0 18px 34px rgba(255,90,130,.32),
    0 0 24px rgba(255,90,180,.18) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-button:hover{
  transform:translateY(-2px) !important;
  filter:brightness(1.07) !important;
  box-shadow:
    0 22px 42px rgba(255,90,130,.42),
    0 0 30px rgba(255,90,180,.22) !important;
}

.rh-hggsp-inline-lead .rh-inline-lead-safe{
  margin-top:13px !important;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:.88 !important;
  font-size:.88rem !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  text-align:center !important;
}

.rh-hggsp-inline-lead .rh-inline-success{
  margin-top:16px !important;
  padding:14px 16px !important;
  border-radius:16px !important;

  background:rgba(22,163,74,.18) !important;
  border:1px solid rgba(134,239,172,.38) !important;

  color:#dcfce7 !important;
  -webkit-text-fill-color:#dcfce7 !important;
  font-size:.95rem !important;
  line-height:1.45 !important;
  font-weight:850 !important;
}

@media(max-width:980px){
  .rh-hggsp-inline-lead .rh-inline-lead-content{
    grid-template-columns:1fr !important;
  }

  .rh-hggsp-inline-lead .rh-inline-lead-form-box{
    max-width:560px !important;
  }
}

@media(max-width:640px){
  .rh-hggsp-inline-lead{
    padding:24px 18px !important;
    border-radius:25px !important;
  }

  .rh-hggsp-inline-lead h3{
    font-size:1.72rem !important;
  }

  .rh-hggsp-inline-lead .rh-inline-lead-left p{
    font-size:1rem !important;
  }

  .rh-hggsp-inline-lead .rh-inline-lead-list{
    grid-template-columns:1fr !important;
  }

  .rh-hggsp-inline-lead .rh-inline-lead-form-box{
    padding:20px !important;
  }

  .rh-hggsp-inline-lead .rh-inline-lead-button{
    height:auto !important;
    min-height:54px !important;
    padding:14px 18px 10px !important;
    line-height:1.18 !important;
    white-space:normal !important;
  }
}

.rh-related-box{
  margin:28px 0 34px;
  padding:22px 24px;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%);
  border:1px solid rgba(30,80,160,.14);
  box-shadow:0 14px 34px rgba(15,35,75,.08);
}

.rh-related-box strong{
  display:block;
  margin-bottom:12px;
  font-size:1.05rem;
  color:#10203f;
}

.rh-related-box ul{
  margin:0;
  padding-left:20px;
}

.rh-related-box li{
  margin:7px 0;
}

.rh-related-box a{
  font-weight:700;
  text-decoration:none;
}


@media (max-width:640px) {
  .rh-hggsp-cta-final { padding:22px !important; border-radius:24px !important; }
  .rh-hggsp-inline-lead { padding:22px !important; }
}


/* =========================================================
   CORRECTIONS PAGE STATIQUE HGGSP 2027
   Breadcrumb + Quiz + Thèmes
   ========================================================= */

.rh-blog-content .breadcrumbs{
  width:100%;
  margin:0 0 26px;
  padding:0;
  background:transparent;
}

.rh-blog-content .breadcrumbs-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.rh-blog-content .breadcrumbs-item{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:0;
  color:#64748b;
  font-size:.92rem;
  font-weight:800;
  line-height:1.2;
}

.rh-blog-content .breadcrumbs-item::marker{content:"";}

.rh-blog-content .breadcrumbs-item:not(:last-child)::after{
  content:"›";
  margin-left:8px;
  color:#94a3b8;
  font-weight:900;
}

.rh-blog-content .breadcrumbs-item a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  color:#1d4ed8;
  background:rgba(37,99,235,.08);
  border:1px solid rgba(37,99,235,.14);
  text-decoration:none;
  font-weight:900;
  box-shadow:none;
}

.rh-blog-content .breadcrumbs-item a:hover{
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  border-color:transparent;
}

.rh-blog-content .breadcrumbs-item.active{
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  color:#334155;
  background:rgba(15,23,42,.06);
  border:1px solid rgba(15,23,42,.08);
  font-weight:900;
}

.rh-theme-section .rh-theme-intro{
  margin-bottom:18px;
}

.rh-theme-alert{
  margin:20px 0 24px;
  padding:18px 20px;
  border-radius:20px;
  color:#7c2d12;
  background:linear-gradient(135deg,rgba(254,243,199,.92),rgba(255,247,237,.92));
  border:1px solid rgba(245,158,11,.28);
  font-weight:760;
}

.rh-theme-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:24px;
}

.rh-theme-card{
  position:relative;
  overflow:hidden;
  padding:24px;
  border-radius:24px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.rh-theme-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:7px;
  background:linear-gradient(180deg,#2563eb,#7c3aed,#f59e0b);
}

.rh-theme-card h3{
  margin:0 0 12px !important;
  color:#0f172a;
  font-size:1.38rem;
  line-height:1.15;
  letter-spacing:-.025em;
}

.rh-theme-card p{
  margin:0 0 14px;
}

.rh-theme-card ul{
  margin:12px 0 18px;
  padding-left:20px;
}

.rh-theme-card li{
  margin:7px 0;
}

.rh-theme-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:14px 0 18px;
}

.rh-theme-tags span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  color:#172554;
  background:rgba(37,99,235,.08);
  border:1px solid rgba(37,99,235,.14);
  font-size:.86rem;
  font-weight:850;
}

.rh-theme-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.rh-theme-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:950;
  line-height:1.15;
}

.rh-theme-actions a:first-child{
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  box-shadow:0 12px 24px rgba(37,99,235,.22);
}

.rh-theme-actions a:not(:first-child){
  color:#1d4ed8;
  background:rgba(37,99,235,.08);
  border:1px solid rgba(37,99,235,.16);
}

.rh-quiz-box{
  position:relative;
  overflow:hidden;
  margin:34px 0;
  padding:clamp(22px,4vw,38px);
  border-radius:30px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 22px 55px rgba(15,23,42,.10);
  backdrop-filter:blur(18px);
}

.rh-quiz-box::before{
  content:"";
  display:block;
  width:76px;
  height:6px;
  margin:0 0 18px;
  border-radius:999px;
  background:linear-gradient(90deg,#2563eb,#7c3aed,#f59e0b);
}

.rh-quiz-box h2{
  margin:0 0 22px;
  color:#0f172a;
  font-size:clamp(1.55rem,3vw,2.25rem);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:950;
}

.rh-quiz-box form{
  display:grid;
  gap:14px;
}

.rh-quiz-box .question{
  display:grid;
  gap:10px;
  margin:0;
  padding:18px;
  border-radius:20px;
  background:rgba(248,250,252,.92);
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}

.rh-quiz-box .question strong{
  display:block;
  margin:0 0 2px;
  color:#0f172a;
  font-size:1.02rem;
  line-height:1.35;
  font-weight:950;
}

.rh-quiz-box label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  width:100%;
  margin:0;
  padding:11px 12px;
  border-radius:15px;
  color:#334155;
  background:#fff;
  border:1px solid rgba(203,213,225,.82);
  font-size:1rem;
  line-height:1.35;
  cursor:pointer;
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}

.rh-quiz-box label:hover{
  transform:translateY(-1px);
  border-color:rgba(37,99,235,.38);
  background:#f8fbff;
}

.rh-quiz-box input[type="radio"]{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin:2px 0 0;
  accent-color:#2563eb;
}

.rh-quiz-box label:has(input[type="radio"]:checked){
  color:#172554;
  background:rgba(37,99,235,.09);
  border-color:rgba(37,99,235,.38);
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.10);
}

.rh-quiz-box .quiz-submit,
.rh-quiz-box .quiz-reset{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  min-height:48px;
  margin-top:12px;
  padding:13px 22px;
  border:0;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  font-weight:950;
  font-size:1rem;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(37,99,235,.24);
}

.rh-quiz-box .quiz-reset{
  background:linear-gradient(135deg,#0f172a,#334155);
}

.rh-quiz-box .quiz-submit:hover,
.rh-quiz-box .quiz-reset:hover{
  transform:translateY(-1px);
}

.rh-quiz-box .quiz-result{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  color:#0f172a;
  background:rgba(16,185,129,.10);
  border:1px solid rgba(16,185,129,.25);
  font-weight:900;
}

.rh-quiz-box .quiz-result:empty{
  display:none;
}

@media (min-width:760px){
  .rh-theme-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px){
  .rh-blog-content .breadcrumbs-list{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
  }

  .rh-blog-content .breadcrumbs-list::-webkit-scrollbar{display:none;}

  .rh-blog-content .breadcrumbs-item{
    white-space:nowrap;
    font-size:.82rem;
  }

  .rh-blog-content .breadcrumbs-item a,
  .rh-blog-content .breadcrumbs-item.active{
    min-height:32px;
    padding:6px 9px;
  }

  .rh-theme-card{
    padding:20px;
  }

  .rh-theme-actions a{
    width:100%;
  }

  .rh-quiz-box{
    border-radius:24px;
  }

  .rh-quiz-box .question{
    padding:14px;
    border-radius:18px;
  }

  .rh-quiz-box label{
    padding:10px 11px;
    font-size:.96rem;
  }
}

/* =========================================================
   YOUTUBE FACADE PERFORMANCE
   ========================================================= */

.rh-youtube-facade {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 22px 0;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}

.rh-youtube-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #020617;
  cursor: pointer;
}

.rh-youtube-button img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .88;
  transition: transform .22s ease, opacity .22s ease;
}

.rh-youtube-button:hover img {
  transform: scale(1.015);
  opacity: 1;
}

.rh-youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
  font-size: 2rem;
  line-height: 1;
}

.rh-youtube-facade iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* =========================================================
   LIENS TEXTE UNIVERSELS
   Les liens dans les paragraphes/listes restent des liens,
   pas des boutons.
   ========================================================= */

.rh-blog-content p a:not(.rh-action-button):not(.rh-cta-button):not(.rh-main-menu-cta):not(.rh-related-card),
.rh-blog-content li a:not(.rh-action-button):not(.rh-cta-button):not(.rh-main-menu-cta):not(.rh-related-card),
.rh-blog-content figcaption a:not(.rh-action-button):not(.rh-cta-button):not(.rh-main-menu-cta):not(.rh-related-card){
  display:inline !important;
  width:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;

  color:#1d4ed8 !important;
  -webkit-text-fill-color:#1d4ed8 !important;

  font-size:inherit !important;
  font-weight:850 !important;
  line-height:inherit !important;
  text-decoration:underline !important;
  text-decoration-thickness:2px !important;
  text-underline-offset:4px !important;

  transform:none !important;
}

.rh-blog-content p a:not(.rh-action-button):not(.rh-cta-button):not(.rh-main-menu-cta):not(.rh-related-card):hover,
.rh-blog-content li a:not(.rh-action-button):not(.rh-cta-button):not(.rh-main-menu-cta):not(.rh-related-card):hover,
.rh-blog-content figcaption a:not(.rh-action-button):not(.rh-cta-button):not(.rh-main-menu-cta):not(.rh-related-card):hover{
  color:#7c3aed !important;
  -webkit-text-fill-color:#7c3aed !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  transform:none !important;
}

/* =========================================================
   BOUTON D'ACTION UNIVERSEL
   À utiliser seulement quand on veut vraiment un bouton.
   ========================================================= */

.rh-blog-content a.rh-action-button,
.rh-blog-content .rh-action-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;

  width:auto !important;
  min-height:44px !important;
  margin:14px 0 0 !important;
  padding:12px 18px !important;

  border-radius:999px !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  background:linear-gradient(135deg,#2563eb,#7c3aed) !important;
  border:0 !important;
  box-shadow:0 14px 28px rgba(37,99,235,.22) !important;

  font-weight:950 !important;
  line-height:1.15 !important;
  text-decoration:none !important;

  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.rh-blog-content a.rh-action-button:hover,
.rh-blog-content .rh-action-button:hover{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  transform:translateY(-2px) !important;
  filter:brightness(1.06) !important;
  box-shadow:0 18px 34px rgba(37,99,235,.28) !important;
}

/* =========================================================
   QUIZ STATIQUE UNIVERSEL
   Supprime les doubles barres / effets décoratifs bizarres.
   ========================================================= */

.rh-quiz-box::before{
  content:none !important;
  display:none !important;
}

.rh-quiz-box{
  overflow:hidden !important;
}

.rh-quiz-box h2::before{
  content:"" !important;
  display:block !important;
  width:76px !important;
  height:6px !important;
  margin:0 0 18px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,#2563eb,#7c3aed,#f59e0b) !important;
}

.rh-quiz-box .question,
.rh-quiz-box .rh-question{
  position:relative !important;
  overflow:hidden !important;
  margin:0 0 14px !important;
  padding:18px !important;
  border-radius:20px !important;
  background:#ffffff !important;
  border:1px solid rgba(226,232,240,.95) !important;
  box-shadow:0 10px 24px rgba(15,23,42,.045) !important;
}

.rh-quiz-box .question::before,
.rh-quiz-box .rh-question::before{
  content:none !important;
  display:none !important;
}

.rh-quiz-box .question strong,
.rh-quiz-box .rh-question strong{
  display:block !important;
  margin:0 0 10px !important;
  color:#0f172a !important;
  font-weight:950 !important;
}

.rh-quiz-box label{
  display:flex !important;
  align-items:flex-start !important;
  gap:10px !important;
  width:100% !important;
  margin:8px 0 !important;
  padding:11px 12px !important;
  border-radius:15px !important;
  color:#334155 !important;
  background:#ffffff !important;
  border:1px solid rgba(203,213,225,.82) !important;
  box-shadow:none !important;
  cursor:pointer !important;
}

.rh-quiz-box label:hover{
  background:#f8fbff !important;
  border-color:rgba(37,99,235,.38) !important;
  transform:none !important;
}

.rh-quiz-box input[type="radio"]{
  flex:0 0 auto !important;
  width:18px !important;
  height:18px !important;
  margin:2px 0 0 !important;
  accent-color:#2563eb !important;
}

/* =========================================================
   SMART POPUP REVISERHISTOIRE
   Popup Systeme.io multi-niveaux : Brevet / Bac / HGGSP
   Fichier conseillé : /assets/css/rh-smart-popup.css
   ========================================================= */

/* Overlay principal */
#smart-popup-overlay {
  --rh-popup-indigo-50: #eef2ff;
  --rh-popup-indigo-100: #e0e7ff;
  --rh-popup-indigo-500: #6366f1;
  --rh-popup-indigo-600: #4f46e5;
  --rh-popup-indigo-700: #4338ca;

  --rh-popup-blue-50: #eff6ff;
  --rh-popup-blue-100: #dbeafe;

  --rh-popup-purple-50: #faf5ff;
  --rh-popup-purple-100: #f3e8ff;

  --rh-popup-gray-200: #e5e7eb;
  --rh-popup-gray-300: #d1d5db;
  --rh-popup-gray-400: #9ca3af;
  --rh-popup-gray-500: #6b7280;
  --rh-popup-gray-600: #4b5563;
  --rh-popup-gray-700: #374151;
  --rh-popup-gray-800: #1f2937;
  --rh-popup-gray-900: #111827;

  --rh-popup-green-100: #dcfce7;
  --rh-popup-green-600: #16a34a;

  --rh-popup-yellow-50: #fefce8;
  --rh-popup-yellow-200: #fde68a;
  --rh-popup-yellow-800: #854d0e;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Box sizing limité au popup */
#smart-popup-overlay,
#smart-popup-overlay * {
  box-sizing: border-box;
}

/* États de visibilité de l’overlay */
#smart-popup-overlay.is-hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#smart-popup-overlay.is-visible {
  display: flex !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* États internes du popup */
#smart-popup-overlay .is-hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

#smart-popup-overlay .is-visible {
  display: block !important;
  opacity: 1;
  pointer-events: auto;
}

/* Conteneur principal */
#smart-popup-overlay .popup-content {
  background: #ffffff;
  width: 100%;
  max-width: 64rem;
  max-height: calc(100vh - 2rem);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  display: grid;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Colonne visuelle */
#smart-popup-overlay .col-visual {
  background-color: var(--rh-popup-indigo-50);
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

/* Cercles décoratifs */
#smart-popup-overlay .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(40px);
  opacity: 0.7;
  animation: rh-popup-blob 7s infinite;
}

#smart-popup-overlay .blob-1 {
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background-color: var(--rh-popup-indigo-100);
}

#smart-popup-overlay .blob-2 {
  right: 0;
  bottom: 0;
  width: 16rem;
  height: 16rem;
  background-color: var(--rh-popup-purple-100);
  animation-delay: 2s;
}

@keyframes rh-popup-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Image d’aperçu */
#smart-popup-overlay #preview-image {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 320px;
  height: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  border: 4px solid #ffffff;
  transform: rotate(-3deg);
  transition: opacity 0.3s ease-in-out, transform 0.5s ease;
}

#smart-popup-overlay #preview-image:hover {
  transform: rotate(0deg);
}

/* Colonne contenu */
#smart-popup-overlay .col-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 550px;
  padding: 1.5rem;
  overflow-y: auto;
}

/* Bouton fermer */
#smart-popup-overlay .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0.5rem;
  border: 0;
  border-radius: 999px;
  color: var(--rh-popup-gray-400);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

#smart-popup-overlay .btn-close:hover {
  color: var(--rh-popup-gray-600);
  background-color: rgba(15, 23, 42, 0.05);
}

#smart-popup-overlay .icon-close {
  width: 1.5rem;
  height: 1.5rem;
}

/* Badge */
#smart-popup-overlay .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--rh-popup-indigo-100);
  color: var(--rh-popup-indigo-700);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Titres et textes */
#smart-popup-overlay .title-main {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--rh-popup-gray-900);
  line-height: 1.25;
  margin: 0;
}

#smart-popup-overlay .text-muted {
  color: var(--rh-popup-gray-500);
  margin-top: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Grille des options */
#smart-popup-overlay .options-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Carte option */
#smart-popup-overlay .option-card {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--rh-popup-gray-200);
  border-radius: 0.75rem;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#smart-popup-overlay .option-card:hover {
  border-color: var(--rh-popup-indigo-600);
  background-color: var(--rh-popup-indigo-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Icônes des cartes */
#smart-popup-overlay .icon-box {
  padding: 0.8rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
  transition: background-color 0.2s ease;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

#smart-popup-overlay .bg-blue {
  background-color: var(--rh-popup-blue-50);
}

#smart-popup-overlay .option-card:hover .bg-blue {
  background-color: var(--rh-popup-blue-100);
}

#smart-popup-overlay .bg-purple {
  background-color: var(--rh-popup-purple-50);
}

#smart-popup-overlay .option-card:hover .bg-purple {
  background-color: var(--rh-popup-purple-100);
}

#smart-popup-overlay .bg-indigo {
  background-color: var(--rh-popup-indigo-50);
}

#smart-popup-overlay .option-card:hover .bg-indigo {
  background-color: var(--rh-popup-indigo-100);
}

/* Texte dans les cartes */
#smart-popup-overlay .card-title {
  font-weight: 700;
  color: var(--rh-popup-gray-800);
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.3;
}

#smart-popup-overlay .card-desc {
  font-size: 1rem;
  color: var(--rh-popup-gray-500);
  margin: 0.15rem 0 0;
  line-height: 1.4;
}

/* Flèche */
#smart-popup-overlay .arrow-icon {
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  color: var(--rh-popup-gray-300);
  flex: 0 0 auto;
  transition: color 0.2s ease, transform 0.2s ease;
}

#smart-popup-overlay .option-card:hover .arrow-icon {
  color: var(--rh-popup-indigo-500);
  transform: translateX(2px);
}

/* Bouton retour */
#smart-popup-overlay .btn-back {
  background: transparent;
  border: 0;
  color: var(--rh-popup-gray-500);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

#smart-popup-overlay .btn-back:hover {
  color: var(--rh-popup-gray-800);
}

/* Formulaire */
#smart-popup-overlay .form-group {
  margin-bottom: 1.5rem;
}

#smart-popup-overlay .form-label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rh-popup-gray-700);
  margin-bottom: 0.5rem;
}

#smart-popup-overlay .form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-popup-gray-200);
  background-color: #f9fafb;
  color: var(--rh-popup-gray-900);
  padding: 15px;
  font-size: 1.2rem;
  line-height: 1.3;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
  appearance: none;
}

#smart-popup-overlay .form-input::placeholder {
  color: var(--rh-popup-gray-400);
}

#smart-popup-overlay .form-input:focus {
  background-color: #ffffff;
  border-color: var(--rh-popup-indigo-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

/* Bouton principal */
#smart-popup-overlay .btn-primary {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: var(--rh-popup-indigo-600);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.5rem;
  border: 0;
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.25);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1.2;
}

#smart-popup-overlay .btn-primary:hover {
  background-color: var(--rh-popup-indigo-700);
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
}

#smart-popup-overlay .btn-primary:active {
  transform: translateY(0);
}

/* Succès */
#smart-popup-overlay .success-icon-wrapper {
  margin: 0 auto 2rem;
  height: 5rem;
  width: 5rem;
  border-radius: 9999px;
  background-color: var(--rh-popup-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rh-popup-bounce 1s infinite;
}

#smart-popup-overlay .icon-success {
  height: 2.5rem;
  width: 2.5rem;
  color: var(--rh-popup-green-600);
}

/* Notice */
#smart-popup-overlay .notice-box {
  background-color: var(--rh-popup-yellow-50);
  border: 1px solid var(--rh-popup-yellow-200);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

#smart-popup-overlay .notice-text {
  color: var(--rh-popup-yellow-800);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Lien fermer */
#smart-popup-overlay .link-close {
  color: var(--rh-popup-gray-500);
  text-decoration: underline;
  font-weight: 500;
  font-size: 1.1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

#smart-popup-overlay .link-close:hover {
  color: var(--rh-popup-gray-800);
}

@keyframes rh-popup-bounce {
  0%,
  100% {
    transform: translateY(-18%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Desktop */
@media (min-width: 768px) {
  #smart-popup-overlay .popup-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #smart-popup-overlay .col-visual {
    display: flex !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  #smart-popup-overlay {
    align-items: flex-end;
    padding: 0.75rem;
  }

  #smart-popup-overlay .popup-content {
    max-height: calc(100vh - 1.5rem);
    border-radius: 1rem;
  }

  #smart-popup-overlay .col-content {
    min-height: auto;
    padding: 1.35rem;
    padding-top: 3.5rem;
  }

  #smart-popup-overlay .title-main {
    font-size: 1.55rem;
  }

  #smart-popup-overlay .text-muted {
    font-size: 1rem;
  }

  #smart-popup-overlay .options-grid {
    gap: 0.8rem;
    margin-top: 1.4rem;
  }

  #smart-popup-overlay .option-card {
    padding: 0.85rem;
  }

  #smart-popup-overlay .icon-box {
    padding: 0.65rem;
    margin-right: 0.75rem;
  }

  #smart-popup-overlay .card-title {
    font-size: 1rem;
  }

  #smart-popup-overlay .card-desc {
    font-size: 0.92rem;
  }

  #smart-popup-overlay .arrow-icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  #smart-popup-overlay .form-input {
    font-size: 1rem;
    padding: 13px 14px;
  }

  #smart-popup-overlay .btn-primary {
    font-size: 1rem;
    padding: 0.95rem 1.2rem;
  }
}

/* Très petits écrans */
@media (max-width: 380px) {
  #smart-popup-overlay {
    padding: 0.5rem;
  }

  #smart-popup-overlay .col-content {
    padding: 1.1rem;
    padding-top: 3.25rem;
  }

  #smart-popup-overlay .title-main {
    font-size: 1.4rem;
  }

  #smart-popup-overlay .option-card {
    padding: 0.75rem;
  }
}

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  #smart-popup-overlay,
  #smart-popup-overlay *,
  #smart-popup-overlay *::before,
  #smart-popup-overlay *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   PAGE INDEX BLOG : CLUSTERS / FILTRES
   ========================================================= */

.rh-blog-index-figure {
  margin: 0 0 30px;
}

.rh-blog-index-figure img {
  display: block;
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.rh-blog-index-figure figcaption {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--rh-muted);
  font-size: 0.92rem;
  text-align: center;
}

.rh-index-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.rh-index-action-card {
  display: block;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,250,252,0.82));
  border: 1px solid rgba(37, 99, 235, 0.12);
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rh-index-action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

.rh-index-action-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.10);
  font-size: 0.8rem;
  font-weight: 950;
}

.rh-index-action-card strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.3;
}

.rh-index-tools {
  margin: 18px 0 8px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.rh-index-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.rh-index-filter-btn {
  border: 0;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.rh-index-filter-btn:hover,
.rh-index-filter-btn.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rh-blue), var(--rh-purple));
  transform: translateY(-1px);
}

.rh-index-search {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.rh-index-search:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.rh-index-count {
  margin: 12px 0 0 !important;
  color: #64748b !important;
  font-size: 0.95rem !important;
  font-weight: 800;
}

.rh-blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.rh-blog-index-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88));
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rh-blog-index-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

.rh-index-card-badge {
  display: inline-flex;
  width: max-content;
  margin: 0 0 10px !important;
  padding: 5px 10px;
  border-radius: 999px;
  color: #1d4ed8 !important;
  background: rgba(37, 99, 235, 0.10);
  font-size: 0.78rem !important;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rh-blog-index-card h3 {
  margin: 0 0 12px !important;
  color: #172554;
  font-size: 1.14rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em;
}

.rh-main-course {
  display: block;
  margin: 0 0 12px;
  padding: 12px 13px;
  border-radius: 16px;
  color: #020617 !important;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(251, 146, 60, 0.14));
  border: 1px solid rgba(245, 158, 11, 0.18);
  font-weight: 950;
  text-decoration: none !important;
}

.rh-main-course:hover {
  color: #1d4ed8 !important;
}

.rh-main-course-muted {
  color: #334155 !important;
}

.rh-blog-index-card ul {
  margin: 0 !important;
  padding-left: 19px !important;
}

.rh-blog-index-card li {
  margin: 6px 0 !important;
  color: #475569;
  line-height: 1.45;
}

.rh-blog-index-card li a {
  font-weight: 800;
}

.rh-blog-index-card.is-hidden-by-filter {
  display: none !important;
}

.rh-no-result {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #991b1b;
  font-weight: 900;
}

.rh-no-result.is-visible {
  display: block;
}

@media (max-width: 980px) {
  .rh-index-actions,
  .rh-blog-index-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .rh-index-tools {
    padding: 16px;
  }

  .rh-index-filter-btn {
    width: 100%;
    justify-content: center;
  }

  .rh-blog-index-card {
    padding: 18px;
    border-radius: 20px;
  }

  .rh-blog-index-figure img {
    box-shadow: none;
    border-radius: 18px;
  }
}

/* Correction légende image page index blog */
.rh-blog-index-figure figcaption {
  display: block;
  max-width: 860px;
  margin: 14px auto 0;
  padding: 10px 14px;
  border-radius: 14px;
  color: #1e293b !important;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.6;
  text-align: center;
}

/* =========================================================
   PAGE BLOG INDEX : TITRE ANIMÉ SOUS CITATION
   ========================================================= */

.rh-blog-index-title-section {
  margin-bottom: 30px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.rh-blog-index-title-section::before {
  display: none !important;
}

.rh-blog-index-title {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.13);
  overflow: hidden;
}

.rh-blog-index-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.14), transparent 32%, rgba(245, 158, 11, 0.14)),
    repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.03) 0,
      rgba(15, 23, 42, 0.03) 1px,
      transparent 1px,
      transparent 54px
    );
  opacity: 0.7;
  pointer-events: none;
}

.rh-blog-index-title::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 62%),
    radial-gradient(circle, rgba(245, 158, 11, 0.16), transparent 66%);
  pointer-events: none;
}

.rh-blog-index-title .super-h1 {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.rh-blog-index-title .main-line {
  display: block;
  color: #374151;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  animation: rhTitleFadeUp 0.7s ease both;
}

.rh-blog-index-title .secondary-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: clamp(16px, 3vw, 32px);
  row-gap: 4px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 1.2;
  font-weight: 950;
  animation: rhTitleFadeUp 0.8s ease 0.08s both;
}

.rh-blog-index-title .gradient-text {
  display: inline-block;
  background-size: 220% 220%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: rhGradientMove 4.8s ease infinite, rhTitlePop 0.85s ease both;
}

.rh-blog-index-title .gradient-text.college {
  background-image: linear-gradient(135deg, #f97316 0%, #fb923c 28%, #ef4444 58%, #ec4899 100%);
}

.rh-blog-index-title .gradient-text.lycee {
  background-image: linear-gradient(135deg, #14b8a6 0%, #22c55e 45%, #38bdf8 100%);
}

.rh-blog-index-title .ampersand {
  display: inline-block;
  color: #9ca3af;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 700;
  animation: rhAmpersandPulse 2.8s ease-in-out infinite;
}

.rh-blog-index-title .tagline {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 750;
  animation: rhTitleFadeUp 0.9s ease 0.16s both;
}

.rh-blog-index-title .tagline .highlight {
  position: relative;
  display: inline-block;
  color: #1f2937;
  font-weight: 950;
  z-index: 1;
}

.rh-blog-index-title .tagline .highlight::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 0.48em;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.72);
  z-index: -1;
  transform-origin: left center;
  animation: rhHighlightSwipe 1.2s ease 0.55s both;
}

@keyframes rhTitleFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes rhTitlePop {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }

  70% {
    opacity: 1;
    transform: scale(1.025);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rhGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes rhAmpersandPulse {
  0%, 100% {
    opacity: 0.62;
    transform: translateY(0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px) scale(1.06);
  }
}

@keyframes rhHighlightSwipe {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 620px) {
  .rh-blog-index-title {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .rh-blog-index-title .secondary-line {
    display: grid;
    gap: 6px;
  }

  .rh-blog-index-title .ampersand {
    line-height: 0.75;
  }

  .rh-blog-index-title .tagline {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   PHOTO PAGE BLOG INDEX
   ========================================================= */

.rh-photo-section {
  padding: clamp(18px, 3vw, 28px) !important;
}

.rh-photo-figure {
  margin: 0 !important;
}

.rh-photo-figure img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

.rh-photo-figure figcaption {
  max-width: 860px;
  margin: 14px auto 0;
  color: #334155 !important;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 620px) {
  .rh-photo-section {
    padding: 14px !important;
  }

  .rh-photo-figure img {
    border-radius: 18px;
  }

  .rh-photo-figure figcaption {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* =========================================================
   LÉGENDES IMAGES — STYLE PROPRE ET DISCRET
   ========================================================= */

.rh-photo-figure figcaption,
.rh-figure figcaption {
  max-width: 820px;
  margin: 16px auto 0;
  padding: 0 12px;
  color: #64748b !important;
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
}

.rh-photo-figure figcaption::before,
.rh-figure figcaption::before {
  content: "📸 ";
  font-style: normal;
  opacity: 0.85;
}

.rh-photo-figure figcaption strong,
.rh-figure figcaption strong {
  color: #334155;
  font-style: normal;
  font-weight: 850;
}