/* Ressources — silo éditorial (/ressources/*)
 * Palette fermée : #28536B charcoal · #7EA8BE air · #F7E3AF peach · #EEB1D5 pink · #FFF5E1 latte
 * Composants `.r-*` — préfixe dédié pour éviter toute collision avec `.e-*` (études), `.h-*` (shared), `.calc-*` (simulateur), `.bs-*` (blog).
 */

.ressources-page {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  color: #28536B;
  /* padding-top : reserve l'espace sous la navbar fixed (top:16px + height ~64px + marge 16px) */
  padding: 96px 20px 80px;
  background: #FFFFFF;
}
/* Supprime le margin-top du breadcrumb car le padding-top parent couvre deja l'espace navbar */
.ressources-page .r-crumbs-row { margin-top: 0; }
/* Override webflow.css `p { max-width: 640px }` global rule — les `<p>` du silo ressources
   doivent prendre la largeur de leur conteneur (section, content, grid) pour permettre
   text-align:center sur toute la largeur. La lisibilité est portée par les wrappers
   (.r-content max-width:860px, .r-section max-width:1280px). */
.ressources-page p { max-width: none; }

/* ─────────── Breadcrumb (pattern partagé avec .e-crumbs) ───────────
 * Pill rounded avec icône maison. Porté depuis css/etudes.css §e-crumbs.
 * Doc : DESIGN_SYSTEM.md §7 (composant shared `.h-crumbs`). */
.r-crumbs-row {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.r-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: #7A8A99;
  font-weight: 500;
  padding: 8px 16px 8px 12px;
  background: rgba(126, 168, 190, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(126, 168, 190, 0.18);
  max-width: fit-content;
  flex-wrap: wrap;
}
.r-crumbs a {
  color: #7A8A99;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.r-crumbs a:hover {
  color: #28536B;
  background: white;
}
.r-crumbs a:first-child::before {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8A99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/><polyline points='9 22 9 12 15 12 15 22'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  flex-shrink: 0;
}
.r-crumbs a:first-child:hover::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328536B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/><polyline points='9 22 9 12 15 12 15 22'/></svg>");
}
.r-crumbs .sep {
  opacity: 0.35;
  font-size: 11px;
  user-select: none;
  color: #7A8A99;
}
.r-crumbs .current {
  color: #28536B;
  font-weight: 600;
  padding: 2px 8px;
}

/* ─────────── Hero ─────────── */
.r-hero {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 64px 56px 72px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(238, 177, 213, 0.38), transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 100%, rgba(247, 227, 175, 0.42), transparent 55%),
    linear-gradient(135deg, #FFF5E1 0%, #FFEFD5 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.r-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(40, 83, 107, 0.09);
  color: #28536B;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.r-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #28536B;
  margin: 0 0 24px;
  max-width: 800px;
}
.r-lede {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.58;
  color: #28536B;
  max-width: 700px;
  margin: 0 0 32px;
  opacity: 0.85;
}
.r-lede strong { font-weight: 700; opacity: 1; }
.r-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.r-cta-primary,
.r-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, background .2s, color .2s;
}
.r-cta-primary {
  background: #28536B;
  color: #FFF5E1;
}
.r-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(40, 83, 107, 0.28);
}
.r-cta-secondary {
  background: #FFFFFF;
  color: #28536B;
  border: 1.5px solid rgba(40, 83, 107, 0.18);
}
.r-cta-secondary:hover {
  background: #28536B;
  color: #FFF5E1;
  border-color: #28536B;
}
.r-cta-primary svg,
.r-cta-secondary svg {
  width: 16px;
  height: 16px;
}

