/* ============================================================
   Cap Numerik : Rubrique « Création de site » + Réalisations
   Feuille SCOPÉE (.rubrique + .rb-*) pour cohabiter sans collision
   avec assets/css/main.css (design V4). Re-skin charte réelle :
   accent orange #f97316, navy #0a1628, Inter + Instrument Serif.
   A11y : texte sur fond orange = #1a1a1a (jamais blanc).
   ============================================================ */

.rubrique {
  /* Tokens dérivés de la charte réelle (main.css :root) */
  --rb-accent: #f97316;          /* orange accent (fonds, puces) */
  --rb-accent-text: #b8420a;     /* orange texte sur fond clair (AA >=5:1) */
  --rb-accent-hover: #ea580c;
  --rb-dark: #0a1628;            /* navy */
  --rb-dark-2: #0f2747;
  --rb-green: #10b981;
  --rb-ink: #0f1a2e;
  --rb-ink-soft: #3a4658;
  --rb-muted: #5e6b7d;
  --rb-line: #e7ebf0;
  --rb-bg: #ffffff;
  --rb-bg-soft: #f5f7fa;
  --rb-card: #ffffff;
  --rb-shadow: 0 10px 30px rgba(10,22,40,.08);
  --rb-shadow-lg: 0 24px 60px rgba(10,22,40,.14);
  --rb-radius: 16px;
  --rb-radius-sm: 10px;
  --rb-maxw: 1140px;
  --rb-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rb-display: "Instrument Serif", Georgia, serif;

  font-family: var(--rb-sans);
  color: var(--rb-ink);
  line-height: 1.6;
  font-size: 17px;
}
.rubrique img { max-width: 100%; height: auto; display: block; }
.rubrique a { color: var(--rb-accent-text); text-decoration: none; }
.rubrique a:hover { text-decoration: none; }

/* Liens de contenu inline : soulignement ANIME (pas de trait par defaut au survol) */
.rb-link { color: var(--rb-accent-text); font-weight: 600; text-decoration: none; position: relative; }
.rb-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.rb-link:hover::after { transform: scaleX(1); }
.rubrique h1, .rubrique h2, .rubrique h3 { color: var(--rb-dark); line-height: 1.2; margin: 0 0 .5em; }
.rubrique h1 { font-family: var(--rb-display); font-weight: 400; font-size: clamp(2.2rem,5vw,3.4rem); letter-spacing: -.01em; }
.rubrique h2 { font-family: var(--rb-display); font-weight: 400; font-size: clamp(1.7rem,3.4vw,2.4rem); letter-spacing: -.01em; }
.rubrique h3 { font-size: 1.2rem; }
.rubrique p { margin: 0 0 1em; }

.rb-container { max-width: var(--rb-maxw); margin: 0 auto; padding: 0 22px; }
.rb-center { text-align: center; }
.rb-center .rb-lead { margin-left: auto; margin-right: auto; }
.rb-eyebrow { display: inline-block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--rb-accent-text); margin-bottom: .6rem; }
.rb-lead { font-size: 1.18rem; color: var(--rb-muted); max-width: 44ch; }

