/* ============================================================
   tertio.immo — Design 2026
   ============================================================ */

:root {
  --blanc:       #FFFFFF;
  --noir:        #111111;
  --gris:        #6B7280;
  --gris-light:  #9CA3AF;
  --teal:        #0F6E56;
  --teal-dark:   #0a3d2e;
  --teal-light:  #e6f2ee;
  --ambre:       #D4831A;
  --ambre-light: #fdf0e0;
  --fond-alt:    #F8F8F6;
  --bordure:     #E5E5E0;
  --footer-bg:   #0d0e14;

  --container: 1200px;
  --r: 3px;
}

/* ============================================================
   BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

/* ============================================================
   TOPBAR
   ============================================================ */

.header-topbar {
  background: var(--noir);
  color: rgba(255,255,255,.5);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid #222;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-name {
  color: var(--blanc);
  font-weight: 500;
}
.topbar-name em {
  color: #5dbf9e;
  font-style: normal;
}

.topbar-tagline { flex: 1; }

.topbar-date { margin-left: auto; }

/* ============================================================
   HEADER & NAV
   ============================================================ */

.site-header {
  background: var(--blanc);
  border-bottom: 1px solid var(--bordure);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo { display: flex; align-items: center; }

.logo-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--noir);
  letter-spacing: -0.03em;
}
.logo-text em {
  font-style: normal;
  color: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gris);
  padding: 0.5rem 0.875rem;
  letter-spacing: 0.01em;
  position: relative;
  transition: color .15s;
}
.site-nav a:hover { color: var(--noir); }

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .2s;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.active { color: var(--teal); }
.site-nav a.active::after { transform: scaleX(1); }

.nav-link--interview { color: var(--ambre) !important; }
.nav-link--interview::after { background: var(--ambre) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--noir);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ============================================================
   PILLS / LABELS
   ============================================================ */

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}
.cat-pill--teal  { background: var(--teal-light); color: var(--teal); }
.cat-pill--ambre { background: var(--ambre-light); color: var(--ambre); }

.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gris-light);
}
.section-label--light { color: rgba(255,255,255,.4); }

.see-all {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--teal);
  transition: opacity .15s;
}
.see-all:hover { opacity: .7; }
.see-all--light { color: rgba(255,255,255,.6); }
.see-all--light:hover { color: var(--blanc); }

.article-meta-inline {
  font-size: 0.75rem;
  color: var(--gris-light);
  letter-spacing: 0.01em;
}

/* ============================================================
   FEATURED
   ============================================================ */

.section-featured {
  padding: 4rem 0 0;
  border-bottom: 1px solid var(--bordure);
}

.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.featured-content {
  display: flex;
  flex-direction: column;
}

.featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.featured-index {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--bordure);
  letter-spacing: 0.1em;
}

.featured-title {
  font-size: clamp(1.75rem, 3.5vw, 2.875rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.featured-title a { transition: color .15s; }
.featured-title a:hover { color: var(--teal); }

.featured-foot {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
}

.featured-desc {
  font-size: 0.9375rem;
  color: var(--gris);
  line-height: 1.65;
}

.featured-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Image visuelle du featured */
.featured-visual {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  align-self: stretch;
  min-height: 340px;
}

.featured-visual a {
  display: block;
  height: 100%;
}

.featured-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.featured-visual a:hover .featured-img {
  transform: scale(1.02);
}

.btn-lire {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--teal);
  color: var(--blanc);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r);
  transition: background .15s, gap .15s;
  white-space: nowrap;
}
.btn-lire:hover {
  background: var(--teal-dark);
  gap: 0.75rem;
}

/* ============================================================
   BRÈVES
   ============================================================ */

.section-breves {
  padding: 0;
  border-bottom: 1px solid var(--bordure);
}

.breves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.breve-card {
  padding: 2rem 0;
  border-right: 1px solid var(--bordure);
  padding-right: 2rem;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.breve-card:first-child { padding-left: 0; }
.breve-card:last-child  { border-right: none; padding-right: 0; }

/* Vignette brève */
.breve-thumb {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 0.125rem;
}

.breve-thumb__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.breve-thumb:hover .breve-thumb__img {
  transform: scale(1.04);
}

.breve-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breve-index {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--bordure);
  letter-spacing: 0.1em;
}

.breve-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}
.breve-title a { transition: color .15s; }
.breve-title a:hover { color: var(--teal); }

/* ============================================================
   INTERVIEWS — DARK SECTION
   ============================================================ */

.section-interviews {
  background: var(--teal-dark);
  padding: 4rem 0;
}

.interviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.interviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.interview-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background .2s;
}
.interview-card:hover { background: rgba(255,255,255,.08); }

.interview-quote-mark {
  font-size: 4rem;
  line-height: 0.7;
  color: var(--ambre);
  font-weight: 500;
  opacity: .8;
}