/* ─────────── Stats ─────────── */
.r-stats {
  max-width: 1280px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.r-stat {
  padding: 22px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(126, 168, 190, 0.22);
  border-radius: 18px;
  text-align: center;
}
.r-stat-value {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #28536B;
  line-height: 1;
}
.r-stat-label {
  font-size: 13px;
  color: #7EA8BE;
  margin-top: 6px;
}

/* ─────────── Section wrapper ─────────── */
.r-section {
  max-width: 1280px;
  margin: 64px auto 0;
}
.r-section-head {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 16px;
}
.r-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(238, 177, 213, 0.28);
  color: #28536B;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.r-section-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: #28536B;
  margin: 0 auto 12px;
  line-height: 1.25;
  max-width: 760px;
}
.r-section-lede {
  font-size: clamp(15px, 1.15vw, 17px);
  color: #28536B;
  opacity: 0.78;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─────────── Grid cards ─────────── */
.r-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.r-grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.r-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid rgba(126, 168, 190, 0.22);
  border-radius: 20px;
  text-decoration: none;
  color: #28536B;
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.r-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EEB1D5, #F7E3AF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.r-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(40, 83, 107, 0.18);
  border-color: rgba(126, 168, 190, 0.38);
}
.r-card:hover::before { transform: scaleX(1); }
.r-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.r-card-emoji {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
}
/* Photo person (48x48 memoji/avatar for team cards) */
.r-card-photo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(126, 168, 190, 0.15);
}
.r-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.r-card-linkedin-ic {
  width: 22px;
  height: 22px;
  margin-left: auto;
  color: #0A66C2;
  flex-shrink: 0;
}
.r-card-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #F7E3AF;
  color: #28536B;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: auto;
  white-space: nowrap;
}
.r-card.is-new .r-card-badge { background: #EEB1D5; }
.r-card.is-soon {
  opacity: 0.6;
  pointer-events: none;
}
.r-card.is-soon .r-card-badge {
  background: rgba(126, 168, 190, 0.28);
  color: #28536B;
}
.r-card-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #28536B;
  margin: 0 0 8px;
  line-height: 1.25;
}
.r-card-desc {
  font-size: 15px;
  color: #28536B;
  opacity: 0.78;
  line-height: 1.5;
  margin: 0 0 20px;
  flex: 1;
}
.r-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #28536B;
  margin-top: auto;
}
.r-card-foot-arrow {
  transition: transform .25s;
  display: inline-block;
}
.r-card:hover .r-card-foot-arrow { transform: translateX(4px); }

/* Featured card (version plus proéminente pour sub-homes) */
.r-card-feature {
  grid-column: span 2;
  padding: 36px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(238, 177, 213, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(247, 227, 175, 0.24), transparent 55%),
    linear-gradient(135deg, #FFFFFF 0%, #FFF5E1 100%);
  border-color: rgba(247, 227, 175, 0.5);
}
.r-card-feature .r-card-title {
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.2;
}
.r-card-feature .r-card-desc { font-size: 16px; }

/* ─────────── Comparison table (7 spés) ─────────── */
.r-compare-wrap {
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(126, 168, 190, 0.22);
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(40, 83, 107, 0.04);
}
.r-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.r-compare th,
.r-compare td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid rgba(126, 168, 190, 0.15);
}
.r-compare th {
  background: #FFF5E1;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #28536B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.r-compare td { color: #28536B; }
.r-compare tr:last-child td { border-bottom: none; }
.r-compare tr:hover td { background: rgba(255, 245, 225, 0.5); }
.r-compare-spe {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 700;
}
.r-compare-spe a {
  color: #28536B;
  text-decoration: none;
  border-bottom: 1px solid rgba(40, 83, 107, 0.2);
  transition: border-color .2s;
}
.r-compare-spe a:hover { border-bottom-color: #28536B; }
.r-compare-num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* ─────────── FAQ pilier ─────────── */
.r-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}
.r-faq details {
  background: #FFFFFF;
  border: 1px solid rgba(126, 168, 190, 0.22);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.r-faq details[open] {
  border-color: rgba(238, 177, 213, 0.42);
  box-shadow: 0 4px 16px rgba(40, 83, 107, 0.06);
}
.r-faq summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #28536B;
  line-height: 1.35;
}
.r-faq summary::-webkit-details-marker { display: none; }
.r-faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  color: #28536B;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  line-height: 1;
}
.r-faq details[open] summary::after { transform: rotate(45deg); }
.r-faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #28536B;
  opacity: 0.88;
}
.r-faq-body p { margin: 0 0 10px; }
.r-faq-body p:last-child { margin: 0; }
.r-faq-body ul { margin: 10px 0; padding-left: 20px; }
.r-faq-body li { margin-bottom: 6px; }
.r-faq-body a {
  color: #28536B;
  text-decoration: underline;
  text-decoration-color: rgba(40, 83, 107, 0.3);
  text-underline-offset: 3px;
}

