:root {
    --bg: #f4f0ea;
    --bg-paper: #eae5dc;
    --ink: #141414;
    --green: #13312c;
    --green-deep: #0e241f;
    --gold: #b89753;
    --gold-soft: rgba(184, 151, 83, 0.35);
    --muted: #5c635e;
    --line: rgba(19, 49, 44, 0.18);
    --radius: 2px;
    --header-h: auto;
    --font: "Segoe UI", "Avenir Next", "Helvetica Neue", sans-serif;
    --display: "Georgia", "Palatino Linotype", "Times New Roman", serif;
    --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(19, 49, 44, 0.03), transparent 180px),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(19, 49, 44, 0.015) 4px
        ),
        var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.preview-banner {
    position: sticky; top: 0; z-index: 90;
    display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem;
    padding: .7rem 1.25rem;
    background: var(--green);
    color: #f4f0ea; font-weight: 700; font-size: .9rem;
    border-bottom: 2px solid var(--gold);
}
.preview-banner a { margin-left: auto; color: var(--gold); text-decoration: underline; }

/* Top brand + nav paper */
.ct-top {
    background: var(--bg-paper);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem clamp(1rem, 3vw, 2rem) .85rem;
}
.ct-brand {
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    margin-bottom: .85rem;
}
.ct-brand-mark {
    width: 42px; height: 42px;
    border: 2px solid var(--gold);
    background: var(--green);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.ct-brand-name {
    font-family: var(--display);
    font-size: 1.55rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--green);
}
.ct-brand-rule {
    width: min(280px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    position: relative;
}
.ct-brand-rule::before,
.ct-brand-rule::after {
    content: "◆";
    position: absolute; top: 50%; transform: translateY(-50%);
    color: var(--gold); font-size: .55rem;
}
.ct-brand-rule::before { left: -10px; }
.ct-brand-rule::after { right: -10px; }

.ct-nav-wrap {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    position: relative;
}
.ct-nav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .35rem;
    list-style: none; margin: 0; padding: 0;
}
.ct-nav a {
    padding: .4rem .65rem;
    font-size: .72rem; font-weight: 750; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.ct-nav a:hover, .ct-nav a.is-active {
    color: var(--green);
    border-bottom-color: var(--gold);
}

.ct-search-btn,
.mobile-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--green);
    width: 38px; height: 38px;
    display: grid; place-items: center;
    cursor: pointer;
}
.ct-search {
    display: none; position: absolute; right: 0; top: calc(100% + .5rem);
    min-width: 240px; padding: .5rem .75rem;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(19, 49, 44, 0.1);
    z-index: 20;
}
.ct-search.is-open { display: flex; align-items: center; gap: .4rem; }
.ct-search input {
    width: 100%; border: 0; outline: none; background: transparent; color: var(--ink);
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    border: 1px solid var(--gold);
    background: transparent;
    color: #f4f0ea;
    padding: .7rem 1.25rem;
    font-size: .78rem; font-weight: 750; letter-spacing: .12em;
    text-transform: uppercase; cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--gold); color: var(--green-deep); transform: translateY(-1px); }
.btn-solid {
    background: var(--gold); color: var(--green-deep); border-color: var(--gold);
}

.mobile-toggle { display: none; }

.ct-main {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 3.5rem;
}

