/* ==========================================================================
   rencontre-ephemere.com — Thème "Mucha boudoir Art Nouveau" (refonte
   2026-05-04)
   --------------------------------------------------------------------------
   Mobile-first. Palette préservée du legacy : bordeaux #761d4a + magenta
   #d82b82 + papier crème + or champagne. Ornements Art Nouveau (courbes
   végétales, pattern arabesques en SVG inline encodé). Typographie : Cormorant
   Garamond pour titres (élégant, classique), Outfit pour body. Bottom-nav
   fixe sur mobile. Préfixe nav : rce-mac-* (rencontre-éphémère mucha
   art-nouveau curves). Aucun marker BS3/BS4.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --rce-burgundy:        #761d4a;        /* préservé legacy */
    --rce-burgundy-deep:   #5a163a;
    --rce-burgundy-velvet: #4a0f2e;
    --rce-magenta:         #d82b82;        /* préservé legacy */
    --rce-magenta-glow:    rgba(216,43,130,.18);
    --rce-rose:            #f1a3c5;
    --rce-cream:           #f4ebd9;        /* papier crème */
    --rce-cream-warm:      #ede0c4;
    --rce-paper:           #fbf5e8;
    --rce-gold:            #c9a961;        /* or champagne */
    --rce-gold-deep:       #a48642;
    --rce-ink:             #2c1a25;        /* texte noir-bordeaux */
    --rce-ink-soft:        #5e4654;
    --rce-line:            rgba(118,29,74,.18);
    --rce-line-strong:     rgba(118,29,74,.40);
    --rce-shadow-sm:       0 2px 10px rgba(74,15,46,.10);
    --rce-shadow:          0 10px 30px rgba(74,15,46,.18);
    --rce-shadow-lg:       0 20px 50px rgba(74,15,46,.28);
    --rce-radius:          14px;
    --rce-radius-sm:       8px;
    --rce-radius-pill:     999px;
    --rce-nav-h:           64px;
    --rce-bottom-h:        calc(58px + env(safe-area-inset-bottom, 0px));

    /* Typo fluide */
    --fs-xs:    clamp(0.78rem, 0.74rem + 0.18vw, 0.86rem);
    --fs-sm:    clamp(0.86rem, 0.80rem + 0.30vw, 0.98rem);
    --fs-base:  clamp(0.98rem, 0.90rem + 0.40vw, 1.10rem);
    --fs-md:    clamp(1.08rem, 0.98rem + 0.50vw, 1.24rem);
    --fs-lg:    clamp(1.25rem, 1.10rem + 0.75vw, 1.55rem);
    --fs-xl:    clamp(1.55rem, 1.30rem + 1.25vw, 2.10rem);
    --fs-2xl:   clamp(2.00rem, 1.60rem + 2.00vw, 3.00rem);
    --fs-3xl:   clamp(2.50rem, 2.00rem + 2.80vw, 4.20rem);

    /* Pattern arabesque SVG (Art Nouveau curl) — encodé inline pour tokens */
    --rce-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23761d4a' stroke-width='0.7' stroke-opacity='0.08'%3E%3Cpath d='M80 10c20 30 50 30 70 0M80 150c-20-30-50-30-70 0M10 80c30-20 30-50 0-70M150 80c-30 20-30 50 0 70'/%3E%3Ccircle cx='80' cy='80' r='42'/%3E%3Ccircle cx='80' cy='80' r='28'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- reset --- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--rce-cream) !important;
    background-image:
        radial-gradient(1000px 500px at 100% 0%, var(--rce-magenta-glow), transparent 60%),
        radial-gradient(800px 600px at 0% 100%, rgba(118,29,74,.10), transparent 60%),
        var(--rce-pattern) !important;
    background-size: auto, auto, 320px 320px !important;
    background-attachment: fixed, fixed, fixed !important;
    color: var(--rce-ink) !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif !important;
    font-size: var(--fs-base) !important;
    line-height: 1.6 !important;
    padding-bottom: calc(var(--rce-bottom-h) + 70px);
    overflow-x: hidden;
    min-height: 100svh;
}
@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

