/* ==========================================================================
   Rémy Brèque — styles communes à tout le site (v3)
   Même identité : orange #FF6B35, graphite, crème, Cinzel / Raleway / Baskerville.
   ========================================================================== */

:root {
    --orange: #FF6B35;
    --orange-soft: #FF8C42;
    --orange-deep: #E65A2E;
    --ink: #1A1A1A;
    --graphite: #2C2C2C;
    --gray: #6B6B6B;
    --line: rgba(26, 26, 26, .08);
    --cream: #FBF8F3;
    --pearl: #F5F1EC;
    --white: #FFFFFF;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow-soft: 0 30px 80px -40px rgba(26, 26, 26, .35);
    --shadow-card: 0 1px 2px rgba(26,26,26,.04), 0 18px 50px -24px rgba(26, 26, 26, .22);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --serif: 'Cinzel', serif;
    --italic: 'Libre Baskerville', serif;
    --sans: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section: clamp(5rem, 11vw, 9.5rem);
    --header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; }
body.rb-site {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums;
}
:where(.rb-site) img { max-width: 100%; height: auto; }
:where(.rb-site) a { color: inherit; }

.rb-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.rb-section { position: relative; padding: var(--section) 0; }

/* ---------- Typo commune ---------- */
.rb-eyebrow {
    display: inline-flex; align-items: center; gap: .8rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
    color: var(--orange);
}
.rb-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.rb-eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.rb-title {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--ink);
}
.rb-title em { font-style: normal; color: var(--orange); }
.rb-lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--gray); line-height: 1.85; max-width: 62ch; }
.rb-head { display: grid; gap: 1.2rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.rb-head--center { text-align: center; justify-items: center; }
.rb-head--center .rb-lead { margin: 0 auto; }

/* ---------- Boutons ---------- */
.rb-btn {
    --bg: var(--orange); --fg: #fff; --bd: var(--orange);
    display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
    padding: 1.05rem 2.1rem;
    border-radius: 999px;
    border: 1.5px solid var(--bd);
    background: var(--bg); color: var(--fg) !important;
    font: 700 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
}
.rb-btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.rb-btn:hover { box-shadow: 0 16px 40px -14px rgba(255, 107, 53, .7); }
.rb-btn:hover svg { transform: translateX(5px); }
.rb-btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.rb-btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; box-shadow: none; }
.rb-btn--dark { --bg: var(--ink); --bd: var(--ink); }
.rb-btn--dark:hover { --bg: var(--orange); --bd: var(--orange); }

.rb-link {
    display: inline-flex; align-items: center; gap: .6rem;
    font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; padding-bottom: .35rem;
    background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 1.5px no-repeat;
    transition: background-size .6s var(--ease), color .4s;
}
.rb-link:hover { color: var(--orange); background-size: 30% 1.5px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.rb-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: transform .7s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
    border-bottom: 1px solid transparent;
}
.rb-header.is-scrolled,
.rb-header.is-solid {
    background: rgba(251, 248, 243, .82);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-color: var(--line);
    box-shadow: 0 10px 40px -30px rgba(0,0,0,.4);
}
.rb-header.is-hidden { transform: translateY(-105%); }