/* Hero Art Deco */
.hero-panel {
    display: grid;
    grid-template-columns: 1.15fr .95fr .95fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
    align-items: stretch;
}
.hero-stage {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 0;
    background: var(--green);
    color: #f4f0ea;
    border: 1px solid var(--gold-soft);
    box-shadow:
        inset 0 0 0 6px var(--green-deep),
        inset 0 0 0 7px var(--gold-soft);
    min-height: 420px;
    overflow: hidden;
}
.hero-copy {
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    display: flex; flex-direction: column; justify-content: center; gap: 1rem;
    position: relative;
}
.hero-copy::before {
    content: "";
    position: absolute; left: 1rem; top: 1rem; right: 1rem; bottom: 1rem;
    border: 1px solid rgba(184, 151, 83, 0.35);
    pointer-events: none;
}
.hero-kicker {
    font-size: .72rem; font-weight: 800; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold);
}
.hero-title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    color: #f7f2e8;
    font-weight: 700;
}
.hero-excerpt {
    margin: 0; color: rgba(244, 240, 234, 0.78);
    font-size: .98rem; max-width: 36ch; line-height: 1.55;
}
.hero-poster-wrap {
    display: grid; place-items: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(184, 151, 83, 0.18), transparent 55%),
        var(--green-deep);
}
.hero-poster-frame {
    width: min(240px, 70%);
    aspect-ratio: 2 / 3;
    padding: 10px;
    background: linear-gradient(145deg, #d4b56a, #b89753 40%, #8a6e35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    position: relative;
}
.hero-poster-frame::before {
    content: "";
    position: absolute; inset: 4px;
    border: 1px solid rgba(19, 49, 44, 0.35);
    pointer-events: none;
}
.hero-poster-frame img,
.hero-poster-frame .cover-fallback {
    width: 100%; height: 100%; object-fit: cover;
    background: #0e241f;
}

/* Agenda */
.agenda {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1rem 1.05rem;
    box-shadow: 0 10px 28px rgba(19, 49, 44, 0.06);
}
.agenda h2,
.section-head h2,
.trends h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.15rem;
    color: var(--green);
    letter-spacing: .02em;
}
.agenda h2 {
    margin-bottom: .85rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--gold-soft);
}
.agenda-row {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: .65rem;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(19, 49, 44, 0.08);
}
.agenda-row:last-child { border-bottom: 0; }
.agenda-time {
    font-family: var(--display);
    font-weight: 700; color: var(--gold);
    font-size: .95rem;
}
.agenda-title {
    margin: 0; font-size: .92rem; font-weight: 700; line-height: 1.3; color: var(--ink);
}
.agenda-salle {
    margin-top: .2rem; font-size: .75rem; color: var(--muted);
    letter-spacing: .04em; text-transform: uppercase;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.4rem;
    align-items: start;
}

