/*
Theme Name: Voyager a Londres
Theme URI: https://www.voyager-a-londres.com
Author: Webinstrass
Description: Theme WordPress sur mesure pour voyager-a-londres.com.
Version: 1.0.2
Text Domain: voyager-a-londres
*/

/* ============================================================
   VOYAGER À LONDRES — styles.css
   Palette : blanc chaud, bleu encre, rouge bus, vert parc
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --ink:        #1B2A4A;
  --bus:        #C8102E;
  --park:       #4A7C59;
  --sky:        #3A6EA5;
  --warm-white: #FAF9F7;
  --cream:      #F3F0EB;
  --mid-grey:   #6B7280;
  --light-grey: #E8E4DF;
  --text:       #2D3142;
  --text-light: #6B7280;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(27,42,74,.08);
  --shadow-md:  0 4px 16px rgba(27,42,74,.10);
  --shadow-lg:  0 8px 32px rgba(27,42,74,.14);

  --container:  1200px;
  --section-v:  80px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--bus); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bus);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-intro { color: var(--text-light); max-width: 600px; font-size: 1.05rem; margin-bottom: 40px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--bus);
  color: #fff;
  border-color: var(--bus);
}
.btn-primary:hover {
  background: #a50d26;
  border-color: #a50d26;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: #fff;
}
.btn-sm { padding: 8px 16px; font-size: .82rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid var(--light-grey);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
/* Wordmark logo */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-top {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.logo-main span { color: var(--bus); }
.site-logo:hover .logo-main { color: var(--bus); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 12px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--bus);
  background: rgba(200,16,46,.06);
}
.nav-cta {
  margin-left: 8px;
  background: var(--bus) !important;
  color: #fff !important;
  border-radius: var(--radius-md) !important;
  padding: 8px 16px !important;
}
.nav-cta:hover { background: #a50d26 !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ───────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--light-grey);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--light-grey);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--bus); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,.7) 0%, rgba(27,42,74,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--section-v) 0;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,16,46,.9);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero .lead {
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

/* ── Hero article ─────────────────────────────────────────── */
.hero-article {
  min-height: 340px;
  padding: 60px 0;
}
.hero-article h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.hero-article .hero-bg { opacity: .32; }
.hero-article .hero-overlay {
  background: linear-gradient(110deg, rgba(27,42,74,.92) 0%, rgba(27,42,74,.70) 45%, rgba(27,42,74,.36) 100%);
}

/* ── Sections ─────────────────────────────────────────────── */
section { padding: var(--section-v) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.9); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-label { color: rgba(200,16,46,.9); }
.section-dark .section-intro { color: rgba(255,255,255,.7); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bus);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.card-text { font-size: .875rem; color: var(--text-light); }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-light);
}
.card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--bus);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { color: var(--ink); }
/* Card horizontal */
.card-h {
  display: grid;
  grid-template-columns: 160px 1fr;
}
.card-h .card-img { height: 100%; width: 160px; }

/* ── Grid layouts ─────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ── Feature blocks ───────────────────────────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.feature-text { display: flex; flex-direction: column; gap: 16px; }
.feature-text h2 { margin-bottom: 0; }

/* ── Icon list ────────────────────────────────────────────── */
.icon-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.icon-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(200,16,46,.1);
  color: var(--bus);
}
.icon-list-body h4 { margin-bottom: 4px; font-size: .95rem; }
.icon-list-body p { font-size: .875rem; color: var(--text-light); margin: 0; }