.rb-nav {
    max-width: 1600px; margin: 0 auto;
    height: var(--header-h);
    padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.rb-logo {
    font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: .14em;
    color: #fff; text-decoration: none; white-space: nowrap;
    display: grid; line-height: 1.05;
    transition: color .5s var(--ease);
}
.rb-logo small { font-family: var(--sans); font-size: .58rem; letter-spacing: .42em; font-weight: 600; color: var(--orange); }
.rb-links { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 2.2rem); list-style: none; }
.rb-links a {
    position: relative;
    color: rgba(255,255,255,.88); text-decoration: none;
    font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    padding: .4rem 0;
    transition: color .4s var(--ease);
}
.rb-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--orange); transform: scaleX(0); transform-origin: right;
    transition: transform .6s var(--ease);
}
.rb-links a:hover::after, .rb-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.rb-links a:hover, .rb-links a.is-active { color: #fff; }

.rb-actions { display: flex; align-items: center; gap: .7rem; }
.rb-pill {
    display: inline-flex; align-items: center; padding: .72rem 1.35rem; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    border: 1.5px solid var(--orange);
    transition: all .45s var(--ease);
}
.rb-pill--solid { background: var(--orange); color: #fff; }
.rb-pill--solid:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.rb-pill--line { color: #fff; border-color: rgba(255,255,255,.5); }
.rb-pill--line:hover { background: #fff; color: var(--ink); border-color: #fff; }

.rb-header .rb-cart {
    position: relative; display: flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.45); color: #fff; text-decoration: none;
    transition: all .45s var(--ease);
}
.rb-header .rb-cart svg { width: 18px; height: 18px; display: block; flex: none; }
.rb-cart:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.rb-cart .cart-count {
    position: absolute; top: -4px; right: -4px;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--orange); color: #fff; font-size: .65rem; font-weight: 700;
    box-shadow: 0 0 0 2px var(--cream);
    animation: rb-pop .6s var(--ease) both;
}
@keyframes rb-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* Header : version claire après défilement */
.rb-header.is-scrolled .rb-logo, .rb-header.is-solid .rb-logo { color: var(--ink); }
.rb-header.is-scrolled .rb-links a, .rb-header.is-solid .rb-links a { color: var(--gray); }
.rb-header.is-scrolled .rb-links a:hover, .rb-header.is-solid .rb-links a:hover,
.rb-header.is-scrolled .rb-links a.is-active, .rb-header.is-solid .rb-links a.is-active { color: var(--ink); }
.rb-header.is-scrolled .rb-pill--line, .rb-header.is-solid .rb-pill--line { color: var(--orange); border-color: var(--orange); }
.rb-header.is-scrolled .rb-pill--line:hover, .rb-header.is-solid .rb-pill--line:hover { background: var(--orange); color: #fff; }
.rb-header.is-scrolled .rb-cart, .rb-header.is-solid .rb-cart { color: var(--ink); border-color: rgba(26,26,26,.15); background: #fff; }
.rb-header.is-scrolled .rb-cart:hover, .rb-header.is-solid .rb-cart:hover { color: #fff; background: var(--orange); border-color: var(--orange); }

/* Burger */
.mobile-menu-toggle {
    display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.45); background: transparent; cursor: pointer;
    transition: border-color .4s, background .4s;
}
.mobile-menu-toggle span {
    position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px;
    transition: transform .6s var(--ease), opacity .3s, background .4s, top .6s var(--ease);
}
.mobile-menu-toggle span:nth-child(1) { top: 16px; }
.mobile-menu-toggle span:nth-child(2) { top: 22px; }
.mobile-menu-toggle span:nth-child(3) { top: 28px; }
.rb-header.is-scrolled .mobile-menu-toggle, .rb-header.is-solid .mobile-menu-toggle { border-color: rgba(26,26,26,.15); background: #fff; }
.rb-header.is-scrolled .mobile-menu-toggle span, .rb-header.is-solid .mobile-menu-toggle span { background: var(--ink); }
.rb-menu-open .mobile-menu-toggle span { background: var(--ink); }
.rb-menu-open .mobile-menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.rb-menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
.rb-menu-open .mobile-menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.rb-menu-open .rb-logo { color: var(--ink); }

/* Menu mobile plein écran */
.mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: var(--cream);
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
    clip-path: circle(0% at calc(100% - 46px) 42px);
    visibility: hidden;
    transition: clip-path .9s var(--ease), visibility 0s linear .9s;
}
.mobile-nav-overlay.active { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.mobile-nav-list { list-style: none; display: grid; gap: .3rem; }
.mobile-nav-list li { opacity: 0; transform: translateY(26px); }
.mobile-nav-overlay.active .mobile-nav-list li { opacity: 1; transform: none; }
.mobile-nav-list a {
    display: flex; align-items: baseline; gap: 1rem;
    font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 700;
    color: var(--ink); text-decoration: none; padding: .35rem 0;
    transition: color .3s, transform .5s var(--ease);
}
.mobile-nav-list a span { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--orange); font-weight: 700; }
.mobile-nav-list a:hover { color: var(--orange); transform: translateX(8px); }
.mobile-nav-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.mobile-nav-foot .rb-btn { padding: .95rem 1.6rem; }

@media (max-width: 1280px) {
    .rb-links li.rb-hide-md { display: none; }
}
@media (max-width: 1100px) {
    .rb-links, .rb-actions .rb-pill { display: none; }
    .mobile-menu-toggle { display: block; }
    :root { --header-h: 72px; }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.rb-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(4rem, 8vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.rb-footer__top { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.rb-footer__word { font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: .95; color: #fff; letter-spacing: .02em; }
.rb-footer__word em { font-style: normal; color: var(--orange); }
.rb-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.rb-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.3rem; }
.rb-footer ul { list-style: none; display: grid; gap: .7rem; }
.rb-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .3s, padding .4s var(--ease); }
.rb-footer ul a:hover { color: var(--orange); padding-left: 6px; }
.rb-footer__brand p { max-width: 42ch; margin-bottom: 1rem; }
.rb-footer__brand strong { color: #fff; font-weight: 600; }
.footer-bio-cert { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; padding: .7rem 1rem .7rem .7rem; background: rgba(255,255,255,.05); border-radius: 14px; width: fit-content; }
.footer-bio-cert img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.footer-bio-cert span { font-size: .85rem; color: rgba(255,255,255,.8); }
.rb-footer__bottom { margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.rb-totop {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; cursor: pointer; flex: none;
    transition: all .5s var(--ease);
}
.rb-totop svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.rb-totop:hover { background: var(--orange); border-color: var(--orange); }
.rb-totop:hover svg { transform: translateY(-4px); }

@media (max-width: 1000px) {
    .rb-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .rb-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .rb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .rb-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   VÉRIFICATION D'ÂGE (même fonctionnement qu'avant, nouveau style)
   ========================================================================== */
#age-gate-overlay {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 1; transition: opacity .7s var(--ease);
    pointer-events: none;
}
#age-gate-overlay.hidden { opacity: 0; }
#age-gate-overlay::before {
    content: ""; position: fixed; inset: 0;
    -webkit-backdrop-filter: blur(14px) brightness(.65); backdrop-filter: blur(14px) brightness(.65);
    background: rgba(12, 12, 12, .55);
    pointer-events: none;
}
.age-gate-card {
    position: fixed; top: 50%; left: 50%; z-index: 10002;
    transform: translate(-50%, -50%);
    width: 480px; max-width: 92%;
    background: var(--cream); border-radius: 28px;
    padding: 2.8rem 2.6rem 2rem; text-align: center;
    box-shadow: 0 50px 120px -30px rgba(0,0,0,.6);
    pointer-events: auto;
    animation: rb-gate-in .9s var(--ease) both;
}
#age-gate-overlay.hidden .age-gate-card { transform: translate(-50%, -46%) scale(.97); transition: transform .7s var(--ease); }
@keyframes rb-gate-in { from { opacity: 0; transform: translate(-50%, -44%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.age-gate-image { width: 104px; height: 104px; margin: 0 auto 1.2rem; animation: rb-float 6s ease-in-out infinite; }
.age-gate-image img { width: 100%; height: 100%; object-fit: contain; }
.age-gate-title { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); letter-spacing: .04em; }
.age-gate-subtitle { font-size: .72rem; color: var(--orange); margin: .3rem 0 1.4rem; text-transform: uppercase; letter-spacing: .35em; font-weight: 700; }
.age-gate-text { color: var(--gray); font-size: .95rem; line-height: 1.6; margin-bottom: 1.6rem; }
.age-gate-question { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 1.3rem; }
.age-gate-buttons { display: flex; gap: .8rem; margin-bottom: 1.6rem; }
.age-gate-btn {
    flex: 1; padding: 1.05rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--orange);
    font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
    transition: all .45s var(--ease);
}
.age-gate-btn-yes { background: var(--orange); color: #fff; flex: 1.6; }
.age-gate-btn-yes:hover { background: var(--orange-deep); border-color: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,107,53,.7); }
.age-gate-btn-no { background: transparent; color: var(--gray); border-color: rgba(26,26,26,.15); }
.age-gate-btn-no:hover { border-color: var(--gray); color: var(--ink); }
.age-gate-footer { font-size: .66rem; color: #999; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 1rem; }
.age-gate-denied { display: none; }
.age-gate-denied.show { display: block; }
.age-gate-denied-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }
.age-gate-denied-title { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); margin-bottom: 1rem; }
.age-gate-denied-text { color: var(--gray); font-size: .95rem; line-height: 1.6; margin-bottom: 1.2rem; }
.age-gate-denied-link { color: var(--orange); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--orange); }
@media (max-width: 640px) {
    .age-gate-card { padding: 2rem 1.4rem 1.4rem; border-radius: 22px; }
    .age-gate-image { width: 76px; height: 76px; }
    .age-gate-title { font-size: 1.35rem; }
    .age-gate-buttons { flex-direction: column; }
}


/* Menu mobile ouvert : icônes lisibles sur fond crème */
.rb-menu-open .rb-cart { color: var(--ink); border-color: rgba(26,26,26,.15); background: #fff; }
.rb-menu-open .mobile-menu-toggle { border-color: rgba(26,26,26,.15); background: #fff; }

/* ==========================================================================
   COMPOSANTS COMMUNS (v3)
   ========================================================================== */
.rb-skip { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: var(--ink); color: #fff !important; padding: .7rem 1.2rem; border-radius: 10px; text-decoration: none; transition: top .3s; }
.rb-skip:focus { top: 1rem; }
.rb-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.rb-main { display: block; min-height: 50vh; }

.rb-btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(26,26,26,.22); }
.rb-btn--outline:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); box-shadow: none; }
.rb-btn--sm { padding: .78rem 1.2rem; font-size: .7rem; letter-spacing: .14em; }
.rb-btn--block { width: 100%; }
.rb-btn[disabled], .rb-btn.is-loading { opacity: .75; pointer-events: none; }
.rb-btn.is-loading > svg { animation: rb-spin .9s linear infinite; }
@keyframes rb-spin { to { transform: rotate(360deg); } }

.rb-pill.is-current { box-shadow: 0 0 0 3px rgba(255,107,53,.25); }

/* Badge panier : vide = caché, rebond à l'ajout */
.rb-cart .cart-count.is-empty { display: none; }
.rb-cart.is-bump { animation: rb-cartbump .7s var(--ease); }
@keyframes rb-cartbump { 0% { transform: scale(1); } 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } 100% { transform: scale(1); } }

/* Fil d'Ariane */
.rb-bread { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .78rem; letter-spacing: .06em; color: var(--gray); margin-bottom: 1.6rem; }
.rb-bread a { color: var(--gray); text-decoration: none; transition: color .3s; }
.rb-bread a:hover { color: var(--orange); }
.rb-bread span[aria-hidden] { opacity: .45; }
.rb-bread span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Bandeau de titre des pages ---------- */
.rb-pagehero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(3rem, 6vw, 4.5rem);
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(255,107,53,.10), transparent 60%),
        var(--cream);
    border-bottom: 1px solid var(--line);
}
.rb-pagehero__title { color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 5.5vw, 4.6rem); line-height: 1.04; margin-top: 1rem; letter-spacing: -.01em; }
.rb-pagehero__lead { margin-top: 1.4rem; max-width: 60ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--gray); line-height: 1.8; }
.rb-pagehero--compact { padding-bottom: 2.5rem; }
.rb-pagehero--compact .rb-pagehero__title { font-size: clamp(2rem, 4.2vw, 3.4rem); }

