/* ===================================================================
   REFONTE ACCUEIL / SERVICES / PAGE QUIZ : composants .rd-*
   Chargé uniquement sur l'accueil, la page Services et la page du quiz
   (cf. inc/redesign.php). S'appuie sur style.css et sur page-quiz.css (.qz-*).
   Mobile d'abord. Angles droits partout.

   Règles de lisibilité :
   - sur fond gris, tuiles NOIRES ; sur fond noir, tuiles grises (#2a2a2a) ;
   - les sections alternent clair / sombre ;
   - petit texte coloré : rouge et pêche éclaircis sur fond sombre, orangé
     foncé sur fond clair, pour garder un contraste correct.
   Sans JavaScript, tout le contenu reste visible (le JS ne fait que masquer
   les fiches non sélectionnées).
   =================================================================== */

:root { --peach-tint: #fcefe5; --tile: #2a2a2a; --line-dark: rgba(42,40,35,0.22); --shadow-soft: 0 10px 28px rgba(42,40,35,0.14); }

/* ----- bases communes ----- */
.rd-kicker { display: block; margin-bottom: 12px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--peach); }
.rd-kicker-red { color: var(--red); }
.rd-more { margin-top: 36px; }
.rd-hero-text { max-width: 560px; margin-top: 6px; line-height: 1.8; color: var(--muted); }