/* Override total des h1-h6 du legacy style.css */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif !important;
    font-weight: 600 !important;
    color: var(--rce-burgundy) !important;
    letter-spacing: 0.01em;
    line-height: 1.18;
    margin: 0 0 0.6em 0;
    padding: 0;
}
h1 { font-size: var(--fs-3xl); font-weight: 500 !important; font-style: italic; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); color: var(--rce-magenta) !important; font-weight: 600 !important; }
h6 { font-size: var(--fs-base); color: var(--rce-ink-soft) !important; }

a {
    color: var(--rce-burgundy) !important;
    text-decoration: none !important;
    border-bottom: 1px dotted var(--rce-line-strong);
    transition: color .15s, border-color .15s;
}
a:hover, a:focus {
    color: var(--rce-magenta) !important;
    border-bottom-color: var(--rce-magenta);
}
a:focus-visible { outline: 2px dashed var(--rce-magenta); outline-offset: 3px; }

/* Liens dans les nav, cards, footer : pas de underline default */
nav a, header a, footer a, .rce-mac-bot-cell, .rce-card a, .srt-skip {
    border-bottom: 0 !important;
}

p { margin: 0 0 .85em 0; }
img { max-width: 100%; height: auto; display: block; border: none; }

::selection { background: var(--rce-magenta); color: var(--rce-cream); }

.rce-skip {
    position: fixed; top: -40px; left: 8px;
    background: var(--rce-burgundy); color: var(--rce-cream) !important;
    padding: 8px 14px; border-radius: var(--rce-radius-sm);
    font-weight: 600; z-index: 1100;
    transition: top .15s;
    border: 0 !important;
}
.rce-skip:focus { top: 8px; }

/* ========================================================================
   HEADER
   ======================================================================== */

.rce-mac-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background:
        linear-gradient(180deg, var(--rce-paper) 0%, var(--rce-cream) 100%);
    border-bottom: 2px solid var(--rce-gold);
    box-shadow: var(--rce-shadow-sm);
}
.rce-mac-header::before {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 3px;
    background:
        repeating-linear-gradient(90deg,
            var(--rce-gold) 0 12px,
            transparent 12px 14px,
            var(--rce-burgundy) 14px 18px,
            transparent 18px 22px);
    opacity: .55;
}

.rce-mac-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: var(--rce-nav-h);
    padding: 0 16px;
    max-width: 1240px;
    margin: 0 auto;
}

.rce-mac-brand {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(1.30rem, 1.05rem + 1.0vw, 1.85rem);
    font-style: italic;
    font-weight: 500;
    color: var(--rce-burgundy) !important;
    letter-spacing: 0.02em;
    border: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    line-height: 1;
    text-decoration: none !important;
}
.rce-mac-brand::before {
    content: '';
    width: 30px; height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    background:
        radial-gradient(circle at 35% 30%, var(--rce-gold) 0%, var(--rce-burgundy) 60%, var(--rce-burgundy-deep) 100%);
    box-shadow: 0 0 0 2px var(--rce-gold), 0 0 0 3px var(--rce-cream);
}
.rce-mac-brand:hover { color: var(--rce-magenta) !important; }

.rce-mac-burger {
    background: var(--rce-paper);
    border: 1.5px solid var(--rce-gold);
    color: var(--rce-burgundy);
    width: 44px; height: 44px;
    border-radius: var(--rce-radius-sm);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.rce-mac-burger:hover, .rce-mac-burger:focus {
    background: var(--rce-burgundy);
    color: var(--rce-cream);
    border-color: var(--rce-burgundy);
}
.rce-mac-burger svg { width: 22px; height: 22px; }

.rce-mac-quick { display: none; }
@media (min-width: 768px) {
    .rce-mac-quick {
        display: flex; align-items: center; gap: 4px; flex: 1 1 auto; justify-content: center;
        margin: 0 12px;
    }
    .rce-mac-quick a {
        color: var(--rce-ink) !important;
        font-size: var(--fs-sm);
        font-weight: 500;
        padding: 8px 14px;
        border-radius: var(--rce-radius-sm);
        white-space: nowrap;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        border: 0 !important;
    }
    .rce-mac-quick a:hover {
        background: var(--rce-burgundy);
        color: var(--rce-cream) !important;
    }
}

.rce-mac-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, var(--rce-magenta) 0%, var(--rce-burgundy) 100%);
    color: var(--rce-cream) !important;
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 10px 16px;
    border-radius: var(--rce-radius-pill);
    border: 0 !important;
    min-height: 44px;
    box-shadow: 0 4px 14px rgba(216,43,130,.30), inset 0 1px 0 rgba(255,255,255,.20);
    transition: transform .15s, box-shadow .15s;
}
.rce-mac-cta:hover {
    color: var(--rce-cream) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(216,43,130,.40);
}

