/* ============================================
   RadioSFM.fr — Design System v2
   Inspiré de RDS.it — adapté presse engagée
   ============================================ */

:root {
    --red: #c41e1e;
    --red-hover: #e02020;
    --blue: #0a5eb5;
    --blue-light: #1578be;
    --navy: #0d1b2a;
    --navy-light: #1b2838;
    --navy-mid: #162232;
    --dark: #0a1018;
    --surface: #f4f4f4;
    --surface-alt: #eaeaea;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #666666;
    --text-light: #999999;
    --border: #ddd;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Barlow Semi Condensed', 'Inter', sans-serif;
    --radius: 6px;
    --container: 1400px;
    --player-height: 64px;
    --header-height: 110px;
    --skew: -8deg;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--text);
    line-height: 1.7;
    padding-bottom: var(--player-height);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Container ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- Section title with parallelogram accent ---- */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 28px;
    background: var(--red);
    transform: skew(var(--skew));
}
.section-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 28px;
    background: var(--blue);
    transform: skew(var(--skew));
    margin-left: -6px;
}

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

/* Top bar */
.top-bar {
    background: var(--navy);
    color: #aab;
    font-size: .8rem;
    padding: .4rem 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-links a {
    color: #aab;
    margin-right: 1.25rem;
    transition: color .2s;
}
.top-bar-links a:hover { color: var(--white); }
.top-bar-social a {
    color: #aab;
    margin-left: 1rem;
    font-size: 1rem;
    transition: color .2s;
}
.top-bar-social a:hover { color: var(--white); }

/* Main header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-main {
    display: flex;
    align-items: center;
    padding: .6rem 0;
    gap: 1.5rem;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1;
}
.logo-text strong {
    color: var(--red);
}
.logo-tagline {
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Search */
.header-search {
    position: relative;
    flex-shrink: 0;
}
.header-search input {
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: .5rem 1rem .5rem 2.5rem;
    font-size: .85rem;
    width: 200px;
    transition: border-color .2s, width .3s;
    outline: none;
    background: var(--surface);
}
.header-search input:focus {
    border-color: var(--blue);
    width: 260px;
}
.header-search::before {
    content: '🔍';
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .85rem;
    pointer-events: none;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
}
.main-nav a {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .75rem .8rem;
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width .2s;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--red);
}
.main-nav a.active::after,
.main-nav a:hover::after {
    width: 70%;
}
.main-nav .nav-adrama {
    color: var(--blue);
    font-size: .8rem;
    border: 2px solid var(--blue);
    border-radius: 50px;
    padding: .35rem .8rem;
    margin-left: .5rem;
}
.main-nav .nav-adrama::after { display: none; }
.main-nav .nav-adrama:hover {
    background: var(--blue);
    color: var(--white);
}

/* Player button in header — hérite de .btn .btn-primary */
.header-player-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.header-player-btn .play-icon {
    font-size: 1.1rem;
}
.header-player-btn.is-playing {
    background: var(--navy);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--navy);
    padding: .5rem;
}

/* ==========================
   PLAYER BAR (sticky bottom)
   ========================== */
#player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--player-height);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    z-index: 1100;
    display: flex;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.player-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.player-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}
.player-btn:hover {
    background: var(--red-hover);
    transform: scale(1.08);
}
.player-btn.playing {
    background: var(--white);
    color: var(--navy);
}
.player-info {
    flex: 1;
    min-width: 0;
    color: var(--white);
}
.player-live {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .15rem .5rem;
    transform: skew(var(--skew));
    margin-bottom: .15rem;
}
.player-live > span {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
#now-playing {
    font-size: .9rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,.85);
}
#np-artist { font-weight: 600; color: var(--white); }
.player-adrama {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--blue);
    color: var(--white);
    padding: .5rem 1.2rem;
    transform: skew(var(--skew));
    transition: background .2s;
    flex-shrink: 0;
}
.player-adrama > span {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
.player-adrama:hover {
    background: var(--blue-light);
    color: var(--white);
}
.player-volume {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.6);
    flex-shrink: 0;
}
.player-volume input[type="range"] {
    width: 80px;
    accent-color: var(--red);
}