.rb-pagehero--photo { background: var(--ink); color: #fff; border: 0; min-height: min(78vh, 680px); display: flex; align-items: flex-end; }
.rb-pagehero--photo .rb-container { position: relative; z-index: 1; }
.rb-pagehero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.rb-pagehero__media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; animation: rb-kenburns 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rb-kenburns { from { transform: scale(1.15); filter: brightness(.6); } to { transform: scale(1); filter: brightness(1); } }
.rb-pagehero--photo::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.25) 40%, rgba(10,10,10,.85) 100%);
}
.rb-pagehero--photo .rb-pagehero__title { color: #fff; }
.rb-pagehero--photo .rb-pagehero__lead { color: rgba(255,255,255,.82); }
.rb-pagehero--photo .rb-bread, .rb-pagehero--photo .rb-bread a { color: rgba(255,255,255,.7); }
.rb-pagehero--photo .rb-bread span[aria-current] { color: #fff; }
.rb-pagehero--photo .rb-eyebrow { color: var(--orange-soft); }

/* Étapes de commande */
.rb-steps-bar { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-bottom: 1.4rem; counter-reset: s; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(26,26,26,.38); }
.rb-steps-bar li { display: flex; align-items: center; gap: .6rem; counter-increment: s; }
.rb-steps-bar li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: .72rem; letter-spacing: 0; }
.rb-steps-bar li.is-current { color: var(--orange); }
.rb-steps-bar li.is-current::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.rb-steps-bar li.is-done { color: var(--ink); }
.rb-steps-bar li.is-done::before { content: "✓"; background: var(--ink); border-color: var(--ink); color: #fff; }
.rb-steps-bar a { text-decoration: none; }
.rb-steps-bar a:hover { color: var(--orange); }

/* ---------- Contenu de page ---------- */
.rb-page { padding: clamp(3rem, 6vw, 5rem) 0 var(--section); background: #fff; }
.rb-content { max-width: 820px; }
.rb-page--wide .rb-content { max-width: none; }
.rb-content > * + * { margin-top: 1.1rem; }
.rb-content h2 { font-family: var(--serif); font-size: 1.6rem; margin-top: 2.4rem; }
.rb-content a { color: var(--orange); }

/* ---------- Pages légales ---------- */
.rb-legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.rb-legal__toc { position: sticky; top: calc(var(--header-h) + 2rem); padding: 1.6rem; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); }
.rb-legal__toc p { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.rb-legal__toc ol { list-style: none; display: grid; gap: .25rem; counter-reset: t; }
.rb-legal__toc li { counter-increment: t; }
.rb-legal__toc a { display: flex; gap: .7rem; padding: .45rem .6rem; border-radius: 10px; font-size: .9rem; color: var(--graphite); text-decoration: none; transition: background .3s, color .3s; }
.rb-legal__toc a::before { content: counter(t, decimal-leading-zero); font-size: .72rem; color: var(--orange); font-weight: 700; padding-top: .15rem; }
.rb-legal__toc a:hover { background: #fff; color: var(--orange); }
.rb-legal__body { display: grid; gap: 1.2rem; }
.rb-legal__block { position: relative; padding: 2rem 2.2rem 2rem 5.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.rb-legal__num { position: absolute; left: 1.8rem; top: 1.9rem; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--orange); }
.rb-legal__block h2 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 1rem; }
.rb-legal__block p, .rb-legal__block li { color: var(--graphite); line-height: 1.8; }
.rb-legal__block p + p { margin-top: .8rem; }
.rb-legal__block ul { margin: .6rem 0 .6rem 1.1rem; display: grid; gap: .3rem; }
.rb-legal__block li::marker { color: var(--orange); }
.rb-legal__block a { color: var(--orange); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,107,53,.35); }
.rb-alert { padding: 1.2rem 1.4rem; border-radius: 16px; background: #FFF4EE; border: 1px solid rgba(255,107,53,.3); margin-bottom: 1rem; }
.rb-alert strong { display: block; color: var(--orange-deep); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .3rem; }
@media (max-width: 900px) {
    .rb-legal { grid-template-columns: 1fr; }
    .rb-legal__toc { position: relative; top: 0; }
    .rb-legal__block { padding: 1.6rem 1.4rem 1.6rem 1.4rem; }
    .rb-legal__num { position: static; display: block; margin-bottom: .4rem; }
}

/* ---------- Contact ---------- */
.rb-contact { background: #fff; padding-top: clamp(3rem, 6vw, 5rem); }
.rb-contact__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.rb-ccard {
    --rx: 0deg; --ry: 0deg;
    position: relative; display: flex; flex-direction: column; gap: .6rem;
    padding: 2.2rem 2rem; border-radius: var(--radius); text-decoration: none; color: var(--ink);
    background: var(--cream); border: 1px solid var(--line);
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .5s var(--ease), box-shadow .6s var(--ease), border-color .5s;
}
.rb-ccard:hover { box-shadow: 0 30px 70px -32px rgba(26,26,26,.35); border-color: rgba(255,107,53,.35); }
.rb-ccard__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--orange); box-shadow: var(--shadow-card); margin-bottom: .8rem; transition: transform .6s var(--ease), background .4s, color .4s; }
.rb-ccard__icon svg { width: 26px; height: 26px; }
.rb-ccard:hover .rb-ccard__icon { transform: rotate(-8deg) scale(1.06); background: var(--orange); color: #fff; }
.rb-ccard h2 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: .4rem; }
.rb-ccard p { color: var(--gray); }
.rb-ccard .rb-link { margin-top: auto; padding-top: 1rem; align-self: flex-start; }
.rb-ccard__mail { font-size: 1.1rem; font-weight: 600; color: var(--ink) !important; word-break: break-all; }
.rb-phone { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; font-weight: 600; color: var(--ink); transition: color .3s, padding .4s var(--ease); }
.rb-phone span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: #fff; }
.rb-phone:hover { color: var(--orange); padding-left: 4px; }
.rb-ccard--dark { background: var(--ink); color: #fff; }
.rb-ccard--dark p { color: rgba(255,255,255,.72); }
.rb-ccard--dark .rb-ccard__icon { background: rgba(255,255,255,.08); box-shadow: none; }
.rb-ccard--dark .rb-link { color: #fff; }

.rb-contact-info { background: var(--cream); }
.rb-contact-info__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1.4rem; }
.rb-hours, .rb-address { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.rb-hours h3, .rb-address h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 1.2rem; }
.rb-hours dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed rgba(26,26,26,.12); }
.rb-hours dl > div:last-child { border-bottom: 0; }
.rb-hours dt { font-weight: 600; }
.rb-hours dd { color: var(--gray); text-align: right; }
.rb-hours__today { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.rb-hours__today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.rb-hours__today.is-open { background: #EAF7EF; color: #1E8A4A; }
.rb-hours__today.is-closed { background: #F5F1EC; color: var(--gray); }
.rb-address p { color: var(--graphite); margin-bottom: 1.6rem; line-height: 1.9; }
.rb-contact-info .rb-map { grid-column: 1 / -1; min-height: 420px; }
@media (max-width: 960px) {
    .rb-contact__cards { grid-template-columns: 1fr; }
    .rb-contact-info__grid { grid-template-columns: 1fr; }
}

/* Carte (partagée) */
.rb-map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-soft); background: var(--pearl); }
.rb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); transition: filter .6s; }
.rb-map:hover iframe { filter: none; }

/* ---------- 404 ---------- */
.rb-404 { position: relative; overflow: hidden; min-height: 78vh; display: flex; align-items: center; padding: calc(var(--header-h) + 5rem) 0 7rem; background: var(--cream); text-align: center; }
.rb-404 .rb-container { display: grid; justify-items: center; gap: 1.2rem; position: relative; }
.rb-404__num { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%); font-family: var(--serif); font-weight: 900; font-size: clamp(10rem, 30vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,107,53,.25); pointer-events: none; z-index: 0; }
.rb-404 .rb-container > *:not(.rb-404__num) { position: relative; z-index: 1; }
.rb-404__ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }

/* ---------- Notification (toast) ---------- */
.rb-toast {
    position: fixed; z-index: 3000; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
    display: flex; align-items: center; gap: 1rem; max-width: min(440px, calc(100vw - 2rem));
    padding: 1rem 1rem 1rem 1.1rem; border-radius: 18px;
    background: var(--ink); color: #fff; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55);
    transform: translateY(130%) scale(.96); opacity: 0;
    transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.rb-toast.is-in { transform: none; opacity: 1; }
.rb-toast.is-error { background: #7A1F12; }
.rb-toast__check { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.rb-toast__check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: rb-draw .6s .25s var(--ease) forwards; }
@keyframes rb-draw { to { stroke-dashoffset: 0; } }
.rb-toast__text { display: grid; line-height: 1.35; flex: 1; min-width: 0; }
.rb-toast__text strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-toast__text small { color: rgba(255,255,255,.65); font-size: .8rem; }
.rb-toast__btn { flex: none; padding: .7rem 1rem; border-radius: 999px; background: #fff; color: var(--ink) !important; text-decoration: none; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .3s, color .3s; }
.rb-toast__btn:hover { background: var(--orange); color: #fff !important; }
@media (max-width: 560px) { .rb-toast { left: 1rem; right: 1rem; max-width: none; } }