/* Drawer mobile */
.rce-mac-drawer {
    position: fixed; inset: 0;
    background: rgba(74,15,46,.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.rce-mac-drawer[data-open="true"] { opacity: 1; pointer-events: auto; }

.rce-mac-drawer-inner {
    position: absolute;
    top: 0; right: 0;
    width: min(86%, 360px);
    height: 100%;
    background: linear-gradient(180deg, var(--rce-paper) 0%, var(--rce-cream) 100%);
    background-image: var(--rce-pattern);
    background-size: 200px 200px;
    border-left: 4px solid var(--rce-gold);
    box-shadow: var(--rce-shadow-lg);
    transform: translateX(100%);
    transition: transform .30s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
}
.rce-mac-drawer[data-open="true"] .rce-mac-drawer-inner { transform: translateX(0); }

.rce-mac-drawer-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; padding-bottom: 12px;
    border-bottom: 1px solid var(--rce-line);
}
.rce-mac-drawer-head .rce-mac-brand { font-size: var(--fs-md); }
.rce-mac-drawer-close {
    background: transparent; border: 0; color: var(--rce-burgundy);
    width: 44px; height: 44px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rce-radius-sm);
}
.rce-mac-drawer-close:hover { background: var(--rce-burgundy); color: var(--rce-cream); }

.rce-mac-drawer ul { list-style: none; margin: 0; padding: 0; }
.rce-mac-drawer li { margin: 4px 0; }
.rce-mac-drawer a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 14px;
    color: var(--rce-ink) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: var(--fs-lg);
    font-weight: 500;
    border-radius: var(--rce-radius-sm);
    border: 0 !important;
    border-left: 3px solid transparent !important;
    transition: all .15s;
    min-height: 48px;
}
.rce-mac-drawer a:hover, .rce-mac-drawer a:focus {
    background: rgba(118,29,74,.08);
    border-left-color: var(--rce-magenta) !important;
    color: var(--rce-burgundy) !important;
}
.rce-mac-drawer a svg { width: 20px; height: 20px; flex-shrink: 0; opacity: .65; }

@media (min-width: 768px) { .rce-mac-burger { display: none; } }

/* ========================================================================
   LAYOUT main
   ======================================================================== */

.rce-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 30px;
}
@media (min-width: 768px) { .rce-main { padding: 30px 26px 50px; } }

/* Hero / titre */
.rce-hero {
    text-align: center;
    padding: 18px 0 22px;
    position: relative;
}
.rce-hero::before, .rce-hero::after {
    content: '';
    display: block;
    height: 22px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .65;
}
.rce-hero::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'%3E%3Cg fill='none' stroke='%23c9a961' stroke-width='1.4'%3E%3Cpath d='M0 12 Q 50 0 100 12 T 200 12'/%3E%3Ccircle cx='100' cy='12' r='3' fill='%23c9a961'/%3E%3Ccircle cx='40' cy='12' r='1.5' fill='%23761d4a'/%3E%3Ccircle cx='160' cy='12' r='1.5' fill='%23761d4a'/%3E%3C/g%3E%3C/svg%3E");
    width: 220px;
    margin-bottom: 12px;
}
.rce-hero::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'%3E%3Cg fill='none' stroke='%23c9a961' stroke-width='1.4'%3E%3Cpath d='M0 12 Q 50 24 100 12 T 200 12'/%3E%3Ccircle cx='100' cy='12' r='3' fill='%23c9a961'/%3E%3C/g%3E%3C/svg%3E");
    width: 220px;
    margin-top: 8px;
}
.rce-hero h1 { color: var(--rce-burgundy) !important; }
.rce-hero p {
    color: var(--rce-ink-soft);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: var(--fs-md);
    margin: 6px 0 0;
}