/* ==========================
   HERO (Homepage)
   ========================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--blue) 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,30,30,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero h1 span {
    color: var(--red);
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 1.5rem;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .8rem 2rem;
    transform: skew(var(--skew));
    transition: background .2s;
}
.hero-cta > * {
    transform: skew(calc(var(--skew) * -1));
}
.hero-cta:hover {
    background: var(--red-hover);
    color: var(--white);
}

/* Hero featured article */
.hero-featured {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
}
.hero-featured img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.hero-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    color: var(--white);
}
.hero-featured-cat {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .2rem .6rem;
    transform: skew(var(--skew));
    margin-bottom: .5rem;
}
.hero-featured-cat span {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
.hero-featured h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .3rem;
}
.hero-featured h2 a { color: var(--white); }
.hero-featured h2 a:hover { color: var(--red); }
.hero-featured .hero-date {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
}
.hero-featured-placeholder {
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.3);
    font-family: var(--font-heading);
    font-size: 3rem;
}

/* ==========================
   PAGE HERO (sous-pages)
   ========================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(to left, rgba(196,30,30,.08), transparent);
    pointer-events: none;
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}
.page-hero p {
    color: rgba(255,255,255,.6);
    font-size: 1.05rem;
    margin-top: .4rem;
}
.page-hero--direct {
    background: linear-gradient(135deg, var(--navy) 0%, #1a0a0a 100%);
}

/* ==========================
   MAIN LAYOUT
   ========================== */
.main-content {
    padding: 3rem 0;
}
.main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* ==========================
   CARDS
   ========================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-cat {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), #d63030);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .2rem .6rem;
    transform: skew(var(--skew));
    margin-bottom: .6rem;
    align-self: flex-start;
}
.card-cat span {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
.card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .5rem;
    color: var(--navy);
}
.card h3 a {
    color: inherit;
    transition: color .2s;
}
.card h3 a:hover { color: var(--red); }
.card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}
.card-date {
    font-size: .78rem;
    color: var(--text-light);
}
.card-author {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Card horizontal (actus list) */
.card--horizontal {
    flex-direction: row;
    align-items: stretch;
}
.card--horizontal .card-img {
    width: 280px;
    height: auto;
    min-height: 180px;
    flex-shrink: 0;
}
.articles-grid--list {
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* ==========================
   RSS FEED
   ========================== */
.rss-feed {
    display: grid;
    gap: 1rem;
}
.rss-item {
    display: flex;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: transform .2s;
    align-items: flex-start;
}
.rss-item:hover {
    transform: translateX(4px);
}
.rss-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.rss-body { flex: 1; min-width: 0; }
.rss-source {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .1rem .45rem;
    transform: skew(var(--skew));
    margin-bottom: .3rem;
}
.rss-source > span {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
.rss-body h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .25rem;
    color: var(--navy);
}
.rss-body h3 a {
    color: inherit;
}
.rss-body h3 a:hover { color: var(--red); }
.rss-body p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Full-width revue de presse */
.rss-feed--full .rss-item {
    padding: 1.25rem;
}
.rss-feed--full .rss-thumb {
    width: 160px;
    height: 100px;
}
.rss-feed--full .rss-body h3 {
    font-size: 1.1rem;
}

/* ==========================
   SIDEBAR
   ========================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}
.widget h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.widget h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--red);
    transform: skew(var(--skew));
}

/* Weather widget */
.weather-city-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: .75rem;
}
.weather-tab {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: .3rem .6rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-muted);
    background: transparent;
    transition: all .2s;
    cursor: pointer;
}
.weather-tab:hover,
.weather-tab.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.widget-weather-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .5rem 0;
}
.widget-temp {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.widget-desc {
    font-size: .9rem;
    color: var(--text-muted);
    text-transform: capitalize;
}
.widget-detail {
    font-size: .78rem;
    color: var(--text-light);
}

/* Events widget */
.widget-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.widget-list li {
    display: flex;
    gap: .6rem;
    align-items: baseline;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--surface);
}
.widget-list li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-date {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    color: var(--red);
    white-space: nowrap;
}
.widget-list a {
    font-size: .85rem;
    color: var(--text);
    font-weight: 500;
}
.widget-list a:hover { color: var(--red); }
.widget-empty {
    font-size: .85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Widget adrama */
.widget-adrama {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
}
.widget-adrama h3 { color: var(--white); }
.widget-adrama h3::before { background: var(--red); }
.widget-adrama p {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: .75rem;
}
.btn-widget {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .5rem 1.2rem;
    transform: skew(var(--skew));
    transition: background .2s;
}
.btn-widget:hover {
    background: var(--red-hover);
    color: var(--white);
}

/* ==========================
   FILTER BAR
   ========================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--surface-alt);
}
.filter-tag {
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .45rem 1rem;
    border: 2px solid var(--border);
    border-radius: 3px;
    color: var(--text-muted);
    transition: all .2s;
    transform: skew(var(--skew));
}
.filter-tag > span {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
.filter-tag:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.filter-tag.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ==========================
   PAGINATION
   ========================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: .3rem;
    margin-top: 2rem;
}
.pagination a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    color: var(--text-muted);
    transition: all .2s;
}
.pagination a:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.pagination a.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: skew(var(--skew));
}

/* ==========================
   DIRECT PAGE
   ========================== */
.direct-player {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius);
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.direct-player::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196,30,30,.2) 0%, transparent 70%);
    pointer-events: none;
}
.direct-player-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.direct-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s;
    box-shadow: 0 4px 20px rgba(196,30,30,.4);
}
.direct-play-btn:hover {
    background: var(--red-hover);
    transform: scale(1.05);
}
.direct-play-btn.is-playing {
    background: var(--navy);
    box-shadow: 0 4px 20px rgba(13,27,42,.4);
}
.direct-info { color: var(--white); }
.direct-info .player-live {
    font-size: .8rem;
    margin-bottom: .3rem;
}
.direct-nowplaying {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: rgba(255,255,255,.9);
}