/* fonds de section */
.qz-sec.rd-white { background: #fff; }
.qz-sec.rd-dark { background: var(--charcoal-alt); }
/* couleurs d'accent selon le fond : -t = sur fond clair, -d = sur fond sombre */
.rd-page .qz-g0 { --acc-t: var(--red); --acc-d: #ff7a6b; }
.rd-page .qz-g1 { --acc-t: #bf5b25; --acc-d: var(--peach); }

/* ===================================================================
   HÉROS (accueil et Services)
   =================================================================== */
.rd-hero { padding-top: 150px; padding-bottom: 80px; }
.rd-hero .hero-title { font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.08; margin-bottom: 22px; }
.rd-hero-grid { position: relative; z-index: 2; display: grid; gap: 44px; align-items: center; }
.rd-hero-grid > * { min-width: 0; }
.rd-hero .hero-sub { max-width: 560px; }
.rd-hero .hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Carte du récit (accueil) : décorative, une seule animation, aucune commande */
.rd-map { margin: 0; }
.rd-map-stage { --t: 0; position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; background: rgba(8,8,8,0.7); border: 1px solid rgba(255,255,255,0.14); overflow: hidden; }
.rd-map-stage::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0.07); pointer-events: none; }
.rd-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-map-lines line { vector-effect: non-scaling-stroke; stroke-width: 1.5px; }
.rd-line-link { stroke: var(--peach); }
.rd-line-ring { stroke: rgba(245,157,106,0.55); stroke-dasharray: 3 5; }
.rd-line-noise { stroke: var(--red); stroke-dasharray: 2 6; }
.is-sync .rd-line-link { animation: rd-dash 1.4s linear infinite; stroke-dasharray: 6 6; }
@keyframes rd-dash { to { stroke-dashoffset: -24; } }
.rd-map-nodes { position: absolute; inset: 0; }
.rd-node { position: absolute; transform: translate(-50%, -50%); padding: 8px 11px; background: #0b0b0b; border: 1px solid rgba(245,157,106,0.7); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; white-space: nowrap; opacity: calc(0.55 + var(--t) * 0.45); }
.rd-node-core { background: var(--red); border-color: var(--red); font-size: 0.7rem; padding: 12px 16px; opacity: 1; box-shadow: 0 0 calc(var(--t) * 40px) rgba(220,56,56,0.6); }
.rd-map-caption { max-width: 540px; margin: 14px auto 0; font-size: 0.95rem; font-weight: 600; line-height: 1.5; color: var(--white); text-align: center; }
/* La carte garde toujours sa place (cadre sombre vide jusqu'au chargement du JavaScript) :
   avant, elle n'apparaissait qu'avec le JS et repoussait tout le reste de la page (saut de mise en page). */
.rd-map { display: block; }


/* ===================================================================
   DIAGNOSTIC interactif (fond sombre : tuiles sombres à bord clair)
   =================================================================== */
.rd-diag-head { max-width: 860px; }
.rd-diag-grid { display: grid; gap: 26px; margin-top: 34px; align-items: start; }
.rd-checks-list { display: grid; gap: 10px; }
.rd-check { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 18px 18px 16px; background: #262626; border: 1px solid rgba(255,255,255,0.22); cursor: pointer; transition: border-color var(--t), background-color var(--t), transform 0.18s ease; }
.rd-check:hover { border-color: var(--peach); transform: translateX(3px); }
.rd-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rd-check-box { flex: 0 0 32px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--peach); color: transparent; transition: background-color var(--t), color var(--t), border-color var(--t); }
.rd-check-box svg { width: 20px; height: 20px; }
.rd-check input:checked ~ .rd-check-box { background: var(--red); border-color: var(--red); color: #fff; }
.rd-check:has(input:checked) { border-color: var(--red); background: #3a2222; }
.rd-check input:focus-visible ~ .rd-check-box { outline: 2px solid var(--peach); outline-offset: 3px; }
.rd-check-text { padding-top: 4px; font-size: 1.02rem; line-height: 1.55; color: var(--white); }
.rd-result { padding: 28px 26px 30px; background: #262626; border: 1px solid rgba(255,255,255,0.22); border-top: 4px solid var(--red); }
.rd-gauge { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; height: 8px; margin-bottom: 18px; }
.rd-gauge i { background: rgba(255,255,255,0.2); transition: background-color 0.3s ease; }
.rd-gauge i.on { background: var(--red); }
.rd-result-count { margin-bottom: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--peach); }
.rd-result-title { margin-bottom: 10px; font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: var(--white); }
.rd-result-text { margin-bottom: 20px; line-height: 1.75; color: var(--ink); }

/* ===================================================================
   CONVICTION : fond blanc cassé comme sur le site actuel, texte centré
   =================================================================== */
.rd-statement { background: var(--off-white); padding: 96px 0 104px; overflow: hidden; text-align: center; }
.rd-statement-text em { color: var(--red); font-style: normal; }
.rd-statement-text { max-width: 960px; margin: 8px auto 38px; font-size: clamp(2rem, 6vw, 4.2rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.5px; color: var(--ink-dark); }
.js .rd-w { display: inline-block; opacity: 0.16; transform: translateY(0.25em); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--i) * 70ms); }
.js .is-in .rd-w { opacity: 1; transform: none; }

/* ===================================================================
   OFFRES (accueil, fond blanc cassé) : sélecteur + 3 tuiles SOMBRES
   =================================================================== */
.rd-pickbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 8px 0 30px; }
.rd-pickbar-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted-dark); }
.rd-pickbar-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-pick { padding: 11px 18px; background: transparent; border: 1px solid rgba(42,40,35,0.4); color: var(--ink-dark); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; cursor: pointer; transition: background-color var(--t), color var(--t), border-color var(--t); }
.rd-pick:hover { border-color: var(--ink-dark); }
.rd-pick[aria-pressed="true"] { background: var(--ink-dark); border-color: var(--ink-dark); color: #fff; }
.rd-pick:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rd-offers { display: grid; gap: 16px; }
.rd-offer { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 28px; background: var(--tile); color: #fff; border-top: 5px solid var(--acc); transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease; }
.rd-offer-tag { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--acc-d); }
.rd-offer h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; color: #fff; }
.rd-offer-list { display: grid; gap: 10px; flex: 1; }
.rd-offer-list li { position: relative; padding-left: 20px; font-size: 0.94rem; line-height: 1.6; color: var(--ink); }
.rd-offer-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--acc); }
.rd-offer-foot { padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.2); }
.rd-offer-price { margin-bottom: 4px; }
.rd-offer-price strong { font-size: 1.8rem; font-weight: 600; color: #fff; }
.rd-offer-price span { font-size: 0.85rem; color: var(--muted); }
.rd-offer-meta { margin-bottom: 16px; font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.rd-offer-badge { position: absolute; top: -5px; right: 18px; padding: 6px 12px; background: var(--acc); color: var(--acc-ink); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; transform: translateY(-100%); opacity: 0; transition: opacity 0.3s ease; }
.rd-offers[data-pick] .rd-offer:not(.is-pick) { opacity: 0.4; transform: scale(0.98); }
.rd-offers[data-pick] .is-pick { box-shadow: 0 0 0 2px var(--acc), 0 18px 36px rgba(42,40,35,0.25); transform: translateY(-4px); }
.rd-offers[data-pick] .is-pick .rd-offer-badge { opacity: 1; }

/* ===================================================================
   QUIZ (accueil, fond gris très foncé)
   =================================================================== */
.rd-quizband-grid { display: grid; gap: 36px; align-items: center; }
.rd-quizband-copy { min-width: 0; }
.rd-quizband-copy .btn { margin-top: 26px; }
.rd-quizgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rd-quizgrid .qz-tcard { padding: 6px 6px 8px; gap: 4px; transition: transform var(--t), border-color var(--t); }
.rd-quizgrid .qz-tcard:hover { transform: translateY(-4px); border-color: var(--peach); }
.rd-quizgrid .qz-tcard-name { font-size: 0.5rem; letter-spacing: 1px; }

/* ===================================================================
   SUR LE TERRAIN : tuiles sombres sur fond clair, tuiles claires sur fond sombre
   =================================================================== */
.rd-cases { display: grid; gap: 16px; margin-top: 34px; }
.rd-case { display: flex; flex-direction: column; height: 100%; background: var(--tile); border: 1px solid transparent; color: #fff; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.rd-case:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--peach); }
.rd-case-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #3a3a3a; }
.rd-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rd-case:hover .rd-case-img img { transform: scale(1.05); }
.rd-case-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.rd-case-tag { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--peach); }
.rd-case-body strong { font-size: 1.12rem; font-weight: 600; line-height: 1.3; color: #fff; }
.rd-case-body > span:not(.rd-case-tag):not(.rd-case-more) { font-size: 0.92rem; line-height: 1.65; color: var(--ink); }
.rd-case-more { margin-top: auto; padding-top: 8px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #ff7a6b; }
.rd-dk .rd-case { background: var(--off-white); color: var(--ink-dark); }
.rd-dk .rd-case:hover { border-color: var(--red); }
.rd-dk .rd-case-tag { color: #bf5b25; }
.rd-dk .rd-case-body strong { color: var(--ink-dark); }
.rd-dk .rd-case-body > span:not(.rd-case-tag):not(.rd-case-more) { color: var(--muted-dark); }
.rd-dk .rd-case-more { color: var(--red); }

/* ===================================================================
   MÉTHODE : roue des 4 outils (composants .qz-wheel du quiz).
   La fiche s'affiche au survol (souris), au focus (clavier) ou au toucher.
   Sans JavaScript, les 4 fiches sont toutes visibles.
   =================================================================== */
.rd-wheel4 .qz-wnode { width: 22%; }
.rd-wheel4 .qz-wheel-core-n { font-size: clamp(2.4rem, 9vw, 4.4rem); }
.rd-wheel4 .qz-wicon { width: 38%; }
@media (min-width: 641px) { .rd-wheel4 .qz-wlabel { font-size: 0.64rem; } }
.rd-wheel4 .qz-wbtn { background: var(--tile); }
.rd-wheel4 .qz-wbtn:hover, .rd-wheel4 .qz-wbtn.is-active { background: var(--sq); color: var(--sq-ink); }
.rd-wd-panels { display: grid; gap: 14px; min-width: 0; }
.rd-wd { min-height: 0; background: var(--tile); border-color: rgba(255,255,255,0.18); }
.rd-wd[hidden] { display: none; }
.rd-wd.qz-sq-g0 { --sq-t: #ff7a6b; }
.rd-wd.qz-sq-g1 { --sq-t: var(--peach); }
.rd-wd.qz-sq-g2 { --sq-t: #efedec; }
.rd-wd.qz-sq-g3 { --sq-t: #cfcbc4; }
.rd-wd .qz-wd-group { color: var(--sq-t); }
.rd-wd-list { display: grid; gap: 16px; margin-top: 18px; }
.rd-wd-list > div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.2); }
.rd-wd-list dt { margin-bottom: 4px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--sq-t); }
.rd-wd-list dd { font-size: 0.97rem; line-height: 1.7; color: var(--white); }
.rd-wd .btn { margin-top: 20px; max-width: 100%; }
/* sur fond clair (Services) : le centre et les arcs clairs restent visibles */
.qz-sec-light .rd-wheel4 .qz-wheel-core-n { color: var(--ink-dark); }
.qz-sec-light .rd-wheel4 .qz-wheel-core-t { color: var(--muted-dark); }
.qz-sec-light .rd-wheel4 .qz-arc-g2 { stroke: #2a2823; }
.qz-sec-light .rd-wheel4 .qz-sq-g2 { --sq: #8a867f; --sq-ink: #fff; }
.qz-sec-light .rd-wheel4 .qz-arc-g3 { stroke: #8a867f; }
.qz-sec-light .rd-wheel4 .qz-sq-g3 { --sq: #6e6a63; --sq-ink: #fff; }
.qz-sec-light .rd-wd { box-shadow: var(--shadow-soft); }

/* ===================================================================
   SERVICES : explorateur de formats (fond blanc cassé, tuiles sombres)
   Sans JavaScript, les onglets sont masqués et les trois fiches s'empilent.
   =================================================================== */
.rd-explorer { display: grid; gap: 18px; margin-top: 8px; }
.rd-tablist { display: grid; gap: 10px; align-content: start; }
.rd-explorer:not(.is-ready) .rd-tablist { display: none; }
.rd-tab { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 18px 20px; text-align: left; background: transparent; border: 1px solid var(--line-dark); border-left: 5px solid rgba(42,40,35,0.28); color: var(--ink-dark); cursor: pointer; transition: background-color var(--t), border-color var(--t), transform 0.18s ease, color var(--t); }
.rd-tab:hover { border-left-color: var(--acc); transform: translateX(3px); }
.rd-tab[aria-selected="true"] { background: var(--tile); border-color: var(--tile); border-left-color: var(--acc); color: #fff; box-shadow: var(--shadow-soft); }
.rd-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rd-tab-need { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--acc-t); }
.rd-tab[aria-selected="true"] .rd-tab-need { color: var(--acc-d); }
.rd-tab-name { font-size: 1.15rem; font-weight: 600; }
.rd-tab-price { font-size: 0.84rem; color: var(--muted-dark); }
.rd-tab[aria-selected="true"] .rd-tab-price { color: var(--ink); }
.rd-panels { display: grid; gap: 14px; min-width: 0; }
.rd-panel { padding: 32px 28px 30px; background: var(--tile); border-top: 5px solid var(--acc); color: #fff; box-shadow: var(--shadow-soft); }
.rd-panel[hidden] { display: none; }
.rd-panel-title { max-width: 720px; margin-bottom: 14px; font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 600; line-height: 1.3; color: #fff; }
.rd-panel-text { max-width: 760px; line-height: 1.8; color: var(--ink); }
.rd-ticks { display: grid; gap: 12px; margin-top: 22px; }
.rd-ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; color: #fff; }
.rd-ticks svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--acc-d); margin-top: 1px; }
.rd-flow { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 24px; list-style: none; padding: 0; }
.rd-flow li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); font-size: 0.82rem; font-weight: 600; color: #fff; }
.rd-flow li span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--acc); color: var(--acc-ink); font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; }
.rd-panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.2); }
.rd-price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.rd-price-block strong { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 600; color: #fff; }
.rd-price-block span { font-size: 0.9rem; color: var(--muted); }
.rd-price-block em { flex-basis: 100%; font-style: normal; font-size: 0.86rem; color: var(--acc-d); }

/* ===================================================================
   SERVICES : comparatif (fond sombre, tuiles claires). Tableau sémantique conservé.
   Sur téléphone : une carte par format (en-tête puis ses 5 lignes), pas de lignes empilées.
   =================================================================== */
.rd-tablewrap { margin-top: 30px; }
.rd-table { table-layout: fixed; border-collapse: separate; border-spacing: 10px 0; width: calc(100% + 20px); margin: 0 -10px; }
.rd-table th, .rd-table td { vertical-align: top; text-align: left; }
.rd-table thead th { padding: 24px 22px 20px; background: var(--off-white); border-top: 5px solid var(--acc); font-weight: 400; }
.rd-th-empty { background: transparent; }
.rd-th-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; background: var(--acc); color: var(--acc-ink); }
.rd-th-icon svg { width: 22px; height: 22px; }
.rd-th-name { display: block; font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: var(--ink-dark); }
.rd-th-need { display: block; margin-top: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--acc-t); }
.rd-table tbody th { padding: 22px 8px 22px 0; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--peach); border-bottom: 1px solid rgba(255,255,255,0.12); }
.rd-table tbody td { padding: 22px; background: var(--off-white); border-bottom: 1px solid rgba(42,40,35,0.12); line-height: 1.6; color: var(--ink-dark); font-size: 0.95rem; }
.rd-row-price strong { display: block; font-size: 1.7rem; font-weight: 600; line-height: 1.15; color: var(--ink-dark); }
.rd-row-price span { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--muted-dark); }
.rd-row-cta td { padding-top: 20px; padding-bottom: 24px; border-bottom: 0; }
.rd-row-cta th { border-bottom: 0; }

/* ----- pour qui (fond sombre, cartes claires) ----- */
.rd-personas { display: grid; gap: 14px; margin-top: 30px; }
.rd-persona { padding: 28px 24px 30px; background: var(--off-white); border-top: 5px solid var(--acc); transition: transform var(--t), box-shadow var(--t); }
.rd-persona:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,0.4); }
.rd-persona-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; background: var(--acc); color: var(--acc-ink); }
.rd-persona-icon svg { width: 28px; height: 28px; }
.rd-persona h3 { margin-bottom: 8px; font-size: 1.08rem; font-weight: 600; line-height: 1.35; color: var(--ink-dark); }
.rd-persona p { line-height: 1.7; font-size: 0.94rem; color: var(--muted-dark); }