/* Rubriques inline (legacy index.php) */
.rce-rubriques {
    background:
        linear-gradient(180deg, var(--rce-paper) 0%, var(--rce-cream) 100%);
    border: 1px solid var(--rce-line);
    border-radius: var(--rce-radius);
    padding: 14px 18px;
    margin: 10px 0 22px;
    text-align: center;
    font-size: var(--fs-sm);
    line-height: 2;
    box-shadow: var(--rce-shadow-sm);
}
.rce-rubriques b {
    font-family: 'Cormorant Garamond', serif !important;
    color: var(--rce-burgundy);
    font-size: var(--fs-md);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.rce-rubriques a { color: var(--rce-burgundy) !important; }
.rce-rubriques a:hover { color: var(--rce-magenta) !important; }

/* ========================================================================
   GRID annonces
   ======================================================================== */

.rce-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 14px 0 24px;
}
@media (min-width: 480px) { .rce-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .rce-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .rce-grid { grid-template-columns: repeat(4, 1fr); } }

.rce-main .row { display: contents; }

.rce-card {
    background: var(--rce-paper);
    border: 1px solid var(--rce-line);
    border-radius: var(--rce-radius);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .22s ease, border-color .18s;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--rce-shadow-sm);
}
.rce-card::after {
    content:''; position:absolute; inset: 0; pointer-events:none;
    border-radius: var(--rce-radius);
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow .25s;
}
.rce-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--rce-shadow);
    border-color: var(--rce-gold);
}
.rce-card:hover::after { box-shadow: inset 0 0 0 1px var(--rce-gold); }

.rce-card-img {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--rce-cream-warm);
    position: relative;
    border: 0 !important;
}
.rce-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.rce-card:hover .rce-card-img img { transform: scale(1.04); }

/* ornement Art-Nouveau en coin */
.rce-card-img::before {
    content: '';
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23c9a961' stroke-width='1.4'%3E%3Cpath d='M12 2 Q 22 12 12 22 Q 2 12 12 2 Z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23c9a961'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.20));
    opacity: 0;
    transition: opacity .25s;
}
.rce-card:hover .rce-card-img::before { opacity: 1; }

.rce-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}
.rce-card-body h5 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: var(--fs-md);
    color: var(--rce-burgundy) !important;
    margin: 0;
    font-weight: 600 !important;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.rce-card-meta {
    color: var(--rce-ink-soft);
    font-size: var(--fs-sm);
    margin: 0;
}
.rce-card-meta .rce-badge {
    display: inline-block;
    background: var(--rce-gold);
    color: var(--rce-ink) !important;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--rce-radius-pill);
    margin-left: 6px;
    border: 0 !important;
}
.rce-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding: 10px 14px;
    background: var(--rce-cream);
    border: 1px solid var(--rce-burgundy) !important;
    color: var(--rce-burgundy) !important;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--rce-radius-pill);
    min-height: 44px;
    transition: all .15s;
}
.rce-card-cta:hover {
    background: var(--rce-burgundy);
    color: var(--rce-cream) !important;
}

/* ========================================================================
   Détail annonce
   ======================================================================== */

.rce-detail {
    background: var(--rce-paper);
    border: 1px solid var(--rce-line);
    border-radius: var(--rce-radius);
    padding: 20px 18px 26px;
    margin: 14px 0;
    box-shadow: var(--rce-shadow);
    position: relative;
}
.rce-detail::before {
    /* Cadre Art Nouveau interne */
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid var(--rce-gold);
    border-radius: calc(var(--rce-radius) - 4px);
    pointer-events: none;
    opacity: .35;
}
@media (min-width: 768px) { .rce-detail { padding: 32px 36px; } }

.rce-detail h3 { color: var(--rce-burgundy) !important; text-align: center; }
.rce-detail h4 { color: var(--rce-magenta) !important; text-align: center; font-style: italic; }

.rce-detail .image,
.rce-detail .image-gallery,
.rce-detail .image-border {
    display: block;
    border: 8px solid var(--rce-paper) !important;
    box-shadow: 0 0 0 1px var(--rce-gold), 0 14px 38px rgba(74,15,46,.22);
    border-radius: var(--rce-radius-sm);
    max-width: 520px;
    margin: 8px auto 18px;
}

/* Galerie thumbs */
.rce-gallery {
    text-align: center;
    margin: 12px 0;
}
.rce-gallery img {
    display: inline-block;
    width: 100px; aspect-ratio: 4/5;
    object-fit: cover;
    border: 4px solid var(--rce-paper) !important;
    box-shadow: 0 0 0 1px var(--rce-gold);
    border-radius: var(--rce-radius-sm);
    margin: 4px;
}

