/**
 * Top Villes Retraite - Styles Modernes & Responsive Luxe
 * Plugin: Retraide City Pages
 */

.rcp-page-luxe-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}

.rcp-page-luxe-wrapper *,
.rcp-page-luxe-wrapper *::before,
.rcp-page-luxe-wrapper *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.rcp-luxe-breadcrumb {
    margin-bottom: 24px;
    font-size: 13.5px;
}

.rcp-luxe-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.rcp-luxe-breadcrumb a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.rcp-luxe-breadcrumb a:hover {
    color: #0369a1;
    text-decoration: underline;
}

.rcp-luxe-breadcrumb-sep {
    color: #cbd5e1;
    user-select: none;
}

.rcp-luxe-breadcrumb-current {
    font-weight: 700;
    color: #334155;
}

/* ==========================================================================
   Hero Header
   ========================================================================== */
.rcp-page-hero {
    position: relative;
    text-align: center;
    padding: 36px 24px 38px;
    background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 24px;
    margin-bottom: 36px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}

.rcp-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
}

.rcp-page-title {
    font-size: clamp(1.65rem, 3.8vw, 2.45rem);
    font-weight: 850;
    color: #0f172a;
    margin: 16px 0 12px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.rcp-page-title-highlight {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rcp-page-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: #475569;
    max-width: 760px;
    margin: 0 auto 14px;
    line-height: 1.6;
}

.rcp-page-source-note {
    font-size: 12px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   Podium List & Cards
   ========================================================================== */
.rcp-podium-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.rcp-podium-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.rcp-podium-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
}

/* Rank-specific card highlights */
.rcp-podium-card.rank-1 {
    border: 2px solid #fbbf24;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
    box-shadow: 0 6px 20px -3px rgba(245, 158, 11, 0.15), 0 2px 6px rgba(0, 0, 0, 0.02);
}
.rcp-podium-card.rank-1:hover {
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.22);
    border-color: #f59e0b;
}

.rcp-podium-card.rank-2 {
    border: 1.5px solid #cbd5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 16px -2px rgba(148, 163, 184, 0.15);
}
.rcp-podium-card.rank-2:hover {
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.25);
    border-color: #94a3b8;
}

.rcp-podium-card.rank-3 {
    border: 1.5px solid #fdba74;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    box-shadow: 0 4px 16px -2px rgba(217, 119, 6, 0.14);
}
.rcp-podium-card.rank-3:hover {
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
    border-color: #f97316;
}

/* ==========================================================================
   Rank Badge
   ========================================================================== */
.rcp-rank-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 850;
    font-size: 1.25rem;
    line-height: 1.1;
    flex-shrink: 0;
    user-select: none;
}

.rcp-rank-badge.rank-1 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.rcp-rank-badge.rank-2 {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.rcp-rank-badge.rank-3 {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.rcp-rank-badge.rank-standard {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    font-size: 1.15rem;
}

.rcp-rank-icon {
    font-size: 1.1rem;
    line-height: 1;
    display: block;
}

.rcp-rank-num {
    font-size: 0.8rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}

.rcp-rank-badge.rank-standard .rcp-rank-num {
    font-size: 1.15rem;
}

/* ==========================================================================
   Card Main Content
   ========================================================================== */
.rcp-podium-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.rcp-podium-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rcp-podium-city-name {
    font-size: 1.35rem;
    font-weight: 850;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.rcp-podium-city-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rcp-podium-city-name a:hover {
    color: #0284c7;
}

.rcp-score-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.22);
    white-space: nowrap;
}

/* Stats Tags */
.rcp-stats-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.rcp-stat-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
    line-height: 1.3;
}

.rcp-stat-tag strong {
    color: #0f172a;
    font-weight: 750;
}

/* ==========================================================================
   Action Buttons
   ========================================================================== */
.rcp-podium-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
}

.rcp-btn-guide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-weight: 750;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.22);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.rcp-btn-guide:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.32);
}

