/* Location Vélo Paris — Bleu nuit / Rouge vélo · Template C */
:root {
  --c-bg: #f8f8fb;
  --c-surface: #ffffff;
  --c-border: #e4e4ee;
  --c-text: #18181e;
  --c-muted: #6c6c82;
  --c-accent: #d42b2b;
  --c-accent-hover: #b82222;
  --c-accent-light: #fff0f0;
  --c-dark: #12121a;
  --c-blue: #1b2d5c;
  --c-blue2: #243a78;
  --c-hero-bg: #12121a;
  --c-hero-text: #ffffff;
  --c-tag: #ffe8e8;
  --c-tag-text: #b32222;
  --c-gold: #e8a020;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 8px rgba(18,18,26,.07);
  --shadow-lg: 0 5px 24px rgba(18,18,26,.11);
  --max-w: 1100px;
  --font: 'Georgia', 'Times New Roman', serif;
  --font-ui: system-ui, -apple-system, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hover); }

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

/* ── Header ── */
header {
  background: var(--c-blue);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(18,18,26,.35);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 58px;
}

.logo {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: -.01em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo em { color: #e85454; font-style: normal; }
.logo:hover { color: #fff; }

.header-nav { margin-left: auto; }
.header-nav ul { list-style: none; display: flex; gap: 0; flex-wrap: wrap; align-items: center; }
.header-nav a {
  color: rgba(255,255,255,.72);
  font-size: .85rem;
  padding: .45rem .75rem;
  border-radius: 5px;
  transition: all .15s;
  font-weight: 500;
  white-space: nowrap;
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.header-nav a.search-link { font-size: 1rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .75rem 1.5rem;
  font-size: .82rem;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb-sep { color: var(--c-border); }

/* ── Hero (homepage) ── */
.hero {
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,43,43,.08) 0%, rgba(27,45,92,.25) 100%);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
}
.hero-text { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--c-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .28rem .75rem;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 1rem;
  font-weight: bold;
}
.hero h1 em { color: #e85454; font-style: normal; }
.hero-tagline {
  color: rgba(255,255,255,.65);
  font-size: .97rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 520px;
}
.hero-stats { display: flex; gap: 2.5rem; }
.stat-num {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .2rem;
}
.hero-wheel {
  font-size: 7rem;
  opacity: .18;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Main layout ── */
main { flex: 1; }

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

/* ── Section header ── */
.section-hd {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--c-border);
}
.section-hd h2 {
  font-family: var(--font);
  font-size: 1.3rem;
  color: var(--c-dark);
}
.section-hd .see-all {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 800;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Featured line (top article) ── */
.featured-line {
  background: var(--c-blue);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}
.fl-img {
  width: 220px;
  flex-shrink: 0;
  background: var(--c-blue2);
  overflow: hidden;
}
.fl-img img { width: 100%; height: 100%; object-fit: cover; }
.fl-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.fl-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fl-badge {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--c-gold);
  margin-bottom: .5rem;
}
.fl-title {
  font-family: var(--font);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.25;
  font-weight: bold;
  margin-bottom: .6rem;
}
.fl-title a { color: #fff; }
.fl-title a:hover { color: rgba(255,255,255,.8); }
.fl-excerpt {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin-bottom: .9rem;
}
.fl-meta {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fl-read {
  font-size: .82rem;
  font-weight: 700;
  color: #e85454;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-left: auto;
}

/* ── Article lines (list layout) ── */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}
.article-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .9rem 1.1rem;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  transition: background .15s;
  text-decoration: none;
  color: inherit;
}
.article-list .article-line:first-child {
  border-top: 1px solid var(--c-border);
  border-radius: var(--radius) var(--radius) 0 0;
}
.article-list .article-line:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}
.article-list .article-line:only-child {
  border-radius: var(--radius);
}
.article-line:hover { background: #fafafa; }

.al-thumb {
  width: 80px;
  height: 58px;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--c-accent-light);
  overflow: hidden;
}
.al-thumb img { width: 100%; height: 100%; object-fit: cover; }
.al-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.al-body { flex: 1; min-width: 0; }
.al-cat {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-accent);
  margin-bottom: .15rem;
}
.al-title {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--c-dark);
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: .2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-excerpt {
  font-size: .82rem;
  color: var(--c-muted);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  color: var(--c-muted);
  margin-top: .3rem;
}
.al-arrow {
  color: var(--c-border);
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 300;
}

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.col-label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--c-muted);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}