.rce-detail .comment {
    color: var(--rce-ink-soft);
    font-size: var(--fs-sm);
    font-style: italic;
    text-align: center;
}

.rce-detail .bot-1 {
    color: var(--rce-burgundy) !important;
    text-align: center;
    margin-top: 18px;
    padding-bottom: 6px;
    position: relative;
}
.rce-detail .bot-1::after {
    content:'';
    display:block;
    width: 60px; height: 14px;
    margin: 4px auto 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'%3E%3Cg fill='none' stroke='%23c9a961' stroke-width='1.2'%3E%3Cpath d='M0 7 Q 15 0 30 7 T 60 7'/%3E%3Ccircle cx='30' cy='7' r='2.5' fill='%23c9a961'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Boutons "Voir le numéro" / "Cliquez ici…" */
.rce-detail .btn,
.rce-detail .btn-light,
.rce-detail .btn-primary,
.rce-detail .btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 4px;
    padding: 12px 22px;
    background: var(--rce-burgundy) !important;
    border: 1.5px solid var(--rce-burgundy) !important;
    color: var(--rce-cream) !important;
    font-weight: 600 !important;
    font-size: var(--fs-sm);
    border-radius: var(--rce-radius-pill);
    cursor: pointer;
    transition: all .15s;
    min-height: 44px;
    text-decoration: none !important;
}
.rce-detail .btn:hover, .rce-detail .btn-light:hover {
    background: var(--rce-magenta) !important;
    border-color: var(--rce-magenta) !important;
    color: var(--rce-cream) !important;
}

/* Badges date legacy */
.rce-detail .badge {
    background: var(--rce-gold) !important;
    color: var(--rce-ink) !important;
    border-radius: var(--rce-radius-pill);
    padding: 2px 10px;
    font-weight: 600;
    font-size: 0.78rem;
}

/* Sidebar GOLDS */
.rce-golds {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 18px 0;
}
@media (min-width: 600px) { .rce-golds { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .rce-golds { grid-template-columns: repeat(4, 1fr); } }
.rce-golds a {
    display: block;
    background: var(--rce-paper);
    border: 1px solid var(--rce-line) !important;
    border-radius: var(--rce-radius-sm);
    overflow: hidden;
    color: var(--rce-ink) !important;
    transition: transform .15s, border-color .15s;
}
.rce-golds a:hover { transform: translateY(-2px); border-color: var(--rce-magenta) !important; }
.rce-golds img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border: 0 !important; }
.rce-golds p {
    margin: 0; padding: 8px 10px;
    font-size: var(--fs-xs);
    text-align: center;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500;
}

/* ========================================================================
   Footer
   ======================================================================== */