.rcp-btn-guide:active {
    transform: scale(0.98);
}

.rcp-btn-ehpad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #ffffff;
    color: #1e293b !important;
    font-weight: 700;
    font-size: 12.5px;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.rcp-btn-ehpad:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.rcp-btn-ehpad:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Methodology & Empty State
   ========================================================================== */
.rcp-methodo-note {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin: 28px auto;
    max-width: 720px;
    line-height: 1.6;
}

.rcp-empty-state {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    padding: 48px 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

/* Tablet (max 860px) */
@media (max-width: 860px) {
    .rcp-podium-card {
        grid-template-columns: 50px 1fr;
        gap: 14px 16px;
        padding: 18px 20px;
    }

    .rcp-podium-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        width: 100%;
        margin-top: 4px;
    }

    .rcp-btn-guide,
    .rcp-btn-ehpad {
        flex: 1;
        justify-content: center;
    }
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
    .rcp-page-luxe-wrapper {
        padding: 16px 12px 40px;
    }

    .rcp-luxe-breadcrumb {
        margin-bottom: 18px;
        font-size: 12.5px;
    }

    .rcp-page-hero {
        padding: 24px 16px 26px;
        border-radius: 20px;
        margin-bottom: 24px;
    }

    .rcp-page-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .rcp-podium-list {
        gap: 14px;
        margin-bottom: 28px;
    }

    /* Modern Card Layout on Mobile */
    .rcp-podium-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 12px;
        row-gap: 10px;
        padding: 14px;
        border-radius: 16px;
    }

    .rcp-rank-badge {
        grid-column: 1;
        grid-row: 1;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .rcp-rank-icon {
        font-size: 0.95rem;
    }

    .rcp-rank-num {
        font-size: 0.72rem;
    }

    .rcp-rank-badge.rank-standard .rcp-rank-num {
        font-size: 1rem;
    }

    .rcp-podium-main {
        grid-column: 2;
        grid-row: 1;
        gap: 4px;
        justify-content: center;
    }

    .rcp-podium-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .rcp-podium-city-name {
        font-size: 1.2rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .rcp-score-pill {
        font-size: 11.5px;
        padding: 2.5px 8px;
    }

    /* Stats row: span full card width with compact, balanced tags */
    .rcp-stats-tags {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 4px 0 2px;
    }

    .rcp-stat-tag {
        flex: 1 1 auto;
        justify-content: center;
        padding: 5px 8px;
        font-size: 11.5px;
        border-radius: 7px;
        background: #f8fafc;
        white-space: nowrap;
    }

    /* Actions: full width row with 2 responsive side-by-side or stacked buttons */
    .rcp-podium-actions {
        grid-column: 1 / -1;
        grid-row: 3;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 8px;
        width: 100%;
        margin-top: 2px;
    }

    .rcp-btn-guide,
    .rcp-btn-ehpad {
        width: 100%;
        padding: 10px 10px;
        font-size: 12.5px;
        border-radius: 9px;
        justify-content: center;
    }
}

/* Extra small mobile (max 380px) */
@media (max-width: 380px) {
    .rcp-podium-actions {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rcp-stat-tag {
        font-size: 11px;
        padding: 4px 6px;
    }
}

/* ==========================================================================
   CHARTE RETRAIDE LUXE - NATIONAL HUB TOP VILLES
   ========================================================================== */
.rcp-luxe-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
}

/* Hub Hero Header */
.rcp-luxe-hero {
    position: relative;
    text-align: center;
    padding: 42px 24px 48px;
    background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 24px;
    margin-bottom: 45px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.rcp-luxe-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    font-weight: 750;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}
.rcp-luxe-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: rcp-pulse 2s infinite;
}
@keyframes rcp-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.rcp-luxe-hero-title {
    font-size: 2.75rem;
    font-weight: 850;
    color: #0f172a;
    margin: 22px 0 16px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}