/* Programs grid */
.programs-section {
    margin-bottom: 3rem;
}
/* Programme grid — style festival */
.pgrid-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.pgrid-legend-item {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .25rem .8rem;
    border-radius: 20px;
    color: var(--white);
}

/* Couleurs par catégorie */
.pgrid-cat-lounge { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #e0c97f; }
.pgrid-cat-covers { background: linear-gradient(135deg, #c41e1e, #e63946); }
.pgrid-cat-info { background: linear-gradient(135deg, #0a5eb5, #1e88e5); }
.pgrid-cat-chronique { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.pgrid-cat-investigation { background: linear-gradient(135deg, #b71c1c, #d32f2f); }
.pgrid-cat-reveil { background: linear-gradient(135deg, #e65100, #ff9800); }
.pgrid-cat-default { background: var(--surface-alt); color: var(--navy); }

/* Onglets jours */
.pgrid-tabs {
    display: flex;
    gap: .35rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pgrid-tab {
    flex: 1;
    min-width: 0;
    padding: .7rem .5rem;
    border: 2px solid var(--surface);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all .2s;
    text-align: center;
}
.pgrid-tab:hover { border-color: var(--red); color: var(--navy); }
.pgrid-tab.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: skew(var(--skew));
}
.pgrid-tab.active > * { display: inline-block; transform: skew(calc(var(--skew) * -1)); }
.pgrid-tab-short { display: none; }
.pgrid-tab-full { display: inline; }

/* Panneaux jours */
.pgrid-day { display: none; }
.pgrid-day.active { display: block; }
.pgrid-day-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 3px solid var(--red);
}

/* Slots programme */
.pgrid-slots {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.pgrid-slot {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: transform .15s;
}
.pgrid-slot:hover { transform: translateX(4px); }
.pgrid-slot--large { padding: 1.3rem 1.5rem; }
.pgrid-slot-time {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
}
.pgrid-slot-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}
.pgrid-slot--large .pgrid-slot-name { font-size: 1.3rem; }
.pgrid-slot-desc {
    font-size: .82rem;
    opacity: .8;
    line-height: 1.4;
}
.pgrid-slot-host {
    font-size: .78rem;
    font-weight: 600;
    opacity: .9;
    font-style: italic;
}
/* Lounge gold accent */
.pgrid-cat-lounge .pgrid-slot-name { color: #e0c97f; }
.pgrid-cat-lounge .pgrid-slot-time { color: rgba(224,201,127,.7); }
/* Default cat text fix */
.pgrid-cat-default .pgrid-slot-name { color: var(--navy); }
.pgrid-cat-default .pgrid-slot-desc { color: var(--text-muted); }

/* ==========================
   PODCASTS
   ========================== */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.podcast-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.podcast-type .badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .2rem .6rem;
    transform: skew(var(--skew));
}
.badge-podcast { background: var(--red); color: var(--white); }
.badge-pad { background: var(--blue); color: var(--white); }
.badge-interview { background: var(--navy); color: var(--white); }
.podcast-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}
.podcast-card p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}
.podcast-author {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.podcast-duration {
    font-size: .78rem;
    color: var(--text-light);
}
.podcast-player {
    width: 100%;
    height: 36px;
    margin-top: .25rem;
    border-radius: 50px;
}

/* ==========================
   MEDIA GRID (Netflix, Prime, Ciné)
   ========================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}
.media-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.media-poster {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.media-body {
    padding: 1rem;
}
.media-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .15rem .5rem;
    transform: skew(var(--skew));
    margin-bottom: .3rem;
}
.media-rating {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .8rem;
    color: var(--red);
    margin-left: .5rem;
}
.media-date {
    font-size: .75rem;
    color: var(--text-light);
    display: block;
    margin-bottom: .2rem;
}
.media-card h3 {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-top: .3rem;
    margin-bottom: .3rem;
}
.media-card p {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.media-link {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-block;
    margin-top: .5rem;
}
.media-link:hover { color: var(--red); }
.media-card--upcoming {
    border: 2px dashed var(--border);
}

/* ==========================
   ASTRO GRID
   ========================== */
.astro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.astro-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform .2s;
    text-align: center;
}
.astro-card:hover { transform: translateY(-3px); }
.astro-sign {
    margin-bottom: .75rem;
}
.astro-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: .25rem;
    line-height: 1;
}
.astro-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
}
.astro-card p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: .5rem;
}

/* Astro date navigation */
.astro-dates {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1.5rem;
}
.astro-date-btn {
    font-family: var(--font-heading);
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .9rem;
    border: 2px solid var(--border);
    border-radius: 3px;
    color: var(--text-muted);
    transition: all .2s;
    transform: skew(var(--skew));
}
.astro-date-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.astro-date-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ==========================
   WEATHER DETAIL (chroniques)
   ========================== */
.weather-detail {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.weather-current {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--surface);
    margin-bottom: 1.5rem;
}
.weather-temp {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.weather-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: capitalize;
    margin-top: .3rem;
}
.weather-extra {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--text-light);
}
.forecast-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.forecast-day {
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem .5rem;
}
.forecast-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    color: var(--navy);
    display: block;
}
.forecast-temp {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    display: block;
    margin: .3rem 0;
}
.forecast-desc {
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

/* ==========================
   EVENTS
   ========================== */
.events-section {
    margin-bottom: 3rem;
}
.events-list {
    display: grid;
    gap: .75rem;
}
.event-card {
    display: flex;
    gap: 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform .2s;
    align-items: flex-start;
}
.event-card:hover {
    transform: translateX(4px);
}
.event-date-block {
    text-align: center;
    flex-shrink: 0;
    min-width: 60px;
    background: var(--navy);
    border-radius: var(--radius);
    padding: .75rem .5rem;
}
.event-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    line-height: 1;
}
.event-month {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-top: .15rem;
}
.event-body { flex: 1; min-width: 0; }
.event-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .25rem;
}
.event-location {
    font-size: .85rem;
    color: var(--text-muted);
    display: block;
}
.event-time {
    font-family: var(--font-heading);
    font-size: .8rem;
    font-weight: 700;
    color: var(--red);
    margin-left: .75rem;
}
.event-body p {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: .3rem;
    line-height: 1.5;
}
.events-past { opacity: .7; }
.event-card--past { opacity: .7; }

/* ==========================
   TEAM
   ========================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--navy);
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}
.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .15rem;
}
.team-role {
    font-size: .8rem;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.team-bio {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: .5rem;
    line-height: 1.5;
}

/* ==========================
   ADRAMA BANNER
   ========================== */
.adrama-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.adrama-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to left, rgba(196,30,30,.1), transparent);
    pointer-events: none;
}
.adrama-banner h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.adrama-banner p {
    color: rgba(255,255,255,.7);
    margin-bottom: 1.5rem;
}
.btn { display: inline-block; transition: all .2s; }
.btn-primary {
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .7rem 2rem;
    transform: skew(var(--skew));
}
.btn-primary > * {
    display: inline-block;
    transform: skew(calc(var(--skew) * -1));
}
.btn-primary:hover {
    background: var(--red-hover);
    color: var(--white);
}