/* ─────────── Méthodologie + sources ─────────── */
.r-method {
  max-width: 1280px;
  margin: 56px auto 0;
  padding: 44px 36px;
  background: #FFF5E1;
  border-radius: 24px;
  border: 1px solid rgba(247, 227, 175, 0.55);
}
.r-method-head {
  max-width: 700px;
  margin: 0 auto 8px;
  text-align: center;
}
.r-method-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #28536B;
  margin: 0 0 10px;
}
.r-method-lede {
  font-size: 15px;
  color: #28536B;
  opacity: 0.82;
  line-height: 1.55;
}
.r-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.r-method-card {
  padding: 22px;
  background: #FFFFFF;
  border-radius: 14px;
}
.r-method-num {
  display: inline-flex;
  width: 28px; height: 28px;
  background: #28536B;
  color: #FFF5E1;
  border-radius: 100px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.r-method-cname {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #28536B;
  margin-bottom: 6px;
}
.r-method-cdesc {
  font-size: 14px;
  color: #28536B;
  opacity: 0.78;
  line-height: 1.5;
}

.r-sources {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 22px 26px;
  background: rgba(255, 245, 225, 0.5);
  border-radius: 14px;
  font-size: 13px;
  color: #28536B;
  opacity: 0.9;
  line-height: 1.65;
}
.r-sources strong { font-weight: 700; }

/* ─────────── Content blocks (hubs clusters) ─────────── */
.r-content {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 0 16px;
}
.r-content h2 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  color: #28536B;
  margin: 52px 0 16px;
  line-height: 1.25;
  scroll-margin-top: 80px;
}
.r-content h3 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 20px;
  color: #28536B;
  margin: 32px 0 12px;
  line-height: 1.3;
}
.r-content p {
  font-size: 16px;
  line-height: 1.72;
  color: #28536B;
  margin: 0 0 16px;
}
.r-content ul,
.r-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.r-content li {
  font-size: 16px;
  line-height: 1.72;
  color: #28536B;
  margin-bottom: 8px;
}
.r-content a {
  color: #28536B;
  text-decoration: underline;
  text-decoration-color: rgba(40, 83, 107, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.r-content a:hover { text-decoration-color: #28536B; }
.r-content strong { font-weight: 700; }

/* Inline table dans r-content */
.r-content .r-inline-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(126, 168, 190, 0.22);
  font-size: 14px;
}
.r-content .r-inline-table th,
.r-content .r-inline-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(126, 168, 190, 0.15);
}
.r-content .r-inline-table th {
  background: #FFF5E1;
  font-weight: 700;
  color: #28536B;
}
.r-content .r-inline-table tr:last-child td { border-bottom: none; }
.r-content .r-inline-table tr:hover td { background: rgba(255, 245, 225, 0.4); }

/* TOC (table of contents) */
.r-toc {
  max-width: 860px;
  margin: 32px auto 0;
  padding: 24px 28px;
  background: rgba(247, 227, 175, 0.28);
  border-radius: 16px;
  border: 1px solid rgba(247, 227, 175, 0.55);
}
.r-toc-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #28536B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.r-toc-title::before {
  content: '';
  width: 18px; height: 2px;
  background: #28536B;
  border-radius: 1px;
}
.r-toc ol {
  margin: 0;
  padding: 0 0 0 22px;
}
.r-toc li {
  margin-bottom: 7px;
  font-size: 15px;
}
.r-toc a {
  color: #28536B;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.r-toc a:hover { border-bottom-color: #28536B; }

/* Satellite callout (pattern card, PAS border-left) */
.r-satellite {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(238, 177, 213, 0.10), rgba(247, 227, 175, 0.12));
  border: 1px solid rgba(238, 177, 213, 0.28);
  border-radius: 14px;
  margin: 24px 0;
  color: #28536B;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.r-satellite:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(40, 83, 107, 0.14);
  border-color: rgba(238, 177, 213, 0.5);
}
.r-satellite-ic {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  border-radius: 12px;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(40, 83, 107, 0.06);
}
.r-satellite-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.r-satellite-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7EA8BE;
}
.r-satellite-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #28536B;
  line-height: 1.3;
}
.r-satellite-arrow {
  font-size: 18px;
  color: #28536B;
  transition: transform .22s;
}
.r-satellite:hover .r-satellite-arrow { transform: translateX(4px); }

/* Inline pill CTA (dans r-content) */
.r-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #28536B;
  color: #FFF5E1 !important;
  border-radius: 100px;
  text-decoration: none !important;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  margin: 8px 0;
}
.r-pill-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(40, 83, 107, 0.28);
}