.interview-quote {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  flex: 1;
}

.interview-foot {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.interview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.interview-person {
  flex: 1;
}
.interview-person strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blanc);
}
.interview-person span {
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
}

.interview-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ambre);
  flex-shrink: 0;
  transition: opacity .15s;
}
.interview-link:hover { opacity: .7; }

/* ============================================================
   RÉCENTS
   ============================================================ */

.section-recents {
  padding: 4rem 0;
}

.recents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--bordure);
}

.recents-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
}

.art-card {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--bordure);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.art-card:nth-child(n+4) { border-bottom: none; }

.art-card--wide {
  grid-row: 1 / 3;
  border-right: 1px solid var(--bordure);
  padding-right: 2rem;
}

.art-card:not(.art-card--wide) {
  padding-left: 2rem;
}
.art-card:nth-child(even) {
  border-right: 1px solid var(--bordure);
}

.art-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.art-index {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--bordure);
}

.art-card-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.art-card--wide .art-card-title {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.art-card-title a { transition: color .15s; }
.art-card-title a:hover { color: var(--teal); }

.art-card-desc {
  font-size: 0.9375rem;
  color: var(--gris);
  line-height: 1.6;
}

/* Vignette carte article */
.art-card-visual {
  display: block;
  overflow: hidden;
  border-radius: 3px;
}

.art-card-visual__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.art-card--wide .art-card-visual__img {
  height: 240px;
}

.art-card-visual:hover .art-card-visual__img {
  transform: scale(1.03);
}

/* ============================================================
   PAGE SECTION (/coworking/, /marche/, etc.)
   ============================================================ */

.section-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--bordure);
}

.section-hero .cat-pill {
  margin-bottom: 1rem;
}

.section-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-hero p {
  font-size: 1rem;
  color: var(--gris);
  max-width: 520px;
  line-height: 1.65;
}

.section-content {
  padding: 3.5rem 0 5rem;
}

.section-content .articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.section-content .article-card {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--bordure);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.section-content .article-card:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}
.section-content .article-card:not(:nth-child(3n)) {
  border-right: 1px solid var(--bordure);
  padding-right: 1.5rem;
}
.section-content .article-card:nth-child(n+4) { border-bottom: none; padding-top: 1.5rem; }

/* Vignette dans les cartes de section */
.section-content .article-card .card-thumb {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 0.25rem;
}
.section-content .article-card .card-thumb__img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.section-content .article-card .card-thumb:hover .card-thumb__img {
  transform: scale(1.04);
}

.section-content .article-card .cat-pill { }

.section-content .article-card h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.section-content .article-card h3 a { transition: color .15s; }
.section-content .article-card h3 a:hover { color: var(--teal); }

.section-content .article-card .article-desc {
  font-size: 0.875rem;
  color: var(--gris);
  line-height: 1.55;
  flex: 1;
}

/* ============================================================
   PAGE ARTICLE
   ============================================================ */

.article-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.article-header {
  margin-bottom: 3rem;
}

.article-header .cat-pill { margin-bottom: 1.25rem; }

.article-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.article-sub {
  font-size: 1.0625rem;
  color: var(--gris);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--bordure);
  margin: 1.5rem 0;
}

/* Image hero article */
.article-hero {
  margin: 0 0 3rem;
  padding: 0;
}

.article-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.article-hero__caption {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--texte-secondaire);
  font-style: italic;
  line-height: 1.5;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.875rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--teal);
  display: inline-block;
}

.article-body p { margin-bottom: 1.375rem; line-height: 1.75; }

.article-body ul, .article-body ol {
  margin: 0 0 1.375rem 1rem;
  list-style: disc;
}
.article-body li { margin-bottom: 0.45rem; line-height: 1.65; }

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--fond-alt);
  font-style: italic;
  color: var(--gris);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--footer-bg);
  color: #7a7d8a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand .logo-text {
  color: var(--blanc);
  font-size: 1.125rem;
}
.footer-brand .logo-text em { color: #5dbf9e; }

.footer-brand p {
  font-size: 0.875rem;
  color: #555870;
  margin-top: 0.875rem;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav-col strong {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.5rem;
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: #555870;
  transition: color .15s;
}
.footer-nav-col a:hover { color: var(--blanc); }


.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  gap: 2rem;
  font-size: 0.75rem;
  color: #333545;
}

/* ============================================================
   MÉDIATHÈQUE
   ============================================================ */

.media-section {
  padding: 3rem 0 5rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bordure);
  border: 1px solid var(--bordure);
}

.media-card {
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: background .15s;
}
.media-card:hover { background: var(--fond-alt); }

.media-card-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: pointer;
  background: var(--fond-alt);
}
.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.media-card:hover .media-card-img img { transform: scale(1.04); }

.media-card-placeholder {
  width: 100%; height: 100%;
  background: var(--fond-alt);
}

