/*
Theme Name: TBTC Media
Theme URI: https://www.tbtc.fr
Author: TBTC media
Author URI: https://www.tbtc.fr
Description: Thème du média TBTC (Trendy Beat True Culture) — musiques actuelles, interviews, playlists d'invités, culture & digital. La une et les articles à la une se choisissent depuis l'admin ; les playlists ont leur propre rubrique. Thème clair/sombre, couleur d'accent réglable.
Version: 1.7.7
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tbtc
*/

/* ============================================================
   Polices locales
   ============================================================ */
@font-face {
  font-family: "Peace Sans";
  src: url("assets/fonts/PeaceSans.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Viva Beautiful";
  src: url("assets/fonts/VivaBeautiful.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Tokens de couleurs (sombre = base, clair = thème site)
   ============================================================ */
:root {
  --tbtc-pink: #FF1758;
  --tbtc-pink-bright: #FF3B5C;
  --tbtc-pink-deep: #D60E47;
  --tbtc-violet: #9B1FFF;
  --tbtc-violet-deep: #5B12A6;

  --ink-900: #0F0F16;
  --ink-800: #16161F;
  --ink-700: #1E1E2A;
  --ink-600: #2A2A39;
  --ink-500: #3A3A4D;
  --ink-400: #565669;

  --paper: #F5F5F7;
  --paper-dim: #C7C7D1;
  --paper-faint: #8A8A9A;

  --bg-base: var(--ink-800);
  --bg-deep: var(--ink-900);
  --surface-card: var(--ink-700);
  --surface-raised: var(--ink-600);

  --text-strong: var(--paper);
  --text-body: var(--paper-dim);
  --text-muted: var(--paper-faint);
  --text-accent: var(--tbtc-pink);

  --border-subtle: var(--ink-500);
  --border-strong: var(--ink-400);

  --header-bg: rgba(15, 15, 22, 0.82);

  /* Typo */
  --font-display: "Peace Sans", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-accent: "Viva Beautiful", "Peace Sans", cursive;

  /* Espacements / rayons */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Ombres (sombre) */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 20px rgba(0,0,0,.45);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.55);
  --glow: 0 0 24px rgba(255,23,88,.45);

  /* Mouvement */
  --blur-glass: blur(18px) saturate(140%);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
}

[data-theme="light"] {
  --bg-base: #FFFFFF;
  --bg-deep: var(--paper);
  --surface-card: #FFFFFF;
  --surface-raised: #EFEFF3;
  --text-strong: var(--ink-800);
  --text-body: #3C3C48;
  --text-muted: #74748A;
  --text-accent: var(--tbtc-pink-deep);
  --border-subtle: #E6E6EC;
  --border-strong: #CFCFD8;
  --header-bg: rgba(255,255,255,.82);
  --shadow-sm: 0 1px 2px rgba(22,22,31,.06);
  --shadow-md: 0 6px 20px rgba(22,22,31,.10);
  --shadow-lg: 0 18px 50px rgba(22,22,31,.14);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { transition: background var(--dur-base) var(--ease-out); }
body {
  background: var(--bg-base);
  color: var(--text-strong);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--tbtc-pink); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
@keyframes tbtcRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tbtc-wrap { background: var(--bg-base); color: var(--text-strong); min-height: 100vh; font-family: var(--font-body); }
.container { max-width: 1280px; margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--tbtc-pink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .pink-rule { height: 3px; background: var(--tbtc-pink); }
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(18px,4.5vw,40px); height: 74px;
  display: flex; align-items: center; gap: 34px;
}
.header-logo { cursor: pointer; display: flex; align-items: center; }
.header-logo img { height: 48px; width: auto; }
/* Bascule automatique du logo selon le mode clair/sombre */
.header-logo .logo-on-dark { display: none; }
[data-theme="dark"] .header-logo .logo-on-light { display: none; }
[data-theme="dark"] .header-logo .logo-on-dark { display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  cursor: pointer; font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-strong); transition: color var(--dur-fast);
}
.main-nav a:hover, .main-nav a.current-menu-item, .main-nav .current-menu-item > a { color: var(--tbtc-pink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border-subtle); background: transparent;
  color: var(--text-strong); cursor: pointer; transition: border-color var(--dur-fast), color var(--dur-fast);
}
.theme-toggle:hover { border-color: var(--tbtc-pink); color: var(--tbtc-pink); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: inline-flex; }
.burger {
  width: 42px; height: 42px; display: none; align-items: center; justify-content: center;
  border-radius: 11px; border: 1px solid var(--border-subtle); background: transparent;
  color: var(--text-strong); cursor: pointer;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--tbtc-pink); color: #fff; border: none; cursor: pointer;
  border-radius: var(--radius-pill); transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.btn:hover { background: var(--tbtc-pink-bright); }
.btn.btn-glow:hover { box-shadow: var(--glow); }
.btn-sm { font-size: 12px; padding: 10px 18px; }
.btn-md { font-size: 13px; padding: 13px 22px; }
.btn-lg { font-size: 14px; padding: 16px 28px; }
.btn-secondary { background: transparent; color: var(--text-strong); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: transparent; border-color: var(--tbtc-pink); color: var(--tbtc-pink); }
.btn-full { width: 100%; }
.mobile-nav { display: none; flex-direction: column; padding: 6px 0 16px; border-top: 1px solid var(--border-subtle); }
.mobile-nav.open { display: flex; }
.mobile-nav a { cursor: pointer; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-strong); padding: 16px clamp(18px,4.5vw,40px); }
.mobile-nav a:hover { color: var(--tbtc-pink); }
.mobile-nav .btn-wrap { padding: 14px clamp(18px,4.5vw,40px) 0; }

/* Category badge */
.cat-badge {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tbtc-pink); background: rgba(255,23,88,.10);
  padding: 5px 11px; border-radius: var(--radius-pill); line-height: 1;
}
.cat-badge.sm { font-size: 10px; padding: 4px 9px; }