/* ==========================
   ARTICLE FULL
   ========================== */
.article-full {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.article-header {
    padding: 2rem 2rem 1rem;
}
.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-top: .5rem;
}
.article-excerpt {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: .75rem;
    line-height: 1.6;
    font-style: italic;
}
.article-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 2px solid var(--surface);
}
.article-author {
    font-weight: 600;
    color: var(--navy);
}
.article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.article-content {
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.article-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--surface);
}
.btn-back {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.btn-back:hover { color: var(--red); }

/* ==========================
   BTN-MORE
   ========================== */
.btn-more {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: .5rem 1.5rem;
    margin-top: 1.5rem;
    transform: skew(var(--skew));
    transition: all .2s;
}
.btn-more:hover {
    background: var(--navy);
    color: var(--white);
}

/* ==========================
   EMPTY STATE
   ========================== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    font-size: .95rem;
    font-style: italic;
}

/* ==========================
   MENTIONS LÉGALES
   ========================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 0;
}
.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
}
.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: .5rem;
}
.legal-content p {
    color: var(--text-muted);
    margin-bottom: .75rem;
    line-height: 1.7;
}
.legal-content a {
    color: var(--red);
}

/* ==========================
   FOOTER
   ========================== */
.footer-top {
    background: var(--white);
    border-top: 3px solid var(--surface-alt);
    padding: 2.5rem 0;
}
.footer-top .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer-col h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--red);
    transform: skew(var(--skew));
}
.footer-col p, .footer-col a {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.footer-col a { display: block; }
.footer-col a:hover { color: var(--red); }

.footer-bottom {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 1.25rem 0;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom a {
    color: rgba(255,255,255,.5);
    margin-left: 1.5rem;
}
.footer-bottom a:hover { color: var(--white); }

/* ==========================
   HOMEPAGE SECTIONS
   ========================== */
.home-section {
    padding: 3rem 0;
}
.home-section:nth-child(even) {
    background: var(--white);
}
.home-section--dark {
    background: linear-gradient(135deg, var(--navy), var(--navy-light)) !important;
    color: var(--white);
}
.home-section--dark .section-title {
    color: var(--white);
}
.home-section--dark .rss-item {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
}
.home-section--dark .rss-body h3 { color: var(--white); }
.home-section--dark .rss-body h3 a { color: var(--white); }
.home-section--dark .rss-body h3 a:hover { color: var(--red); }
.home-section--dark .rss-body p { color: rgba(255,255,255,.6); }
.home-section--dark .card-date { color: rgba(255,255,255,.4); }
.home-section--dark .btn-more {
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
.home-section--dark .btn-more:hover {
    background: var(--white);
    color: var(--navy);
}

/* Homepage two-column layout */
.home-columns {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
}

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 1200px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .media-grid { grid-template-columns: repeat(3, 1fr); }
    .programs-grid { grid-template-columns: repeat(4, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
    :root {
        --header-height: auto;
    }
    .container { padding: 0 1.25rem; }

    /* Header */
    .top-bar { display: none; }
    .header-search { display: none; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
        gap: 0;
    }
    .main-nav.open { display: flex; }
    .main-nav a {
        padding: .75rem 1rem;
        border-bottom: 1px solid var(--surface);
        width: 100%;
    }
    .main-nav a::after { display: none; }
    .main-nav .nav-adrama { margin-left: 0; margin-top: .5rem; text-align: center; }
    .nav-toggle { display: block; }
    .header-player-btn { display: none; }

    /* Hero */
    .hero .container { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 2.5rem 0 2rem; }
    .hero-featured img, .hero-featured-placeholder { height: 240px; }

    /* Grid */
    .main-grid { grid-template-columns: 1fr; }
    .home-columns { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .astro-grid { grid-template-columns: repeat(2, 1fr); }
    .forecast-grid { grid-template-columns: repeat(3, 1fr); }
    .programs-grid { grid-template-columns: repeat(3, 1fr); }
    .podcast-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top .container { grid-template-columns: 1fr; }

    /* Program grid tablet */
    .pgrid-tabs { gap: .3rem; }
    .pgrid-tab { padding: .5rem .75rem; font-size: .8rem; }

    /* Card horizontal */
    .card--horizontal { flex-direction: column; }
    .card--horizontal .card-img { width: 100%; height: 180px; }

    /* Page hero */
    .page-hero h1 { font-size: 2rem; }
}

@media (max-width: 700px) {
    .hero h1 { font-size: 1.8rem; }
    .hero .container { gap: 1rem; }

    .articles-grid { grid-template-columns: 1fr; }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .astro-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .podcast-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .forecast-grid { grid-template-columns: repeat(5, 1fr); }
    .forecast-day { padding: .6rem .3rem; }

    .direct-player { padding: 2rem 1.5rem; }
    .direct-play-btn { width: 60px; height: 60px; font-size: 1.5rem; }
    .direct-nowplaying { font-size: 1rem; }

    /* Program grid responsive */
    .pgrid-tab-full { display: none; }
    .pgrid-tab-short { display: inline; }
    .pgrid-tabs { gap: .25rem; }
    .pgrid-tab { padding: .5rem .6rem; font-size: .75rem; }
    .pgrid-slot { padding: .8rem; }
    .pgrid-slot-name { font-size: .95rem; }
    .pgrid-slot-desc { display: none; }
    .pgrid-legend { flex-wrap: wrap; gap: .4rem; }
    .pgrid-legend-item { font-size: .7rem; padding: .2rem .5rem; }

    .section-title { font-size: 1.35rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .page-hero { padding: 2rem 0 1.5rem; }

    .rss-item { flex-direction: column; }
    .rss-thumb { width: 100%; height: 160px; }
    .rss-feed--full .rss-thumb { width: 100%; height: 160px; }

    .player-adrama { display: none; }
    .player-volume { display: none; }

    .weather-extra { flex-direction: column; gap: .25rem; }

    .footer-bottom .container { flex-direction: column; text-align: center; gap: .5rem; }
    .footer-bottom a { margin-left: 0; margin: 0 .5rem; }
}

@media (max-width: 400px) {
    .media-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .astro-grid { grid-template-columns: 1fr; }
    .forecast-grid { grid-template-columns: repeat(3, 1fr); }
    .programs-grid { grid-template-columns: 1fr; }
    .filter-bar { gap: .3rem; }
    .filter-tag { font-size: .75rem; padding: .35rem .65rem; }
}