.section-head {
    display: flex; align-items: end; justify-content: space-between;
    margin: 0 0 1rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.section-head::after {
    content: "";
    position: absolute; left: 0; bottom: -1px;
    width: 72px; height: 2px; background: var(--gold);
}

.badge {
    display: inline-flex;
    padding: .2rem .5rem;
    border: 1px solid var(--gold);
    color: var(--green);
    font-size: .68rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    background: rgba(184, 151, 83, 0.08);
}

.affiche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    padding: .85rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-soft);
    box-shadow: 0 14px 30px rgba(19, 49, 44, 0.08);
}
.card-media {
    aspect-ratio: 2 / 3; overflow: hidden;
    border: 1px solid var(--line);
    background: #ddd6c8;
    margin-bottom: .75rem;
}
.card-media img,
.card-media .cover-fallback {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .card-media img,
.card:hover .card-media .cover-fallback { transform: scale(1.04); }
.cover-fallback {
    display: grid; place-items: center;
    background: linear-gradient(145deg, #13312c, #1f4a42);
    color: rgba(244, 240, 234, 0.55);
    font-family: var(--display); font-weight: 700; letter-spacing: .14em;
}
.card-title {
    margin: 0 0 .25rem;
    font-family: var(--display);
    font-size: 1.1rem; font-weight: 700; line-height: 1.25;
    color: var(--green);
}
.card-director {
    margin: 0 0 .45rem;
    font-size: .8rem; color: var(--gold);
    letter-spacing: .04em; text-transform: uppercase; font-weight: 700;
}
.card-excerpt {
    margin: 0 0 .55rem;
    color: var(--muted); font-size: .88rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { color: var(--muted); font-size: .78rem; }

/* Trends */
.trends {
    background: #fff;
    border: 1px solid var(--line);
    padding: 1rem;
    position: sticky; top: 1rem;
}
.trends h2 { margin-bottom: .75rem; }
.trend-tabs {
    display: flex; flex-wrap: wrap; gap: .35rem;
    margin-bottom: .85rem;
}
.trend-tabs button {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    padding: .35rem .55rem;
    font-size: .68rem; font-weight: 750;
    letter-spacing: .06em; text-transform: uppercase;
    cursor: pointer;
}
.trend-tabs button.is-active {
    background: var(--green);
    border-color: var(--green);
    color: #f4f0ea;
}
.trend-panel { display: none; }
.trend-panel.is-active { display: block; }
.trend-item {
    display: grid;
    grid-template-columns: 28px 52px 1fr;
    gap: .65rem;
    align-items: center;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(19, 49, 44, 0.08);
}
.trend-item:last-child { border-bottom: 0; }
.trend-rank {
    font-family: var(--display);
    font-size: 1.2rem; font-weight: 700; color: var(--gold);
}
.trend-thumb {
    width: 52px; height: 52px; overflow: hidden;
    border: 1px solid var(--line); background: #ddd6c8;
}
.trend-thumb img,
.trend-thumb .cover-fallback { width: 100%; height: 100%; object-fit: cover; }
.trend-item h3 { margin: 0; font-size: .88rem; line-height: 1.25; font-weight: 700; }
.trend-meta { margin-top: .2rem; font-size: .75rem; color: var(--muted); }

/* Article */
.article-cover {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto 1.25rem;
    border: 1px solid var(--gold-soft);
    padding: 8px;
    background: #fff;
}
.article-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.article-wrap {
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto; padding: 0 0 2.5rem;
}
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: .4rem;
    color: var(--muted); font-size: .85rem; margin-bottom: .85rem;
}
.breadcrumb a:hover { color: var(--green); }
.article-wrap h1 {
    margin: .4rem 0 .75rem;
    font-family: var(--display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--green); line-height: 1.12;
}
.hero-meta {
    display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
    color: var(--muted); font-size: .9rem;
}
.article-content {
    margin-top: 1.4rem; line-height: 1.8; color: #2a2f2d; font-size: 1.05rem;
}
.article-content h2, .article-content h3 {
    font-family: var(--display); color: var(--green);
}
.article-content a { color: #8a6e35; border-bottom: 1px solid var(--gold-soft); }
.article-content blockquote {
    margin: 1.5rem 0; padding: 1rem 1.2rem;
    border-left: 3px solid var(--gold);
    background: rgba(184, 151, 83, 0.08);
    font-family: var(--display); font-style: italic; color: var(--green);
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.related { margin-top: 2.4rem; }

.empty {
    padding: 2rem; border: 1px dashed var(--line);
    color: var(--muted); text-align: center; background: #fff;
}

.ct-footer {
    margin-top: 2rem;
    background: var(--green);
    color: rgba(244, 240, 234, 0.75);
    border-top: 3px double var(--gold);
}
.ct-footer-inner {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 1.5rem;
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    align-items: center;
}
.ct-footer .ct-brand-name { color: #f4f0ea; font-size: 1.1rem; }
.ct-footer a:hover { color: var(--gold); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-panel, .card, .agenda, .trends { animation: fadeIn .5s ease both; }

@media (max-width: 1100px) {
    .hero-panel { grid-template-columns: 1fr; }
    .hero-stage { grid-column: 1; }
    .content-grid { grid-template-columns: 1fr; }
    .trends { position: static; }
}
@media (max-width: 900px) {
    .hero-stage { grid-template-columns: 1fr; }
    .affiche-grid { grid-template-columns: 1fr 1fr; }
    .ct-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; background: var(--bg-paper);
        border: 1px solid var(--line); padding: .75rem; z-index: 30;
    }
    .ct-nav.is-open { display: flex; }
    .mobile-toggle { display: inline-grid; }
    .ct-nav-wrap { justify-content: space-between; }
}
@media (max-width: 640px) {
    .affiche-grid { grid-template-columns: 1fr; }
}