/* ── Info cards (petites fiches pratiques) ────────────────── */
.info-card {
  background: var(--cream);
  border-left: 4px solid var(--bus);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-card.info-tip { border-color: var(--park); }
.info-card.info-warning { border-color: #D97706; }
.info-card.info-disclaimer {
  background: #faf8f5;
  border-left-color: rgba(200,16,46,.45);
  padding: 16px 20px;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.65;
}
.info-card.info-disclaimer p { margin: 0; }
.info-card-title {
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bus);
  margin-bottom: 8px;
}
.info-tip .info-card-title { color: var(--park); }
.info-warning .info-card-title { color: #D97706; }

/* ── Table ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
thead tr { background: var(--ink); color: #fff; }
thead th { padding: 12px 16px; text-align: left; font-weight: 600; }
tbody tr:nth-child(even) { background: var(--cream); }
tbody tr:hover { background: rgba(200,16,46,.04); }
tbody td { padding: 11px 16px; border-bottom: 1px solid var(--light-grey); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.article-body .faq-list { margin-bottom: 52px; }
.faq-item {
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .2s;
}
.faq-question:hover { background: var(--cream); }
.faq-icon { font-size: 1.2rem; color: var(--bus); transition: transform .3s; flex-shrink: 0; }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: #fff;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: .5; }
.breadcrumb-current { color: rgba(255,255,255,.9); }

/* Breadcrumb light (page blanche) */
.breadcrumb-light {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-light);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb-light a { color: var(--text-light); }
.breadcrumb-light a:hover { color: var(--bus); }

/* ── Article layout ───────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
}
.article-layout > *,
.article-body,
.sidebar {
  min-width: 0;
}
.article-body {
  max-width: 100%;
  overflow-wrap: break-word;
}
.article-body > * {
  max-width: 100%;
}
.article-body h2 { margin: 40px 0 16px; font-size: 1.7rem; }
.article-body h3 { margin: 28px 0 12px; font-size: 1.25rem; }
.article-body p { margin-bottom: 1.2rem; line-height: 1.75; }
.article-body ul, .article-body ol {
  margin: 16px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.article-featured-image {
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream);
}
.article-featured-image img {
  display: block;
  width: 100%;
  height: clamp(260px, 36vw, 420px);
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
.article-body .encadre {
  background: #fff7f1;
  border-left: 4px solid var(--bus);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 26px 0;
}
.article-body .encadre--coeur {
  border-left-color: var(--bus);
}
.article-body .encadre--savoir {
  background: #f5f8fc;
  border-left-color: var(--sky);
}
.article-body .encadre--astuce {
  background: #f7fbf6;
  border-left-color: var(--park);
}
.article-body .encadre p:last-child,
.article-body .encadre ul:last-child,
.article-body .encadre ol:last-child {
  margin-bottom: 0;
}
.article-body .table-scroll {
  margin: 24px 0 30px;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-md);
  background: #fff;
}
.article-body .faq-q {
  width: 100%;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.article-body .faq-q::-webkit-details-marker { display: none; }
.article-body .faq-a {
  padding: 0 20px 18px;
  color: var(--text-light);
}

/* TOC */
.toc {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0 36px;
  max-width: 100%;
  min-width: 0;
}
.toc-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.toc li { list-style: decimal; }
.toc a { font-size: .875rem; color: var(--sky); font-weight: 500; }
.toc a:hover { color: var(--bus); }

/* Sidebar */
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bus);
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  font-size: .875rem;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  border: 1px solid var(--light-grey);
}
.sidebar-links a:hover {
  color: var(--bus);
  border-color: var(--bus);
  background: rgba(200,16,46,.04);
}