.media-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 110, 86, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.media-card:hover .media-card-overlay { background: rgba(15, 110, 86, .12); }

.media-card-zoom {
  font-size: 1.5rem;
  color: var(--blanc);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s, transform .2s;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.media-card:hover .media-card-zoom { opacity: 1; transform: scale(1); }

.media-card-body {
  padding: 1rem 1rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.media-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.media-card-num {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--bordure);
}

.media-card-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--noir);
  margin: 0;
}

.media-card-caption {
  font-size: 0.8125rem;
  color: var(--gris);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.media-card-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}

.kw-tag {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gris-light);
  border: 1px solid var(--bordure);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
}

.media-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--bordure);
  margin-top: 0.5rem;
  gap: 0.5rem;
}

/* .media-dl supprimé — téléchargement désactivé (licence Envato) */

.media-dl {
  display: none !important;
}

.media-dl-DISABLED {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  transition: opacity .15s;
}
.media-dl:hover { opacity: .7; }

.media-preview-btn {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gris);
  background: none;
  border: 1px solid var(--bordure);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.media-preview-btn:hover { color: var(--noir); border-color: var(--gris); }

/* ---- Lightbox ---- */

.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 20, .93);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lb-overlay[hidden] { display: none; }

.lb-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
}

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}

.lb-info {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 0.5rem;
  overflow-y: auto;
}

.lb-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blanc);
  line-height: 1.35;
  margin: 0;
}

.lb-caption {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin: 0;
}

.lb-alt-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.35);
  line-height: 1.55;
  margin: 0;
  border-left: 2px solid rgba(255,255,255,.1);
  padding-left: 0.75rem;
  font-style: italic;
}
.lb-alt-label span { color: rgba(255,255,255,.5); }

/* Bandeau licence médiathèque */
.media-license-banner {
  background: #fdf6ec;
  border-top: 1px solid #f0d9b5;
  border-bottom: 1px solid #f0d9b5;
  padding: 0.875rem 0;
}

.media-license-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.media-license-inner svg {
  flex-shrink: 0;
  color: var(--ambre);
  margin-top: 0.125rem;
}

.media-license-inner p {
  font-size: 0.8125rem;
  color: #6b4f1a;
  line-height: 1.55;
  margin: 0;
}

.media-license-inner a {
  color: var(--ambre);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Note de licence dans le lightbox */
.lb-license-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.625rem 0.875rem;
  background: rgba(212, 131, 26, 0.12);
  border: 1px solid rgba(212, 131, 26, 0.25);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #e8a84a;
  font-weight: 500;
}

.lb-dl-wrap { margin-top: auto; }

.lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--blanc);
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 501;
}
.lb-close:hover { background: rgba(255,255,255,.18); }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--blanc);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 501;
}
.lb-nav:hover { background: rgba(255,255,255,.15); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

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

@media (max-width: 1024px) {
  .recents-grid {
    grid-template-columns: 1fr 1fr;
  }
  .art-card--wide { grid-row: auto; }
  .art-card:nth-child(even) { border-right: none; }
  .art-card:not(.art-card--wide) { padding-left: 0; }
}

@media (max-width: 1024px) {
  .lb-inner { grid-template-columns: 1fr; }
  .lb-info { display: none; }
}

@media (max-width: 900px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Featured : empile contenu + image */
  .featured {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .featured-visual { min-height: 260px; }
  .featured-img    { min-height: 260px; }
  /* Réordonne : image en premier sur mobile */
  .featured-content { order: 2; }
  .featured-visual  { order: 1; }
}

@media (max-width: 800px) {
  .featured-foot { gap: 1rem; }
  .featured-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .breves-grid { grid-template-columns: 1fr; }
  .breve-card {
    border-right: none;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--bordure);
  }
  .breve-card:first-child { padding-left: 0; }
  .breve-card:last-child  { border-bottom: none; }
  .breve-thumb__img { height: 180px; }

  .interviews-grid { grid-template-columns: 1fr; }

  .recents-grid { grid-template-columns: 1fr; }
  .art-card--wide { border-right: none; }
  .art-card { padding-left: 0 !important; padding-right: 0 !important; border-right: none !important; }
  .art-card-visual__img { height: 200px; }
  .art-card--wide .art-card-visual__img { height: 220px; }

  .section-content .articles-grid { grid-template-columns: 1fr; }
  .section-content .article-card { border-right: none !important; padding-right: 0 !important; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .media-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--bordure);
    padding: 1rem 2rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 190;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.625rem 0; border-radius: 0; }
  .site-nav a::after { left: 0; right: 0; }

  .header-topbar { display: none; }

  .container { padding: 0 1.25rem; }

  .section-featured { padding-top: 2.5rem; }
  .featured { padding-bottom: 2.5rem; }

  .footer-nav { grid-template-columns: 1fr; }
}
