/* ================================================================
   REBOND PILOTIN — main.css v2.0
   Thème WordPress officiel — 10e Saison
   ================================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --rp-pur:       #3D1878;
  --rp-pur-deep:  #220D45;
  --rp-pur-mid:   #5A2AAA;
  --rp-pur-lt:    #F3EEFF;
  --rp-ora:       #F07820;
  --rp-ora-dk:    #C05C10;
  --rp-ora-lt:    #FFF4E6;
  --rp-dk:        #0C0818;
  --rp-wh:        #FFFFFF;
  --rp-text:      #1A1028;
  --rp-text-md:   #4A4560;
  --rp-gray:      #6B6B80;
  --rp-gray-lt:   #F7F4FF;
  --rp-nav-h:     68px;
  --rp-max:       1200px;
  --rp-r:         8px;
  --rp-r-lg:      16px;
  --rp-ff:        'Inter', system-ui, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--rp-ff); color: var(--rp-text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilitaires ─────────────────────────────────────────────── */
.rp-container { max-width: var(--rp-max); margin: 0 auto; padding: 0 2rem; }
.rp-section   { padding: 5rem 0; }
.rp-section--light { background: var(--rp-gray-lt); }
.rp-section--dark  { background: var(--rp-pur-deep); }
.accent { color: var(--rp-ora); }

.rp-section__header { text-align: center; margin-bottom: 3rem; }
.rp-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--rp-ora); margin-bottom: 8px; }
.rp-section__title { font-size: 34px; font-weight: 800; color: var(--rp-pur-deep); line-height: 1.2; }
.rp-section__cta { text-align: center; margin-top: 2.5rem; }

/* ── Boutons ─────────────────────────────────────────────────── */
.rp-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: var(--rp-r); transition: all .2s; letter-spacing: .3px; line-height: 1; cursor: pointer; }
.rp-btn--lg  { font-size: 15px; padding: 14px 30px; }
.rp-btn svg  { transition: transform .2s; flex-shrink: 0; }
.rp-btn:hover svg { transform: translateX(3px); }

