/* =========================================================
   RNR Main Stylesheet
   Dépend de : rnr-tokens.css
   ========================================================= */

/* ─── 1. BASE ─────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--color-background-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── 2. TYPOGRAPHIE ──────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: var(--text-h1); line-height: 0.9; letter-spacing: -0.04em; }
h2 { font-size: var(--text-h2); line-height: 0.95; letter-spacing: -0.03em; }
h3 { font-size: var(--text-h3); line-height: 1.0; }
h4 { font-size: var(--text-h4); line-height: 1.1; }

p { margin: 0 0 1em; }

/* ─── 3. LAYOUT ───────────────────────────────────────────── */

.container-premium {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-m);
  padding-right: var(--space-m);
}

/* ─── 4. NAVIGATION ───────────────────────────────────────── */

.rnr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #fff;
  transition: transform 0.5s ease, background-color 0.3s ease;
}

.rnr-nav.is-scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.rnr-nav:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rnr-nav.is-hidden {
  transform: translateY(-100%);
}

.rnr-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Burger */
.rnr-nav__burger {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  width: 2rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.rnr-nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Quick links (desktop) */
.rnr-nav__quicklinks {
  display: none;
  align-items: center;
  gap: 1.5rem;
  height: 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 2rem;
}

@media (min-width: 1280px) {
  .rnr-nav__quicklinks { display: flex; }
}

.rnr-nav__quicklink {
  font-size: var(--text-base);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  transition: color 0.3s ease;
}

.rnr-nav__quicklink:hover { color: var(--color-primary); }

.rnr-nav__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .rnr-nav__left { gap: 2rem; }
}

/* Logo centered */
.rnr-nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.rnr-nav__logo-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3.125rem;
  transition: height 0.5s ease;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .rnr-nav__logo-inner { height: 3.75rem; }
}

.rnr-nav.is-scrolled .rnr-nav__logo-inner { height: 2.5rem; }

.rnr-nav__logo-img {
  height: 100%;
  width: auto;
  transition: height 0.5s ease;
}

.rnr-nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  transition: font-size 0.5s ease;
}

@media (min-width: 1024px) {
  .rnr-nav__logo-text { font-size: 2rem; }
}

.rnr-nav.is-scrolled .rnr-nav__logo-text { font-size: 1.25rem; }

/* Right actions */
.rnr-nav__actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .rnr-nav__actions { display: flex; }
}

.rnr-nav__sep {
  width: 1px;
  height: 1.25rem;
  background-color: rgba(255,255,255,0.2);
}

/* ─── 5. MEGA MENU ────────────────────────────────────────── */

.rnr-megamenu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background-color: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.rnr-megamenu.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Close button */
.rnr-megamenu__close {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 1024px) {
  .rnr-megamenu__close { left: 3rem; }
}

.rnr-megamenu__close:hover { color: var(--color-primary); }

.rnr-megamenu__close-label {
  font-size: var(--text-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rnr-megamenu__close:hover .rnr-megamenu__close-label { opacity: 1; }

/* Background image (right panel) */
.rnr-megamenu__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .rnr-megamenu__bg { left: 38%; }
}

.rnr-megamenu__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: blur(3px);
  animation: ken-burns 20s ease-out forwards;
}

.rnr-megamenu__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.75) 50%, rgba(0,0,0,0.6) 100%);
}

@media (min-width: 1024px) {
  .rnr-megamenu__bg::after {
    background: linear-gradient(to left, transparent 0%, rgba(0,0,0,0.75) 60%, #000 100%);
  }
}

/* Vertical separator (desktop) */
.rnr-megamenu__sep {
  display: none;
  position: absolute;
  left: 38%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(255,255,255,0.1);
  z-index: 20;
}

@media (min-width: 1024px) {
  .rnr-megamenu__sep { display: block; }
}

/* Left panel — menu list */
.rnr-megamenu__left {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem 2.5rem 2.5rem;
  transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
  .rnr-megamenu__left {
    inset: auto;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    padding: 6rem 4rem 3rem;
  }
}

.rnr-megamenu__left.slide-out {
  transform: translateX(-100%);
}

@media (min-width: 1024px) {
  .rnr-megamenu__left.slide-out { transform: none; }
}

/* Menu items */
.rnr-megamenu__items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.rnr-megamenu__item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Active indicator line */
.rnr-megamenu__item::before {
  content: '';
  position: absolute;
  left: -1rem;
  width: 2px;
  background-color: var(--color-primary);
  height: 0;
  top: 50%;
  transition: height 0.3s ease, top 0.3s ease;
}

.rnr-megamenu__item.is-active::before,
.rnr-megamenu__item:hover::before {
  height: 60%;
  top: 20%;
}

.rnr-megamenu__item-btn,
.rnr-megamenu__item-link {
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.35);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  text-decoration: none;
}