/* ============================================================
   Accueil — Hero
   ============================================================ */
.hero { max-width: 1280px; margin: 0 auto; padding: 56px clamp(18px,4.5vw,40px) 0; }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(28px,4vw,52px); align-items: center; }
.hero-media { cursor: pointer; display: block; position: relative; flex: 1.2 1 360px; min-width: min(100%,340px); }
.hero-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-media .ph { width: 100%; aspect-ratio: 16/10; border-radius: 20px; background: var(--surface-raised); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; box-shadow: var(--shadow-lg); }
.hero-text { flex: 1 1 320px; min-width: min(100%,300px); }
.hero-meta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.hero-meta-row .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.hook {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px,4vw,56px); line-height: 1.02; letter-spacing: -.01em;
  color: var(--text-strong); margin: 0 0 20px;
}
.hook .hl { color: var(--tbtc-pink); }
.hero-excerpt { font-size: 18px; line-height: 1.6; color: var(--text-body); margin: 0 0 28px; max-width: 48ch; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-cta .read { font-size: 13px; color: var(--text-muted); }

/* À la une (rail) */
.rail-section { max-width: 1280px; margin: 0 auto; padding: 48px clamp(18px,4.5vw,40px) 0; }
.section-eyebrow {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-strong);
}
.rail-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 8px; }
.rail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,230px),1fr)); gap: 0; }
.rail-item { cursor: pointer; display: flex; gap: 18px; padding: 26px 28px 26px 0; border-right: 1px solid var(--border-subtle); }
.rail-item .num { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; color: var(--tbtc-pink); flex: 0 0 auto; }
.rail-item .eyebrow { font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 9px; }
.rail-item .title { font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--text-strong); letter-spacing: -.01em; }
.rail-item:hover .title { color: var(--tbtc-pink); }

/* Derniers articles */
.latest { max-width: 1280px; margin: 0 auto; padding: 64px clamp(18px,4.5vw,40px) 0; }
.latest-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 34px; }
.latest-head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--text-strong); letter-spacing: -.01em; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters a {
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer; transition: all var(--dur-fast);
  background: transparent; color: var(--text-body); border: 1px solid var(--border-subtle);
}
.filters a.active, .filters a:hover { background: var(--tbtc-pink); color: #fff; border-color: var(--tbtc-pink); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: 40px 36px; }
.card { cursor: pointer; display: flex; flex-direction: column; gap: 15px; }
.card .thumb { position: relative; }
.card .thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-md); }
.card .thumb .ph { width: 100%; aspect-ratio: 4/3; border-radius: 14px; background: var(--surface-raised); box-shadow: var(--shadow-md); }
.card .meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card .meta-row .meta { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.card h3 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--text-strong); letter-spacing: -.01em; }
.card:hover h3 { color: var(--tbtc-pink); }
.card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Bouton "mettre à la une" (admin connectés uniquement) */
.feature-pin {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  border-radius: 50%; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); color: var(--ink-500); box-shadow: var(--shadow-sm); transition: transform var(--dur-fast);
}
.feature-pin:hover { transform: scale(1.12); }
.feature-pin.is-featured { background: var(--tbtc-pink); color: #fff; }

/* Bande playlist (toujours sombre) */
.playlist-band { margin-top: 88px; background: var(--ink-900); position: relative; overflow: hidden; }
.playlist-band .glow-a { position: absolute; top: -120px; right: -80px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(155,31,255,.32), transparent 65%); pointer-events: none; }
.playlist-band .glow-b { position: absolute; bottom: -160px; left: -60px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,23,88,.22), transparent 65%); pointer-events: none; }
.playlist-band .inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 72px clamp(20px,4.5vw,40px); display: flex; flex-wrap: wrap; gap: clamp(32px,4vw,56px); align-items: center; }
.playlist-band .lede { flex: 1 1 300px; min-width: min(100%,280px); }
.playlist-band .kicker { font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tbtc-pink); margin-bottom: 18px; }
.playlist-band h2 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px,3.4vw,46px); line-height: .98; letter-spacing: -.01em; color: var(--paper); }
.playlist-band h2 span { color: var(--tbtc-pink); }
.playlist-band .intro { margin: 0 0 28px; font-size: 16px; line-height: 1.65; color: var(--paper-dim); max-width: 44ch; }
.tracklist { display: flex; flex-direction: column; gap: 2px; flex: 1.1 1 340px; min-width: min(100%,300px); }
.track { display: flex; align-items: center; gap: 18px; padding: 15px 8px; border-bottom: 1px solid var(--ink-600); }
.track .num { font-family: var(--font-display); font-size: 18px; color: var(--paper-faint); width: 26px; flex: 0 0 auto; }
.track .body { flex: 1; min-width: 0; }
.track .t-title { font-weight: 700; font-size: 15px; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track .t-artist { font-size: 13px; color: var(--paper-faint); }
.track .time { font-size: 13px; color: var(--paper-faint); flex: 0 0 auto; }

/* Les plus lus */
.popular { max-width: 1280px; margin: 0 auto; padding: 72px clamp(18px,4.5vw,40px) 0; }
.popular h2 { margin: 0 0 30px; }
.popular-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,180px),1fr)); gap: 34px; }
.popular-item { cursor: pointer; display: block; border-top: 2px solid var(--text-strong); padding-top: 16px; }
.popular-item .num { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--tbtc-pink); }
.popular-item h3 { margin: 10px 0 12px; font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--text-strong); letter-spacing: -.01em; }
.popular-item:hover h3 { color: var(--tbtc-pink); }
.popular-item .views { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

/* Newsletter */
.newsletter { max-width: 1280px; margin: 0 auto; padding: 80px clamp(18px,4.5vw,40px) 96px; }
.newsletter .box { background: var(--surface-raised); border-radius: var(--radius-lg); padding: clamp(28px,5vw,56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.newsletter h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px,3vw,38px); letter-spacing: -.01em; color: var(--text-strong); }
.newsletter h2 span { color: var(--tbtc-pink); }
.newsletter p { margin: 0; font-size: 16px; color: var(--text-body); max-width: 50ch; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { font-family: var(--font-body); font-size: 15px; padding: 14px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--bg-base); color: var(--text-strong); min-width: 240px; outline: none; }

/* ============================================================
   Article
   ============================================================ */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--tbtc-pink); z-index: 60; box-shadow: var(--glow); }