/* ----- FAQ en version claire (Services) : tuiles de réponse sombres ----- */
.rd-faq-light { background: var(--off-white); }
.rd-faq-light .section-title { color: var(--red); }
.rd-faq-light .faq-item + .faq-item { border-top-color: var(--line-dark); }
.rd-faq-light .faq-q-text { color: var(--ink-dark); }
.rd-faq-light .faq-q:hover .faq-q-text { color: var(--red); }
.rd-faq-light .faq-a { background: var(--tile); }

/* ===================================================================
   Écrans plus larges
   =================================================================== */
@media (min-width: 700px) {
  .rd-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd-offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .rd-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-quizgrid { gap: 10px; }
  .rd-quizgrid .qz-tcard { padding: 8px 8px 10px; }
  .rd-quizgrid .qz-tcard-name { font-size: 0.6rem; letter-spacing: 1.5px; }
}
@media (min-width: 820px) {
  .rd-explorer { grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: start; }
  .rd-explorer:not(.is-ready) { grid-template-columns: minmax(0, 1fr); }
  .rd-panel { padding: 40px 38px 36px; }
  .rd-diag-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 46px; }
  .rd-result { position: sticky; top: 110px; }
}
@media (min-width: 900px) { .rd-wheel4 { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px; } }
@media (min-width: 980px) {
  .rd-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 60px; }
  .rd-quizband-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .rd-personas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rd-table tbody th { width: 15%; }
}
@media (min-width: 1200px) { .rd-wheel4 { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; } }
@media (prefers-reduced-motion: reduce) {
  .is-sync .rd-line-link { animation: none; }
  .js .rd-w { opacity: 1; transform: none; transition: none; }
  .rd-check:hover, .rd-tab:hover, .rd-case:hover, .rd-persona:hover, .rd-quizgrid .qz-tcard:hover { transform: none; }
}

/* Chiffres clés : jamais coupés en deux sur mobile */
.rd-page .stat-n { white-space: nowrap; }
@media (max-width: 420px) { .rd-page .stat-n { font-size: 2rem; } .rd-page .stat-l { font-size: 0.66rem; } }

/* Très petits écrans */
@media (max-width: 400px) {
  .rd-hero .hero-label-line { display: none; }
  .rd-hero .hero-label span:not(.hero-label-line) { white-space: normal; letter-spacing: 2px; }
  .rd-panel { padding: 28px 20px 26px; }
}

/* Comparatif sur téléphone et petite tablette : une carte par format.
   Le tableau devient une grille ; chaque cellule est placée sous l'en-tête de son format
   (propriété order), les libellés de ligne viennent de data-label. */
@media (max-width: 819px) {
  .rd-table { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; margin: 0; border-spacing: 0; }
  .rd-table thead, .rd-table tbody, .rd-table tr { display: contents; }
  .rd-table thead td, .rd-table tbody th { display: none; }
  .rd-table thead th { display: block; margin-top: 22px; padding: 22px 22px 14px; }
  .rd-table thead th:nth-of-type(1) { order: 10; margin-top: 0; }
  .rd-table thead th:nth-of-type(2) { order: 20; }
  .rd-table thead th:nth-of-type(3) { order: 30; }
  .rd-table tbody td { display: block; padding: 14px 22px; border-bottom: 1px solid rgba(42,40,35,0.12); }
  .rd-table tbody td:nth-of-type(1) { order: 11; }
  .rd-table tbody td:nth-of-type(2) { order: 21; }
  .rd-table tbody td:nth-of-type(3) { order: 31; }
  .rd-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--red); }
  .rd-row-cta td { padding-top: 18px; padding-bottom: 22px; border-bottom: 0; }
  .rd-row-cta td::before { display: none; }
  .rd-row-cta .btn { width: 100%; justify-content: center; }
}

