/* =========================================================================
   sechanger.com — Refonte 2026-05-05
   Direction visuelle : « Cabaret libertin »
     Métaphore : club privé chic, bois sombre, néons crimson, laiton brossé.
     Palette : noir profond, ivory papier, burgundy crimson, brass.
     Mobile-first 320px+, layout sobre, bottom-bar fixed.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --bg:           #1d1015;
    --bg-deep:      #14080d;
    --bg-soft:      #2a161d;
    --paper:        #f5e8df;
    --paper-soft:   #ede0d6;
    --se-accent:    #c43464;
    --se-accent-2:  #9b274e;
    --brass:        #b88a4a;
    --brass-deep:   #8a6635;
    --ink-soft:     #d2c4ba;
    --ink-muted:    #8b7e74;
    --line:         rgba(184, 138, 74, .45);
    --line-strong:  #6e1e3d;
    --shadow:       0 4px 20px rgba(0, 0, 0, .35);

    --top-h: 60px;
    --side-w: 280px;
    --bottom-h: 64px;
}

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding: var(--top-h) 0 calc(var(--bottom-h) + 16px) 0;
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--paper);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 30% 0%, rgba(196, 52, 100, .15), transparent 60%),
        radial-gradient(ellipse at 80% 90%, rgba(184, 138, 74, .12), transparent 70%);
    -webkit-font-smoothing: antialiased;
}
@media (min-width: 992px) {
    body { padding-bottom: 24px; }
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--se-accent); text-decoration: underline dotted var(--brass); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--paper); }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

p { margin: 0 0 1em; color: var(--ink-soft); line-height: 1.7; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
ul li { color: var(--ink-soft); }

h1, h2, h3 {
    font-family: 'Cinzel', 'Georgia', serif;
    font-weight: 700;
    color: var(--paper);
    line-height: 1.2;
    margin: 0 0 .5em;
    letter-spacing: .02em;
}
h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--brass);
    margin: 0 0 .5em;
    text-transform: uppercase;
    letter-spacing: .08em;
}
h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 4.4vw, 1.8rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
h5 { font-size: .82rem; }

/* ---- Wrapper ---- */
.se-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 14px 24px;
}
@media (min-width: 992px) {
    .se-wrap { max-width: 1100px; padding: 18px 24px 32px; }
}

.se-layout { display: block; }
@media (min-width: 992px) {
    .se-layout { display: grid; grid-template-columns: 1fr var(--side-w); gap: 24px; }
}

.se-content { min-width: 0; }

.se-sidebar {
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    padding: 18px 16px;
    margin-top: 24px;
    border-radius: 4px;
    box-shadow: var(--shadow);
}
.se-sidebar h2 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--brass);
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.se-sidebar ul { list-style: none; padding-left: 0; margin: 0 0 18px; }
.se-sidebar ul li { margin-bottom: 6px; }
.se-sidebar a { color: var(--paper); text-decoration: none; font-size: .95rem; }
.se-sidebar a:hover { color: var(--se-accent); }

/* =========================================================================
   TOP BAR
   ========================================================================= */
.se-top {
    position: fixed; top: 0; left: 0; right: 0; height: var(--top-h);
    background: linear-gradient(180deg, var(--bg-deep), var(--bg-soft));
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    z-index: 60;
    display: flex; align-items: center;
    padding: 0 12px 0 16px;
    gap: 8px;
}
.se-top__brand {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--paper);
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .04em;
}
.se-brand-mark { color: var(--se-accent); display: inline-flex; }
.se-top__logo { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.se-top__cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--se-accent); color: var(--paper);
    padding: 6px 12px;
    border-radius: 3px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.se-top__cta:hover { background: var(--se-accent-2); color: var(--paper); }
.se-top__cta .label { display: none; }
@media (min-width: 480px) { .se-top__cta .label { display: inline; } }

.se-top__menu {
    background: transparent;
    border: 1px solid var(--brass);
    color: var(--brass);
    width: 38px; height: 38px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.1rem;
}
.se-top__menu:hover { color: var(--paper); border-color: var(--paper); }

/* =========================================================================
   SIDE PANEL (drawer)
   ========================================================================= */
.se-panel__overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .65);
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
    z-index: 70;
}
.se-panel__overlay.show { opacity: 1; pointer-events: auto; }

.se-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(85%, 320px);
    background: var(--bg-soft);
    border-left: 1px solid var(--line-strong);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.5,.1,.3,1);
    z-index: 80;
    overflow-y: auto;
    padding: 18px 18px 28px;
}
.se-panel.open { transform: translateX(0); }
.se-panel h4 {
    margin-top: 18px;
    color: var(--brass);
    font-size: .8rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
}
.se-panel a {
    display: block;
    color: var(--paper);
    text-decoration: none;
    padding: 8px 4px;
    font-size: .95rem;
    border-bottom: 1px solid rgba(184, 138, 74, .15);
}
.se-panel a:hover { color: var(--se-accent); padding-left: 8px; }
.se-panel__close {
    position: absolute; top: 10px; right: 10px;
    background: transparent; border: 0; color: var(--paper); font-size: 1.4rem; cursor: pointer;
}