.article { max-width: 1280px; margin: 0 auto; padding: 46px clamp(18px,4.5vw,40px) 0; }
.article .col { max-width: 760px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--tbtc-pink); }
.breadcrumb .cat { color: var(--text-accent); }
.article h1 { margin: 0 0 20px; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px,4.6vw,56px); line-height: 1.02; letter-spacing: -.015em; color: var(--text-strong); text-wrap: balance; }
.article .excerpt { margin: 0 0 26px; font-size: 20px; line-height: 1.55; color: var(--text-body); }
.article .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); font-size: 13px; color: var(--text-muted); }
.article .byline .author { font-weight: 700; color: var(--text-strong); }
.article .share { margin-left: auto; display: flex; gap: 10px; }
.article-hero { width: 100%; max-width: 980px; margin: 34px auto 8px; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.article .caption { text-align: center; font-size: 12px; letter-spacing: .06em; color: var(--text-muted); margin: 14px 0 44px; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { font-family: var(--font-body); font-size: 18px; line-height: 1.78; color: var(--text-body); margin: 0 0 26px; }
.article-body h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--text-strong); margin: 46px 0 18px; letter-spacing: -.01em; }
.article-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--text-strong); margin: 36px 0 14px; }
.article-body img { border-radius: 14px; margin: 26px 0; box-shadow: var(--shadow-md); }
.article-body blockquote { margin: 40px 0; padding: 4px 0 4px 30px; border-left: 4px solid var(--tbtc-pink); }
.article-body blockquote p { font-family: var(--font-display); font-weight: 400; font-size: 27px; line-height: 1.28; color: var(--text-strong); margin: 0 0 14px; letter-spacing: -.01em; }
.article-body blockquote cite { font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-accent); }
.article-body ul, .article-body ol { font-size: 18px; line-height: 1.78; color: var(--text-body); margin: 0 0 26px; padding-left: 22px; }
.article-body a { color: var(--tbtc-pink); text-decoration: underline; }
.article-playlist-cta { margin: 48px 0 8px; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--ink-900); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.article-playlist-cta .left { flex: 1; min-width: 200px; }
.article-playlist-cta .kicker { font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--tbtc-pink); margin-bottom: 8px; }
.article-playlist-cta .title { font-family: var(--font-display); font-size: 22px; color: var(--paper); }
.article-back { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--border-subtle); }

/* ============================================================
   Playlists
   ============================================================ */