/* Roue sur fond clair : libellés blancs dans les tuiles sombres, bord coloré */
.qz-sec-light .rd-wheel4 .qz-wbtn { color: #fff; }
.qz-sec-light .rd-wheel4 .qz-wbtn:hover, .qz-sec-light .rd-wheel4 .qz-wbtn.is-active { color: var(--sq-ink); }

/* ===================================================================
   TOUR 6 : on mélange noir, gris et blanc, comme sur le site en ligne et la page du quiz.
   Tuiles NOIRES sur fonds gris (clairs ou foncés), tuiles grises sur fond noir.
   =================================================================== */
:root { --tile: #0b0b0b; --lgrey: #e2ded9; --shadow-soft: 0 14px 30px rgba(0,0,0,0.22); }
.qz-sec.rd-lgrey { background: var(--lgrey); }
.qz-sec.rd-black { background: #000; }
.rd-kicker-red { color: #c0302f; }

/* diagnostic : tuiles noires sur gris #222 */
.rd-check, .rd-result { background: var(--tile); border-color: rgba(255,255,255,0.14); }
.rd-check:has(input:checked) { background: #2a1414; }
.rd-result { border-top-color: var(--red); }

/* tuiles sombres : léger liseré clair pour les détacher du fond */
.rd-panel, .rd-offer, .rd-case { border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); border-left: 1px solid rgba(255,255,255,0.1); }
.rd-tab[aria-selected="true"] { border-color: rgba(255,255,255,0.14); border-left-color: var(--acc); }
.rd-case { border-top: 1px solid rgba(255,255,255,0.1); }

/* comparatif : tuiles noires sur gris #222 */
.rd-table thead th { background: var(--tile); }
.rd-th-name { color: #fff; }
.rd-th-need { color: var(--acc-d); }
.rd-table tbody td { background: var(--tile); color: var(--ink); border-bottom: 1px solid rgba(255,255,255,0.1); }
.rd-row-price strong { color: #fff; }
.rd-row-price span { color: var(--muted); }
@media (max-width: 819px) { .rd-table td::before { color: var(--peach); } .rd-table tbody td { border-bottom: 1px solid rgba(255,255,255,0.1); } }

/* pour qui : tuiles grises (#222) sur fond noir */
.rd-persona { background: #222; border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); border-left: 1px solid rgba(255,255,255,0.1); }
.rd-persona h3 { color: #fff; }
.rd-persona p { color: var(--ink); }
.rd-persona:hover { box-shadow: 0 16px 30px rgba(0,0,0,0.5); }

/* héros Services : orbites (même cadre que la carte du récit de l'accueil) */
.rd-ring { fill: none; stroke: rgba(245,157,106,0.55); stroke-width: 1.2px; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.rd-dot { position: absolute; width: 7px; height: 7px; background: var(--peach); transform: translate(-50%, -50%); opacity: calc(0.3 + var(--t) * 0.7); }
.rd-dot:nth-child(3n) { background: var(--red); }
.rd-orbit .rd-node { font-size: 0.6rem; }
@media (max-width: 420px) { .rd-orbit .rd-node { font-size: 0.54rem; letter-spacing: 0.8px; padding: 7px 9px; } .rd-orbit .rd-node-core { font-size: 0.6rem; padding: 9px 11px; } }
/* ===================================================================
   TOUR 7
   =================================================================== */
:root { --tile-grey: #2a2a2a; }

/* Accueil, "Je cherche à" : le sélecteur n'existe qu'avec JavaScript ; sur mobile il devient la porte d'entrée */
.rd-pickbar { display: none; }
.js .rd-pickbar { display: flex; }
@media (max-width: 699px) {
  .rd-pickbar { flex-direction: column; align-items: stretch; gap: 12px; margin: 6px 0 22px; }
  .rd-pickbar-label { font-size: 1rem; letter-spacing: 1.5px; color: var(--ink-dark); }
  .rd-pickbar-btns { flex-direction: column; gap: 10px; }
  .rd-pick { position: relative; width: 100%; padding: 16px 46px 16px 18px; font-size: 0.84rem; text-align: left; }
  .rd-pick::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform var(--t); }
  .rd-pick[aria-pressed="true"]::after { transform: translateY(-30%) rotate(-135deg); }
  .rd-offers { scroll-margin-top: 90px; }
  .rd-offers[data-pick] { padding-top: 26px; }
  .rd-offers[data-pick] .is-pick { order: -1; }
  .rd-offers[data-pick] .rd-offer:not(.is-pick) { padding: 18px 22px; opacity: 0.9; transform: none; cursor: pointer; }
  .rd-offers[data-pick] .rd-offer:not(.is-pick) .rd-offer-list,
  .rd-offers[data-pick] .rd-offer:not(.is-pick) .rd-offer-meta,
  .rd-offers[data-pick] .rd-offer:not(.is-pick) .btn { display: none; }
  .rd-offers[data-pick] .rd-offer:not(.is-pick) h3 { font-size: 1.02rem; }
  .rd-offers[data-pick] .rd-offer:not(.is-pick) .rd-offer-foot { padding-top: 8px; border-top: 0; }
  .rd-offers[data-pick] .rd-offer:not(.is-pick) .rd-offer-price strong { font-size: 1.2rem; }
}

/* Services, formats : toutes les tuiles sont en gris foncé, sur fond blanc cassé */
.rd-tab { background: var(--tile-grey); border: 1px solid rgba(255,255,255,0.12); border-left: 5px solid rgba(255,255,255,0.2); color: #fff; opacity: 0.8; }
.rd-tab:hover { opacity: 1; border-left-color: var(--acc); }
.rd-tab[aria-selected="true"] { background: var(--tile-grey); opacity: 1; border-color: rgba(255,255,255,0.12); border-left-color: var(--acc); }
.rd-tab-need { color: var(--acc-d); }
.rd-tab-price, .rd-tab[aria-selected="true"] .rd-tab-price { color: var(--ink); }
.rd-panel { background: var(--tile-grey); }

/* Services, comparatif : la colonne des critères est une tuile à part entière (plus de libellés posés sur le fond) */
.rd-table tbody th { padding: 22px; background: #2e2e2e; color: var(--peach); border-bottom: 1px solid rgba(255,255,255,0.1); }
.rd-th-empty { background: #2e2e2e; border-top: 5px solid #5a5a5a; }
.rd-row-cta th { background: #2e2e2e; }

/* Services, pour qui : blanc cassé, tuiles grises */
.rd-persona { background: var(--tile-grey); }

/* Services : agences sur gris clair, FAQ en gris #222 avec réponses sur tuiles noires */
.agency-band.rd-lg { background: var(--lgrey); }
.rd-faq-grey { background: var(--charcoal); }
.rd-faq-grey .faq-a { background: var(--tile); }/* onglets des formats : toutes les tuiles ont le même gris, seul l'onglet actif porte l'accent */
.rd-tab, .rd-tab:hover, .rd-tab[aria-selected="true"] { opacity: 1; }
.rd-tab:not([aria-selected="true"]) { border-left-color: rgba(255,255,255,0.2); }
.rd-tab:not([aria-selected="true"]):hover { border-left-color: var(--acc); }

/* ===================================================================
   TOUR 8 : Services suit la logique de l'accueil
   =================================================================== */

/* comparatif : plus de colonne de critères posée sur le fond ; chaque tuile porte son libellé (comme sur mobile) */
.rd-table thead td, .rd-table tbody th { display: none; }
.rd-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.6px; color: var(--peach); }
.rd-row-cta td::before { display: none; }

/* pour qui : tuiles noires sur gris #222, avec la tuile "agence" dans la même section */
.rd-persona { background: var(--tile); }
.rd-agency { margin-top: 18px; padding: 36px 26px 38px; background: var(--tile); border-top: 5px solid var(--peach); border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); border-left: 1px solid rgba(255,255,255,0.1); text-align: center; scroll-margin-top: 90px; }
.rd-agency h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; color: #fff; }
.rd-agency p { max-width: 720px; margin: 0 auto 26px; line-height: 1.8; color: var(--ink); }
/* ===================================================================
   TOUR 9
   =================================================================== */

/* Mes solutions : l'onglet actif est NOIR, les autres restent gris foncé */
.rd-tab[aria-selected="true"] { background: var(--tile); border-color: rgba(255,255,255,0.14); border-left-color: var(--acc); }

/* Grande tuile : tête noire (titre), corps gris, pied noir (prix + bouton) */
.rd-panel { padding: 0; background: var(--tile-grey); }
.rd-panel-head { padding: 30px 28px 26px; background: var(--tile); }
.rd-panel-head .rd-panel-title { margin-bottom: 0; }
.rd-panel-body { padding: 26px 28px 8px; }
.rd-panel-foot { margin: 0; padding: 24px 28px; background: var(--tile); border-top: 0; }
@media (min-width: 820px) { .rd-panel { padding: 0; } .rd-panel-head { padding: 36px 38px 30px; } .rd-panel-body { padding: 30px 38px 12px; } .rd-panel-foot { padding: 26px 38px; } }
@media (max-width: 400px) { .rd-panel { padding: 0; } .rd-panel-head { padding: 26px 20px 22px; } .rd-panel-body { padding: 22px 20px 6px; } .rd-panel-foot { padding: 22px 20px; } }

/* Méthode (Services) : on mélange noir, blanc et gris pour atténuer le contraste tout en le gardant.
   Pastilles gris foncé, fiche : tête noire / "En clair" blanc / "Ce que vous y gagnez" gris foncé. */
#methode.rd-mix .qz-wbtn { background: var(--tile-grey); }
#methode.rd-mix .qz-wbtn:hover, #methode.rd-mix .qz-wbtn.is-active { background: var(--sq); }
#methode.rd-mix .rd-wd { padding: 0; background: #fff; border: 1px solid rgba(42,40,35,0.18); border-left: 5px solid var(--sq); box-shadow: var(--shadow-soft); overflow: hidden; }
#methode.rd-mix .rd-wd-head { padding: 26px 26px 22px; background: var(--tile); }
#methode.rd-mix .rd-wd-head .qz-wd-title { margin-bottom: 8px; color: #fff; }
#methode.rd-mix .rd-wd-head .qz-wd-text { color: var(--ink); }
#methode.rd-mix .rd-wd-list { gap: 0; margin-top: 0; }
#methode.rd-mix .rd-wd-list > div { padding: 22px 26px; border-top: 0; }
#methode.rd-mix .rd-wd-clair { background: #fff; }
#methode.rd-mix .rd-wd-clair dt { color: #bf5b25; }
#methode.rd-mix .rd-wd-clair dd { color: var(--ink-dark); }
#methode.rd-mix .rd-wd-gain { background: var(--tile-grey); }
#methode.rd-mix .rd-wd-gain dt { color: var(--peach); }
#methode.rd-mix .rd-wd-gain dd { color: #fff; }
#methode.rd-mix .rd-wd-foot { padding: 0 26px 26px; background: var(--tile-grey); }
#methode.rd-mix .rd-wd .btn { margin-top: 0; }

/* Pour qui : le titre de la tuile agence claque (rouge, plus grand) */
.rd-agency { border-top-color: var(--red); }
.rd-agency h3 { color: var(--red); font-size: clamp(1.7rem, 4.4vw, 2.4rem); letter-spacing: -0.3px; }

/* ===================================================================
   TOUR 10
   =================================================================== */

/* Étiquettes d'offre : composant .offer-title-badge du thème (pêche ; rouge = mise en avant) + étiquette contour (comme sur les visuels de posts) */
.rd-etiq { display: flex; flex-wrap: wrap; margin-bottom: 18px; }
.rd-etiq .offer-title-badge { margin-bottom: 0; font-size: 1rem; }
.rd-etiq-out { display: inline-block; padding: 6px 16px; border: 2px solid rgba(255,255,255,0.85); border-left: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: #fff; }
.rd-th-name.offer-title-badge { display: inline-block; margin-bottom: 0; font-size: 1rem; color: var(--black); }
.rd-th-name.offer-title-badge-featured { color: var(--white); }
.rd-th-need { margin-top: 12px; }

/* Méthode (Services) : carte en DEUX tons seulement, comme la grande tuile de "Mes solutions" : tête noire, corps gris */
#methode.rd-mix .rd-wd { background: var(--tile-grey); border: 1px solid rgba(255,255,255,0.12); border-left: 5px solid var(--sq); }
#methode.rd-mix .rd-wd-head { background: var(--tile); }
#methode.rd-mix .rd-wd-clair, #methode.rd-mix .rd-wd-gain { background: transparent; }
#methode.rd-mix .rd-wd-list > div + div { border-top: 1px solid rgba(255,255,255,0.16); }
#methode.rd-mix .rd-wd-clair dt, #methode.rd-mix .rd-wd-gain dt { color: var(--sq-t); }
#methode.rd-mix .rd-wd-clair dd, #methode.rd-mix .rd-wd-gain dd { color: #fff; }
#methode.rd-mix .rd-wd-foot { background: transparent; }

/* Miniatures (images à la une dans les tuiles) : ombre progressive qui fond l'image dans la tuile,
   comme sur les visuels de posts. Automatique : un simple dégradé, aucune retouche d'image. */
.rd-case-img::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,0.10) 0%, rgba(11,11,11,0) 28%, rgba(11,11,11,0.55) 68%, var(--tile) 100%); }
.rd-case-img { margin-bottom: -1px; }
.rd-case-body { position: relative; margin-top: -30px; padding-top: 6px; }
/* ===================================================================
   TOUR 11
   =================================================================== */

/* Onglets : l'étiquette d'offre du thème, puis le besoin, puis le prix */
.rd-tab { gap: 8px; }
.rd-tab-name.offer-title-badge { align-self: flex-start; margin-bottom: 0; font-size: 1rem; color: var(--black); }
.rd-tab-name.offer-title-badge-featured { color: var(--white); }
.rd-tab-need { font-size: 0.88rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--white); }
.rd-tab[aria-selected="true"] .rd-tab-need { color: var(--white); }
.rd-tab-price { font-size: 0.82rem; }

/* Roue : couleurs de la marque uniquement (rouge / pêche en alternance), tuiles noires qui s'allument au survol */
.rd-wheel4 .qz-sq-g2 { --sq: var(--red); --sq-ink: #fff; --sq-t: #ff7a6b; }
.rd-wheel4 .qz-sq-g3 { --sq: var(--peach); --sq-ink: #111; --sq-t: var(--peach); }
.rd-wheel4 .qz-arc-g2 { stroke: var(--red); }
.rd-wheel4 .qz-arc-g3 { stroke: var(--peach); }
.qz-sec-light .rd-wheel4 .qz-sq-g2 { --sq: var(--red); --sq-ink: #fff; }
.qz-sec-light .rd-wheel4 .qz-sq-g3 { --sq: var(--peach); --sq-ink: #111; }
.qz-sec-light .rd-wheel4 .qz-arc-g2 { stroke: var(--red); }
.qz-sec-light .rd-wheel4 .qz-arc-g3 { stroke: var(--peach); }
.rd-wheel4 .qz-wbtn, #methode.rd-mix .qz-wbtn { background: var(--tile); }
.rd-wheel4 .qz-wbtn:hover, .rd-wheel4 .qz-wbtn.is-active, #methode.rd-mix .qz-wbtn:hover, #methode.rd-mix .qz-wbtn.is-active { background: var(--sq); color: var(--sq-ink); }
.qz-sec-light .rd-wheel4 .qz-wbtn:hover, .qz-sec-light .rd-wheel4 .qz-wbtn.is-active { color: var(--sq-ink); }

/* Autorité sous la roue (remplace la phrase "Ce n'est pas une théorie…") */
.rd-proof { max-width: 880px; margin-top: 34px; }
.rd-proof-text { font-size: 0.98rem; line-height: 1.75; color: var(--ink); }
.rd-proof-text cite { font-style: italic; color: var(--peach); }
.rd-proof-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rd-proof-links a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.35); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; transition: border-color var(--t), color var(--t), background-color var(--t); }
.rd-proof-links a:hover, .rd-proof-links a:focus-visible { border-color: var(--peach); color: var(--peach); }
.qz-sec-light .rd-proof-text { color: var(--ink-dark); }
.qz-sec-light .rd-proof-text cite { color: #bf5b25; }
.qz-sec-light .rd-proof-links a { border-color: rgba(42,40,35,0.4); color: var(--ink-dark); }
.qz-sec-light .rd-proof-links a:hover, .qz-sec-light .rd-proof-links a:focus-visible { border-color: var(--red); color: var(--red); }

/* Cas clients : on retrouve les étiquettes de secteur et le liseré de couleur du site, sous l'ombre progressive */
.rd-case { border-top: 3px solid var(--c, var(--red)); }
.rd-case-img .case-sector { position: absolute; left: 16px; bottom: 14px; z-index: 2; }
.rd-case-body { margin-top: 0; padding-top: 20px; }
.rd-case-more { color: var(--c, var(--red)); }
.rd-dk .rd-case-more { color: var(--c, var(--red)); }
/* ===================================================================
   TOUR 12
   =================================================================== */

/* Onglets : le prospect d'abord (situation en grand), l'offre ensuite (étiquette plus petite), puis le prix */
.rd-tab { gap: 10px; padding: 20px 22px; }
.rd-tab-need { font-size: 1.12rem; font-weight: 600; line-height: 1.3; color: #fff; }
.rd-tab-name.offer-title-badge { font-size: 0.78rem; padding: 4px 10px; line-height: 1.3; }
.rd-tab-price { font-size: 0.8rem; color: var(--muted); }
.rd-tab[aria-selected="true"] .rd-tab-price { color: var(--ink); }

/* Cas clients : la tuile "Voir tous les récits" est à droite (comme sur le site), plus un bouton en bas */
.rd-case-more-li { min-width: 0; }
.rd-case-more-li .case-more { height: 100%; min-height: 160px; }
@media (min-width: 700px) and (max-width: 979px) { .rd-case-more-li { grid-column: 1 / -1; } .rd-case-more-li .case-more { min-height: 0; } }
@media (min-width: 980px) { .rd-cases { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.65fr); } }
/* ===================================================================
   PAGE "QUIZ ARCHÉTYPE DE MARQUE" (tour 13)
   Règle : 4 familles = 4 couleurs franches, rouge / pêche / noir / blanc, partout sur la page
   (roues, étiquettes, légendes, logos). Plus de gris clair ni de crème pour distinguer les familles.
   =================================================================== */
.rd-g0, .rd-gt0 { --gc: var(--red); --gk: #fff; }
.rd-g1, .rd-gt1 { --gc: var(--peach); --gk: #111; }
.rd-g2, .rd-gt2 { --gc: #0b0b0b; --gk: #fff; }
.rd-g3, .rd-gt3 { --gc: #fff; --gk: #111; }

/* Héros */
.rd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; list-style: none; padding: 0; }
.rd-tag { display: inline-block; padding: 6px 14px; border: 2px solid rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: #fff; }
.rd-hero-quiz .hero-cta { margin-top: 26px; }
.rd-hero-note { max-width: 560px; margin-top: 20px; font-size: 0.84rem; line-height: 1.7; color: var(--muted); }
.rd-byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.rd-byline img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); border: 1px solid rgba(255,255,255,0.25); }
.rd-byline strong { display: block; font-size: 0.92rem; color: #fff; }
.rd-byline cite { font-style: italic; color: var(--peach); }
.rd-deck { margin: 0 auto; }
@media (min-width: 980px) { .rd-deck { height: 340px; max-width: none; margin: 0; } .rd-deck .qz-tcard { --w: 150px; --step: 52px; } }

/* Définition */
.rd-def { display: grid; gap: 34px; align-items: start; }
.rd-def > * { min-width: 0; }
.rd-brief { padding: 28px 26px; background: var(--tile); border-top: 5px solid var(--red); color: #fff; }
.rd-brief-title { margin-bottom: 16px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--peach); }
.rd-brief ul { display: grid; gap: 14px; }
.rd-brief li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.rd-brief li span { flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; }
.rd-brief li:nth-child(even) span { background: var(--peach); color: #111; }
.rd-brief svg { width: 20px; height: 20px; }
.rd-narrow { max-width: 760px; }
@media (min-width: 900px) { .rd-def { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 56px; } .rd-brief { position: sticky; top: 110px; } }

/* Pourquoi */
.rd-why { display: grid; gap: 14px; margin-top: 30px; }
.rd-why-card { padding: 26px 22px 28px; background: var(--tile); border-top: 5px solid var(--acc); color: #fff; }
.rd-why-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--acc); color: var(--acc-ink); }
.rd-why-icon svg { width: 26px; height: 26px; }
.rd-why-card h3 { margin-bottom: 8px; font-size: 1.1rem; font-weight: 600; color: #fff; }
.rd-why-card p { font-size: 0.94rem; line-height: 1.7; color: var(--ink); }
@media (min-width: 700px) { .rd-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .rd-why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Roues : 4 familles = 4 couleurs */
.rd-qw .qz-arc-g0 { stroke: var(--red); }
.rd-qw .qz-arc-g1 { stroke: var(--peach); }
.rd-qw .qz-arc-g2 { stroke: #0b0b0b; }
.rd-dk .rd-qw .qz-arc-g2 { filter: drop-shadow(0 0 0.8px rgba(255,255,255,0.95)); }
.rd-qw .qz-arc-g3 { stroke: #fff; }
.qz-sec-light .rd-qw .qz-arc-g3 { filter: drop-shadow(0 0 0.8px rgba(0,0,0,0.55)); }
.qz-sec-light .rd-qw .qz-wheel-core-n { color: var(--ink-dark); }
.qz-sec-light .rd-qw .qz-wheel-core-t { color: var(--muted-dark); }
.rd-wheel12 .qz-wnode { width: 14%; }
.rd-wheel12 .qz-wbtn { background: var(--gc); border: 2px solid var(--gc); color: var(--gk); }
.rd-wheel12 .rd-g2 .qz-wbtn { border-color: #fff; }
.rd-wheel12 .qz-wicon { width: 44%; }
.rd-wheel12 .qz-wlabel { font-size: 0.54rem; letter-spacing: 0.2px; }
.rd-wheel12 .qz-wbtn:hover, .rd-wheel12 .qz-wbtn.is-active { background: var(--gc); color: var(--gk); transform: scale(1.14); box-shadow: 0 0 0 3px #fff; }
.rd-wheel12 .rd-g3 .qz-wbtn:hover, .rd-wheel12 .rd-g3 .qz-wbtn.is-active { box-shadow: 0 0 0 3px var(--red); }
.rd-wheel8 .qz-wnode { width: 17.5%; }
.rd-wheel8 .qz-wbtn { background: #0b0b0b; border: 3px solid var(--gc); padding: 5%; }
.rd-wheel8 .qz-wbtn img { width: 100%; height: 100%; object-fit: contain; }
.rd-wheel8 .qz-wlabel { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 2px 8px; background: var(--gc); color: var(--gk); border: 1px solid rgba(0,0,0,0.18); font-size: 0.56rem; }
.rd-wheel8 .qz-wbtn:hover, .rd-wheel8 .qz-wbtn.is-active { background: #0b0b0b; transform: scale(1.1); box-shadow: 0 0 0 3px var(--ink-dark); }

/* Fiche à la demande : tête noire (étiquette de famille, nom, accroche), corps gris foncé */
.rd-ac { padding: 0; min-height: 0; overflow: hidden; background: var(--tile-grey); border: 1px solid rgba(255,255,255,0.12); border-left: 5px solid var(--gc); }
.rd-ac[hidden] { display: none; }
.rd-ac-head { position: relative; padding: 24px 118px 22px 24px; background: var(--tile); }
.rd-ac-head .qz-wd-title { margin: 10px 0 6px; color: #fff; }
.rd-ac-tagline { line-height: 1.55; color: var(--ink); }
.rd-ac-portrait { position: absolute; right: 20px; top: 20px; width: 84px; height: 84px; object-fit: contain; background: #0b0b0b; border: 2px solid var(--gc); }
.rd-ac-icon { position: absolute; right: 20px; top: 20px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--gc); color: var(--gk); border: 1px solid rgba(255,255,255,0.4); }
.rd-ac-icon svg { width: 32px; height: 32px; }
.rd-ac-body { padding: 22px 24px 26px; }
.rd-ac-intro, .rd-ac-quote { line-height: 1.7; color: #fff; }
.rd-ac-quote { font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.rd-kw { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.rd-kw li { padding: 4px 10px; border: 1px solid rgba(255,255,255,0.4); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; }
.rd-ac-brands { margin-bottom: 18px; font-size: 0.94rem; line-height: 1.6; color: var(--ink); }
.rd-ac-brands strong { display: block; margin-bottom: 2px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--peach); }
.rd-dk .rd-ac { background: var(--tile); }
.rd-dk .rd-ac-head { border-bottom: 1px solid rgba(255,255,255,0.14); }
.qz-sec-light .rd-ac { box-shadow: var(--shadow-soft); }

/* Étiquettes de famille (même logique que les étiquettes d'offre) et légendes */
.rd-gtags { margin: 0; }
.rd-gtag { display: inline-block; padding: 5px 12px; background: var(--gc); color: var(--gk); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.3; border: 1px solid rgba(255,255,255,0.0); }
.rd-gtag.rd-gt2 { border-color: rgba(255,255,255,0.75); }
.rd-gtag.rd-gt3 { border-color: rgba(0,0,0,0.25); }
.rd-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.rd-legend li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 6px; align-items: center; padding: 16px 18px; background: var(--tile); color: #fff; }
.rd-legend strong { font-size: 0.86rem; font-weight: 700; }
.rd-legend li > span:last-child { grid-column: 1 / -1; font-size: 0.84rem; line-height: 1.55; color: var(--ink); }
.rd-sw { display: inline-block; width: 16px; height: 16px; background: var(--gc); border: 1px solid rgba(255,255,255,0.75); }
@media (min-width: 900px) { .rd-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Marques : un archétype à la fois (tout est dans le HTML) */
.rd-chips { display: none; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.js .rd-chips { display: flex; }
.rd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; background: transparent; border: 1px solid rgba(42,40,35,0.4); border-bottom: 4px solid var(--gc); color: var(--ink-dark); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; cursor: pointer; transition: background-color var(--t), color var(--t); }
.rd-chip.rd-g3 { border-bottom-color: rgba(42,40,35,0.4); }
.rd-chip img { width: 30px; height: 30px; object-fit: contain; background: #0b0b0b; }
.rd-chip:hover { border-color: var(--ink-dark); }
.rd-chip[aria-pressed="true"] { background: var(--ink-dark); border-color: var(--ink-dark); border-bottom-color: var(--gc); color: #fff; }
.rd-chip.rd-g3[aria-pressed="true"] { border-bottom-color: #fff; }
.rd-chip:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rd-bpanel[hidden] { display: none; }
.rd-bpanel + .rd-bpanel { margin-top: 44px; }
.rd-bpanel-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.rd-bpanel-sub { font-size: 1rem; font-weight: 600; color: var(--ink-dark); }
.rd-bgrid { display: grid; gap: 14px; }
.rd-bt { display: flex; flex-direction: column; gap: 8px; padding: 0 0 22px; background: var(--tile); color: #fff; }
.rd-bt .qz-logo { height: 100px; margin-bottom: 8px; }
.rd-bt .qz-tone-white { background: #fff; }
.rd-bt .qz-tone-dark { background: #2a2a2a; }
.rd-bt strong { padding: 0 20px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.rd-bt-text { padding: 0 20px; font-size: 0.88rem; line-height: 1.65; color: var(--ink); }
@media (min-width: 600px) { .rd-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rd-bgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Méthode : 6 étapes en tuiles */
.rd-steps6 { display: grid; gap: 14px; margin-top: 30px; list-style: none; padding: 0; }
.rd-step { position: relative; padding: 26px 24px 28px; background: var(--tile); border-top: 5px solid var(--acc); color: #fff; }
.rd-step-n { position: absolute; right: 20px; top: 16px; font-size: 2.2rem; font-weight: 700; line-height: 1; color: rgba(255,255,255,0.13); }
.rd-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 14px; background: var(--acc); color: var(--acc-ink); }
.rd-step-icon svg { width: 24px; height: 24px; }
.rd-step h3 { margin-bottom: 8px; font-size: 1.08rem; font-weight: 600; color: #fff; }
.rd-step p { font-size: 0.94rem; line-height: 1.7; color: var(--ink); }
@media (min-width: 700px) { .rd-steps6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .rd-steps6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rd-consult { margin-top: 30px; }

/* Appel final */
.rd-final-text { max-width: 560px; margin: 0 auto 26px; line-height: 1.75; color: var(--ink); }
.about-text-col .rd-kicker { color: var(--red); margin-bottom: 10px; }
.rd-quiz .qz-note a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rd-quiz .rd-dk .qz-note a { color: var(--peach); }
.rd-legend li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .rd-legend { grid-template-columns: minmax(0, 1fr); } }

/* ===================================================================
   PAGE QUIZ : tour 14
   =================================================================== */
/* mes 8 archétypes sur fond gris foncé : le groupe "noir" garde un liseré blanc pour rester visible, comme dans la légende */
.rd-wheel8 .rd-g2 .qz-wbtn { border-color: #fff; }
.rd-wheel8 .qz-wlabel { border-color: rgba(255,255,255,0.25); }
.rd-wheel8 .qz-wbtn:hover, .rd-wheel8 .qz-wbtn.is-active { box-shadow: 0 0 0 3px #fff; }
.rd-dk .rd-wheel8 .qz-wheel-core-n { color: #fff; }
/* étiquettes de marques sans miniature */
.rd-chip { padding: 9px 16px; }
/* ===================================================================
   PAGE QUIZ : tour 15
   =================================================================== */
/* cadre d'image uniforme dans les fiches : même épaisseur pour toutes les familles ; la famille "noir" prend un cadre blanc, sinon il serait invisible sur la tête noire */
.rd-ac-portrait { border: 2px solid var(--gc); }
.rd-ac.rd-g2 .rd-ac-portrait { border-color: #fff; }
.rd-ac-icon { border: 2px solid var(--gc); }
.rd-ac.rd-g2 .rd-ac-icon { border-color: #fff; }
.rd-ac.rd-g3 .rd-ac-icon { border-color: #fff; }

/* définition : colonne de droite = "À retenir" puis invitation au quiz */
.rd-def-side { display: grid; gap: 14px; align-content: start; min-width: 0; }
@media (min-width: 900px) { .rd-def-side { position: sticky; top: 110px; } .rd-def-side .rd-brief { position: static; } }

/* invitations contextuelles : une tuile dans la section (pas un bandeau pleine largeur) */
.rd-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 30px; padding: 22px 26px; background: var(--tile); border-left: 5px solid var(--red); color: #fff; }
.rd-cta-body { flex: 1 1 320px; min-width: 0; }
.rd-cta-title { font-size: 1.12rem; font-weight: 600; line-height: 1.35; color: #fff; }
.rd-cta-text { margin-top: 4px; font-size: 0.92rem; line-height: 1.6; color: var(--ink); }
.rd-cta .btn { flex: 0 0 auto; }
.rd-cta-side { display: block; margin-top: 0; padding: 24px 24px 26px; border-left: 0; border-top: 5px solid var(--peach); }
.rd-cta-side .rd-cta-text { margin-bottom: 18px; }
.rd-dk .rd-cta { background: #0b0b0b; }

/* fiches : deux actions côte à côte */
.rd-ac-actions { display: flex; flex-wrap: wrap; gap: 10px; }.rd-step-btn { margin-top: 16px; }

/* Un élément masqué par l'attribut hidden le reste, même quand sa classe (.btn) fixe un display. */
.rd-result [hidden], .rd-wd [hidden], .rd-panel [hidden] { display: none; }

/* Perf : les sections sous le héros ne sont mises en page que lorsqu'on s'en approche */
.rd-page main > section + section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.rd-map-stage { contain: layout paint style; }

/* ===================================================================
   PAGE À PROPOS : image du héros (ondes carrées), roue des axes, manifeste
   Composants .rd-ab-* (chargés avec le reste de redesign.css sur le modèle À propos)
   =================================================================== */
/* ----- 1. HÉROS : le récit au centre, ses mots sur des cadres carrés qui pulsent (différent de l'accueil et de Services) ----- */
.rd-ab-ripple .rd-map-stage { max-width: 540px; }
.rd-ab-ripple .rd-node-core { font-size: 0.86rem; padding: 16px 22px; letter-spacing: 2px; }
.rd-ab-frame { fill: none; stroke: rgba(245,157,106,0.35); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.rd-ab-wave { fill: none; stroke: var(--red); stroke-width: 1.5px; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-sync .rd-ab-wave { animation: rd-ab-wave 4.2s ease-out infinite; }
.is-sync .rd-ab-wave:nth-of-type(2) { animation-delay: -1.4s; }
.is-sync .rd-ab-wave:nth-of-type(3) { animation-delay: -2.8s; }
@keyframes rd-ab-wave { 0% { transform: scale(0.18); opacity: 0.8; } 100% { transform: scale(1.06); opacity: 0; } }
@media (max-width: 420px) { .rd-ab-ripple .rd-node { font-size: 0.5rem; letter-spacing: 0.8px; padding: 6px 7px; } .rd-ab-ripple .rd-node-core { font-size: 0.62rem; padding: 10px 12px; } }

/* ----- 2. UNE MISSION, TROIS AXES : la roue de la méthode, à trois branches ----- */
.rd-ab-axes .qz-h2 { margin-bottom: 30px; }
.rd-ab-wheel3 .qz-wnode { width: 24%; }
.rd-ab-wheel3 .qz-wheel-core-n { font-size: clamp(2.6rem, 10vw, 4.6rem); }
.rd-ab-wheel3 .qz-wicon { width: 36%; }
@media (min-width: 641px) { .rd-ab-wheel3 .qz-wlabel { font-size: 0.66rem; } }
.rd-ab-wheel3 .qz-wbtn { background: var(--tile); }
.rd-ab-wheel3 .qz-wbtn:hover, .rd-ab-wheel3 .qz-wbtn.is-active { background: var(--sq); color: var(--sq-ink); }
.rd-ab-wheel3 .rd-wd .hl-red { color: #ff7a6b; font-weight: 600; }
.rd-ab-wheel3 .rd-wd .qz-wd-text { font-size: 1.04rem; line-height: 1.85; color: #fff; }
.rd-ab-wheel3 .rd-wd .rd-wd-head { padding-bottom: 6px; }
@media (min-width: 900px) { .rd-ab-wheel3 { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; } }

/* ----- 3. MANIFESTE : une affiche (fond sombre) ----- */
.rd-ab-mf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 40px; margin-bottom: 14px; }
.rd-ab-mf-head .qz-h2 { margin-bottom: 0; }
.rd-ab-pulse { flex: 1 1 260px; max-width: 520px; height: 64px; opacity: 0.95; pointer-events: none; }
.rd-ab-pulse svg { width: 100%; height: 100%; display: block; }
.rd-ab-pulse path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .rd-ab-pulse path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s ease-out; }
.js .rd-ab-pulse.is-in path { stroke-dashoffset: 0; }
.rd-ab-poster { list-style: none; margin: 0; padding: 0; }
.rd-ab-line { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 26px 0 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.rd-ab-line:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.rd-ab-line-n { font-size: 0.74rem; font-weight: 700; letter-spacing: 3px; color: var(--peach); }
.rd-ab-line:nth-child(odd) .rd-ab-line-n { color: #ff7a6b; }
.rd-ab-line p { margin: 0; max-width: 820px; font-size: clamp(1.45rem, 3.1vw, 2.35rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.2px; color: #fff; text-wrap: balance; }
/* le mot important : couleur de police seulement (comme ailleurs dans le thème) */
.rd-ab-line .hl-red { color: #ff7a6b; }
.rd-ab-line .hl-peach { color: var(--peach); }
@media (min-width: 900px) {
  .rd-ab-line { grid-template-columns: 70px minmax(0, 1fr); gap: 26px; align-items: baseline; padding: 30px 0 32px; }
}
/* avec JavaScript : la phrase arrive en douceur */
.js .rd-ab-line p { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rd-ab-line.is-in p { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .is-sync .rd-ab-wave { animation: none; }
  .js .rd-ab-line p { opacity: 1; transform: none; transition: none; }
    .js .rd-ab-pulse path { stroke-dashoffset: 0; transition: none; }
}

/* Phrase de présentation de la bio (facultative, champ ACF « bio_intro ») */
.about-intro { margin-bottom: 14px; font-size: 1.05rem; line-height: 1.8; color: var(--ink-dark); }

/* ===================================================================
   CONTRASTE (accessibilité) : teintes juste assez plus lisibles pour les petits textes
   =================================================================== */
.about-band .section-title { color: #c0302f; }
.rd-case.cc-red .rd-case-more, .rd-dk .rd-case.cc-red .rd-case-more { color: #ee4a4a; }
.rd-page .qz-link { color: #f25a5a; }
.rd-page .qz-link:hover { color: var(--ink-dark); }
.rd-page .qz-sec-light .qz-link { color: #c0302f; }
/* Lien « en savoir plus » de la bande À propos : pêche trop clair sur fond clair (1,9:1), orange brûlé à 4,8:1. */
.about-band .section-detail-link { color: #b0501a; }