.rb-section { padding: 56px 0; }
.rb-section-soft { background: var(--rb-bg-soft); }
.rb-section-dark { background: var(--rb-dark); color: #c9d4ea; }
.rb-section-dark h2, .rb-section-dark h3 { color: #fff; }

/* Boutons : orange a11y (texte foncé sur orange) */
.rb-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: .15s; }
.rb-btn-primary { background: var(--rb-accent); color: #0a1628; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .15s; }
.rb-btn-primary:hover { background: var(--rb-accent-hover); color: #0a1628; text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(249,115,22,.5); }
/* Contraste CTA : le texte navy doit gagner sur `.rubrique a` (#b8420a) qui, plus specifique,
   rendait le libelle en brun illisible sur orange. navy #0a1628 sur #f97316 ~ 6,5:1 (AA). */
.rubrique a.rb-btn-primary, .rubrique a.rb-btn-primary:hover { color: #0a1628; }
/* Fleche animee dans les CTA (span.arw) */
.rb-btn-primary .arw { display: inline-block; transition: transform .18s; }
.rb-btn-primary:hover .arw { transform: translateX(5px); }
/* Pulsation d'attention, reservee aux CTA maitres (.rb-cta-pulse) */
.rb-cta-pulse { animation: rbPulse 2.6s ease-in-out infinite; }
.rb-cta-pulse:hover { animation: none; }
@keyframes rbPulse { 0%,100% { box-shadow: 0 8px 24px rgba(249,115,22,.38); } 50% { box-shadow: 0 8px 30px rgba(249,115,22,.62); } }
.rb-btn-ghost { background: transparent; color: var(--rb-dark); border-color: var(--rb-line); }
.rb-btn-ghost:hover { border-color: var(--rb-accent); color: var(--rb-accent-text); text-decoration: none; }
.rb-btn-block { display: block; text-align: center; width: 100%; }

.rb-crumb { font-size: .85rem; color: var(--rb-muted); padding: 16px 0 0; }
.rb-crumb a { color: var(--rb-muted); }
.rb-crumb a:hover { color: var(--rb-accent-text); }

.rb-hero { padding: 74px 0 40px; background: radial-gradient(1200px 400px at 80% -10%, rgba(249,115,22,.08), transparent), var(--rb-bg); }
.rb-hero .rb-lead { font-size: 1.28rem; max-width: 52ch; }
.rb-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 6px; }
.rb-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--rb-bg-soft); border: 1px solid var(--rb-line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 600; color: var(--rb-dark); }
.rb-badge b { color: var(--rb-green); }
/* Hero : bande d'arguments affirmee (remplace les petits badges discrets) */
.rb-hero-args { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 30px 0 10px; }
.rb-hero-args > span { display: inline-flex; align-items: center; gap: 10px; font-size: 1.04rem; font-weight: 700; color: var(--rb-dark); background: #fff; border: 1px solid var(--rb-line); border-left: 3px solid var(--rb-accent); border-radius: 12px; padding: 12px 18px; box-shadow: 0 2px 6px rgba(10,22,40,.05); }
.rb-hero-args > span b { color: var(--rb-accent-text); }
.rb-hero-args .rb-arg-ico { font-size: 1.25rem; line-height: 1; }
@media (max-width: 560px) { .rb-hero-args > span { width: 100%; } }

.rb-pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 38px; }
@media(max-width:900px){ .rb-pricing { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.rb-price-card { background: var(--rb-card); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: 30px 26px; box-shadow: var(--rb-shadow); display: flex; flex-direction: column; position: relative; }
.rb-price-card.rb-featured { border: 2px solid var(--rb-accent); box-shadow: var(--rb-shadow-lg); }
.rb-price-tag { position: absolute; top: -13px; left: 26px; background: var(--rb-accent); color: #1a1a1a; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.rb-price-card h3 { font-family: var(--rb-sans); font-weight: 800; font-size: 1.35rem; margin-bottom: 4px; }
.rb-price-card .rb-sub { color: var(--rb-muted); font-size: .95rem; margin-bottom: 18px; min-height: 2.6em; }
.rb-price { font-size: 2.4rem; font-weight: 800; color: var(--rb-dark); letter-spacing: -.02em; }
.rb-price small { font-size: 1rem; font-weight: 600; color: var(--rb-muted); }
.rb-price-note { font-size: .85rem; color: var(--rb-muted); margin: 2px 0 18px; }
.rb-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.rb-features li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px dashed var(--rb-line); font-size: .95rem; }
.rb-features li:last-child { border-bottom: 0; }
.rb-features li::before { content: "\2713"; position: absolute; left: 2px; top: 7px; color: #fff; background: var(--rb-green); width: 18px; height: 18px; border-radius: 50%; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.rb-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 34px; }
@media(max-width:820px){ .rb-options { grid-template-columns: 1fr; } }
.rb-option { background: var(--rb-card); border: 1px solid var(--rb-line); border-radius: var(--rb-radius-sm); padding: 22px; }
.rb-option h3 { font-family: var(--rb-sans); font-weight: 700; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rb-option .rb-opt-price { color: var(--rb-accent-text); font-weight: 800; white-space: nowrap; }
.rb-option.rb-erp { background: #fff7f3; border-color: #f3d6c6; }

.rb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 34px; }
.rb-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 34px; }
@media(max-width:900px){ .rb-grid-2, .rb-grid-3 { grid-template-columns: 1fr; } }
.rb-feature-card { background: var(--rb-card); border: 1px solid var(--rb-line); border-radius: var(--rb-radius-sm); padding: 24px; box-shadow: var(--rb-shadow); }
.rb-feature-card .rb-ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(249,115,22,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.35rem; }
.rb-feature-card h3 { font-family: var(--rb-sans); font-weight: 700; margin-bottom: 6px; }
.rb-feature-card p { color: var(--rb-muted); font-size: .96rem; margin: 0; }

.rb-xp-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 32px; }
@media(max-width:900px){ .rb-xp-cards { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .rb-xp-cards { grid-template-columns: 1fr; } }
.rb-xp-card { display: block; background: var(--rb-card); border: 1px solid var(--rb-line); border-radius: var(--rb-radius-sm); padding: 22px; box-shadow: var(--rb-shadow); color: var(--rb-ink); transition: .15s; text-align: left; }
.rb-xp-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--rb-shadow-lg); border-color: var(--rb-accent); }
.rb-xp-card b { display: block; color: var(--rb-dark); font-size: 1.08rem; margin-bottom: 5px; }
.rb-xp-card span { color: var(--rb-muted); font-size: .92rem; display: block; }
.rb-xp-card .rb-arrow { color: var(--rb-accent-text); font-weight: 700; margin-top: 12px; }

.rb-rec-table { width: 100%; border-collapse: collapse; margin-top: 26px; background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; font-size: .95rem; }
.rb-rec-table th, .rb-rec-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rb-line); }
.rb-rec-table thead th { background: var(--rb-bg-soft); color: var(--rb-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.rb-rec-table tbody tr:last-child td { border-bottom: 0; }
.rb-rec-table td.rb-p { font-weight: 800; color: var(--rb-accent-text); white-space: nowrap; }

.rb-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 34px; }
@media(max-width:900px){ .rb-steps { grid-template-columns: 1fr 1fr; } }
@media(max-width:520px){ .rb-steps { grid-template-columns: 1fr; } }
.rb-step { position: relative; padding: 26px 20px 20px; background: var(--rb-card); border: 1px solid var(--rb-line); border-radius: var(--rb-radius-sm); }
.rb-step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; background: var(--rb-accent); color: #1a1a1a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.rb-step h3 { font-family: var(--rb-sans); font-weight: 700; font-size: 1.05rem; margin: 6px 0 4px; }
.rb-step p { font-size: .92rem; color: var(--rb-muted); margin: 0; }

.rb-faq { max-width: 800px; margin: 30px auto 0; }
.rb-faq details { border: 1px solid var(--rb-line); border-radius: var(--rb-radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.rb-faq summary { cursor: pointer; font-weight: 700; color: var(--rb-dark); padding: 14px 0; list-style: none; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: "+"; float: right; color: var(--rb-accent-text); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.rb-faq details[open] summary::after { content: "\2013"; }
.rb-faq details p { color: var(--rb-muted); margin: 0 0 14px; }

.rb-refs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.rb-ref { display: inline-flex; align-items: center; padding: 12px 22px; border: 1px solid var(--rb-line); border-radius: 12px; background: #fff; font-weight: 700; color: var(--rb-dark); box-shadow: var(--rb-shadow); font-size: 1rem; }
a.rb-ref:hover { border-color: var(--rb-accent); color: var(--rb-accent-text); text-decoration: none; transform: translateY(-2px); transition: .15s; }

.rb-cta-band { background: linear-gradient(135deg, var(--rb-dark), var(--rb-dark-2)); color: #fff; text-align: center; border-radius: var(--rb-radius); padding: 48px 28px; margin: 8px auto; }
.rb-cta-band h2 { color: #fff; }
.rb-cta-band .rb-lead { color: #c9d4ea; margin: 0 auto 22px; }
.rb-cta-band .rb-btn-primary { background: var(--rb-accent); color: #0a1628; }
.rb-cta-band .rb-btn-primary:hover { background: var(--rb-accent-hover); color: #0a1628; }

/* ---------- Études de cas (réalisations) ---------- */
.rb-casemeta { display: flex; flex-wrap: wrap; gap: 0 36px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rb-line); }
.rb-casemeta div { padding: 6px 0; }
.rb-casemeta dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rb-muted); margin-bottom: 2px; }
.rb-casemeta dd { font-weight: 700; color: var(--rb-dark); margin: 0; }
.rb-stats { background: var(--rb-dark); color: #fff; border-radius: var(--rb-radius); padding: 30px 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; margin-top: 14px; }
.rb-stats .rb-v { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.rb-stats .rb-l { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: #9fb0ce; margin-top: 6px; }
@media(max-width:700px){ .rb-stats { grid-template-columns: repeat(2,1fr); } }

/* ===== Hero animé (spec ANIMATIONS-HERO) : scopé .rb-heroband, 100% CSS ===== */
.rb-heroband { position: relative; background: #0a1628; border-radius: 18px; padding: 44px 38px; overflow: hidden; color: #e8eef7; }
.rb-heroband::after { content: ""; position: absolute; top: -120px; right: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(249,115,22,.28), transparent 68%); pointer-events: none; }
.rb-heroband .rb-eyebrow { position: relative; color: #fdba74; }
.rb-heroband h1 { position: relative; color: #fff; margin: .3em 0; }
.rb-heroband h1 .accent { color: #f97316; }
.rb-heroband .rb-lead { position: relative; color: #9fb0ce; max-width: 52ch; margin: 0 0 6px; }
.rb-heroband .rb-args { position: relative; display: grid; grid-template-columns: repeat(var(--rb-n,4), 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 600px) { .rb-heroband .rb-args { grid-template-columns: 1fr 1fr; } }
.rb-heroband .rb-arg { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 18px 15px; opacity: 0; transform: translateY(18px); animation: rbRise .55s cubic-bezier(.2,.7,.3,1) forwards; }
.rb-heroband .rb-arg:nth-child(1) { animation-delay: .10s; }
.rb-heroband .rb-arg:nth-child(2) { animation-delay: .24s; }
.rb-heroband .rb-arg:nth-child(3) { animation-delay: .38s; }
.rb-heroband .rb-arg:nth-child(4) { animation-delay: .52s; }
@keyframes rbRise { to { opacity: 1; transform: none; } }
.rb-heroband .rb-arg b { display: block; color: #fff; font-weight: 700; margin: 12px 0 3px; font-size: .98rem; }
.rb-heroband .rb-arg > span { color: #9fb0ce; font-size: .86rem; }
.rb-heroband .rb-ic { position: relative; width: 44px; height: 44px; }
.rb-heroband .rb-ic svg { width: 44px; height: 44px; display: block; }
.rb-heroband .anim-bar .fill { animation: rbFill .7s ease .5s forwards; }
@keyframes rbFill { to { width: 100%; } }
.rb-heroband .anim-draw path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: rbDraw .7s ease .45s forwards; }
@keyframes rbDraw { to { stroke-dashoffset: 0; } }
.rb-heroband .anim-grow rect { transform: scaleY(0); transform-origin: bottom; animation: rbGrow .5s ease forwards; }
.rb-heroband .anim-grow rect:nth-child(1) { animation-delay: .55s; }
.rb-heroband .anim-grow rect:nth-child(2) { animation-delay: .70s; }
.rb-heroband .anim-grow rect:nth-child(3) { animation-delay: .85s; }
@keyframes rbGrow { to { transform: scaleY(1); } }
.rb-heroband .anim-pop { opacity: 0; transform: scale(.7); transform-origin: center; animation: rbPop .4s cubic-bezier(.2,1.4,.4,1) 1.1s forwards; }
@keyframes rbPop { to { opacity: 1; transform: none; } }

/* Stats études de cas : cascade d'apparition + count-up */
.rb-stats > div { opacity: 0; transform: translateY(16px); animation: rbRise .5s cubic-bezier(.2,.7,.3,1) forwards; }
.rb-stats > div:nth-child(1) { animation-delay: .10s; }
.rb-stats > div:nth-child(2) { animation-delay: .22s; }
.rb-stats > div:nth-child(3) { animation-delay: .34s; }
.rb-stats > div:nth-child(4) { animation-delay: .46s; }
.rb-stats .rb-count { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .rb-heroband .rb-arg, .rb-stats > div { opacity: 1; transform: none; animation: none; }
  .rb-heroband .anim-bar .fill { width: 100%; animation: none; }
  .rb-heroband .anim-draw path { stroke-dashoffset: 0; animation: none; }
  .rb-heroband .anim-grow rect { transform: none; animation: none; }
  .rb-heroband .anim-pop { opacity: 1; transform: none; animation: none; }
}

/* ===== Hero : tuiles d'argument cliquables (affordance) ===== */
.rb-heroband a.rb-arg { text-decoration: none; color: inherit; cursor: pointer; position: relative; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.rb-heroband a.rb-arg:hover { transform: translateY(-3px) !important; border-color: rgba(249,115,22,.55); background: rgba(255,255,255,.075); }
.rb-heroband a.rb-arg::after { content: "\2192"; position: absolute; top: 13px; right: 15px; color: #f97316; font-weight: 700; opacity: 0; transform: translateX(-5px); transition: opacity .18s ease, transform .18s ease; }
.rb-heroband a.rb-arg:hover::after { opacity: 1; transform: none; }
html { scroll-behavior: smooth; }
.rubrique [id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rb-heroband a.rb-arg { transition: none; }
  .rb-heroband a.rb-arg:hover { transform: none !important; }
  .rb-cta-pulse { animation: none; }
  .rb-btn-primary, .rb-btn-primary .arw, .rb-link::after { transition: none; }
}

/* ===== Rapport d'audit : gabarit (= template IA) + filigrane EXEMPLE ===== */
.rb-rapport { position: relative; background: #fff; color: var(--rb-ink); border: 1px solid var(--rb-line); border-radius: 14px; padding: 34px 30px; box-shadow: 0 6px 24px rgba(10,22,40,.06); overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='170'%3E%3Ctext x='6' y='120' transform='rotate(-22 6 120)' fill='%230a1628' fill-opacity='0.045' font-family='Arial,sans-serif' font-size='40' font-weight='700'%3EEXEMPLE%3C/text%3E%3C/svg%3E"); }
.rb-rapport > * { position: relative; }
.rb-rap-eyebrow { color: var(--rb-accent-text); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.rb-rap-title { font-family: var(--rb-display); font-weight: 400; font-size: clamp(1.6rem,3.4vw,2.1rem); line-height: 1.1; margin: .25em 0 .5em; color: var(--rb-dark); }
.rb-rap-verdict { display: inline-flex; align-items: center; gap: 8px; background: rgba(16,185,129,.12); color: #0a7a52; border: 1px solid rgba(16,185,129,.4); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: .95rem; }
.rb-rap-synth { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 14px; margin: 22px 0 8px; }
.rb-rap-kpi { background: var(--rb-bg-soft); border: 1px solid var(--rb-line); border-radius: 12px; padding: 15px 12px; text-align: center; }
.rb-rap-kpi b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--rb-dark); line-height: 1.1; }
.rb-rap-kpi span { font-size: .82rem; color: var(--rb-muted); }
.rb-rap-prio { list-style: none; padding: 0; margin: 14px 0 0; }
.rb-rap-prio li { padding: 8px 0 8px 26px; position: relative; }
.rb-rap-prio li::before { content: counter(list-item); position: absolute; left: 0; top: 7px; width: 18px; height: 18px; background: var(--rb-accent); color: #1a1a1a; border-radius: 50%; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rb-rap-domain { margin-top: 26px; border-top: 1px solid var(--rb-line); padding-top: 18px; }
.rb-rap-domain h3 { font-size: 1.15rem; margin: 0; color: var(--rb-dark); }
.rb-rap-days { color: var(--rb-accent-text); font-weight: 700; font-size: .9rem; }
.rb-rap-item { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--rb-line); }
.rb-rap-item:last-child { border-bottom: 0; }
.rb-rap-txt { flex: 1; font-size: .95rem; }
.rb-rap-txt em { color: var(--rb-muted); font-style: normal; }
.rb-rap-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; white-space: nowrap; padding-top: 2px; }
.rb-rap-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.rb-g-high { color: #c0392b; } .rb-g-high .rb-rap-dot { background: #e74c3c; }
.rb-g-mid  { color: #b26a10; } .rb-g-mid  .rb-rap-dot { background: #f97316; }
.rb-g-low  { color: #0a7a52; } .rb-g-low  .rb-rap-dot { background: #10b981; }
.rb-rap-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .86rem; }
.rb-rap-table th, .rb-rap-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--rb-line); }
.rb-rap-table thead th { background: var(--rb-bg-soft); text-transform: uppercase; font-size: .74rem; letter-spacing: .04em; color: var(--rb-muted); }
.rb-rap-opt { margin-top: 24px; background: #0f2747; color: #c9d4ea; border-radius: 12px; padding: 18px; }
.rb-rap-opt b { color: #fff; }
.rb-rap-total { margin-top: 22px; font-size: 1.05rem; font-weight: 700; color: var(--rb-dark); }
.rb-rap-note { margin-top: 18px; background: var(--rb-bg-soft); border-left: 3px solid var(--rb-accent); border-radius: 10px; padding: 16px; font-size: .92rem; color: var(--rb-ink); }
.rb-rap-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .82rem; color: var(--rb-muted); }
.rb-rap-legend span { display: inline-flex; align-items: center; gap: 6px; }
@media print {
  .rb-noprint, .site-header, header, .site-footer, footer, [id*="rgpd"], .rgpd-banner, .rb-crumb { display: none !important; }
  body, .rubrique { background: #fff !important; }
  .rb-rapport { border: 0; box-shadow: none; border-radius: 0; padding: 0; }
  .rb-rap-domain { break-inside: avoid; }
}
.rb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.rb-chip { background: #fff; border: 1px solid var(--rb-line); border-radius: 8px; padding: 8px 15px; font-weight: 600; color: var(--rb-dark); font-size: .9rem; }
.rb-callout { background: var(--rb-dark); color: #c9d4ea; border-radius: var(--rb-radius); padding: 34px; }
.rb-callout .rb-eyebrow { color: var(--rb-green); }
.rb-callout h3 { color: #fff; margin: 8px 0 12px; }
.rb-callout p { margin: 0; color: #b9c6de; }
.rb-split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
@media(max-width:760px){ .rb-split2 { grid-template-columns: 1fr; } }
.rb-blist { list-style: none; margin: 6px 0 0; padding: 0; }
.rb-blist li { position: relative; padding: 8px 0 8px 22px; color: var(--rb-muted); border-bottom: 1px dashed var(--rb-line); }
.rb-blist li:last-child { border-bottom: 0; }
.rb-blist li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--rb-green); }
.rb-prose { max-width: 760px; }
.rb-prose p { font-size: 1.06rem; margin-bottom: 16px; }
.rb-quote { border-left: 3px solid var(--rb-accent); padding: 6px 0 6px 20px; margin-top: 18px; color: var(--rb-dark); font-style: italic; font-size: 1.1rem; }

/* ===== Audit gratuit : jauges rouge/orange/vert par domaine (navy) ===== */
.rb-gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.rb-gauge { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 16px; }
.rb-gauge-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rb-gauge-label { font-weight: 700; color: #e8eef7; font-size: .98rem; }
.rb-gauge-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: rgba(255,255,255,.1); color: #c9d4ea; }
.rb-gauge-track { display: flex; gap: 4px; margin: 13px 0 11px; }
.rb-gauge-seg { height: 8px; flex: 1; border-radius: 999px; background: rgba(255,255,255,.12); }
.rb-gauge-constat { margin: 0; color: #c9d4ea; font-size: .9rem; line-height: 1.4; }
/* Niveaux : remplissage facon jauge (vert = plein, rouge = 1er cran, neutre = vide) */
.rb-g-green  .rb-gauge-seg { background: var(--rb-green); }
.rb-g-orange .rb-gauge-seg:nth-child(-n+2) { background: var(--rb-accent); }
.rb-g-red    .rb-gauge-seg:nth-child(1) { background: #ef4444; }
.rb-g-neutral .rb-gauge-seg { background: rgba(255,255,255,.14); }
.rb-g-green  .rb-gauge-tag { background: rgba(16,185,129,.18); color: #6ee7b7; }
.rb-g-orange .rb-gauge-tag { background: rgba(249,115,22,.2); color: #fdba74; }
.rb-g-red    .rb-gauge-tag { background: rgba(239,68,68,.18); color: #fca5a5; }
.rb-gauges-note { margin: 18px 0 0; color: #b9c6de; font-size: .95rem; }

/* ===== Wizard prospection : etapes + proposition ===== */
.rb-wiz { max-width: 720px; margin: 0 auto; }
.rb-wiz-progress { margin-bottom: 22px; }
.rb-wiz-progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.rb-wiz-step-label { font-weight: 700; color: var(--rb-dark); font-size: .95rem; }
.rb-wiz-step-count { font-size: .85rem; color: var(--rb-muted); }
.rb-wiz-bar { height: 8px; border-radius: 999px; background: var(--rb-line); overflow: hidden; }
.rb-wiz-bar-fill { height: 100%; border-radius: 999px; background: var(--rb-accent); width: 0; transition: width .3s cubic-bezier(.2,.7,.3,1); }
.rb-wiz-q { margin: 0 0 6px; font-family: var(--rb-display); font-weight: 400; font-size: clamp(1.5rem,3vw,2rem); color: var(--rb-dark); line-height: 1.2; }
.rb-wiz-help { color: var(--rb-muted); margin: 0 0 18px; }
.rb-wiz-opts { display: grid; gap: 10px; }
.rb-wiz-opts.cols2 { grid-template-columns: 1fr 1fr; }
@media(max-width:540px){ .rb-wiz-opts.cols2 { grid-template-columns: 1fr; } }
.rb-wiz-opt { display: block; width: 100%; text-align: left; background: #fff; border: 2px solid var(--rb-line); border-radius: 12px; padding: 14px 16px; font: inherit; color: var(--rb-dark); cursor: pointer; transition: border-color .15s, background .15s, transform .12s; }
.rb-wiz-opt:hover { border-color: var(--rb-accent); transform: translateY(-1px); }
.rb-wiz-opt.is-sel { border-color: var(--rb-accent); background: #fff7ed; box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.rb-wiz-opt b { display: block; font-weight: 700; }
.rb-wiz-opt span { display: block; color: var(--rb-muted); font-size: .9rem; margin-top: 2px; }
.rb-wiz-opt .rb-wiz-check { float: right; color: var(--rb-accent); font-weight: 800; opacity: 0; }
.rb-wiz-opt.is-sel .rb-wiz-check { opacity: 1; }
.rb-wiz-text { width: 100%; padding: 12px 14px; border: 1px solid var(--rb-line); border-radius: 10px; font: inherit; margin-top: 12px; }
.rb-wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 12px; }
.rb-wiz-back { background: none; border: 0; color: var(--rb-muted); font: inherit; font-weight: 600; cursor: pointer; padding: 8px; }
.rb-wiz-back:hover { color: var(--rb-dark); }
.rb-wiz-back[hidden] { visibility: hidden; }

/* Proposition */
.rb-prop { background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 30px 28px; box-shadow: var(--rb-shadow); }
.rb-prop-level { font-family: var(--rb-display); font-size: clamp(1.8rem,4vw,2.4rem); color: var(--rb-dark); margin: 0 0 4px; }
.rb-prop-intro { color: var(--rb-muted); margin: 0 0 18px; }
.rb-prop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.rb-prop-chip { background: var(--rb-bg-soft); border: 1px solid var(--rb-line); border-radius: 999px; padding: 6px 13px; font-size: .85rem; font-weight: 600; color: var(--rb-dark); }
.rb-prop-h { font-weight: 800; font-size: 1.05rem; color: var(--rb-dark); margin: 26px 0 12px; }
/* Bandeau honnete : VISIBLE, pas un detail (differenciateur) */
.rb-prop-banner { background: #fff7ed; border: 1px solid #fdba74; border-left: 5px solid var(--rb-accent); border-radius: 12px; padding: 18px 20px; margin: 6px 0 8px; }
.rb-prop-banner b { display: block; color: var(--rb-accent-text); font-size: 1.08rem; margin-bottom: 6px; }
.rb-prop-banner p { margin: 0; color: var(--rb-ink); font-size: .98rem; }
.rb-prop-note { background: var(--rb-bg-soft); border: 1px solid var(--rb-line); border-radius: 12px; padding: 16px 18px; margin: 6px 0; }
.rb-prop-note b { display: block; color: var(--rb-dark); margin-bottom: 5px; }
.rb-prop-note p { margin: 0 0 8px; color: var(--rb-muted); font-size: .95rem; }
.rb-prop-phases { list-style: none; margin: 0; padding: 0; counter-reset: ph; }
.rb-prop-phases li { position: relative; padding: 10px 0 10px 40px; border-bottom: 1px dashed var(--rb-line); }
.rb-prop-phases li:last-child { border-bottom: 0; }
.rb-prop-phases li::before { counter-increment: ph; content: counter(ph); position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--rb-accent); color: #1a1a1a; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.rb-prop-phases b { display: block; color: var(--rb-dark); }
.rb-prop-phases span { color: var(--rb-muted); font-size: .93rem; }
.rb-prop-gates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:540px){ .rb-prop-gates { grid-template-columns: 1fr; } }
.rb-prop-gate { background: var(--rb-dark); border-radius: 12px; padding: 14px 16px; }
.rb-prop-gate b { color: var(--rb-accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.rb-prop-gate span { display: block; color: #e8eef7; font-size: .95rem; margin-top: 4px; }
.rb-prop-invest { background: var(--rb-dark); border-radius: 14px; padding: 22px 24px; margin-top: 8px; color: #e8eef7; }
.rb-prop-invest .rb-prop-days { font-size: 1.05rem; color: #fdba74; font-weight: 700; }
.rb-prop-invest .rb-prop-price { font-family: var(--rb-display); font-size: 2rem; color: #fff; margin: 2px 0 6px; }
.rb-prop-invest .rb-prop-rec { color: #c9d4ea; font-size: .95rem; }
.rb-prop-invest .rb-prop-fine { color: #93a3bd; font-size: .85rem; margin: 10px 0 0; }
.rb-prop-cross { border: 1px dashed var(--rb-accent); border-radius: 12px; padding: 16px 18px; margin-top: 8px; }
.rb-prop-cross b { display: block; color: var(--rb-dark); margin-bottom: 4px; }
.rb-prop-cross p { margin: 0 0 8px; color: var(--rb-muted); font-size: .93rem; }

/* ===== Wizard orientation : ecran de recommandation ===== */
.rb-orient-porte { font-family: var(--rb-display); font-size: clamp(1.7rem,4vw,2.3rem); color: var(--rb-dark); margin: 0 0 4px; }
.rb-orient-offers { display: grid; gap: 12px; margin: 18px 0; }
.rb-orient-offer { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 2px solid var(--rb-line); border-radius: 14px; padding: 18px 20px; text-decoration: none; transition: border-color .15s, transform .12s, box-shadow .15s; }
.rb-orient-offer:hover { border-color: var(--rb-accent); transform: translateY(-2px); box-shadow: var(--rb-shadow); text-decoration: none; }
.rb-orient-offer b { display: block; color: var(--rb-dark); font-size: 1.08rem; }
.rb-orient-offer span { color: var(--rb-muted); font-size: .92rem; }
.rb-orient-offer .rb-orient-arw { color: var(--rb-accent); font-weight: 800; font-size: 1.35rem; flex: 0 0 auto; transition: transform .15s; }
.rb-orient-offer:hover .rb-orient-arw { transform: translateX(4px); }
.rb-orient-note { background: #fff7ed; border: 1px solid #fdba74; border-left: 5px solid var(--rb-accent); border-radius: 12px; padding: 14px 18px; margin: 6px 0 4px; color: var(--rb-ink); font-size: .96rem; }
.rb-orient-relay { background: var(--rb-dark); border-radius: 16px; padding: 26px 24px; color: #e8eef7; text-align: center; margin: 16px 0; }
.rb-orient-relay p { margin: 0 0 16px; font-size: 1.12rem; color: #fff; }
.rb-orient-sec { text-align: center; margin-top: 20px; }
.rb-orient-sec a { font-weight: 600; }

/* ===== Home refonte par besoin (Lot B) ===== */
.rb-home-hero { padding: 70px 0 34px; background: radial-gradient(1100px 400px at 78% -10%, rgba(249,115,22,.09), transparent), var(--rb-bg); }
.rb-home-hero h1 { font-size: clamp(2.4rem,5.5vw,3.8rem); }
.rb-home-hero h1 em { color: var(--rb-accent-text); font-style: normal; }
.rb-kicker { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; color: var(--rb-accent-text); }
.rb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rb-chip { display: inline-flex; align-items: center; background: var(--rb-bg-soft); border: 1px solid var(--rb-line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--rb-dark); }
.rb-wizband { background: var(--rb-dark); border-radius: 16px; padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 6px; }
.rb-wizband p { margin: 0; color: #e8eef7; font-size: 1.05rem; max-width: 62ch; }
.rb-wizband b { color: #fff; }
.rb-portes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 30px; }
@media(max-width:900px){ .rb-portes { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.rb-porte-card { border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; background: #fff; box-shadow: var(--rb-shadow); display: flex; flex-direction: column; }
.rb-porte-head { background: var(--rb-dark); color: #fff; padding: 20px 22px; }
.rb-porte-head b { font-family: var(--rb-display); font-weight: 400; font-size: 1.5rem; display: block; }
.rb-porte-head span { color: #c9d4ea; font-size: .92rem; }
.rb-porte-offers { list-style: none; margin: 0; padding: 8px 22px 20px; flex: 1; }
.rb-porte-offer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--rb-line); text-decoration: none; }
.rb-porte-offer:last-child { border-bottom: 0; }
.rb-porte-offer:hover .rb-porte-name { color: var(--rb-accent-text); text-decoration: underline; }
.rb-porte-name { color: var(--rb-dark); font-weight: 700; }
.rb-porte-name small { display: block; color: var(--rb-muted); font-weight: 400; font-size: .84rem; }
.rb-porte-price { color: var(--rb-muted); font-size: .9rem; white-space: nowrap; flex: 0 0 auto; }
.rb-cowork-tag { display: inline-block; background: var(--rb-accent); color: #1a1a1a; font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.rb-cowork-band { background: #fff7ed; border: 1px solid #fdba74; border-left: 5px solid var(--rb-accent); border-radius: 14px; padding: 22px 24px; margin-top: 30px; }
.rb-cowork-band b { color: var(--rb-accent-text); font-size: 1.1rem; }
.rb-cowork-band p { margin: 8px 0 0; color: var(--rb-ink); }
.rb-tools { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 14px; margin-top: 24px; }
.rb-tool { background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 18px; text-decoration: none; transition: border-color .15s, transform .12s; }
.rb-tool:hover { border-color: var(--rb-accent); transform: translateY(-2px); text-decoration: none; }
.rb-tool b { display: block; color: var(--rb-dark); }
.rb-tool span { color: var(--rb-muted); font-size: .9rem; }

/* ===== Page Cowork (Lot D) : hub + themes ===== */
.rb-cowork-orb { width: 132px; height: 132px; border-radius: 50%; background: var(--rb-dark); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 6px auto 22px; box-shadow: var(--rb-shadow-lg); }
.rb-cowork-orb b { font-family: var(--rb-display); font-size: 1.5rem; line-height: 1; }
.rb-cowork-orb span { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fdba74; margin-top: 5px; }
/* 6 themes : colonnes FIXES plutot qu'auto-fit, pour tomber juste a chaque palier
   (3+3 desktop, 2+2+2 tablette, empile mobile) et ne laisser aucune carte orpheline. */
.rb-cowork-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
@media(max-width:860px){ .rb-cowork-themes { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:560px){ .rb-cowork-themes { grid-template-columns: 1fr; } }
.rb-cowork-theme { background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 16px 18px; border-top: 3px solid var(--rb-accent); }
.rb-cowork-theme b { display: block; color: var(--rb-dark); }
.rb-cowork-theme span { color: var(--rb-muted); font-size: .9rem; }
.rb-cowork-price { display: inline-flex; align-items: baseline; gap: 8px; background: var(--rb-bg-soft); border: 1px solid var(--rb-line); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--rb-dark); }
.rb-cowork-price b { font-family: var(--rb-display); font-size: 1.6rem; color: var(--rb-dark); }
.rb-cowork-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media(max-width:720px){ .rb-cowork-split { grid-template-columns: 1fr; } }
/* Teaser home : encart cowork cliquable (remplace le bandeau fil rouge) */
.rb-cowork-teaser { display: flex; align-items: center; gap: 20px; background: #fff7ed; border: 1px solid #fdba74; border-left: 5px solid var(--rb-accent); border-radius: 14px; padding: 20px 24px; margin-top: 30px; text-decoration: none; transition: transform .12s, box-shadow .15s; }
.rb-cowork-teaser:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow); text-decoration: none; }
.rb-cowork-teaser .rb-cowork-mini { width: 66px; height: 66px; border-radius: 50%; background: var(--rb-dark); color: #fff; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--rb-display); font-size: 1rem; }
.rb-cowork-teaser .rb-cowork-mini span { font-size: .55rem; color: #fdba74; letter-spacing: .05em; }
.rb-cowork-teaser-txt b { color: var(--rb-accent-text); font-size: 1.1rem; }
.rb-cowork-teaser-txt p { margin: 4px 0 0; color: var(--rb-ink); font-size: .95rem; }
.rb-cowork-teaser-go { margin-left: auto; color: var(--rb-accent-text); font-weight: 700; white-space: nowrap; }

/* ===== Pages parcours (Lot C) : hero navy + irritants + offres + FAQ ===== */
.rb-parcours-hero { background: var(--rb-dark); padding: 60px 0 46px; }
.rb-parcours-hero .rb-eyebrow { color: #fdba74; }
.rb-parcours-hero h1 { color: #fff; }
.rb-parcours-hero .rb-lead { color: #c9d4ea; max-width: 56ch; }
.rb-irritants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media(max-width:820px){ .rb-irritants { grid-template-columns: 1fr; } }
.rb-irritant { background: #fff; border: 1px solid var(--rb-line); border-left: 4px solid #ef4444; border-radius: 12px; padding: 18px; }
.rb-irritant b { display: block; color: var(--rb-dark); margin-bottom: 4px; }
.rb-irritant span { color: var(--rb-muted); font-size: .93rem; }
.rb-poffers { display: grid; gap: 12px; margin-top: 18px; }
.rb-poffer { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid var(--rb-line); border-radius: 14px; padding: 16px 20px; text-decoration: none; transition: border-color .15s, transform .12s; }
.rb-poffer:hover { border-color: var(--rb-accent); transform: translateY(-2px); text-decoration: none; }
.rb-poffer-name b { color: var(--rb-dark); }
.rb-poffer-name small { display: block; color: var(--rb-muted); font-size: .86rem; }
.rb-poffer-price { color: var(--rb-muted); font-size: .9rem; white-space: nowrap; margin-left: auto; }
.rb-poffer-arw { color: var(--rb-accent); font-weight: 800; font-size: 1.3rem; flex: 0 0 auto; }
.rb-faq { margin-top: 10px; max-width: 760px; }
.rb-faq details { border-bottom: 1px solid var(--rb-line); padding: 14px 0; }
.rb-faq summary { font-weight: 700; color: var(--rb-dark); cursor: pointer; list-style: none; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: "+"; float: right; color: var(--rb-accent-text); font-weight: 800; }
.rb-faq details[open] summary::after { content: "\2212"; }
.rb-faq p { margin: 10px 0 0; color: var(--rb-muted); }

/* ===== Star home (Lot C) : etoile radiale - hub central + 3 portes + rayons ===== */
.rb-star { position: relative; width: 560px; max-width: 100%; height: 460px; margin: 34px auto 0; }
.rb-star-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.rb-star-hub { position: absolute; left: 50%; top: 50%; width: 176px; height: 176px; margin: -88px 0 0 -88px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--rb-dark); border: 4px solid var(--rb-accent); color: #fff; text-decoration: none; text-align: center; padding: 0 16px; transition: transform .15s, box-shadow .15s; }
.rb-star-hub:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow-lg); text-decoration: none; }
.rb-star-hub b { font-family: var(--rb-display); font-size: 1.2rem; line-height: 1.15; }
.rb-star-hub span { color: #fdba74; font-weight: 700; font-size: .8rem; margin-top: 8px; }
.rb-star-branch { position: absolute; width: 216px; margin-left: -108px; z-index: 1; background: #fff; border: 1px solid var(--rb-line); border-top: 3px solid var(--rb-accent); border-radius: 14px; padding: 15px 16px; text-decoration: none; box-shadow: var(--rb-shadow); transition: transform .12s, box-shadow .15s, border-color .15s; }
.rb-star-branch:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow-lg); border-color: var(--rb-accent); text-decoration: none; }
.rb-star-branch b { display: block; color: var(--rb-dark); font-size: 1.02rem; }
.rb-star-branch span { color: var(--rb-muted); font-size: .88rem; }
.rb-star-branch.pos-top { left: 50%; top: 0; }
.rb-star-branch.pos-bl  { left: 21%; bottom: 0; }
.rb-star-branch.pos-br  { left: 79%; bottom: 0; }
@media(max-width:720px){
  .rb-star { position: static; width: auto; height: auto; margin-top: 24px; }
  .rb-star-svg { display: none; }                 /* rayons masques (pile verticale nette) */
  .rb-star-hub { position: static; margin: 0 auto 16px; }
  /* display:block indispensable : l'<a> en position:static redevient inline sinon
     -> width/margin/empilement ignores -> les 3 cartes se chevauchent. */
  .rb-star-branch { position: static; display: block; width: 100%; max-width: 320px; margin: 0 auto 12px; }
}
@media (prefers-reduced-motion: reduce) { .rb-star-hub, .rb-star-branch { transition: none; } .rb-star-hub:hover, .rb-star-branch:hover { transform: none; } }

/* ===== Mini-wizard Cowork (Lot D+) : chips theme + panneau exemples ===== */
.rb-mw-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 4px; }
.rb-mw-chip { background: #fff; border: 2px solid var(--rb-line); border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; color: var(--rb-dark); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.rb-mw-chip:hover { border-color: var(--rb-accent); }
.rb-mw-chip[aria-pressed="true"] { background: var(--rb-dark); border-color: var(--rb-dark); color: #fff; }
.rb-mw-chip:focus-visible { outline: 3px solid rgba(249,115,22,.45); outline-offset: 2px; }
.rb-mw-panel { max-width: 620px; margin: 18px auto 0; background: #fff; border: 1px solid var(--rb-line); border-radius: 16px; padding: 24px 26px; text-align: left; box-shadow: var(--rb-shadow); }
.rb-mw-panel h3 { color: var(--rb-dark); font-family: var(--rb-sans); font-weight: 800; font-size: 1.05rem; margin: 0 0 12px; }
.rb-mw-examples { list-style: none; margin: 0 0 14px; padding: 0; }
.rb-mw-examples li { position: relative; padding: 8px 0 8px 30px; color: var(--rb-ink); }
.rb-mw-examples li::before { content: "\2713"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--rb-green); color: #fff; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rb-mw-fixed { color: var(--rb-accent-text); font-weight: 600; margin: 0; }
.rb-mw-sub { color: var(--rb-muted); font-size: .9rem; margin: 12px 0 0; }
/* Mini-wizard V2 : panel enrichi (pain -> journée -> livrables -> gain -> réassurance -> exemple) */
.rb-mw-label { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rb-muted); font-weight: 700; margin: 0 0 4px; }
.rb-mw-block { margin: 0 0 14px; }
.rb-mw-block p, .rb-mw-example p, .rb-mw-gain p { margin: 0; color: var(--rb-ink); }
.rb-mw-day { margin: 0 0 14px; }
.rb-mw-day-list { list-style: none; margin: 0; padding: 0; }
.rb-mw-day-list li { padding: 4px 0; color: var(--rb-ink); }
.rb-mw-day-list li b { color: var(--rb-dark); }
.rb-mw-gain { margin: 6px 0 14px; padding: 12px 16px; background: rgba(249,115,22,.10); border-left: 4px solid var(--rb-accent); border-radius: 0 10px 10px 0; }
.rb-mw-gain-label { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #9a3708; font-weight: 800; margin: 0 0 3px; }
.rb-mw-gain p { font-weight: 600; }
.rb-mw-note { color: var(--rb-muted); font-size: .92rem; margin: 0 0 14px; }
.rb-mw-note b { color: var(--rb-dark); }
.rb-mw-example { margin: 0; padding: 12px 16px; background: #f6f8fc; border: 1px solid var(--rb-line); border-radius: 10px; }
.rb-mw-example p { font-style: italic; color: var(--rb-muted); }
@media (prefers-reduced-motion: reduce) { .rb-mw-chip { transition: none; } }
