.rf-em { font-style: normal; color: var(--accent); }
.rf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: end; margin-bottom: 34px; }
.rf-head h2 { margin: 0; color: var(--brun-nuit); font: 800 clamp(2rem, 4vw, 3rem)/1.08 var(--police-titre); }
.rf-head h2 em { font-style: normal; color: var(--accent); }
.rf-head > p { margin: 0; color: #5b4a3c; font: 400 1.02rem/1.75 "Manrope", var(--police-texte); }

.rf-refs { padding: 70px 0 80px; background: linear-gradient(180deg, #fff 0, #faf5ee 100%); overflow: hidden; }
.rf-ticker { margin: 0 -3% 40px; padding: 16px 0; background: var(--brun); transform: rotate(-1deg); box-shadow: 0 16px 30px -22px rgba(47,27,11,.8); }
.rf-ticker-track { display: flex; width: max-content; animation: rf-tick 40s linear infinite; }
.rf-ticker:hover .rf-ticker-track { animation-play-state: paused; }
.rf-ticker ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.rf-ticker li { padding: 0 20px; color: #fff; font: 800 clamp(1rem, 2vw, 1.35rem)/1 var(--police-titre); text-transform: uppercase; letter-spacing: .02em; }
.rf-ticker li:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.1px var(--accent); }
.rf-ticker li.rf-dot { padding: 0; color: var(--accent); font-size: 1rem; }
@keyframes rf-tick { to { transform: translateX(-50%); } }

.rf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.rf-card { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; overflow: hidden; border-radius: 20px; background: #fff;
  border: 1px solid #f0e4d4; box-shadow: 0 16px 34px -26px rgba(74,43,18,.55); transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.rf-card.reveal { transition-delay: var(--d, 0ms); }
.rf-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--accent); transform: scaleX(.18); transform-origin: left; transition: transform .45s ease; }
.rf-card:hover { transform: translateY(-6px); border-color: #f2c88a; box-shadow: 0 28px 46px -28px rgba(74,43,18,.6); }
.rf-card:hover::before { transform: none; }
.rf-mono { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px;
  background: linear-gradient(145deg, var(--brun-clair), var(--brun-nuit)); color: var(--accent); font: 800 1.15rem var(--police-titre); letter-spacing: .02em;
  box-shadow: 0 12px 22px -12px rgba(47,27,11,.8); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.rf-card:hover .rf-mono { transform: rotate(-8deg) scale(1.06); }
.rf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.rf-sect { padding: 4px 10px; border-radius: 999px; background: #fbeedd; color: var(--accent-fonce); font: 800 .68rem var(--police-titre); letter-spacing: .07em; text-transform: uppercase; }
.rf-lieu { color: #8a7d70; font: 700 .78rem var(--police-titre); }
.rf-lieu::before { content: "• "; color: var(--accent); }
.rf-card h3 { margin: 0 0 8px; color: var(--brun-nuit); font: 800 1.12rem/1.3 var(--police-titre); }
.rf-card p { margin: 0 0 18px; color: #5b4a3c; font: 400 .92rem/1.6 "Manrope", var(--police-texte);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rf-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; align-self: flex-start; padding-bottom: 3px; border-bottom: 2px solid rgba(245,168,58,.55);
  color: var(--brun); font: 800 .84rem var(--police-titre); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: gap .25s, color .25s; }
.rf-link:hover { gap: 14px; color: var(--accent-fonce); }

.rf-parts-sec { padding: 80px 0 90px; background: #fff; }
.rf-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.rf-part { display: flex; flex-direction: column; align-items: center; padding: 26px 20px 24px; border-radius: 20px; background: #fff; border: 1px solid #f0e4d4;
  text-align: center; box-shadow: 0 16px 34px -28px rgba(74,43,18,.55); transition: transform .35s, box-shadow .35s, border-color .35s; }
.rf-part:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 28px 46px -28px rgba(74,43,18,.6); }
.rf-logo { display: grid; place-items: center; width: 100%; height: 110px; margin-bottom: 16px; border-radius: 14px; background: #fbf6ef; }
.rf-logo img { max-width: 72%; max-height: 80px; object-fit: contain; filter: grayscale(1) opacity(.75); transition: filter .35s, transform .35s; }
.rf-part:hover .rf-logo img { filter: none; transform: scale(1.08); }
.rf-part strong { color: var(--brun-nuit); font: 800 1.02rem var(--police-titre); }
.rf-part span { margin-top: 4px; color: #7a6a5c; font-size: .88rem; line-height: 1.45; }

@media (max-width: 1060px) {
  .rf-head { grid-template-columns: 1fr; gap: 14px; }
  .rf-grid { grid-template-columns: 1fr 1fr; }
  .rf-parts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .rf-refs, .rf-parts-sec { padding: 54px 0 60px; }
  .rf-grid { grid-template-columns: 1fr; }
  .rf-parts { gap: 12px; }
  .rf-logo { height: 90px; }
  .rf-logo img { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .rf-ticker-track { animation-duration: 140s; } }

.rf-logo-c { display: flex; align-items: center; justify-content: flex-start; height: 84px; margin-bottom: 18px; }
.rf-logo-c img { max-width: 70%; max-height: 84px; object-fit: contain; transition: transform .35s; }
.rf-card:hover .rf-logo-c img { transform: scale(1.05); }
.rf-logo-c--txt span { padding-left: 14px; border-left: 4px solid var(--accent); color: var(--brun); font: 800 1.02rem/1.3 var(--police-titre); letter-spacing: .01em; }