/* ── Tags / chips ── */
.tag {
  background: var(--c-tag);
  color: var(--c-tag-text);
  padding: .1rem .45rem;
  border-radius: 3px;
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
}
.chip {
  display: inline-block;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  transition: all .15s;
}
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ── Page header (categories, tags) ── */
.page-header {
  background: var(--c-dark);
  padding: 2rem 1.5rem;
  margin-bottom: 0;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-header .category-label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-gold);
  margin-bottom: .5rem;
}
.page-header h1 {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  line-height: 1.2;
}
.page-header p {
  color: rgba(255,255,255,.6);
  margin-top: .5rem;
  font-size: .95rem;
}

/* ── Article page ── */
.article-header {
  background: var(--c-dark);
  padding: 2.5rem 1.5rem;
}
.article-header-inner {
  max-width: 760px;
  margin: 0 auto;
}
.article-meta-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  margin-bottom: .9rem;
  flex-wrap: wrap;
}
.article-category-badge {
  background: var(--c-accent);
  color: #fff;
  padding: .18rem .55rem;
  border-radius: 3px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.article-date { color: rgba(255,255,255,.5); }
.article-header h1 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: .9rem;
}
.article-excerpt-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}
.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}
.article-tags-row .chip {
  font-size: .75rem;
  padding: .2rem .6rem;
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.05);
}
.article-tags-row .chip:hover { border-color: #e85454; color: #e85454; }

.article-body-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Series banner */
.series-banner {
  background: var(--c-blue);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.series-label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-gold);
}
.series-link {
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
}
.series-progress { color: rgba(255,255,255,.55); font-size: .82rem; }
.series-nav { display: flex; gap: .35rem; margin-left: auto; }
.series-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.series-dot-current { background: var(--c-accent); }
.series-dot-published { background: rgba(255,255,255,.4); }
.series-dot-upcoming { background: rgba(255,255,255,.15); }

/* Prose */
.prose { font-family: var(--font); font-size: 1.05rem; line-height: 1.8; color: var(--c-text); }
.prose h2 { font-size: 1.4rem; color: var(--c-dark); margin: 2rem 0 .8rem; line-height: 1.25; }
.prose h3 { font-size: 1.15rem; color: var(--c-dark); margin: 1.5rem 0 .6rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--c-dark); }
.prose a { color: var(--c-accent); border-bottom: 1px solid var(--c-accent-light); }
.prose a:hover { border-color: var(--c-accent); }
.prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--c-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--c-muted);
}
.prose img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-lg);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .92rem; }
.prose th { background: var(--c-blue); color: #fff; padding: .6rem .9rem; text-align: left; font-weight: 700; }
.prose td { padding: .55rem .9rem; border-bottom: 1px solid var(--c-border); }
.prose tr:nth-child(even) td { background: var(--c-bg); }
.prose code {
  background: var(--c-bg); border: 1px solid var(--c-border);
  padding: .1rem .35rem; border-radius: 3px; font-size: .88em;
}

.article-footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  font-size: .82rem;
  color: var(--c-muted);
}

/* Related articles */
.related-articles {
  background: var(--c-surface);
  border-top: 2px solid var(--c-border);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}
.related-inner { max-width: var(--max-w); margin: 0 auto; }
.related-articles h2 {
  font-family: var(--font);
  font-size: 1.2rem;
  color: var(--c-dark);
  margin-bottom: 1.25rem;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
}
.pagination-info { font-size: .88rem; color: var(--c-muted); }
.btn-outline {
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  transition: all .15s;
}
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ── Search page ── */
.search-page { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.5rem; }
.search-page h1 {
  font-family: var(--font);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--c-dark);
}
#search-input {
  width: 100%;
  padding: .85rem 1.25rem;
  font-size: 1.05rem;
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  background: var(--c-surface);
  color: var(--c-text);
  outline: none;
  transition: border-color .15s;
}
#search-input:focus { border-color: var(--c-accent); }
.search-count { font-size: .85rem; color: var(--c-muted); margin-bottom: 1.25rem; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--c-muted);
}
.empty-state h1 { font-size: 3rem; font-weight: 900; color: var(--c-border); margin-bottom: 1rem; }

/* ── Category chips bar ── */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

/* ── Footer ── */
footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.5);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font);
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: .5rem;
}
.footer-tagline { font-size: .85rem; line-height: 1.55; }
.footer-heading {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: rgba(255,255,255,.4);
  margin-bottom: .75rem;
}
footer ul { list-style: none; }
footer li { margin-bottom: .35rem; }
footer a { color: rgba(255,255,255,.4); transition: color .15s; }
footer a:hover { color: #e85454; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: .8rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-wheel { display: none; }
  .hero-inner { padding: 2rem 1.25rem; }
  .two-col { grid-template-columns: 1fr; gap: 1rem; }
  .featured-line { flex-direction: column; }
  .fl-img { width: 100%; height: 180px; }
  .header-nav ul { gap: 0; }
  .header-nav a { padding: .4rem .5rem; font-size: .8rem; }
  .al-excerpt { display: none; }
}