.pl-page { max-width: 1280px; margin: 0 auto; padding: 56px clamp(18px,4.5vw,40px) 0; }
.pl-head { margin-bottom: 44px; }
.pl-head .kicker { font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 14px; }
.pl-head h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px,5.4vw,72px); line-height: .96; letter-spacing: -.02em; color: var(--text-strong); }
.pl-head h1 span { color: var(--tbtc-pink); }
.pl-feature { background: var(--ink-900); border-radius: var(--radius-lg); overflow: hidden; position: relative; margin-bottom: 64px; }
.pl-feature .glow { position: absolute; top: -100px; right: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(155,31,255,.3), transparent 65%); pointer-events: none; }
.pl-feature .row { position: relative; display: flex; flex-wrap: wrap; }
.pl-feature .cover { flex: 1 1 280px; min-width: min(100%,260px); min-height: 300px; object-fit: cover; }
.pl-feature .cover.ph { background: var(--surface-raised); }
.pl-feature .content { flex: 1.3 1 360px; min-width: min(100%,320px); padding: clamp(28px,4vw,48px); }
.pl-feature .kicker2 { font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--tbtc-pink); margin-bottom: 14px; }
.pl-feature h2 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: .98; color: var(--paper); }
.pl-feature .intro { margin: 0 0 24px; font-size: 15px; line-height: 1.65; color: var(--paper-dim); max-width: 46ch; }
.pl-feature .tracks { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.pl-feature .links { display: flex; gap: 12px; flex-wrap: wrap; }
.pl-link { cursor: pointer; display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pl-link.spotify { background: var(--tbtc-pink); color: #fff; }
.pl-link.spotify:hover { background: var(--tbtc-pink-bright); }
.pl-link.soundcloud { border: 1px solid var(--ink-500); color: var(--paper); }
.pl-link.soundcloud:hover { border-color: var(--paper-dim); }
.pl-link.apple { background: #fc3c44; color: #fff; }
.pl-link.apple:hover { filter: brightness(1.08); }
.pl-link.deezer { background: #a238ff; color: #fff; }
.pl-link.deezer:hover { filter: brightness(1.08); }

/* Interview vidéo + lecteurs intégrés sur la fiche playlist */
.pl-video, .pl-players { max-width: 980px; margin: 0 auto 64px; }
.pl-video .kicker3, .pl-players .kicker3 { font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 18px; }
.tbtc-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-900); }
.tbtc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pl-player-embed { margin-bottom: 18px; }
.pl-player-embed iframe { width: 100%; border: 0; border-radius: 12px; }

/* Encarts publicitaires — discrets, centrés, jamais de trou si vides */
.tbtc-ad { margin: 40px auto; max-width: 1280px; padding: 0 clamp(18px,4.5vw,40px); text-align: center; }
.tbtc-ad--post { max-width: 760px; margin: 36px auto; padding: 0; }
.tbtc-ad__label { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft, #9a9aa5); margin-bottom: 8px; }
.tbtc-ad__inner { display: flex; justify-content: center; align-items: center; min-height: 0; }
.tbtc-ad__inner img { max-width: 100%; height: auto; border-radius: 12px; }
.tbtc-ad__inner iframe { max-width: 100%; }

/* ============================================================
   Filet de sécurité responsive pour le contenu des articles
   (embeds Spotify/Apple/YouTube collés dans le texte, y compris
   les anciens articles migrés — rien ne déborde sur mobile)
   ============================================================ */
.article-body iframe, .article-body embed, .article-body object, .article-body video { max-width: 100%; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.article-body iframe[src*="youtube"], .article-body iframe[src*="youtu.be"], .article-body iframe[src*="vimeo"], .article-body iframe[src*="dailymotion"] { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 12px; }
.wp-block-embed iframe { max-width: 100%; }
figure.wp-block-embed { margin-left: 0; margin-right: 0; }

/* Alignements larges de l'éditeur (align-wide déclaré) */
.article-body .alignwide { width: min(100vw - 36px, 980px); margin-left: 50%; transform: translateX(-50%); }
.article-body .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.article-body .alignwide img, .article-body .alignfull img { width: 100%; border-radius: 12px; }

/* Vidéo en tête d'article (champ « Vidéo interview / podcast ») */
.article-video { max-width: 980px; margin: 34px auto 8px; padding: 0 18px; }

/* ============================================================
   Page « Podcasts & Interviews »
   ============================================================ */
.podcasts-page { max-width: 1280px; margin: 0 auto; padding: 0 clamp(18px,4.5vw,40px) 72px; }
.podcasts-page .page-head { padding: clamp(28px,5vw,56px) 0 8px; max-width: 760px; }
.podcasts-page .page-title { font-family: var(--font-display); font-size: clamp(30px,5vw,52px); line-height: 1.05; margin: 0 0 12px; }
.podcasts-page .page-intro { color: var(--text-soft); }

.pod-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px,3.5vw,44px); align-items: center; margin: 28px 0 56px; }
.pod-feature-player .tbtc-video { box-shadow: var(--shadow-lg); }
.pod-badge { display: inline-block; background: var(--tbtc-pink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.pod-feature-meta h2 { font-family: var(--font-display); font-size: clamp(22px,3vw,34px); line-height: 1.15; margin: 0 0 12px; }
.pod-feature-meta h2 a { color: inherit; text-decoration: none; }
.pod-feature-meta h2 a:hover { color: var(--tbtc-pink); }
.pod-feature-meta p { color: var(--text-soft); margin: 0 0 16px; }
.pod-more { color: var(--tbtc-pink); font-weight: 700; font-size: 14px; text-decoration: none; }
.pod-more:hover { text-decoration: underline; }

.pod-grid-head { margin: 0 0 22px; }
.pod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px,2.6vw,30px); }
.pod-card { display: block; text-decoration: none; color: inherit; }
.pod-thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.pod-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .35s ease; }
.pod-thumb .ph { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16/9; background: var(--surface-raised); color: var(--text-muted); font-size: 13px; }
.pod-card:hover .pod-thumb img { transform: scale(1.04); }
.pod-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(16,16,20,.62); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; text-indent: 3px; pointer-events: none; transition: background .25s ease, transform .25s ease; }
.pod-card:hover .pod-play { background: var(--tbtc-pink); transform: translate(-50%, -50%) scale(1.08); }
.pod-card-cat { display: inline-block; margin: 12px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tbtc-pink); }
.pod-card h3 { font-family: var(--font-display); font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.pod-card:hover h3 { color: var(--tbtc-pink); }
.pod-card-date { font-size: 12px; color: var(--text-muted); }

.pod-empty { text-align: center; padding: 72px 0; color: var(--text-soft); }
.pod-empty-hint { font-size: 13px; color: var(--text-muted); max-width: 480px; margin: 8px auto 0; }

@media (max-width: 900px) {
	.pod-feature { grid-template-columns: 1fr; }
	.pod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.pod-grid { grid-template-columns: 1fr; }
}
.pl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr)); gap: 30px; padding-bottom: 96px; }
.pl-card { cursor: pointer; display: flex; flex-direction: column; gap: 14px; }
.pl-card img, .pl-card .ph { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-md); }
.pl-card .ph { background: var(--surface-raised); }
.pl-card .label { font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 7px; }
.pl-card h3 { margin: 0 0 5px; font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--text-strong); letter-spacing: -.01em; }
.pl-card:hover h3 { color: var(--tbtc-pink); }
.pl-card .count { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   Page / À propos / Contact
   ============================================================ */
.page-main { max-width: 1280px; margin: 0 auto; padding: 64px clamp(18px,4.5vw,40px) 0; }
.page-hero { max-width: 900px; margin-bottom: 64px; }
.page-hero .kicker { font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-accent); margin-bottom: 18px; }
.page-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px,4.6vw,60px); line-height: 1.0; letter-spacing: -.02em; color: var(--text-strong); text-wrap: balance; }
.page-hero h1 span { color: var(--tbtc-pink); }
.page-content { font-size: 17px; line-height: 1.75; color: var(--text-body); max-width: 760px; padding-bottom: 64px; }
.page-content h2 { font-family: var(--font-display); font-weight: 400; color: var(--text-strong); }
.page-content a { color: var(--tbtc-pink); }
.about-grid { display: flex; flex-wrap: wrap; gap: clamp(36px,5vw,64px); padding-bottom: 40px; }
.about-col { flex: 1 1 320px; min-width: min(100%,300px); }
.about-col h2 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--text-strong); }
.about-col p { font-size: 17px; line-height: 1.75; color: var(--text-body); margin: 0 0 18px; }
.contact-rows { display: flex; flex-direction: column; gap: 1px; }
.contact-rows .r { padding: 16px 0; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; gap: 16px; }
.contact-rows .r:last-child { border-bottom: 1px solid var(--border-subtle); }
.contact-rows .r .k { color: var(--text-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.contact-rows .r .v { font-weight: 700; color: var(--text-strong); }
.social-row { display: flex; gap: 16px; margin-top: 28px; }
.social-row a:hover { opacity: .6; }
.contact-card { background: var(--surface-raised); border-radius: var(--radius-lg); padding: clamp(28px,4vw,38px); flex: 1 1 320px; min-width: min(100%,300px); }
.contact-card h2 { margin: 0 0 22px; font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--text-strong); }
.contact-card form { display: flex; flex-direction: column; gap: 16px; }
.contact-card input, .contact-card textarea { font-family: var(--font-body); font-size: 15px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-base); color: var(--text-strong); outline: none; }
.contact-card textarea { resize: vertical; }