.rp-btn--ora       { background: var(--rp-ora);      color: #fff; }
.rp-btn--ora:hover { background: var(--rp-ora-dk); }

.rp-btn--pur       { background: var(--rp-pur);      color: #fff; }
.rp-btn--pur:hover { background: var(--rp-pur-mid); }

.rp-btn--outline       { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.rp-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.rp-btn--border-pur       { background: transparent; color: var(--rp-pur); border: 2px solid var(--rp-pur); }
.rp-btn--border-pur:hover { background: var(--rp-pur); color: #fff; }

.rp-btn--border-wh       { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.rp-btn--border-wh:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.rp-btn--white       { background: #fff; color: var(--rp-ora-dk); font-weight: 700; }
.rp-btn--white:hover { background: var(--rp-ora-lt); }

/* ── Navigation ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; }
.rp-nav { background: var(--rp-pur-deep); height: var(--rp-nav-h); }
.rp-nav__inner { max-width: var(--rp-max); margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.rp-nav__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rp-nav__badge { width: 38px; height: 38px; background: var(--rp-ora); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }
.rp-nav__brand { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; }
.rp-nav__brand span { color: var(--rp-ora); }
.rp-nav__brand small { display: block; font-size: 10px; font-weight: 400; color: rgba(255,255,255,.45); letter-spacing: 1px; }
.rp-nav__logo img { height: 40px; width: auto; }

.rp-nav__menu-wrap { flex: 1; display: flex; justify-content: center; }
.rp-nav__links { display: flex; align-items: center; gap: .2rem; }
.rp-nav__links li a { display: block; color: rgba(255,255,255,.7); font-size: 13.5px; font-weight: 500; padding: 8px 13px; border-radius: 6px; transition: all .2s; }
.rp-nav__links li a:hover,
.rp-nav__links .current-menu-item > a { color: #fff; background: rgba(255,255,255,.09); }

.rp-nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rp-nav__cart { position: relative; color: rgba(255,255,255,.7); padding: 6px; transition: color .2s; }
.rp-nav__cart:hover { color: #fff; }
.rp-nav__cart-count { position: absolute; top: -3px; right: -3px; background: var(--rp-ora); color: #fff; font-size: 9px; font-weight: 700; width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rp-nav__cta { background: var(--rp-ora); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 6px; transition: background .2s; }
.rp-nav__cta:hover { background: var(--rp-ora-dk); }
.rp-nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.rp-nav__hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.rp-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s; }
.rp-overlay.is-open { opacity: 1; pointer-events: all; }

/* ── Hero ────────────────────────────────────────────────────── */
.rp-hero { background: var(--rp-pur-deep); min-height: calc(100vh - var(--rp-nav-h)); padding: 4rem 2rem; position: relative; overflow: hidden; display: flex; align-items: center; }
.rp-hero__bg-circle { position: absolute; right: -120px; top: -120px; width: 600px; height: 600px; background: var(--rp-pur); border-radius: 50%; opacity: .28; pointer-events: none; }
.rp-hero__bg-dot    { position: absolute; left: 30%; bottom: -80px; width: 320px; height: 320px; background: var(--rp-ora); border-radius: 50%; opacity: .06; pointer-events: none; }
.rp-hero__inner { max-width: var(--rp-max); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; position: relative; z-index: 2; }
.rp-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--rp-ora); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 6px 14px; border-radius: 5px; margin-bottom: 1.5rem; text-transform: uppercase; }
.rp-hero__watermark { display: block; font-size: 130px; line-height: .85; color: rgba(255,255,255,.05); font-weight: 900; letter-spacing: -6px; margin-bottom: .1em; }
.rp-hero__title { color: #fff; font-size: 50px; font-weight: 800; line-height: 1.05; margin-bottom: 1.2rem; letter-spacing: -1.5px; }
.rp-hero__sub { color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.7; margin-bottom: 2rem; max-width: 440px; }
.rp-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.rp-hero__frame { width: 280px; height: 360px; background: var(--rp-pur-mid); border-radius: 20px; border: 3px solid var(--rp-ora); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.rp-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.rp-hero__ring { position: absolute; top: -14px; right: -14px; width: 72px; height: 72px; background: var(--rp-ora); border-radius: 50%; border: 4px solid var(--rp-pur-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; }
.rp-hero__ring span { color: #fff; font-size: 18px; font-weight: 900; line-height: 1; }
.rp-hero__ring small { color: rgba(255,255,255,.85); font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.rp-hero__placeholder { text-align: center; color: rgba(255,255,255,.3); font-size: 13px; padding: 1.5rem; }
.rp-hero__caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(34,13,69,.9); padding: 12px 16px; }
.rp-hero__caption strong { display: block; color: #fff; font-size: 12px; font-weight: 600; }
.rp-hero__caption span { color: var(--rp-ora); font-size: 11px; }
.rp-hero__visual { display: flex; justify-content: center; }

/* ── Stats ───────────────────────────────────────────────────── */
.rp-stats { background: var(--rp-ora); padding: 22px 2rem; }
.rp-stats__inner { max-width: var(--rp-max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.rp-stats__item { text-align: center; position: relative; }
.rp-stats__item + .rp-stats__item::before { content:''; position: absolute; left:0; top:10%; height:80%; width:1px; background:rgba(255,255,255,.3); }
.rp-stats__n { display: block; color: #fff; font-size: 34px; font-weight: 900; line-height: 1; }
.rp-stats__l { display: block; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 500; margin-top: 5px; }

/* ── Histoire ─────────────────────────────────────────────────── */
.rp-histoire { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.rp-timeline { display: flex; flex-direction: column; gap: 0; }
.rp-tl__item { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.rp-tl__item:not(:last-of-type)::before { content:''; position:absolute; left:15px; top:32px; bottom:0; width:2px; background:rgba(61,24,120,.1); }
.rp-tl__dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.rp-tl__dot--pur { background: var(--rp-pur); }
.rp-tl__dot--ora { background: var(--rp-ora); }
.rp-tl__body { flex: 1; }
.rp-tl__year { font-size: 11px; font-weight: 700; color: var(--rp-ora); letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 2px; }
.rp-tl__event { display: block; font-size: 15px; font-weight: 700; color: var(--rp-pur-deep); margin-bottom: 4px; }
.rp-tl__desc { font-size: 13px; color: var(--rp-gray); line-height: 1.55; }
.rp-timeline .rp-btn { margin-top: 12px; }

.rp-histoire__visual { background: var(--rp-pur-deep); border-radius: var(--rp-r-lg); padding: 1.8rem; }
.rp-histoire__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.rp-histoire__photo { background: var(--rp-pur-mid); border-radius: 10px; height: 100px; display: flex; align-items: center; justify-content: center; font-size: 32px; opacity: .55; }
.rp-histoire__photo--wide { grid-column: 1/-1; height: 65px; }
.rp-histoire__caption { color: rgba(255,255,255,.4); font-size: 12px; text-align: center; margin-top: 10px; }

/* ── Produits ─────────────────────────────────────────────────── */
.rp-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.rp-product { background: var(--rp-gray-lt); border-radius: var(--rp-r-lg); overflow: hidden; border: 1px solid rgba(61,24,120,.1); transition: transform .2s; }
.rp-product:hover { transform: translateY(-4px); }
.rp-product a { display: block; }
.rp-product__img { height: 200px; position: relative; overflow: hidden; background: var(--rp-pur); display: flex; align-items: center; justify-content: center; }
.rp-product__img img { width: 100%; height: 100%; object-fit: cover; }
.rp-product__placeholder { font-size: 60px; opacity: .35; }
.rp-product__badge { position: absolute; top: 12px; left: 12px; background: var(--rp-ora); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 5px; letter-spacing: .5px; text-transform: uppercase; }
.rp-product__badge--sale { background: #c53030; }
.rp-product__info { padding: 16px; }
.rp-product__cat { display: block; font-size: 10px; font-weight: 700; color: var(--rp-gray); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.rp-product__name { font-size: 15px; font-weight: 700; color: var(--rp-pur-deep); margin-bottom: 10px; line-height: 1.3; }
.rp-product__footer { display: flex; align-items: center; justify-content: space-between; }
.rp-product__price { font-size: 18px; font-weight: 800; color: var(--rp-pur-deep); }
.rp-product__price .woocommerce-Price-amount { font-size: 18px; font-weight: 800; color: var(--rp-pur-deep); }
.rp-product__price del .woocommerce-Price-amount { font-size: 13px; color: var(--rp-gray); font-weight: 400; }
.rp-product__add { background: var(--rp-pur); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 6px; transition: background .2s; }
.rp-product__add:hover { background: var(--rp-pur-mid); }

/* ── Posts ──────────────────────────────────────────────────── */
.rp-posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.rp-section--dark .rp-posts { margin-top: 0; }
.rp-post { background: rgba(255,255,255,.05); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.rp-section:not(.rp-section--dark) .rp-post { background: var(--rp-gray-lt); border-color: rgba(61,24,120,.1); }
.rp-section:not(.rp-section--dark) .rp-post:hover { background: #ede9f8; }
.rp-post:hover { background: rgba(255,255,255,.09); }
.rp-post a { display: block; }
.rp-post__img { height: 140px; overflow: hidden; background: var(--rp-pur-mid); display: flex; align-items: center; justify-content: center; }
.rp-post__img img { width: 100%; height: 100%; object-fit: cover; }
.rp-post__placeholder { font-size: 40px; opacity: .35; }
.rp-post__body { padding: 16px; }
.rp-post__date { display: block; font-size: 11px; color: var(--rp-ora); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.rp-post__title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.4; margin-bottom: 8px; }
.rp-section:not(.rp-section--dark) .rp-post__title { color: var(--rp-pur-deep); }
.rp-post__read { font-size: 12px; color: rgba(255,255,255,.4); transition: color .2s; }
.rp-section:not(.rp-section--dark) .rp-post__read { color: var(--rp-gray); }
.rp-post:hover .rp-post__read { color: var(--rp-ora); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.rp-cta-banner { background: var(--rp-ora); padding: 5rem 2rem; text-align: center; }
.rp-cta-banner h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.rp-cta-banner p  { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 2rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.rp-footer { background: var(--rp-dk); }
.rp-footer__inner { max-width: var(--rp-max); margin: 0 auto; padding: 4rem 2rem 3rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.rp-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.rp-footer__badge { width: 36px; height: 36px; background: var(--rp-ora); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #fff; }
.rp-footer__logo span { color: #fff; font-size: 14px; font-weight: 700; }
.rp-footer__logo img { height: 36px; width: auto; }
.rp-footer__brand p { color: rgba(255,255,255,.38); font-size: 13px; line-height: 1.7; max-width: 220px; }
.rp-footer__social { display: flex; gap: 8px; margin-top: 1.2rem; }
.rp-footer__social a { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); transition: all .2s; }
.rp-footer__social a:hover { background: var(--rp-ora); color: #fff; }
.rp-footer__col h4 { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 1rem; }
.rp-footer__list li { margin-bottom: 7px; }
.rp-footer__list a { color: rgba(255,255,255,.38); font-size: 13px; transition: color .2s; }
.rp-footer__list a:hover { color: var(--rp-ora); }
.rp-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.rp-footer__contact li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.38); font-size: 13px; }
.rp-footer__contact li svg { color: var(--rp-ora); flex-shrink: 0; }
.rp-footer__contact a { color: rgba(255,255,255,.38); transition: color .2s; }
.rp-footer__contact a:hover { color: var(--rp-ora); }
.rp-footer__bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 1.2rem 2rem; display: flex; justify-content: space-between; align-items: center; max-width: var(--rp-max); margin: 0 auto; }
.rp-footer__bottom p    { color: rgba(255,255,255,.22); font-size: 12px; }
.rp-footer__bottom span { color: var(--rp-ora); font-size: 12px; }

/* ── Pages intérieures ───────────────────────────────────────── */
.rp-page-wrap { padding: 3rem 2rem; max-width: var(--rp-max); margin: 0 auto; }
.rp-page-wrap--blog { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; }
.rp-page-hero { background: var(--rp-pur-deep); padding: 4rem 2rem; }
.rp-page-hero--sm { background: var(--rp-pur-deep); padding: 2.5rem 2rem; }
.rp-page-hero h1, .rp-page-hero--sm h1 { color: #fff; font-size: 36px; font-weight: 800; margin-top: 8px; }
.rp-page-hero p, .rp-page-hero--sm p   { color: rgba(255,255,255,.55); margin-top: 8px; }
.rp-page-title { font-size: 32px; font-weight: 800; color: var(--rp-pur-deep); margin-bottom: 2rem; }
.rp-thumbnail { border-radius: var(--rp-r-lg); overflow: hidden; margin-bottom: 2rem; }
.rp-thumbnail img { width: 100%; object-fit: cover; }

.rp-entry-content { font-size: 16px; line-height: 1.8; color: var(--rp-text-md); }
.rp-entry-content h2 { font-size: 24px; font-weight: 700; color: var(--rp-pur-deep); margin: 2rem 0 1rem; }
.rp-entry-content h3 { font-size: 20px; font-weight: 700; color: var(--rp-pur-deep); margin: 1.5rem 0 .75rem; }
.rp-entry-content p  { margin-bottom: 1.2rem; }
.rp-entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.2rem; }
.rp-entry-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.2rem; }
.rp-entry-content blockquote { border-left: 4px solid var(--rp-ora); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--rp-ora-lt); border-radius: 0 var(--rp-r) var(--rp-r) 0; font-style: italic; }
.rp-entry-content a { color: var(--rp-pur); text-decoration: underline; }
.rp-entry-content img { border-radius: var(--rp-r); margin: 1rem 0; }

.rp-post-header { margin-bottom: 2rem; }
.rp-post-meta { display: flex; gap: 12px; font-size: 13px; color: var(--rp-gray); margin-bottom: 10px; }
.rp-post-meta time { color: var(--rp-ora); font-weight: 600; }
.rp-single-post h1 { font-size: 32px; font-weight: 800; color: var(--rp-pur-deep); line-height: 1.2; }
.rp-post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(61,24,120,.1); }

.breadcrumb { font-size: 13px; color: var(--rp-gray); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.breadcrumb a { color: var(--rp-pur); }
.breadcrumb a:hover { color: var(--rp-ora); }
.breadcrumb .sep { color: var(--rp-gray); }

.rp-sidebar .widget { margin-bottom: 2rem; }
.rp-sidebar .widget-title { font-size: 13px; font-weight: 700; color: var(--rp-pur-deep); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: 8px; border-bottom: 2px solid var(--rp-ora); }

.rp-pagination { margin-top: 2rem; text-align: center; }
.rp-pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--rp-pur-deep); border: 1px solid rgba(61,24,120,.2); padding: 0 8px; transition: all .2s; }
.page-numbers.current, .page-numbers:hover { background: var(--rp-pur); color: #fff; border-color: var(--rp-pur); }

.rp-no-results { text-align: center; padding: 4rem; color: var(--rp-gray); font-size: 16px; }

/* ── 404 ─────────────────────────────────────────────────────── */
.rp-404 { background: var(--rp-pur-deep); min-height: 60vh; display: flex; align-items: center; padding: 4rem 2rem; }
.rp-404__inner { text-align: center; }
.rp-404__icon { font-size: 80px; margin-bottom: 1rem; }
.rp-404 h1 { font-size: 100px; font-weight: 900; color: rgba(255,255,255,.07); line-height: 1; }
.rp-404 h2 { font-size: 30px; font-weight: 800; color: #fff; margin-top: -1rem; margin-bottom: 1rem; }
.rp-404 p  { color: rgba(255,255,255,.5); margin-bottom: 2rem; }
.rp-404__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Shop (WooCommerce) ──────────────────────────────────────── */
.rp-shop-header { text-align: center; padding: 2.5rem 0 2rem; }
.rp-shop-header p { color: var(--rp-gray); margin-top: 8px; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 0; padding: 0; }
.woocommerce ul.products li.product { background: var(--rp-gray-lt); border-radius: var(--rp-r-lg); overflow: hidden; border: 1px solid rgba(61,24,120,.1); transition: transform .2s; list-style: none; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); }
.woocommerce ul.products li.product a.woocommerce-loop-product__link { display: block; }
.woocommerce ul.products li.product img { height: 200px; width: 100%; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 700; color: var(--rp-pur-deep); padding: 14px 16px 4px; }
.woocommerce ul.products li.product .price { padding: 0 16px 4px; color: var(--rp-pur-deep); font-weight: 800; font-size: 16px; }
.woocommerce ul.products li.product .button { display: block; margin: 10px 16px 16px; background: var(--rp-pur); color: #fff; text-align: center; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background .2s; }
.woocommerce ul.products li.product .button:hover { background: var(--rp-pur-mid); }
.woocommerce span.onsale { background: var(--rp-ora); color: #fff; border-radius: 5px; font-size: 12px; font-weight: 700; padding: 4px 10px; }
.woocommerce .woocommerce-ordering select, .woocommerce .woocommerce-result-count { font-family: var(--rp-ff); font-size: 14px; }

/* ── Histoire page template ──────────────────────────────────── */
.rp-histoire-intro { max-width: 720px; margin: 0 auto 3rem; font-size: 17px; line-height: 1.8; }
.rp-timeline-full { display: grid; gap: 0; }
.rp-tl-full__item { display: grid; grid-template-columns: 80px 40px 1fr; align-items: start; gap: 0; padding-bottom: 2rem; position: relative; }
.rp-tl-full__year { font-size: 14px; font-weight: 800; padding-top: 2px; text-align: right; padding-right: 16px; }
.rp-tl-full__year--pur { color: var(--rp-pur); }
.rp-tl-full__year--ora { color: var(--rp-ora); }
.rp-tl-full__line { display: flex; flex-direction: column; align-items: center; }
.rp-tl-full__line::after { content:''; flex: 1; width: 2px; background: rgba(61,24,120,.1); margin-top: 6px; }
.rp-tl-full__item:last-child .rp-tl-full__line::after { display: none; }
.rp-tl-full__dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.rp-tl-full__dot--pur { background: var(--rp-pur); }
.rp-tl-full__dot--ora { background: var(--rp-ora); }
.rp-tl-full__content { padding-left: 16px; }
.rp-tl-full__content h3 { font-size: 16px; font-weight: 700; color: var(--rp-pur-deep); margin-bottom: 4px; }
.rp-tl-full__content p  { font-size: 14px; color: var(--rp-gray); line-height: 1.6; }

.rp-palmares { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.rp-palmares__item { background: #fff; border-radius: var(--rp-r-lg); border: 1px solid rgba(61,24,120,.1); padding: 1.2rem; display: flex; flex-direction: column; gap: 4px; }
.rp-palmares__year { font-size: 11px; font-weight: 700; color: var(--rp-ora); letter-spacing: 1px; }
.rp-palmares__titre { font-size: 15px; font-weight: 700; color: var(--rp-pur-deep); }
.rp-palmares__zone { font-size: 12px; color: var(--rp-gray); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rp-hero__inner { grid-template-columns: 1fr; }
  .rp-hero__visual { display: none; }
  .rp-hero__title { font-size: 38px; }
  .rp-hero__watermark { font-size: 90px; }
  .rp-footer__inner { grid-template-columns: 1fr 1fr; }
  .rp-products, .rp-posts { grid-template-columns: repeat(2,1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .rp-palmares { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --rp-nav-h: 60px; }
  .rp-section { padding: 3rem 0; }
  .rp-section__title { font-size: 26px; }

  .rp-nav__menu-wrap { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: var(--rp-pur-deep); z-index: 999; padding: 80px 1.5rem 2rem; transition: left .3s; display: flex; flex-direction: column; justify-content: flex-start; }
  .rp-nav__menu-wrap.is-open { left: 0; }
  .rp-nav__links { flex-direction: column; align-items: flex-start; width: 100%; }
  .rp-nav__links li a { font-size: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); width: 100%; border-radius: 0; }
  .rp-nav__hamburger { display: flex; }
  .rp-overlay { display: block; }

  .rp-histoire { grid-template-columns: 1fr; }
  .rp-histoire__visual { display: none; }
  .rp-stats__inner { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .rp-stats__item + .rp-stats__item::before { display: none; }
  .rp-footer__inner { grid-template-columns: 1fr; }
  .rp-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
  .rp-products, .rp-posts { grid-template-columns: 1fr; }
  .rp-page-wrap--blog { grid-template-columns: 1fr; }
  .rp-sidebar { display: none; }
  .rp-palmares { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .rp-tl-full__item { grid-template-columns: 60px 32px 1fr; }

  .rp-hero { min-height: auto; padding: 3rem 1.5rem; }
  .rp-hero__title { font-size: 28px; }
  .rp-hero__watermark { font-size: 60px; }
  .rp-hero__btns { flex-direction: column; }
  .rp-btn { width: 100%; justify-content: center; }
  .rp-404 h1 { font-size: 70px; }
}

/* ================================================================
   REBOND PILOTIN — v3 additions
   ================================================================ */

/* Logo nav (image) */
.rp-nav__logo-img { height: 42px; width: auto; display: block; }
.rp-hero__logo-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 1.5rem; background: radial-gradient(circle at 50% 40%, var(--rp-pur-mid), var(--rp-pur-deep)); }
.rp-hero__logo-fallback img { width: 82%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }

/* Partenaires & mecenat */
.rp-partners__intro { max-width: 620px; margin: .9rem auto 0; color: rgba(255,255,255,.65); font-size: 15.5px; line-height: 1.7; }
.rp-partners__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: .5rem; }
.rp-pack { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rp-r-lg); padding: 2rem 1.6rem; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.rp-pack:hover { transform: translateY(-5px); border-color: rgba(240,120,32,.5); }
.rp-pack--feat { background: rgba(240,120,32,.08); border-color: var(--rp-ora); }
.rp-pack__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--rp-ora); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.rp-pack__dot { width: 26px; height: 26px; border-radius: 8px; margin-bottom: 1rem; display: block; }
.rp-pack__dot--ora { background: var(--rp-ora); }
.rp-pack__dot--pur { background: var(--rp-pur-mid); }
.rp-pack__name { color: #fff; font-size: 21px; font-weight: 800; margin-bottom: .25rem; }
.rp-pack__price { color: var(--rp-ora); font-size: 15px; font-weight: 700; margin-bottom: .9rem; }
.rp-pack__desc { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }

.rp-mecenat { display: flex; align-items: center; gap: 1.3rem; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); border-radius: var(--rp-r-lg); padding: 1.6rem 1.8rem; margin-top: 2rem; }
.rp-mecenat__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--rp-ora); color: #fff; display: flex; align-items: center; justify-content: center; }
.rp-mecenat__body { flex: 1; }
.rp-mecenat__body strong { display: block; color: #fff; font-size: 16px; margin-bottom: .25rem; }
.rp-mecenat__body p { color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.6; }

.rp-partners__wall-label { text-align: center; color: rgba(255,255,255,.4); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2.5rem; margin-bottom: 1.2rem; }
.rp-partners__wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; opacity: .85; }
.rp-partners__wall img { max-height: 46px; width: auto; filter: grayscale(1) brightness(2); transition: filter .2s; }
.rp-partners__wall img:hover { filter: none; }

@media (max-width: 900px) { .rp-partners__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
@media (max-width: 768px) {
  .rp-mecenat { flex-direction: column; text-align: center; }
  .rp-nav__logo-img { height: 36px; }
}

/* ================================================================
   REBOND PILOTIN — v3 : AMBIANCE BASKET
   ================================================================ */

/* Ligne de couture orange sous la nav (bord de parquet) */
.rp-nav { border-bottom: 3px solid var(--rp-ora); }

/* Terrain de basket dans le hero */
.rp-hero { position: relative; }
.rp-court { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; opacity: .07; z-index: 1; pointer-events: none; }
.rp-hero__inner { position: relative; z-index: 2; }
.rp-hero__ball { position: absolute; left: -70px; bottom: -70px; width: 300px; height: 300px; color: var(--rp-ora); opacity: .10; z-index: 1; animation: rp-spin 60s linear infinite; }
@keyframes rp-spin { to { transform: rotate(360deg); } }

/* Halftone ballon derriere le hero */
.rp-hero::after { content: ""; position: absolute; right: 0; top: 0; width: 45%; height: 100%; z-index: 0;
  background-image: radial-gradient(rgba(240,120,32,.16) 1.6px, transparent 1.7px);
  background-size: 16px 16px; -webkit-mask-image: linear-gradient(to left, #000, transparent); mask-image: linear-gradient(to left, #000, transparent); pointer-events: none; }

/* SCOREBOARD (stats) */
.rp-scoreboard { background: var(--rp-dk); border-top: 3px solid var(--rp-ora); border-bottom: 3px solid var(--rp-ora); padding: 0; }
.rp-scoreboard .rp-stats__inner { display: grid; grid-template-columns: repeat(4,1fr); }
.rp-scoreboard .rp-stats__item { position: relative; padding: 2.2rem 1rem; text-align: center; }
.rp-scoreboard .rp-stats__item + .rp-stats__item { border-left: 1px solid rgba(255,255,255,.08); }
.rp-scoreboard .rp-stats__item::before { content: ""; }
.rp-scoreboard .rp-stats__n { display: block; font-size: 46px; font-weight: 900; line-height: 1; color: var(--rp-ora); letter-spacing: 1px; text-shadow: 0 0 22px rgba(240,120,32,.45); font-variant-numeric: tabular-nums; }
.rp-scoreboard .rp-stats__l { display: block; margin-top: .5rem; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Separateur "ligne mediane" de terrain */
.rp-court-line { height: 0; border-top: 3px solid var(--rp-ora); position: relative; background: var(--rp-gray-lt); }
.rp-court-line::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 74px; height: 74px; border: 3px solid var(--rp-ora); border-radius: 50%; background: #fff; }
.rp-court-line::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 12px; height: 12px; background: var(--rp-ora); border-radius: 50%; }

/* CTA banniere facon parquet */
.rp-cta-banner--court { position: relative; overflow: hidden; }
.rp-cta-banner--court::before { content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 46px);
  pointer-events: none; }
.rp-cta-banner__ball { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 260px; height: 260px; color: rgba(255,255,255,.10); pointer-events: none; }
.rp-cta-banner .rp-container { position: relative; z-index: 2; }

/* Ballon watermark section partenaires */
.rp-partners { position: relative; overflow: hidden; }
.rp-partners::before { content: ""; position: absolute; left: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, transparent 60%, rgba(240,120,32,.12) 61%); pointer-events: none; }

@media (max-width: 768px) {
  .rp-scoreboard .rp-stats__inner { grid-template-columns: repeat(2,1fr); }
  .rp-scoreboard .rp-stats__item:nth-child(3) { border-left: none; }
  .rp-scoreboard .rp-stats__item:nth-child(odd) { border-left: none; }
  .rp-scoreboard .rp-stats__n { font-size: 38px; }
  .rp-hero__ball { width: 190px; height: 190px; left: -50px; bottom: -50px; }
}

/* ================================================================
   REBOND PILOTIN — v3 : BLOC CONTACT WHATSAPP
   ================================================================ */
.rp-btn--wa       { background: #25D366; color: #08331A; font-weight: 800; }
.rp-btn--wa:hover { background: #1EBE5A; color: #08331A; }
.rp-btn--wa svg   { flex-shrink: 0; }

.rp-whatsapp { position: relative; overflow: hidden; }
.rp-whatsapp .rp-container { position: relative; z-index: 2; }
.rp-whatsapp__card { display: flex; align-items: center; gap: 1.8rem; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.35); border-radius: var(--rp-r-lg); padding: 2.2rem 2.4rem; }
.rp-whatsapp__icon { flex-shrink: 0; width: 66px; height: 66px; border-radius: 50%; background: #25D366; color: #08331A; display: flex; align-items: center; justify-content: center; }
.rp-whatsapp__body { flex: 1; }
.rp-whatsapp__body .rp-tag { color: #25D366; }
.rp-whatsapp__title { color: #fff; font-size: 28px; font-weight: 800; line-height: 1.2; margin: 2px 0 .5rem; }
.rp-whatsapp__title .accent { color: #25D366; }
.rp-whatsapp__sub { color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.6; max-width: 520px; }

@media (max-width: 768px) {
  .rp-whatsapp__card { flex-direction: column; text-align: center; padding: 2rem 1.4rem; }
  .rp-whatsapp__sub { margin: 0 auto; }
  .rp-btn--wa { width: 100%; justify-content: center; }
}

/* ================================================================
   REBOND PILOTIN — V5 : STYLE MAGAZINE (inspiration Paris Basketball)
   ================================================================ */
:root { --rp-ink:#140427; --rp-ink-2:#1f0a3d; --rp-ink-3:#0d021c; }

/* Ticker adhesion */
.rp-ticker { display:flex; align-items:center; justify-content:center; gap:10px; background:var(--rp-ora); color:#2a1400; font-size:13px; font-weight:800; letter-spacing:.4px; padding:9px 16px; text-align:center; transition:background .2s; }
.rp-ticker:hover { background:#ffa04a; }
.rp-ticker__arrow { transition:transform .2s; }
.rp-ticker:hover .rp-ticker__arrow { transform:translateX(4px); }

/* Bouton ghost blanc */
.rp-btn--ghost { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.5); }
.rp-btn--ghost:hover { background:rgba(255,255,255,.1); border-color:#fff; }

/* HERO XXL plein cadre */
.rp-hx { position:relative; min-height:78vh; display:flex; align-items:flex-end; overflow:hidden; background:var(--rp-ink); }
.rp-hx__media { position:absolute; inset:0; background-size:cover; background-position:center; z-index:0; }
.rp-hx__media--grad { background:radial-gradient(circle at 72% 32%, var(--rp-pur-mid), var(--rp-ink) 68%); display:flex; align-items:center; justify-content:center; }
.rp-hx__logo { width:min(46%,420px); height:auto; opacity:.9; filter:drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.rp-hx__overlay { position:absolute; inset:0; z-index:1; background:linear-gradient(180deg, rgba(20,4,39,.15) 0%, rgba(20,4,39,.55) 55%, rgba(20,4,39,.96) 100%); }
.rp-hx__inner { position:relative; z-index:2; max-width:var(--rp-max); width:100%; margin:0 auto; padding:0 2rem 3.5rem; }
.rp-hx__kicker { display:inline-block; color:var(--rp-ora); font-size:13px; font-weight:800; letter-spacing:4px; text-transform:uppercase; margin-bottom:.6rem; }
.rp-hx__title { color:#fff; font-size:clamp(44px,8vw,92px); line-height:.9; font-weight:900; letter-spacing:-2px; text-transform:uppercase; margin:0 0 1rem; }
.rp-hx__sub { color:rgba(255,255,255,.72); font-size:16px; max-width:480px; margin:0 0 1.6rem; }
.rp-hx__btns { display:flex; gap:12px; flex-wrap:wrap; }

/* Prochain match */
.rp-match { background:var(--rp-ink-3); border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.rp-match__inner { max-width:var(--rp-max); margin:0 auto; padding:1.1rem 2rem; display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.rp-match__teams { flex:1; min-width:220px; }
.rp-match__label { display:block; color:var(--rp-ora); font-size:10px; font-weight:800; letter-spacing:2px; text-transform:uppercase; }
.rp-match__vs { display:block; color:#fff; font-size:18px; font-weight:800; margin-top:3px; }
.rp-match__vs em { color:rgba(255,255,255,.4); font-style:normal; font-weight:600; margin:0 4px; }
.rp-match__meta { display:flex; flex-direction:column; text-align:right; color:rgba(255,255,255,.55); font-size:12.5px; line-height:1.5; }

/* Barre identite */
.rp-idbar { background:var(--rp-ink); display:grid; grid-template-columns:repeat(4,1fr); border-bottom:3px solid var(--rp-ora); }
.rp-idbar__item { text-align:center; padding:1.8rem 1rem; }
.rp-idbar__item + .rp-idbar__item { border-left:1px solid rgba(255,255,255,.08); }
.rp-idbar__n { display:block; color:var(--rp-ora); font-size:40px; font-weight:900; line-height:1; font-variant-numeric:tabular-nums; }
.rp-idbar__l { display:block; color:rgba(255,255,255,.5); font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; margin-top:.4rem; }

/* En-tete de section magazine */
.rp-mag__head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:1.4rem; }
.rp-mag__h2 { color:#fff; font-size:clamp(24px,3.5vw,34px); font-weight:900; letter-spacing:-.5px; text-transform:uppercase; margin:0; }
.rp-mag__all { color:var(--rp-ora); font-size:13px; font-weight:800; }

/* Actus magazine */
.rp-mag { background:var(--rp-ink); padding:4rem 0; }
.rp-mag__grid { display:grid; grid-template-columns:1.5fr 1fr; grid-template-rows:1fr 1fr; gap:16px; }
.rp-mag__card { display:flex; flex-direction:column; background:var(--rp-ink-2); border-radius:14px; overflow:hidden; transition:transform .2s; }
.rp-mag__card:hover { transform:translateY(-4px); }
.rp-mag__card--feature { grid-row:1 / span 2; }
.rp-mag__img { position:relative; overflow:hidden; background:linear-gradient(135deg,var(--rp-pur),var(--rp-ora)); aspect-ratio:16/9; }
.rp-mag__card--feature .rp-mag__img { aspect-ratio:auto; flex:1; min-height:220px; }
.rp-mag__img img { width:100%; height:100%; object-fit:cover; }
.rp-mag__ph { display:block; width:100%; height:100%; }
.rp-mag__body { padding:1.1rem 1.2rem 1.3rem; }
.rp-mag__card--feature .rp-mag__body { padding:1.5rem; }
.rp-mag__cat { color:var(--rp-ora); font-size:10px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; }
.rp-mag__title { color:#fff; font-weight:800; line-height:1.2; margin:.4rem 0 .5rem; font-size:16px; }
.rp-mag__card--feature .rp-mag__title { font-size:24px; }
.rp-mag__date { color:rgba(255,255,255,.4); font-size:12px; }

/* Boutique vignettes */
.rp-shoptiles { background:var(--rp-ink-3); padding:4rem 0; }
.rp-shoptiles__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.rp-tile { display:block; }
.rp-tile__img { position:relative; aspect-ratio:1; background:var(--rp-ink-2); border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; transition:transform .2s; }
.rp-tile:hover .rp-tile__img { transform:translateY(-4px); }
.rp-tile__img img { width:100%; height:100%; object-fit:cover; }
.rp-tile__ph { font-size:40px; opacity:.3; }
.rp-tile__name { color:#fff; font-size:13.5px; font-weight:700; margin-top:.6rem; }
.rp-tile__price { color:var(--rp-ora); font-size:14px; font-weight:800; }

/* WhatsApp sur fond sombre */
.rp-whatsapp { background:var(--rp-ink); }

@media (max-width:820px) {
  .rp-idbar { grid-template-columns:repeat(2,1fr); }
  .rp-idbar__item:nth-child(odd) { border-left:none; }
  .rp-idbar__item:nth-child(3), .rp-idbar__item:nth-child(4) { border-top:1px solid rgba(255,255,255,.08); }
  .rp-mag__grid { grid-template-columns:1fr; grid-template-rows:none; }
  .rp-mag__card--feature { grid-row:auto; }
  .rp-shoptiles__grid { grid-template-columns:repeat(2,1fr); }
  .rp-match__meta { text-align:left; }
}