/* Big CTA band (fin de page, avant footer) */
.r-big-cta {
  max-width: 1280px;
  margin: 72px auto 0;
  padding: 48px 40px;
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 80% at 20% 100%, rgba(238, 177, 213, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(247, 227, 175, 0.22), transparent 55%),
    linear-gradient(135deg, #28536B 0%, #234a60 100%);
  color: #FFF5E1;
}
.r-big-cta-kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 245, 225, 0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.r-big-cta-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #FFF5E1;
}
.r-big-cta-lede {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto 28px;
}
.r-big-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #FFF5E1;
  color: #28536B;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: transform .22s, box-shadow .22s;
}
.r-big-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* Status/freshness pill en haut de hero */
.r-fresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(40, 83, 107, 0.06);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #28536B;
  margin-left: 10px;
}
.r-fresh::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: #2e8a5f;
  border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(46, 138, 95, 0.6);
  animation: r-pulse 2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes r-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 138, 95, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(46, 138, 95, 0); }
}

/* ─────────── Responsive ─────────── */
@media (max-width: 900px) {
  .r-hero { padding: 44px 28px 52px; margin: 16px 12px 0; border-radius: 24px; }
  .r-stats { grid-template-columns: repeat(2, 1fr); margin: 24px 12px 0; }
  .r-section { margin: 48px auto 0; }
  .r-compare-wrap { margin: 0 12px; }
  .r-method { padding: 32px 22px; margin: 40px 12px 0; border-radius: 20px; }
  .r-big-cta { padding: 36px 24px; margin: 56px 12px 0; border-radius: 24px; }
  .r-card-feature { grid-column: span 1; padding: 28px; }
  .r-toc { margin: 24px 12px 0; }
  .r-content { padding: 0 12px; }
}
@media (max-width: 640px) {
  .ressources-page { padding: 0 12px 60px; }
  .r-hero { padding: 32px 20px 40px; border-radius: 20px; }
  .r-stats { gap: 12px; }
  .r-stat { padding: 18px 14px; }
  .r-stat-value { font-size: 26px; }
  .r-section-head { margin-bottom: 24px; }
  .r-ctas { flex-direction: column; align-items: stretch; }
  .r-cta-primary, .r-cta-secondary { justify-content: center; }
  .r-satellite { grid-template-columns: 40px 1fr; padding: 14px 18px; }
  .r-satellite-arrow { display: none; }
  .r-method-grid { grid-template-columns: 1fr; }
  .r-big-cta { padding: 28px 20px; }
  .r-content h2 { margin: 36px 0 12px; }
  .r-toc { padding: 18px 20px; }
  .r-compare th, .r-compare td { padding: 10px 12px; font-size: 13px; }
}

/* ─────────── Kit presse (page /a-propos/) ─────────── */
/* Logo cards for investors/supporters (text-only, palette-friendly) */
.r-logo-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(126, 168, 190, 0.22);
  border-radius: 18px;
  text-decoration: none;
  color: #28536B;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, border-color .22s;
  gap: 12px;
}
.r-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -10px rgba(40, 83, 107, 0.15);
  border-color: rgba(126, 168, 190, 0.4);
}
.r-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #28536B;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  overflow: hidden;
}
.r-logo-mark.bg-pink { background: rgba(238, 177, 213, 0.28); }
.r-logo-mark.bg-peach { background: rgba(247, 227, 175, 0.4); }
.r-logo-mark.bg-latte { background: rgba(255, 245, 225, 0.7); border: 1px solid rgba(247, 227, 175, 0.5); }
.r-logo-mark.bg-air { background: rgba(126, 168, 190, 0.2); }
/* Version avec logo image : fond blanc neutre, padding, image contenue */
.r-logo-mark.has-logo {
  background: #FFFFFF;
  border: 1px solid rgba(126, 168, 190, 0.22);
  padding: 8px;
  box-sizing: border-box;
}
.r-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.r-logo-name {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.r-logo-role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7EA8BE;
}
.r-logo-desc {
  font-size: 14px;
  color: #28536B;
  opacity: 0.78;
  line-height: 1.55;
  flex: 1;
}
.r-logo-card-foot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.r-logo-card-foot-arrow {
  transition: transform .22s;
  display: inline-block;
}
.r-logo-card:hover .r-logo-card-foot-arrow { transform: translateX(3px); }