/* =========================================================================
   HERO
   ========================================================================= */
.se-hero {
    text-align: center;
    padding: 18px 14px 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.se-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--paper);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.se-hero p {
    color: var(--ink-soft);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* =========================================================================
   FEED (cards listing)
   ========================================================================= */
.se-feed-header {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 1rem;
    color: var(--brass);
    margin: 24px 0 16px;
}
.se-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 580px) {
    .se-feed { grid-template-columns: repeat(2, 1fr); }
}

.se-card {
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.se-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
}
.se-card__media {
    display: block;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-deep);
    text-decoration: none;
}
.se-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s;
}
.se-card__media:hover img { transform: scale(1.04); }
.se-card__overlay-title {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
    color: var(--paper);
    padding: 24px 12px 10px;
    font-weight: 600;
    font-size: 1rem;
}
.se-card__body { padding: 12px 14px 14px; }
.se-card__meta {
    color: var(--brass);
    font-size: .82rem;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.se-card__desc { color: var(--ink-soft); font-size: .9rem; margin: 0 0 10px; line-height: 1.5; }
.se-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--se-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.se-card__cta:hover { color: var(--paper); }

/* =========================================================================
   DETAIL
   ========================================================================= */
.se-detail {
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.se-detail__hero {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-deep);
}
.se-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.se-detail__heading { padding: 18px 18px 0; }
.se-detail__heading h1 { color: var(--paper); margin: 0 0 .25em; }
.se-detail__meta {
    padding: 0 18px;
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .85rem;
    margin: 0 0 14px;
}
.se-detail__body { padding: 12px 18px 22px; }
.se-detail__desc {
    background: var(--bg-deep);
    border-left: 3px solid var(--se-accent);
    padding: 14px 16px;
    margin-bottom: 16px;
    color: var(--paper);
    line-height: 1.7;
    border-radius: 0 4px 4px 0;
}
.se-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin: 12px 0;
}
.se-gallery a img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px;
    border: 1px solid var(--line-strong);
}

.se-contact {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
}
.se-contact h3 {
    font-size: 1.1rem;
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.se-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid var(--brass);
    color: var(--brass);
    text-decoration: none;
    background: transparent;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
}
.se-btn:hover { background: var(--brass); color: var(--bg); }
.se-btn--solid { background: var(--se-accent); border-color: var(--se-accent); color: var(--paper); }
.se-btn--solid:hover { background: var(--se-accent-2); border-color: var(--se-accent-2); color: var(--paper); }

/* =========================================================================
   PAGINATION
   ========================================================================= */
.se-pagination {
    text-align: center;
    margin: 28px 0;
    padding: 12px;
}
.se-pagination a, .se-pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    color: var(--paper);
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    text-decoration: none;
    border-radius: 3px;
    font-size: .9rem;
}
.se-pagination a:hover { background: var(--se-accent); border-color: var(--se-accent); color: var(--paper); }
.se-pagination .currentlink, .se-pagination strong {
    background: var(--se-accent);
    border-color: var(--se-accent);
    color: var(--paper);
    font-weight: 700;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.se-foot {
    text-align: center;
    padding: 18px 14px 24px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: .85rem;
}
.se-foot__links { margin-bottom: 8px; }
.se-foot__links a {
    color: var(--paper);
    margin: 0 8px;
    text-decoration: none;
}
.se-foot__links a:hover { color: var(--se-accent); }

/* =========================================================================
   BOTTOM BAR (mobile only)
   ========================================================================= */
.se-bottombar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-h);
    background: var(--bg-deep);
    border-top: 1px solid var(--line-strong);
    display: flex;
    align-items: stretch;
    z-index: 50;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .4);
}
.se-bottombar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .7rem;
    letter-spacing: .03em;
}
.se-bottombar a i { font-size: 1.15rem; }
.se-bottombar a:hover, .se-bottombar a.is-active {
    color: var(--se-accent);
    background: rgba(196, 52, 100, .08);
}
@media (min-width: 992px) {
    .se-bottombar { display: none; }
    body { padding-bottom: 24px; }
}

/* =========================================================================
   THEME PROSE (CGU)
   ========================================================================= */
.theme-prose {
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 22px 18px;
    color: var(--paper);
    line-height: 1.7;
}
.theme-prose h1, .theme-prose h2, .theme-prose h3 { color: var(--brass); }
.theme-prose a { color: var(--se-accent); }