/* Archive / recherche générique */
.archive-head { max-width: 1280px; margin: 0 auto; padding: 56px clamp(18px,4.5vw,40px) 0; }
.archive-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px,4.4vw,52px); color: var(--text-strong); margin: 0 0 8px; letter-spacing: -.01em; }
.archive-head p { color: var(--text-muted); margin: 0; }
.pagination { max-width: 1280px; margin: 0 auto; padding: 48px clamp(18px,4.5vw,40px) 0; display: flex; gap: 10px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-subtle); color: var(--text-body); font-weight: 700; font-size: 14px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--tbtc-pink); color: #fff; border-color: var(--tbtc-pink); }

/* ============================================================
   Footer (toujours sombre)
   ============================================================ */
.site-footer { background: var(--ink-900); margin-top: 40px; border-top: 1px solid var(--ink-600); }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 64px clamp(20px,4.5vw,40px) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,160px),1fr)); gap: 40px 48px; }
.footer-grid img.logo { height: 38px; width: auto; }
.footer-grid .desc { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: var(--paper-faint); max-width: 30ch; }
.footer-grid .heading { font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 18px; }
.footer-grid .links { display: flex; flex-direction: column; gap: 12px; }
.footer-grid .links a { font-size: 14px; color: var(--paper-dim); }
.footer-grid .links a:hover { color: var(--tbtc-pink); }
.footer-grid .nl-text { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--paper-dim); }
.footer-social { display: flex; gap: 16px; margin-top: 22px; }
.footer-social a:hover { opacity: .6; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 24px clamp(18px,4.5vw,40px) 48px; border-top: 1px solid var(--ink-600); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-size: 12px; color: var(--paper-faint); }
.footer-bottom .signature { font-family: var(--font-accent); font-size: 26px; color: var(--tbtc-pink); line-height: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .rail-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

/* ============================================================
   v1.4 — DIRECTION CRÉATIVE « ÉDITORIAL TRANCHÉ »
   Angles nets, aplats et dégradés francs, zéro shape ronde.
   ============================================================ */

/* 1. Fin des arrondis : tokens neutralisés à la source */
:root, [data-theme="light"], [data-theme="dark"] {
	--radius-sm: 0px;
	--radius-md: 0px;
	--radius-lg: 0px;
	--radius-xl: 0px;
	--radius-pill: 2px; /* boutons façon stickers, nets */
}

/* Arrondis codés en dur → alignés sur la nouvelle direction */
.tbtc-video, .pod-thumb, .pl-player-embed iframe,
.article-body img, .article-body .alignwide img, .article-body .alignfull img,
.article-body iframe[src*="youtube"], .article-body iframe[src*="youtu.be"],
.article-body iframe[src*="vimeo"], .article-body iframe[src*="dailymotion"],
.tbtc-ad__inner img { border-radius: 0; }

/* 2. Blobs radiaux supprimés → dégradés diagonaux francs */
.playlist-band .glow-a, .playlist-band .glow-b, .pl-feature .glow { display: none; }
.playlist-band { background: linear-gradient(118deg, var(--ink-900) 0%, var(--ink-900) 58%, #1b0f1f 58%, #241028 100%); }
.playlist-band::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 6px; background: var(--tbtc-pink); }
.pl-feature { background: linear-gradient(118deg, var(--ink-900) 0%, var(--ink-900) 55%, #1b0f1f 55%, #241028 100%); }
.pl-feature::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--tbtc-pink); }

/* 3. Bouton play : carré net, plus de cercle */
.pod-play { border-radius: 0; width: 50px; height: 50px; background: rgba(16,16,20,.82); backdrop-filter: none; }
.pod-card:hover .pod-play { background: var(--tbtc-pink); }

/* 4. Logos agrandis (header + footer) */
.header-logo img { height: 64px; }
.footer-grid img.logo { height: 64px; }
@media (max-width: 640px) { .header-logo img { height: 52px; } }

/* 5. Signature footer : SVG « Trendy » à la place du texte */
.signature-svg { height: 104px; width: auto; display: block; }
.footer-bottom { align-items: center; }
@media (max-width: 640px) { .signature-svg { height: 80px; } }

/* 6. Badge « Exclu TBTC » (icône Smile) en coin de visuel */
.exclu-badge { position: absolute; top: 0; left: 0; z-index: 2; width: 54px; height: 54px; background: var(--tbtc-pink); display: flex; align-items: center; justify-content: center; }
.exclu-badge img { width: 40px; height: 40px; display: block; }
.exclu-badge::after { content: 'EXCLU'; position: absolute; left: 100%; top: 0; height: 100%; display: flex; align-items: center; background: var(--ink-900); color: #fff; font: 800 10px/1 var(--font-body); letter-spacing: .16em; padding: 0 10px; }
.pod-thumb .exclu-badge, .hero-media .exclu-badge { width: 60px; height: 60px; }
.pod-thumb .exclu-badge img, .hero-media .exclu-badge img { width: 44px; height: 44px; }

/* 7. Réseaux dans le header (Instagram / YouTube) */
.header-social { display: flex; align-items: center; gap: 4px; margin-right: 4px; }
.header-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--text-strong); }
.header-social a:hover { background: var(--tbtc-pink); }
.header-social a:hover img { filter: brightness(0) invert(1); }
@media (max-width: 900px) { .header-social { display: none; } }

/* 8. Bande « Suivez-nous » (Instagram / YouTube) — aplats de marque */
.follow-strip { max-width: 1280px; margin: 72px auto 0; padding: 0 clamp(18px,4.5vw,40px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,2vw,24px); }
.follow-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(24px,3.5vw,40px); color: #fff; text-decoration: none; overflow: hidden; }
.follow-card .kicker { font: 800 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.follow-card .big { font-family: var(--font-display); font-size: clamp(20px,2.6vw,30px); line-height: 1.05; }
.follow-card .arrow { font-size: 30px; font-weight: 800; flex-shrink: 0; transition: transform .25s ease; }
.follow-card:hover .arrow { transform: translateX(8px); }
.follow-card.insta { background: linear-gradient(100deg, #7a1fa2 0%, #cc2366 55%, #ff5e3a 100%); }
.follow-card.yt { background: #FF0000; }
.follow-card.yt .big span { background: #fff; color: #FF0000; padding: 0 8px; }
@media (max-width: 760px) { .follow-strip { grid-template-columns: 1fr; } }

/* ============================================================
   v1.4.1 — Correctifs retours créa
   ============================================================ */

/* 1. Logo top menu encore un cran plus grand */
.header-logo img { height: 78px; }
@media (max-width: 640px) { .header-logo img { height: 58px; } }

/* 2. Icônes Insta/YouTube : lisibles au survol (icône passe en blanc,
      quel que soit le format — img du thème ou svg) */
.header-social a:hover img,
.header-social a:hover svg { filter: brightness(0) invert(1); }

/* 3. Boutons dans le corps d'article : le blanc du bouton ne doit pas
      être écrasé par la couleur des liens d'article (bug « Ouvrir » invisible) */
.article-body a.btn { color: #fff; text-decoration: none; }
.article-body a.btn:hover { color: #fff; }
.article-body a.btn-secondary { color: var(--text-strong); }
.article-body a.btn-secondary:hover { color: var(--tbtc-pink); }

/* 4. Visuels d'attente (placeholders sans image) : direction v1.4 —
      dégradé franc, angles nets, zéro shape ronde */
.ph {
	border-radius: 0 !important;
	background: linear-gradient(135deg, var(--ink-900) 0%, #2a0e18 62%, #52102a 100%) !important;
	color: rgba(255,255,255,.38) !important;
	font-family: var(--font-display) !important;
	font-size: 15px !important;
	letter-spacing: .25em !important;
	text-transform: uppercase;
	display: flex; align-items: center; justify-content: center;
	box-shadow: none !important;
}

/* ============================================================
   v1.4.2 — Révélation en cascade (le « loader sexy » sans loader)
   Les styles ne s'appliquent QUE si le JS a posé .tbtc-reveal :
   sans JS ou avec animations réduites, tout est visible d'emblée.
   ============================================================ */
.tbtc-reveal .card, .tbtc-reveal .rail-item, .tbtc-reveal .pod-card,
.tbtc-reveal .pl-card, .tbtc-reveal .popular-item, .tbtc-reveal .follow-card {
	opacity: 0; transform: translateY(16px);
	transition: opacity .55s ease, transform .55s ease;
}
.tbtc-reveal .card.is-in, .tbtc-reveal .rail-item.is-in, .tbtc-reveal .pod-card.is-in,
.tbtc-reveal .pl-card.is-in, .tbtc-reveal .popular-item.is-in, .tbtc-reveal .follow-card.is-in {
	opacity: 1; transform: none;
}
img.tbtc-fade { opacity: 0; transition: opacity .45s ease; }
img.tbtc-fade.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.tbtc-reveal .card, .tbtc-reveal .rail-item, .tbtc-reveal .pod-card,
	.tbtc-reveal .pl-card, .tbtc-reveal .popular-item, .tbtc-reveal .follow-card { opacity: 1; transform: none; transition: none; }
	img.tbtc-fade { opacity: 1; transition: none; }
}

/* ============================================================
   v1.4.3 — Menus WordPress natifs : suppression des puces
   (wp_nav_menu génère des <li> ; on les rend transparents pour
   que les liens se comportent comme dans la maquette)
   ============================================================ */
.main-nav ul, .main-nav li,
.mobile-nav ul, .mobile-nav li,
.site-footer .links ul, .site-footer .links li {
	list-style: none; margin: 0; padding: 0; display: contents;
}
.main-nav li::marker, .mobile-nav li::marker, .site-footer .links li::marker { content: none; }

/* Rubrique en cours de consultation : soulignée en rose */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--tbtc-pink); }

/* ============================================================
   v1.6 — Corrections & évolutions (recette utilisateur)
   ============================================================ */

/* 1. Toggle jour/nuit : l'icône montre le mode CIBLE.
      Mode clair → lune (« passer en nuit »), mode sombre → soleil. */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline-flex; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline-flex; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* 2. Morceaux interactifs : survol animé (zoom ease), clip dépliable, lien */
.tracklist .track, .pl-feature .tracks .track {
	transition: transform .28s cubic-bezier(.22,.61,.36,1), background .28s ease;
}
.tracklist .track:hover, .pl-feature .tracks .track:hover {
	transform: scale(1.02);
	background: rgba(255,255,255,.06);
}
.track.has-clip { cursor: pointer; }
.track.has-clip:hover .t-title { color: var(--tbtc-pink); }
.t-play {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; flex: 0 0 26px; margin-left: 10px;
	background: var(--tbtc-pink); color: #fff;
	transition: transform .25s ease;
}
.track.has-clip:hover .t-play { transform: scale(1.15); }
.t-link { display: inline-flex; align-items: center; color: var(--text-muted); margin-left: 10px; }
.t-link:hover { color: var(--tbtc-pink); }
.track-clip { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.22,.61,.36,1); }
.track-clip.open { max-height: 360px; }
.track-clip-inner { padding: 10px 0 16px; }
.track-clip-inner iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* 3. Bouton et overlay de recherche */
.search-toggle {
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 1px solid var(--border-subtle);
	background: transparent; color: var(--text-strong);
}
.search-toggle:hover { border-color: var(--tbtc-pink); color: var(--tbtc-pink); }
.search-overlay {
	position: fixed; inset: 0; z-index: 1000; display: none;
	align-items: flex-start; justify-content: center; padding: 18vh 24px 0;
	background: rgba(12,12,16,.94); backdrop-filter: blur(6px);
}
.search-overlay.open { display: flex; }
.search-overlay form { display: flex; gap: 14px; width: min(720px, 100%); align-items: flex-end; }
.search-overlay input {
	flex: 1; background: transparent; border: 0; border-bottom: 3px solid var(--tbtc-pink);
	color: #fff; font-family: var(--font-display); font-size: clamp(22px, 4vw, 34px);
	padding: 10px 4px; outline: none;
}
.search-overlay input::placeholder { color: rgba(255,255,255,.35); }
.search-close {
	position: absolute; top: 20px; right: 26px; background: none; border: 0;
	color: #fff; font-size: 42px; line-height: 1; cursor: pointer;
}
.search-close:hover { color: var(--tbtc-pink); }

/* 4. Pages À propos / Contact : titre aligné avec le contenu (centré) */
.page-main .page-hero { text-align: center; }

/* 5. Menu mobile repensé : panneau net, typo display, recherche intégrée */
.mobile-nav {
	border-top: 3px solid var(--tbtc-pink);
	background: var(--bg-base);
	box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.mobile-nav.open { display: flex; animation: tbtcSlideDown .28s cubic-bezier(.22,.61,.36,1); }
@keyframes tbtcSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav a {
	font-family: var(--font-display); font-size: 21px; text-transform: none;
	letter-spacing: .01em; padding: 15px clamp(18px,4.5vw,40px);
	border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav a:active { background: rgba(255,23,88,.08); }
.mobile-search { display: flex; gap: 8px; padding: 14px clamp(18px,4.5vw,40px) 6px; }
.mobile-search input {
	flex: 1; border: 1px solid var(--border-subtle); background: transparent;
	color: var(--text-strong); padding: 10px 12px; font: 500 14px var(--font-body); outline: none;
}
.mobile-search input:focus { border-color: var(--tbtc-pink); }
.mobile-search button { border: 0; background: var(--tbtc-pink); color: #fff; width: 46px; font-size: 18px; cursor: pointer; }
@media (min-width: 901px) { .mobile-nav { display: none !important; } }

/* ============================================================
   v1.6.1 — Recherche subtile, centrage icônes, aperçu clip flottant
   ============================================================ */

/* L'overlay plein écran n'existe plus (remplacé par la recherche intégrée) */
.search-overlay { display: none !important; }

/* Recherche intégrée : le champ se déplie en douceur à gauche de la loupe */
.header-search { width: 0; overflow: hidden; display: flex; align-items: center; transition: width .34s cubic-bezier(.22,.61,.36,1); }
.header-search.open { width: 210px; }
.header-search input {
	width: 200px; background: transparent; border: 0;
	border-bottom: 2px solid var(--tbtc-pink);
	color: var(--text-strong); font: 600 14px/1.2 var(--font-body);
	padding: 8px 4px; outline: none;
}
.header-search input::placeholder { color: var(--text-muted); }
@media (max-width: 900px) { .header-search { display: none; } } /* sur mobile : la recherche vit dans le menu burger */

/* Icônes toggle & loupe : centrage optique parfait */
.theme-toggle, .search-toggle { line-height: 0; padding: 0; }
.theme-toggle span { display: flex; align-items: center; justify-content: center; line-height: 0; }
.theme-toggle svg, .search-toggle svg { display: block; }

/* Aperçu du clip flottant (suit la souris, muet, desktop) */
#tbtc-clip-preview {
	position: fixed; top: 0; left: 0; width: 300px; aspect-ratio: 16 / 9;
	z-index: 1200; pointer-events: none; opacity: 0;
	transition: opacity .25s ease;
	background: #000; box-shadow: 0 18px 50px rgba(0,0,0,.45);
	border: 2px solid var(--tbtc-pink);
}
#tbtc-clip-preview.on { opacity: 1; }
#tbtc-clip-preview iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { #tbtc-clip-preview { display: none; } }

/* v1.6.2 — Mobile : la recherche vit dans le menu burger, la loupe du header est masquée */
@media (max-width: 900px) { .search-toggle { display: none; } }

/* v1.6.3 — Lien vers la fiche complète depuis la sélection de la semaine */
.pl-feature .pl-more { display: inline-block; margin-top: 16px; color: var(--tbtc-pink); font-weight: 700; font-size: 14px; text-decoration: none; }
.pl-feature .pl-more:hover { text-decoration: underline; }

/* v1.7 — Filtres de l'accueil : état de chargement + rubrique vide */
.cards-grid.is-loading { opacity: .45; pointer-events: none; transition: opacity .2s ease; }
.filters-empty { grid-column: 1 / -1; color: var(--text-soft); padding: 28px 0; }

/* v1.7.5 — Bouton YouTube du footer (en attendant la newsletter) */
.site-footer .btn-yt { background: #FF0000; }
.site-footer .btn-yt:hover { filter: brightness(1.12); }

/* v1.7.7 — La photo de l'invité remplit toute la hauteur de la carte,
   quelle que soit la longueur de la sélection (fini le bandeau sombre) */
.pl-feature .cover { height: auto; aspect-ratio: auto; align-self: stretch; object-fit: cover; }