/* Supporters strip (Marseille Innov, Bpi, French Care) */
.r-supporters {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 28px 32px;
  background: #FFF5E1;
  border-radius: 20px;
  border: 1px solid rgba(247, 227, 175, 0.55);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.r-supporters-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #28536B;
}
.r-supporters-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.r-supporters-logos a {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity .22s, transform .22s;
}
.r-supporters-logos a:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.r-supporters-logos img {
  height: 30px;
  width: auto;
  display: block;
}

/* Press contact card (Marin) */
.r-press-contact {
  max-width: 860px;
  margin: 32px auto 0;
  padding: 36px 40px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(238, 177, 213, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(247, 227, 175, 0.22), transparent 55%),
    linear-gradient(135deg, #FFFFFF 0%, #FFF5E1 100%);
  border: 1px solid rgba(247, 227, 175, 0.55);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: center;
}
.r-press-contact-avatar {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(126, 168, 190, 0.15);
  display: block;
}
.r-press-contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.r-press-contact-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.r-press-contact-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7EA8BE;
}
.r-press-contact-name {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #28536B;
  line-height: 1.2;
}
.r-press-contact-role {
  font-size: 15px;
  color: #28536B;
  opacity: 0.75;
}
.r-press-contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.r-press-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.r-press-action.primary {
  background: #28536B;
  color: #FFF5E1;
}
.r-press-action.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(40, 83, 107, 0.25);
}
.r-press-action.secondary {
  background: #FFFFFF;
  color: #28536B;
  border: 1px solid rgba(40, 83, 107, 0.18);
}
.r-press-action.secondary:hover {
  background: #28536B;
  color: #FFF5E1;
  border-color: #28536B;
}

/* Brand assets card */
.r-brand-assets {
  max-width: 1280px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.r-brand-card {
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(126, 168, 190, 0.22);
  border-radius: 18px;
}
.r-brand-card h4 {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #28536B;
}
.r-brand-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.r-brand-swatch {
  aspect-ratio: 1;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.r-brand-swatch[data-label] { color: rgba(40, 83, 107, 0.75); }
.r-brand-swatch.charcoal { background: #28536B; color: rgba(255,255,255,0.85); }
.r-brand-swatch.air { background: #7EA8BE; color: rgba(255,255,255,0.85); }
.r-brand-swatch.peach { background: #F7E3AF; color: #28536B; }
.r-brand-swatch.pink { background: #EEB1D5; color: #28536B; }
.r-brand-swatch.latte { background: #FFF5E1; color: #28536B; border: 1px solid rgba(247, 227, 175, 0.6); }
.r-brand-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #28536B;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  border-bottom: 1px solid rgba(40, 83, 107, 0.25);
  transition: border-color .2s;
}
.r-brand-dl:hover { border-bottom-color: #28536B; }

/* Timeline / milestones */
.r-timeline {
  max-width: 820px;
  margin: 32px auto 0;
  position: relative;
  padding-left: 0;
  list-style: none;
}
.r-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #EEB1D5, #F7E3AF);
  border-radius: 2px;
}
.r-timeline li {
  position: relative;
  padding: 0 0 24px 40px;
}
.r-timeline li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border: 3px solid #28536B;
  border-radius: 50%;
  box-sizing: border-box;
}
.r-timeline-date {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7EA8BE;
  margin-bottom: 4px;
}
.r-timeline-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #28536B;
  margin-bottom: 4px;
}
.r-timeline-desc {
  font-size: 14px;
  color: #28536B;
  opacity: 0.78;
  line-height: 1.55;
}

/* Responsive kit presse */
@media (max-width: 640px) {
  .r-press-contact {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: center;
  }
  .r-press-contact-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
  .r-press-contact-actions { justify-content: center; }
  .r-supporters { padding: 22px 20px; gap: 18px; flex-direction: column; align-items: flex-start; }
  .r-brand-swatches { grid-template-columns: repeat(5, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .r-card, .r-card-foot-arrow, .r-satellite, .r-satellite-arrow,
  .r-cta-primary, .r-cta-secondary, .r-pill-cta, .r-big-cta-btn,
  .r-fresh::before, .r-logo-card, .r-logo-card-foot-arrow,
  .r-press-action, .r-supporters-logos a {
    transition: none !important;
    animation: none !important;
  }
}