/* ── Tags / badges ────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.tag-ink  { background: rgba(27,42,74,.08); color: var(--ink); }
.tag-bus  { background: rgba(200,16,46,.1); color: var(--bus); }
.tag-park { background: rgba(74,124,89,.1); color: var(--park); }
.tag-sky  { background: rgba(58,110,165,.1); color: var(--sky); }

/* ── Itinerary cards ──────────────────────────────────────── */
.itinerary-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-grey);
  transition: transform .25s, box-shadow .25s;
}
.itinerary-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.itinerary-card-header {
  padding: 24px;
  background: var(--ink);
  color: #fff;
  position: relative;
}
.itinerary-days {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1;
  color: var(--bus);
}
.itinerary-card-header h3 { color: #fff; font-size: 1.1rem; margin-top: 4px; }
.itinerary-card-body { padding: 20px; }
.itinerary-steps { display: flex; flex-direction: column; gap: 8px; }
.itinerary-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
}
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bus);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ── Budget table ─────────────────────────────────────────── */
.budget-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
}
.budget-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-grey);
}
.budget-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200,16,46,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bus);
}
.budget-total { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-family: var(--font-serif); }
.budget-per-day { font-size: .8rem; color: var(--text-light); }
.budget-items { display: flex; flex-direction: column; gap: 10px; }
.budget-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
}
.budget-item-label { color: var(--text-light); }
.budget-item-val { font-weight: 600; color: var(--ink); }

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-grey);
}
.stat-box {
  background: var(--warm-white);
  padding: 32px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bus);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: .85rem; color: var(--text-light); }

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2d4a80 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.05rem; }
.cta-banner-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 16px;
}
.footer-logo .logo-top { color: rgba(255,255,255,.5); }
.footer-logo .logo-main { color: #fff; }
.footer-desc { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: rgba(255,255,255,.9); }

/* ── Form ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius-md);
  font-size: .9rem;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(58,110,165,.12);
}
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 600;
  border: 1.5px solid var(--light-grey);
  background: #fff;
  color: var(--text);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--bus); color: var(--bus); }
.pagination .current { background: var(--bus); border-color: var(--bus); color: #fff; }

/* ── Reveal on scroll ─────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── 404 ──────────────────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-num {
  font-size: 8rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--light-grey);
  line-height: 1;
}

/* ── Archive / category ───────────────────────────────────── */
.archive-header {
  background: var(--ink);
  padding: 48px 0;
  color: #fff;
}
.archive-header h1 { color: #fff; margin-bottom: 8px; }
.archive-header p { color: rgba(255,255,255,.75); max-width: 580px; }
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--light-grey);
}
.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--light-grey);
  background: #fff;
  cursor: pointer;
  color: var(--text);
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--bus);
  color: var(--bus);
  background: rgba(200,16,46,.05);
}

/* ── Plan du site ─────────────────────────────────────────── */
.sitemap-section { margin-bottom: 40px; }
.sitemap-section h2 { font-size: 1.3rem; margin-bottom: 16px; color: var(--ink); padding-bottom: 8px; border-bottom: 2px solid var(--bus); }
.sitemap-links { display: flex; flex-direction: column; gap: 6px; }
.sitemap-links a { font-size: .9rem; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--light-grey); display: flex; align-items: center; gap: 8px; }
.sitemap-links a:hover { color: var(--bus); }
.sitemap-shortcode { background: var(--cream); border: 1px dashed var(--light-grey); border-radius: var(--radius-md); padding: 24px; font-size: .875rem; color: var(--text-light); margin-top: 16px; }
.sitemap-dynamic .wrap-html-sitemap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}
.sitemap-dynamic .sp-wrap-cpt,
.sitemap-dynamic .sp-wrap-cat {
  margin-bottom: 40px;
}
.sitemap-dynamic .sp-cpt-name,
.sitemap-dynamic .sp-cat-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bus);
}
.sitemap-dynamic .sp-cat-name {
  margin-top: 0;
}
.sitemap-dynamic .sp-cat-name a {
  color: var(--ink);
}
.sitemap-dynamic .sp-list-posts {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sitemap-dynamic .sp-list-posts li,
.sitemap-dynamic .page_item {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid var(--light-grey);
  color: var(--text-light);
  font-size: .9rem;
}
.sitemap-dynamic .sp-list-posts a {
  color: var(--text);
  font-weight: 500;
}
.sitemap-dynamic .sp-list-posts a:hover,
.sitemap-dynamic .sp-cat-name a:hover {
  color: var(--bus);
}
.sitemap-dynamic .sp-wrap-cats {
  display: block;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --section-v: 56px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sitemap-dynamic .wrap-html-sitemap { grid-template-columns: 1fr; gap: 0; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .feature-img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 40px 24px; }
  .card-h { grid-template-columns: 1fr; }
  .card-h .card-img { width: 100%; height: 200px; }
  .hero { min-height: 480px; }
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  .article-layout { gap: 28px; padding: 36px 0; }
  .article-body h2 { font-size: 1.45rem; }
  .article-body img { height: auto; max-height: 300px; }
  .toc, .info-card, .budget-card { padding: 18px; }
  .toc ol, .article-body ul, .article-body ol { max-width: 100%; }
  .article-body > table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-wrap table,
  .article-body > table {
    min-width: 560px;
  }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .container { padding-left: 18px !important; padding-right: 18px !important; }
  .toc, .info-card, .budget-card { padding: 16px; }
  .stats-strip { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