.rcp-luxe-gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.rcp-luxe-hero-desc {
    font-size: 1.2rem;
    color: #334155;
    max-width: 840px;
    margin: 0 auto 28px;
    line-height: 1.65;
    font-weight: 450;
}
.rcp-luxe-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.rcp-luxe-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0284c7;
    font-weight: 750;
    font-size: 14.5px;
    padding: 11px 24px;
    border-radius: 12px;
    border: 1px solid #bae6fd;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
    transition: all 0.25s ease;
}
.rcp-luxe-btn-link:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.16);
}

/* Highlights Banner */
.rcp-luxe-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}
.rcp-highlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}
.rcp-highlight-card:hover {
    border-color: #bae6fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.1);
}
.rcp-highlight-icon {
    font-size: 30px;
    width: 56px;
    height: 56px;
    background: #f0f9ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bae6fd;
    flex-shrink: 0;
}
.rcp-highlight-text h3 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
}
.rcp-highlight-text p {
    margin: 3px 0 0 0;
    font-size: 13.5px;
    color: #475569;
}

/* Region Cards Grid */
.rcp-luxe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

/* Card Luxe Design - LUMINEUX SENIOR */
.rcp-luxe-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.rcp-luxe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0284c7, #10b981);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.rcp-luxe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
    border-color: #7dd3fc;
}
.rcp-luxe-card:hover::before {
    opacity: 1;
}