/* Le bouton (items avec sous-menu) pousse la flèche mobile à droite */
.rnr-megamenu__item-btn {
  justify-content: space-between;
}

.rnr-megamenu__item-btn:hover,
.rnr-megamenu__item-link:hover,
.rnr-megamenu__item.is-active .rnr-megamenu__item-btn {
  color: #fff;
  transform: translateX(8px);
}

.rnr-megamenu__item-arrow {
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Social links (bottom of left panel) */
.rnr-megamenu__social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rnr-megamenu__social a {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.rnr-megamenu__social a:hover { opacity: 1; }

.rnr-megamenu__social img {
  width: 2rem;
  height: 2rem;
}

/* Right panel — sublinks */
.rnr-megamenu__right {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 5rem 2.5rem 2rem;
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

@media (min-width: 1024px) {
  .rnr-megamenu__right {
    inset: auto;
    left: 38%;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 6rem 4rem;
    transform: none;
    justify-content: center;
  }
}

.rnr-megamenu__right.slide-in {
  transform: translateX(0);
}

/* Mobile back button */
.rnr-megamenu__back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  margin-top: 2rem;
  transition: color 0.3s ease;
}

.rnr-megamenu__back:hover { color: #fff; }

@media (min-width: 1024px) {
  .rnr-megamenu__back { display: none; }
}

/* Sublinks */
.rnr-megamenu__sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: slide-up-fade 0.3s ease forwards;
}

.rnr-megamenu__sublink {
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: fade-in-right 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rnr-megamenu__sublink:hover {
  color: var(--color-primary);
  transform: translateX(16px);
}

/* Decorative RNR text (desktop, no active category) */
.rnr-megamenu__decor {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0.1;
  user-select: none;
}

@media (min-width: 1024px) {
  .rnr-megamenu__decor { display: flex; }
}

/* Bottom logo decoration */
.rnr-megamenu__logo-decor {
  display: none;
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 120;
  opacity: 0.2;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .rnr-megamenu__logo-decor { display: flex; }
}

.rnr-megamenu__logo-decor img {
  height: 3rem;
  width: auto;
}

.rnr-megamenu__logo-decor-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}

/* ─── 6. FOOTER ───────────────────────────────────────────── */

.rnr-footer {
  background-color: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  padding: 3rem 0;
  margin-top: auto;
}

.rnr-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .rnr-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .rnr-footer__grid { grid-template-columns: repeat(6, 1fr); }
}

.rnr-footer__col-title {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin: 0 0 1rem;
}

.rnr-footer__links {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rnr-footer__links a,
.rnr-footer__links span {
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.rnr-footer__links a:hover { color: var(--color-primary); }

.rnr-footer__bottom {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  font-size: var(--text-2xs);
  font-weight: 900;
  text-transform: uppercase;
  color: #94a3b8;
}

/* ─── 7. PAGE HERO (pages internes) ──────────────────────── */

.page-hero {
  position: relative;
  width: 100%;
  min-height: clamp(17.5rem, 40vh, 30rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 10;
  color: #fff;
  padding: calc(var(--nav-height) + 3rem) 0 2rem;
  margin-top: auto;
}

.page-hero__title {
  font-size: clamp(3.15rem, 10vw + 1rem, 4.5rem);
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.page-hero__subtitle {
  font-size: var(--text-h4);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.7);
  margin: 0.75rem 0 0;
  max-width: 42rem;
}

/* ─── 8. BREADCRUMB ───────────────────────────────────────── */

.breadcrumb-wrap {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.breadcrumb-nav {
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #94a3b8;
}

.breadcrumb-nav a { color: #94a3b8; }
.breadcrumb-nav a:hover { color: var(--color-primary); }
.breadcrumb-nav .sep { color: #cbd5e1; }
.breadcrumb-nav .current { color: var(--color-primary); }

/* ─── 9. SUBNAV ───────────────────────────────────────────── */

.subnav-bar {
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  width: 100%;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-bar::-webkit-scrollbar { display: none; }

.subnav-bar__inner {
  display: flex;
  align-items: stretch;
  min-width: max-content;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.subnav-bar__link {
  font-size: var(--text-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  padding: 1rem 0;
  margin-right: 2rem;
  white-space: nowrap;
  border-bottom: 4px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.subnav-bar__link:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.subnav-bar__link.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ─── 10. SECTION HEADERS ─────────────────────────────────── */

.rnr-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .rnr-section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.rnr-section-header__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.section-title-block {
  border-left: 4px solid var(--color-primary);
  padding: 0.25rem 0 0.25rem 1rem;
  line-height: 1;
  margin: 0;
}

@media (min-width: 768px) {
  .section-title-block {
    padding-left: 1.5rem;
  }
}

.section-title-block--dark {
  color: #fff;
  border-color: #fff;
}

.rnr-badge {
  display: inline-block;
  transform: skewX(-12deg);
  background-color: var(--color-primary);
  padding: 0.375rem 1rem;
  align-self: center;
}

.rnr-badge span {
  display: inline-block;
  transform: skewX(12deg);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-h4);
}

.rnr-section-link {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
}

.rnr-section-link:hover { color: var(--color-primary); }
.rnr-section-link--dark { color: rgba(255,255,255,0.6); }
.rnr-section-link--dark:hover { color: #fff; }

/* ─── 11. CARDS ───────────────────────────────────────────── */

.rnr-card {
  position: relative;
  background-color: #0f172a;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 22.5rem;
  transition: box-shadow 0.5s ease;
}

.rnr-card:hover {
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.rnr-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.rnr-card:hover .rnr-card__img {
  transform: scale(1.05);
}

.rnr-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.rnr-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  backdrop-filter: blur(3px);
  background-color: rgba(0,0,0,0.3);
}

.rnr-card__title {
  color: #fff;
  font-size: var(--text-h4);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.25rem;
}

.rnr-card__subtitle {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  font-style: italic;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rnr-card__cta {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: transform 0.3s ease;
}

.rnr-card:hover .rnr-card__cta {
  transform: translateX(8px);
}

/* ─── 12. PLAYER CARD ─────────────────────────────────────── */

.rnr-player-card {
  position: relative;
  background-color: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
}

.rnr-player-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.rnr-player-card__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f1f5f9;
}

.rnr-player-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.rnr-player-card:hover .rnr-player-card__image img {
  transform: scale(1.1);
}

.rnr-player-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.rnr-player-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.rnr-player-card:hover .rnr-player-card__overlay { opacity: 1; }

.rnr-player-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.rnr-player-card__body {
  padding: 1.25rem;
  text-align: center;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.rnr-player-card__name {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: var(--text-h4);
  letter-spacing: -0.05em;
  margin: 0 0 0.25rem;
  transition: color 0.2s ease;
}

.rnr-player-card:hover .rnr-player-card__name { color: var(--color-primary); }

.rnr-player-card__position {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-style: italic;
  margin: 0;
}

/* ─── 13. BOUTONS ─────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--text-sm);
  padding: 1rem 2.5rem;
  transform: skewX(-12deg);
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 8px 30px rgba(226,30,38,0.4);
}

.btn-primary > * { transform: skewX(12deg); display: inline-block; }

.btn-primary:hover {
  background-color: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-link {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
}

.btn-link:hover { color: var(--color-primary); }

/* ─── 14. FILTRES ET TAGS ─────────────────────────────────── */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  border: 2px solid #e2e8f0;
  background-color: transparent;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}

/* ─── 15. MARQUEE ─────────────────────────────────────────── */

.marquee-left {
  animation: marquee-left 30s linear infinite;
  will-change: transform;
}

.marquee-left:hover { animation-play-state: paused; }

.marquee-right {
  animation: marquee-right 35s linear infinite;
  will-change: transform;
}

.marquee-right:hover { animation-play-state: paused; }

/* ─── 16. ANIMATIONS UTILITAIRES ─────────────────────────── */

.animate-ken-burns {
  animation: ken-burns 20s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up-fade 0.5s ease-out forwards;
}

.animate-fade-in-right {
  animation: fade-in-right 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-bounce {
  animation: bounce-y 1s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ─── 17. MAIN CONTENT OFFSET ─────────────────────────────── */

#main-content {
  min-height: 60vh;
}

/* ─── 18. HOMEPAGE — HERO ─────────────────────────────────── */

.rnr-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  flex-shrink: 0;
}

.rnr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rnr-hero__bg img,
.rnr-hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rnr-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.rnr-hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rnr-hero__title {
  margin-top: 3rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.rnr-hero__subtitle {
  color: #fff;
  font-size: var(--text-h4);
  font-weight: 500;
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-style: italic;
  opacity: 0.9;
  line-height: 1.6;
}

.rnr-hero__matchbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

/* ─── 19. HOMEPAGE — SECTIONS GÉNÉRIQUES ─────────────────── */

.rnr-section {
  padding: var(--space-xl) 0;
}

.rnr-section--white {
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.rnr-section--light {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.rnr-section--dark {
  background: #0f172a;
  color: #fff;
}

.rnr-section--black {
  background: #0f0f0f;
}

/* Sections avec fond image : nécessite position relative + overflow */
.rnr-section--relative {
  position: relative;
  overflow: hidden;
}

/* Conteneur du fond image */
.rnr-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rnr-section__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rnr-section__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Contenu au-dessus du fond */
.rnr-section__inner {
  position: relative;
  z-index: 1;
}

/* Opacités spécifiques par section */
#section-stats .rnr-section__bg img        { opacity: 0.5; }
#section-partenaires-logos .rnr-section__bg img { opacity: 0.8; object-position: top; }

/* ─── 20. HOMEPAGE — CHIFFRES CLÉS ───────────────────────── */

.rnr-section--chiffres::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 3.75rem,
    rgba(255, 255, 255, 0.012) 3.75rem,
    rgba(255, 255, 255, 0.012) 3.8125rem
  );
  pointer-events: none;
}

.rnr-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 2rem;
}

.rnr-stat-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.rnr-stat-item__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 14vw, 14rem);
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.rnr-stat-item__value {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: #fff;
  margin: 0;
}

.rnr-stat-item__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #64748b;
  margin: 0.25rem 0 0;
}

/* ─── 21. ARTICLE CARD PREMIUM ────────────────────────────── */

.rnr-article-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.5s ease;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.rnr-article-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.rnr-article-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.rnr-article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.rnr-article-card:hover .rnr-article-card__image {
  transform: scale(1.1);
}

.rnr-article-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0.6;
}

.rnr-article-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.rnr-article-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rnr-article-card__date {
  font-size: var(--text-2xs);
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.rnr-article-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  transition: color 0.3s ease;
}

.rnr-article-card:hover .rnr-article-card__title {
  color: var(--color-primary);
}

.rnr-article-card__excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.rnr-article-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rnr-article-card__cta {
  font-size: var(--text-2xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  font-style: italic;
}

.rnr-article-card__icon {
  color: var(--color-primary);
  font-size: 1rem !important;
  transition: transform 0.3s ease;
}

.rnr-article-card:hover .rnr-article-card__icon {
  transform: translateX(4px);
}

/* ─── 21. HOMEPAGE — BOUTIQUE ─────────────────────────────── */

#section-boutique {
  overflow: hidden;
  position: relative;
}

/* ─── 22. BENTO GRID ─────────────────────────────────────── */

.rnr-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .rnr-bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

.rnr-bento-item {
  min-height: 480px;
}

@media (min-width: 768px) {
  .rnr-bento-item {
    min-height: 0;
  }
  .rnr-bento-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .rnr-bento-item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Matchbar Team Logos */
.rnr-team-block img {
  border-radius: 50%;
  overflow: hidden;
}

.rnr-boutique-grid,
.rnr-grid-3col,
.rnr-grid-4col {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .rnr-grid-3col,
  .rnr-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rnr-grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .rnr-boutique-grid,
  .rnr-grid-4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── 22. ARTICLE CARD ADJUSTMENTS ───────────────────────── */

/* Bento override: ignore aspect ratio and fill the grid cell */
.rnr-bento-item .rnr-article-card__image-wrap {
  aspect-ratio: auto;
  flex-grow: 1;
}

/* Homepage actu: force portrait ratio on news cards */
#section-actu .rnr-card-premium {
  aspect-ratio: 3 / 4;
  min-height: unset;
}

/* Boutique override: hide text content as requested */
#section-boutique .rnr-article-card__content {
  display: none;
}

.rnr-boutique-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.rnr-boutique-intro__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: #0f172a;
  margin: 0;
}

.rnr-boutique-intro__text {
  color: #64748b;
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0;
  font-style: normal;
  font-weight: 400;
}

/* ─── 23. PARTNER NEWS & LINKEDIN ─────────────────────────── */

.grid-partner-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .grid-partner-news {
    grid-template-columns: repeat(4, 1fr);
  }
  .news-column-wrap {
    grid-column: span 3;
  }
  .linkedin-aside-wrap {
    grid-column: span 1;
  }
}

.rnr-linkedin-aside {
  background-color: #0077b5;
  color: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.rnr-linkedin-aside__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.rnr-linkedin-aside__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
  transition: transform 0.5s ease;
  flex-shrink: 0;
}

.rnr-linkedin-aside:hover .rnr-linkedin-aside__icon {
  transform: rotate(0deg);
}

.rnr-linkedin-aside__icon svg {
  width: 2rem;
  height: 2rem;
  fill: #fff;
}

.rnr-linkedin-aside__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.rnr-linkedin-aside__text {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 500;
  font-style: italic;
  margin-top: 0.25rem;
}

.rnr-linkedin-aside__btn {
  background: #fff;
  color: #0077b5;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.875rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.rnr-linkedin-aside__btn:hover {
  background: #000;
  color: #fff;
}

.rnr-linkedin-aside__blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(32px);
  transform: translate(50%, -50%);
  pointer-events: none;
}

/* ─── 24. CUSTOM PAGINATION ─────────────────────────────── */

.rnr-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.rnr-pagination__btn {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  cursor: pointer;
}

.rnr-pagination__btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.rnr-pagination__btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(226, 30, 38, 0.3);
}

.rnr-pagination__btn--nav {
  background: #f1f5f9;
  color: #94a3b8;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: normal;
}

.rnr-pagination__btn--nav:not(:disabled) {
  cursor: pointer;
  color: #64748b;
}

/* ─── 25. SINGLE POST — ARTICLE DETAIL ─────────────────────── */

.single-post-hero {
  height: 40vh;
  position: relative;
  overflow: hidden;
}

.single-post-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-header {
  padding: 4rem 0 2rem;
}

.single-post-title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

@media (max-width: 768px) {
  .single-post-title {
    font-size: 2.25rem;
  }
}

.single-post-meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.single-post-meta__date {
  color: var(--color-primary);
}

.single-post-meta__cat {
  color: #94a3b8;
}

.single-post-body {
  max-width: 56rem; /* ~900px */
  margin: 0 auto;
  padding: 4rem 0;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #334155;
}

.single-post-body p {
  margin-bottom: 2rem;
}

.single-post-footer {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .single-post-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.single-share {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.single-share__label {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.single-share__links {
  display: flex;
  gap: 1.5rem;
}

.single-share__link {
  color: #64748b;
  transition: color 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.single-share__link:hover {
  color: var(--color-primary);
}

.single-share__link .material-symbols-outlined {
  font-size: 1.5rem;
}

.single-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.single-back-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.single-back-link .material-symbols-outlined {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.single-back-link:hover .material-symbols-outlined {
  transform: translateX(-4px);
}

/* ─── 26. RELATED POSTS SECTION ───────────────────────────── */

.related-posts {
  background-color: #f8fafc;
  padding: 6rem 0;
}

.related-posts__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* ─── 27. UNIFIED PREMIUM CARD (Overlay Style) ─────────────── */

.rnr-card-premium {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  background-color: #0f172a;
  display: block;
  height: 100%;
  text-decoration: none;
  min-height: 400px; /* Force visibility */
}

.rnr-card-premium__img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rnr-card-premium__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.rnr-card-premium:hover .rnr-card-premium__img {
  transform: scale(1.05);
}

.rnr-card-premium__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.rnr-card-premium__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  backdrop-filter: blur(3px);
  background-color: rgba(0,0,0,0.3);
  color: white;
}

.rnr-card-premium__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  color: white;
  letter-spacing: -0.02em;
}

.rnr-card-premium__subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rnr-card-premium__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.rnr-card-premium:hover .rnr-card-premium__cta {
  transform: translateX(0.5rem);
}

/* ─── 22. HOMEPAGE — CLUB AFFAIRES (VIP card) ─────────────── */

.rnr-vip-card {
  position: relative;
  min-height: clamp(20rem, 35vh, 32rem);
  background: #000;
  border-radius: var(--radius-xl);
  width: 100%;
  margin: 0 auto;
  transform: rotate(-1deg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .rnr-vip-card { width: 65%; }
}

.rnr-vip-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rnr-vip-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.rnr-vip-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.rnr-vip-card__inner {
  position: relative;
  z-index: 10;
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.rnr-vip-card__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rnr-vip-card__logo {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.rnr-vip-card__sep {
  width: 1px;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.rnr-vip-card__label {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  margin: 0;
}

.rnr-vip-card__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 0;
  font-size: var(--text-h2);
  background: linear-gradient(to bottom, #ffd700, #bf953f, #fcf6ba);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rnr-vip-card__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  max-width: 40rem;
}

.rnr-vip-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: linear-gradient(to right, #bf953f, #fcf6ba);
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1.25rem 3rem;
  font-size: var(--text-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.rnr-vip-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

/* Badge 260+ — caché sur mobile, visible desktop */
.rnr-vip-card__badge {
  display: none;
}

@media (min-width: 768px) {
  .rnr-vip-card__badge {
    display: flex;
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
  }
}

.rnr-vip-card__badge-inner {
  text-align: center;
}

.rnr-vip-card__badge-value {
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  color: #ffd700;
  line-height: 1;
  margin: 0;
}

.rnr-vip-card__badge-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.25rem 0 0;
}

/* ─── 23. HOMEPAGE — NOUS SUIVRE ──────────────────────────── */

.rnr-social-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.rnr-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.rnr-social-link:hover { opacity: 1; }

.rnr-social-link__name {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

/* ─── 24. UTILITAIRES ─────────────────────────────────────── */

/* ─── 25. NEWS PAGE LAYOUT ────────────────────────────────── */

.grid-news-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .grid-news-main {
    grid-template-columns: 3fr 1fr;
  }
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.sidebar-header {
  background: #000;
  padding: 1rem 1.25rem;
}

.sidebar-header__label {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
}

.breve-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.breve-item:last-child {
  border-bottom: none;
}

.breve-item:hover {
  background-color: #f8fafc;
}

.breve-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breve-item__date {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
}

.breve-item__title {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
  margin: 0;
  text-transform: none;
  font-style: normal;
}

/* Pagination Styling */
.pagination-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination-wrap ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.pagination-wrap .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-family: var(--font-heading);
  font-weight: 900;
  font-style: italic;
  transition: all 0.2s ease;
}

.pagination-wrap .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(226, 30, 38, 0.3);
}

.pagination-wrap a.page-numbers:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.pagination-wrap .page-numbers.dots {
  border: none;
  background: transparent;
  width: auto;
}

/* ─── 28. ADDITIONAL BORDER RADIUS ───────────────────────── */

.rnr-partner-detailed-card,
.rnr-membre-card {
  border-radius: 0.75rem;
  overflow: hidden;
}

/* ─── 22. HOMEPAGE — BOUTIQUE HOVER EFFECT ───────────────── */
.rnr-boutique-custom {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: #000;
  aspect-ratio: 4/5;
  height: 100%;
}

.rnr-boutique-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.rnr-boutique-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rnr-boutique-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rnr-boutique-custom:hover .rnr-boutique-img {
  transform: scale(1.1);
}

.rnr-boutique-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rnr-boutique-custom:hover .rnr-boutique-overlay {
  opacity: 1;
}

.rnr-boutique-title {
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  transform: translateY(1rem);
  transition: transform 0.4s ease;
}

.rnr-boutique-custom:hover .rnr-boutique-title {
  transform: translateY(0);
}

.rnr-boutique-cta {
  color: #e21e26; /* Use club red directly for safety */
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(1rem);
  transition: transform 0.4s ease 0.1s;
}

.rnr-boutique-custom:hover .rnr-boutique-cta {
  transform: translateY(0);
}