.rce-footer-wrap {
    background: linear-gradient(180deg, var(--rce-cream) 0%, var(--rce-cream-warm) 100%);
    border-top: 2px solid var(--rce-gold);
    margin-top: 30px;
    padding: 30px 0 18px;
    position: relative;
}
.rce-footer-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background:
        repeating-linear-gradient(90deg,
            var(--rce-gold) 0 12px,
            transparent 12px 14px,
            var(--rce-burgundy) 14px 18px,
            transparent 18px 22px);
    opacity: .6;
}
.rce-footer-meta {
    text-align: center;
    color: var(--rce-ink-soft);
    font-size: var(--fs-xs);
    padding: 18px 16px 22px;
    margin-top: 18px;
    border-top: 1px solid var(--rce-line);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.rce-footer-meta a { color: var(--rce-burgundy) !important; }
.rce-footer-meta a:hover { color: var(--rce-magenta) !important; }

.rce-footer-pubzone {
    text-align: center;
    margin: 24px auto 0;
    padding: 0 16px;
}
.rce-footer-pubzone a img { display: inline-block; margin-bottom: 6px; }

/* ========================================================================
   Bottom-nav fixe — préfixe rce-mac-bot-
   5 cellules : Salon (home) / Galerie (annonces) / Plume (déposer) /
                Boudoir (compte) / Boîte (aide)
   ======================================================================== */

.rce-mac-bot {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: linear-gradient(180deg, var(--rce-paper) 0%, var(--rce-cream) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid var(--rce-gold);
    box-shadow: 0 -8px 22px rgba(74,15,46,.10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.rce-mac-bot::before {
    content: '';
    position: absolute;
    top: -6px; left: 0; right: 0;
    height: 4px;
    background:
        repeating-linear-gradient(90deg,
            var(--rce-gold) 0 12px,
            transparent 12px 14px,
            var(--rce-burgundy) 14px 18px,
            transparent 18px 22px);
    opacity: .55;
}
.rce-mac-bot-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 600px;
    margin: 0 auto;
}
.rce-mac-bot-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 4px 7px;
    color: var(--rce-ink-soft) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 0 !important;
    background: transparent;
    cursor: pointer;
    min-height: 58px;
    position: relative;
    transition: color .15s;
    text-decoration: none !important;
}
.rce-mac-bot-cell svg {
    width: 22px; height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rce-mac-bot-cell:hover, .rce-mac-bot-cell:focus,
.rce-mac-bot-cell[aria-current="page"] {
    color: var(--rce-magenta) !important;
}
.rce-mac-bot-cell[aria-current="page"]::before {
    content: '';
    position: absolute;
    top: 0; left: 30%; right: 30%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rce-magenta), transparent);
    border-radius: 2px;
}

@media (min-width: 992px) {
    .rce-mac-bot { display: none; }
    body { padding-bottom: 0; }
}

/* ========================================================================
   Pagination
   ======================================================================== */

.text-center.my-3 {
    margin: 18px 0 28px;
    text-align: center;
}
.text-center.my-3 a.btn,
.text-center.my-3 a#prev,
.text-center.my-3 a#next,
.text-center.my-3 a#actuelle,
.text-center.my-3 > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 14px !important;
    margin: 4px 4px 8px !important;
    border-radius: var(--rce-radius-pill) !important;
    border: 1px solid var(--rce-burgundy) !important;
    background: var(--rce-paper) !important;
    color: var(--rce-burgundy) !important;
    font-weight: 600;
    font-size: var(--fs-sm);
    text-decoration: none !important;
    transition: all .15s;
}
.text-center.my-3 a.btn-primary,
.text-center.my-3 a#prev,
.text-center.my-3 a#next {
    background: var(--rce-burgundy) !important;
    color: var(--rce-cream) !important;
}
.text-center.my-3 > a:hover {
    background: var(--rce-magenta) !important;
    color: var(--rce-cream) !important;
    border-color: var(--rce-magenta) !important;
}
.text-center.my-3 a.btn-success,
.text-center.my-3 a#actuelle {
    background: var(--rce-gold) !important;
    color: var(--rce-ink) !important;
    border-color: var(--rce-gold) !important;
    pointer-events: none;
}

/* ========================================================================
   Hashtags
   ======================================================================== */

.hashtag, .hashtag:visited {
    background: var(--rce-cream-warm) !important;
    color: var(--rce-burgundy) !important;
    border: 1px solid var(--rce-line) !important;
    padding: 4px 12px !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 4px 4px 4px 0 !important;
    border-radius: var(--rce-radius-pill) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.78rem !important;
    text-shadow: none !important;
    text-decoration: none !important;
}
.hashtag:before, .hashtag:after { content: none !important; }
.hashtag:hover {
    background: var(--rce-magenta) !important;
    color: var(--rce-cream) !important;
}
.hashtag > .sc-hashtag { color: inherit !important; }

/* ========================================================================
   Surcharges classes héritées
   ======================================================================== */

.bg-dark {
    background: var(--rce-paper) !important;
    color: var(--rce-ink) !important;
    border: 1px solid var(--rce-line);
    border-radius: var(--rce-radius);
    padding: 14px 16px;
    margin-bottom: 14px;
}
.text-white { color: var(--rce-ink) !important; }
.text-center { text-align: center; }

/* Cleanup legacy templatemo IDs */
#templatemo_header { width: auto !important; height: auto !important; padding: 0 !important; background: none !important; }
#templatemo_menu, #templatemo_menu ul, #templatemo_menu li { all: unset; }
#templatemo_menu { display: none; }

.clipzone, .clipzone2, .clipped {
    background: transparent !important;
    color: inherit !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* iframes responsive */
iframe[src*="verysexytoy"], iframe[src*="minimun"] {
    max-width: 100%;
    border-radius: var(--rce-radius);
    border: 1px solid var(--rce-line);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