.rcp-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.rcp-card-badge {
    background: #f0f9ff;
    color: #0369a1;
    font-weight: 750;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid #bae6fd;
}
.rcp-card-year {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

.rcp-card-region-title {
    font-size: 1.55rem;
    font-weight: 850;
    margin: 0 0 18px 0;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.rcp-card-winner-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.2s;
}
.rcp-luxe-card:hover .rcp-card-winner-box {
    border-color: #cbd5e1;
    background: #ffffff;
}

.rcp-winner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rcp-winner-trophy {
    font-size: 24px;
}
.rcp-winner-details {
    display: flex;
    flex-direction: column;
}
.rcp-winner-label {
    font-size: 11.5px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.rcp-winner-name {
    font-size: 16px;
    font-weight: 850;
    color: #0f172a;
}
.rcp-winner-score {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

.rcp-card-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    font-weight: 750;
    font-size: 15px;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.rcp-card-cta-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.38);
}
.rcp-card-cta-btn span.arrow {
    transition: transform 0.2s ease;
}
.rcp-card-cta-btn:hover span.arrow {
    transform: translateX(4px);
}

/* Hub Responsive Breakpoints */
@media (max-width: 1024px) {
    .rcp-luxe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .rcp-luxe-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rcp-luxe-wrapper {
        padding: 20px 16px 40px;
    }
    .rcp-luxe-hero {
        padding: 32px 16px 36px;
        margin-bottom: 30px;
    }
    .rcp-luxe-hero-title {
        font-size: 2rem;
    }
    .rcp-luxe-hero-desc {
        font-size: 1.05rem;
    }
    .rcp-luxe-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
    .rcp-luxe-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .rcp-luxe-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .rcp-luxe-hero-title {
        font-size: 1.75rem;
    }
    .rcp-luxe-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .rcp-luxe-btn-link {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   BARRE FIXE EN BAS SUR MOBILE (RANKING / TOP 10 VILLES)
   ========================================================================== */

.rcp-ranking-sticky-cta {
    display: none;
}

@media (max-width: 991px) {
    .rcp-ranking-sticky-cta.rcp-mobile-sticky-cta-v2 {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border-top: 1.5px solid #e2e8f0 !important;
        border-radius: 18px 18px 0 0 !important;
        box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.14) !important;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px !important;
        z-index: 999999 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        box-sizing: border-box !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        will-change: transform, opacity !important;
    }

    .rcp-ranking-sticky-cta.rcp-mobile-sticky-cta-v2.is-hidden {
        transform: translateY(115%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .rcp-ranking-sticky-cta.rcp-mobile-sticky-cta-v2.is-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Ligne 1 : Bouton Principal Pleine Largeur */
    .rcp-ranking-sticky-cta .rcp-sticky-btn-pri {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        height: 38px !important;
        min-height: 38px !important;
        border-radius: 10px !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        transition: all 0.2s ease !important;
        background: #009bfe !important;
        border: 1px solid #0083da !important;
        color: #ffffff !important;
        box-shadow: 0 3px 10px rgba(0, 155, 254, 0.25) !important;
    }

    .rcp-ranking-sticky-cta .rcp-sticky-btn-pri:active {
        transform: scale(0.98) !important;
    }

    /* Ligne 2 : 2 Boutons Secondaires (50% / 50%) */
    .rcp-ranking-sticky-cta .rcp-sticky-row-1 {
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec {
        flex: 1 !important;
        min-width: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        height: 36px !important;
        min-height: 36px !important;
        border-radius: 8px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        padding: 0 6px !important;
        transition: all 0.15s ease-in-out !important;
    }

    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec:active {
        transform: scale(0.97) !important;
    }

    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec span {
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    /* Déposer une annonce (Ambre) */
    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec-coloc {
        color: #b45309 !important;
        border: 1.5px solid #fde68a !important;
        background-color: #fefbeb !important;
        box-shadow: 0 1px 4px rgba(180, 83, 9, 0.04) !important;
    }

    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec-coloc:hover,
    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec-coloc:active {
        background-color: #fef3c7 !important;
        border-color: #fcd34d !important;
    }

    /* Déposer une demande (Vert / Émeraude) */
    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec-request {
        color: #047857 !important;
        border: 1.5px solid #a7f3d0 !important;
        background-color: #ecfdf5 !important;
        box-shadow: 0 1px 4px rgba(4, 120, 87, 0.04) !important;
    }

    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec-request:hover,
    .rcp-ranking-sticky-cta .rcp-sticky-btn-sec-request:active {
        background-color: #d1fae5 !important;
        border-color: #6ee7b7 !important;
    }

    /* Ligne 3 : Établissements & EHPAD Pro */
    .rcp-ranking-sticky-cta .rt-sticky-btn-pro {
        width: 100% !important;
        height: 34px !important;
        min-height: 34px !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #0369a1 !important;
        border: 1px solid #bae6fd !important;
        background-color: #f0f9ff !important;
        box-shadow: 0 1px 4px rgba(3, 105, 161, 0.04) !important;
        border-radius: 8px !important;
    }

    .rcp-ranking-sticky-cta .rt-sticky-btn-pro:hover,
    .rcp-ranking-sticky-cta .rt-sticky-btn-pro:active {
        background-color: #e0f2fe !important;
        border-color: #7dd3fc !important;
    }

    /* Avoid overlap with sticky footer bar on mobile */
    .rcp-page-luxe-wrapper,
    .rcp-luxe-wrapper {
        padding-bottom: 155px !important;
    }
}

/* ==========================================================================
   BARRE LIENS OBSERVATOIRE EHPAD PAR VILLE (SUR PAGES TOP VILLES)
   ========================================================================== */
.rcp-city-ehpad-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
    font-size: 12px;
}

.rcp-ehpad-bar-title {
    font-weight: 700;
    color: #475569;
    font-size: 11.5px;
}

.rcp-city-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    line-height: 1.3;
}

.rcp-city-pill:hover {
    transform: translateY(-1px);
}

.rcp-city-pill.rcp-pill-fortes {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.rcp-city-pill.rcp-pill-fortes:hover {
    background: #fee2e2;
}

.rcp-city-pill.rcp-pill-prix {
    background: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}
.rcp-city-pill.rcp-pill-prix:hover {
    background: #e0f2fe;
}

.rcp-city-pill.rcp-pill-moderees {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}
.rcp-city-pill.rcp-pill-moderees:hover {
    background: #dcfce7;
}

.rcp-city-pill.rcp-pill-baisses {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}
.rcp-city-pill.rcp-pill-baisses:hover {
    background: #f3e8ff;
}


