/* ==========================================================================
   QUEFAIREAPARIS.FR — « LE CARNET »  v1.0.0
   Carnet de bons plans parisien. Crème haussmannien, bleu nuit, rouge métro.
   Bricolage Grotesque (display) · Public Sans (body) · Caveat (notes)
   ========================================================================== */

:root {
  --paper:     #f9f6ef;
  --paper-2:   #f1ecdf;
  --sand:      #e6dfcc;
  --night:     #16263d;
  --night-2:   #0f1b2d;
  --ink:       #24344a;
  --ink-mute:  #5f6b7d;
  --metro:     #b7362d;
  --metro-2:   #93271f;
  --gold:      #d9a13e;
  --gold-soft: #ecd9ae;
  --note-bg:   #f6efdf;

  --f-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --f-body: "Public Sans", "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --card-r: 18px;
  --shadow: 0 10px 26px rgba(22, 38, 61, 0.10), 0 2px 6px rgba(22, 38, 61, 0.06);
  --shadow-soft: 0 6px 16px rgba(22, 38, 61, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   1. BASE + NEUTRALISATION DU CHROME KADENCE
   ========================================================================== */

body #masthead.site-header { display: none !important; }
body .site-footer { display: none !important; }

body {
  background: var(--paper) !important;
  font-family: var(--f-body);
  color: var(--ink);
}

/* grain papier : trame fine crème */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(22, 38, 61, 0.035) 1px, transparent 1.2px);
  background-size: 26px 26px;
}

.site, .wp-site-blocks, .site-container { position: relative; z-index: 1; }

.entry-content,
.wp-site-blocks {
  background: transparent !important;
  color: var(--ink) !important;
}

body.content-style-boxed .site,
body .site { background: transparent !important; box-shadow: none !important; }

body.home .site-container,
body.home .content-container,
body.home #primary,
body.home main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.home .entry-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.home .entry-header { display: none !important; }
body.home article.post,
body.home article.page { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body.page article > .entry-header h1.entry-title { display: block; }
body.home article > .entry-header h1.entry-title { display: none; }

::selection { background: var(--gold-soft); color: var(--night); }

h1, h2, h3, h4, h5,
.entry-title, .site-title {
  font-family: var(--f-display) !important;
  color: var(--night) !important;
  letter-spacing: -0.01em;
  text-transform: none !important;
}

a { color: var(--metro); }
a:hover { color: var(--metro-2); }

:focus-visible {
  outline: 3px solid var(--metro);
  outline-offset: 3px;
  border-radius: 6px;
}

/* pas de double tampon de date */
time.updated { display: none !important; }

/* ==========================================================================
   2. TOPBAR
   ========================================================================== */

.qfp-topbar {
  background: var(--night);
  color: var(--paper-2);
  position: relative;
  z-index: 60;
}
.qfp-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.42rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.qfp-topbar-note { color: var(--gold-soft); font-weight: 600; }
.qfp-topbar-sep { color: var(--gold); }
.qfp-topbar-claim { color: var(--paper-2); }

/* ==========================================================================
   3. MASTHEAD
   ========================================================================== */

.qfp-masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 246, 239, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  box-shadow: 0 1px 0 rgba(22, 38, 61, 0.04);
}
.qfp-mast-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.qfp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.qfp-logo-shape { width: 34px; height: 34px; flex: 0 0 auto; transition: transform 0.35s var(--ease); }
.qfp-logo-pin { fill: var(--metro); }
.qfp-logo-tower { fill: var(--paper); }
.qfp-logo:hover .qfp-logo-shape { transform: translateY(-2px); }
.qfp-logo-word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.42rem;
  color: var(--night);
  line-height: 1;
  letter-spacing: -0.02em;
}
.qfp-logo-dot { color: var(--metro); font-weight: 700; font-size: 1rem; }

.qfp-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
}
.qfp-nav a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.qfp-nav a:hover {
  background: var(--paper-2);
  color: var(--metro-2);
}
.qfp-nav-cta a {
  background: var(--metro);
  color: #fff !important;
  box-shadow: var(--shadow-soft);
  margin-left: 0.4rem;
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-weight: 700;
}
.qfp-nav-cta a:hover {
  background: var(--metro-2);
  color: #fff !important;
}

/* ==========================================================================
   4. PRIMITIVES (boutons, cartes, titres, sections)
   ========================================================================== */

.qfp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: var(--metro);
  color: #fff !important;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.qfp-btn:hover {
  background: var(--metro-2);
  transform: translateY(-2px);
}
.qfp-btn-ghost {
  background: transparent;
  color: var(--night) !important;
  box-shadow: inset 0 0 0 2px var(--night);
}
.qfp-btn-ghost:hover { background: var(--night); color: var(--paper) !important; transform: translateY(-2px); }

.qfp-card {
  background: #fff;
  border-radius: var(--card-r);
  box-shadow: var(--shadow);
  position: relative;
}

.qfp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-hand);
  font-size: 1.35rem;
  color: var(--metro);
}
.qfp-kicker::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.qfp-h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  color: var(--night);
  line-height: 1.12;
  margin: 0.3rem 0 0;
}
.qfp-h2 em, .qfp-hero h1 em {
  font-style: normal;
  color: var(--metro);
}

.qfp-section { position: relative; padding: 4.2rem 1.5rem; }
.qfp-section-inner { max-width: 1140px; margin: 0 auto; }
.qfp-section-alt { background: var(--paper-2); }
.qfp-section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.qfp-section-head p { color: var(--ink-mute); line-height: 1.65; }

/* ==========================================================================
   5. HOME — HERO
   ========================================================================== */

.qfp-hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.qfp-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.qfp-hero h1 {
  font-family: var(--f-display) !important;
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  line-height: 1.06;
  color: var(--night) !important;
  margin: 0.6rem 0 1.2rem;
  letter-spacing: -0.02em;
}
.qfp-hero-lede {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 34rem;
  margin: 0 0 1.7rem;
}
.qfp-hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.qfp-hero-hint {
  margin-top: 1.3rem;
  font-family: var(--f-hand);
  font-size: 1.3rem;
  color: var(--ink-mute);
}

/* Carte "ce soir" du hero : ticket de métro géant */
.qfp-ticket {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.8rem 2rem 1.9rem;
  position: relative;
  transform: rotate(1.6deg);
  transition: transform 0.4s var(--ease);
  border-top: 8px solid var(--gold);
}
.qfp-ticket:hover { transform: rotate(0deg) scale(1.01); }
.qfp-ticket-title {
  font-family: var(--f-hand);
  font-size: 1.55rem;
  color: var(--metro);
  text-align: center;
  margin: 0 0 1.1rem;
}
.qfp-ticket-liste { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.7rem; }
.qfp-ticket-liste li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--paper);
  border-radius: 12px;
  padding: 0.65rem 1rem;
}
.qfp-ticket-num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  background: var(--night);
  border-radius: 50%;
}
.qfp-ticket-liste li:nth-child(2) .qfp-ticket-num { background: var(--metro); }
.qfp-ticket-liste li:nth-child(3) .qfp-ticket-num { background: var(--gold); color: var(--night); }
.qfp-ticket-liste strong { color: var(--night); font-size: 1rem; }
.qfp-ticket-liste small { display: block; color: var(--ink-mute); font-size: 0.9rem; line-height: 1.45; }
.qfp-ticket-note {
  text-align: center;
  font-family: var(--f-hand);
  font-size: 1.2rem;
  color: var(--ink-mute);
  margin: 0;
}

/* ==========================================================================
   6. HOME — ENVIES (6 entrées piliers)
   ========================================================================== */

.qfp-envies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.qfp-envie {
  background: #fff;
  border-radius: var(--card-r);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.6rem 1.6rem;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.3s;
  border-left: 5px solid var(--gold);
}
.qfp-envie:nth-child(2n) { border-left-color: var(--metro); }
.qfp-envie:nth-child(3n) { border-left-color: var(--night); }
.qfp-envie:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.qfp-envie-tag {
  font-family: var(--f-hand);
  font-size: 1.15rem;
  color: var(--metro);
}
.qfp-envie h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
  color: var(--night);
}
.qfp-envie p {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.55;
  flex: 1;
}
.qfp-envie-go {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--metro);
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s;
}
.qfp-envie:hover .qfp-envie-go { gap: 0.7rem; color: var(--metro-2); }

/* ==========================================================================
   7. HOME — RUBRIQUES (5 catégories)
   ========================================================================== */

.qfp-guides-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.3rem;
}
.qfp-guide-card {
  background: var(--night);
  border-radius: var(--card-r);
  padding: 1.6rem 1.3rem 1.4rem;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.qfp-guide-card:hover { transform: translateY(-5px); background: var(--night-2); }
.qfp-guide-card h3 { margin: 0; font-size: 1.12rem; color: #fff !important; }
.qfp-guide-card p { margin: 0; color: var(--gold-soft); font-size: 0.9rem; line-height: 1.5; flex: 1; }
.qfp-guide-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.14em;
}

/* ==========================================================================
   8. HOME — NOTES DE SAISON
   ========================================================================== */

.qfp-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.qfp-note {
  background: var(--note-bg);
  border-radius: 6px 20px 8px 22px;
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.5rem 1.5rem;
  position: relative;
  transform: rotate(-0.8deg);
  transition: transform 0.35s var(--ease);
}
.qfp-note:nth-child(2) { transform: rotate(0.7deg); background: #fff; }
.qfp-note:nth-child(3) { transform: rotate(-0.4deg); }
.qfp-note:hover { transform: rotate(0) scale(1.02); }
.qfp-note::before {
  content: "";
  position: absolute;
  top: -9px; left: 22px;
  width: 64px; height: 18px;
  background: var(--gold-soft);
  opacity: 0.75;
  border-radius: 2px;
  transform: rotate(-2deg);
}
.qfp-note h3 {
  font-family: var(--f-hand) !important;
  font-size: 1.5rem;
  color: var(--metro) !important;
  margin: 0 0 0.5rem;
}
.qfp-note p { margin: 0; line-height: 1.6; font-size: 0.98rem; }
.qfp-note a { font-weight: 700; }

/* ==========================================================================
   9. HOME — REPÈRES (la méthode maison)
   ========================================================================== */

.qfp-reperes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.qfp-repere {
  text-align: center;
  padding: 1.8rem 1.2rem;
  background: #fff;
  border-radius: var(--card-r);
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--sand);
}
.qfp-repere-badge {
  width: 52px; height: 52px;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--metro);
}
.qfp-repere h3 { font-size: 1.08rem; margin: 0 0 0.4rem; }
.qfp-repere p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink); }

/* ==========================================================================
   10. HOME — HISTOIRE (section nuit) + CTA BLOG
   ========================================================================== */

.qfp-histoire {
  background: var(--night);
  color: var(--paper-2);
  border-radius: 26px;
  padding: 3.2rem 2.8rem;
  position: relative;
  overflow: hidden;
}
.qfp-histoire::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 230px; height: 230px;
  background: var(--metro);
  opacity: 0.22;
  border-radius: 50%;
}
.qfp-histoire::after {
  content: "";
  position: absolute;
  bottom: -90px; left: -50px;
  width: 200px; height: 200px;
  background: var(--gold);
  opacity: 0.13;
  border-radius: 50%;
}
.qfp-histoire-inner { position: relative; z-index: 2; max-width: 740px; }
.qfp-histoire .qfp-kicker { color: var(--gold-soft); }
.qfp-histoire h2 {
  color: #fff !important;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 0.4rem 0 1rem;
}
.qfp-histoire h2 em { font-style: normal; color: var(--gold); }
.qfp-histoire p { line-height: 1.7; margin: 0 0 1.4rem; color: var(--paper-2); }
.qfp-histoire .qfp-btn { background: var(--paper); color: var(--night) !important; }
.qfp-histoire .qfp-btn:hover { background: #fff; }

.qfp-blogcta { text-align: center; }
.qfp-blogcta p {
  font-family: var(--f-hand);
  font-size: 1.45rem;
  color: var(--ink-mute);
  margin: 0 0 1.2rem;
}

/* ==========================================================================
   11. PAGES & ARTICLES (site-wide hors home)
   ========================================================================== */

body:not(.home) .content-container { padding-top: 1.5rem; }

body:not(.home) .entry-content {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.1rem;
  line-height: 1.75;
}

body:not(.home) article.post,
body:not(.home) article.page {
  background: #fff !important;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 2.4rem clamp(1.2rem, 4vw, 3.4rem) 2.8rem !important;
  max-width: 900px;
  margin: 1rem auto 3rem !important;
}

body:not(.home) h1.entry-title {
  font-size: clamp(1.8rem, 4.2vw, 2.6rem) !important;
  line-height: 1.12 !important;
  margin-bottom: 0.4rem;
}

.entry-content h2 {
  font-size: 1.62rem !important;
  margin-top: 2.4rem;
  padding-bottom: 0.4rem;
  position: relative;
}
.entry-content h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.4rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--metro) 0 55%, var(--gold) 55% 100%);
}
.entry-content h3 { font-size: 1.28rem !important; margin-top: 1.9rem; }

.entry-content a { font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--metro); }

.entry-content ul:not([class]) { list-style: none; padding-left: 0.4rem; }
.entry-content ul:not([class]) > li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
}
.entry-content ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 11px; height: 11px;
  background: var(--gold);
  border-radius: 3px;
  transform: rotate(45deg);
}
.entry-content ol:not([class]) > li { margin-bottom: 0.55rem; }
.entry-content ol:not([class]) > li::marker {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--metro);
}

.entry-content blockquote {
  background: var(--paper);
  border: none !important;
  border-left: 5px solid var(--gold) !important;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.6rem !important;
  font-style: normal;
}

.entry-content strong { color: var(--night); }

.entry-content img {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.entry-content table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.entry-content table th {
  background: var(--night);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border: none;
}
.entry-content table td {
  padding: 0.62rem 1rem;
  border: none;
  border-top: 1px solid var(--sand);
}
.entry-content table tr:nth-child(even) td { background: var(--paper); }

/* TOC (easy-table-of-contents) */
#ez-toc-container {
  background: var(--paper) !important;
  border: none !important;
  border-left: 5px solid var(--gold) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-soft) !important;
  padding: 1.3rem 1.5rem !important;
}
#ez-toc-container .ez-toc-title {
  font-family: var(--f-hand) !important;
  font-size: 1.4rem !important;
  color: var(--metro) !important;
}
#ez-toc-container a { color: var(--ink) !important; font-weight: 600; }
#ez-toc-container a:hover { color: var(--metro) !important; }

.entry-meta, .entry-meta a { color: var(--ink-mute) !important; font-size: 0.93rem; }

/* encart auteur / disclaimer */
.qfp-author-disclaimer {
  background: var(--note-bg) !important;
  border-left: 5px solid var(--metro) !important;
  font-size: 0.98rem;
}

/* ==========================================================================
   12. ARCHIVES / CATÉGORIES / BLOG
   ========================================================================== */

.archive .entry-header.archive-header,
.blog .entry-header.archive-header { text-align: center; }

.loop-entry {
  background: #fff !important;
  border-radius: var(--card-r) !important;
  box-shadow: var(--shadow-soft) !important;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.3s;
}
.loop-entry:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.loop-entry h2.entry-title { font-size: 1.3rem !important; line-height: 1.28 !important; }
.loop-entry .entry-taxonomies a,
.loop-entry .entry-taxonomies .category-links {
  font-family: var(--f-hand);
  color: var(--metro) !important;
  font-size: 1.1rem;
}

.archive-title, h1.page-title { font-size: clamp(1.7rem, 3.8vw, 2.5rem) !important; }

.pagination .page-numbers {
  border-radius: 999px !important;
  font-family: var(--f-display);
  font-weight: 700;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: none !important;
  color: var(--ink) !important;
}
.pagination .page-numbers.current {
  background: var(--metro) !important;
  color: #fff !important;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.qfp-footer {
  position: relative;
  background: var(--night);
  color: var(--paper-2);
  margin-top: 4.2rem;
  border-top: 6px solid var(--gold);
}
.qfp-foot-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 1.9rem;
}
.qfp-foot-mast { text-align: center; margin-bottom: 2.4rem; }
.qfp-foot-logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
}
.qfp-foot-logo span { color: var(--gold); font-size: 1.2rem; }
.qfp-foot-tag {
  max-width: 520px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
  color: var(--gold-soft);
}

.qfp-foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}
.qfp-foot-col h4 {
  font-family: var(--f-hand) !important;
  font-size: 1.45rem;
  color: var(--gold) !important;
  margin: 0 0 0.8rem;
}
.qfp-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.42rem; }
.qfp-foot-col a {
  color: var(--paper-2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s, padding-left 0.3s;
}
.qfp-foot-col a:hover { color: #fff; padding-left: 0.3rem; }

.qfp-foot-base {
  border-top: 1px solid rgba(236, 217, 174, 0.25);
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--gold-soft);
}
.qfp-foot-note { max-width: 620px; }

/* ==========================================================================
   14. REVEAL + MOTION
   ========================================================================== */

.qfp-io {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.6s var(--ease);
}
.qfp-io.in { opacity: 1; transform: none; }
.qfp-io:nth-child(2) { transition-delay: 0.07s; }
.qfp-io:nth-child(3) { transition-delay: 0.14s; }
.qfp-io:nth-child(4) { transition-delay: 0.21s; }
.qfp-io:nth-child(5) { transition-delay: 0.28s; }
.qfp-io:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .qfp-io { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .qfp-envies { grid-template-columns: repeat(2, 1fr); }
  .qfp-guides-grid { grid-template-columns: repeat(3, 1fr); }
  .qfp-reperes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .qfp-hero-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .qfp-ticket { transform: rotate(0); max-width: 480px; margin: 0 auto; }
  .qfp-notes-grid { grid-template-columns: 1fr; }
  .qfp-histoire { padding: 2.4rem 1.6rem; border-radius: 20px; }
}

@media (max-width: 640px) {
  .qfp-topbar-inner { padding: 0.3rem 0.6rem; gap: 0.3rem; flex-wrap: nowrap; font-size: 0.76rem; }
  .qfp-topbar-claim, .qfp-topbar-sep { display: none; }
  .qfp-topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .qfp-masthead { background: var(--paper); backdrop-filter: none; }
  .qfp-mast-inner { justify-content: center; padding: 0.45rem 0.8rem; gap: 0.3rem; }
  .qfp-logo-shape { width: 27px; height: 27px; }
  .qfp-logo-word { font-size: 1.2rem; }

  .qfp-nav { max-width: 100%; }
  .qfp-nav ul { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .qfp-nav ul::-webkit-scrollbar { display: none; }
  .qfp-nav a { padding: 0.38rem 0.58rem; font-size: 0.88rem; white-space: nowrap; }

  .qfp-envies { grid-template-columns: 1fr; }
  .qfp-guides-grid { grid-template-columns: repeat(2, 1fr); }
  .qfp-reperes-grid { grid-template-columns: 1fr; }
  .qfp-foot-cols { grid-template-columns: 1fr; gap: 1.7rem; }
  .qfp-foot-base { justify-content: center; text-align: center; }
  .qfp-section { padding: 3rem 1.2rem; }
  body:not(.home) article.post,
  body:not(.home) article.page { padding: 1.6rem 1.1rem 2rem !important; border-radius: 16px; }
}

/* ==========================================================================
   16. FIGURES & VIDÉOS DANS LES ARTICLES
   ========================================================================== */
.qfp-figure { margin: 2rem 0; }
.qfp-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.qfp-figure figcaption, .qfp-video figcaption {
  font-family: var(--f-hand);
  font-size: 1.15rem;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 0.6rem;
}
.qfp-video { margin: 2.2rem 0; }
.qfp-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--night);
}
.qfp-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   17. FAQ (details/summary) — auto-FAQPage schema
   ========================================================================== */
article details {
  background: var(--paper);
  border-radius: 12px;
  margin: 0.75rem 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border-left: 4px solid var(--gold);
}
article details summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.25rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--night);
  position: relative;
  padding-right: 3rem;
  transition: background 0.25s;
}
article details summary::-webkit-details-marker { display: none; }
article details summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45rem;
  color: var(--metro);
  transition: transform 0.3s var(--ease);
}
article details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
article details summary:hover { background: var(--paper-2); }
article details > p { padding: 0 1.25rem 1.05rem; margin: 0; }


/* ==========================================================================
   Bloc "En bref" en tete d'article (genere par Otomatic)
   ========================================================================== */
.en-bref {
  background: var(--note-bg);
  border: 1px solid var(--sand);
  border-left: 4px solid var(--metro);
  border-radius: var(--card-r);
  padding: 1.4rem 1.5rem 1.2rem;
  margin: 1.8rem 0;
  box-shadow: var(--shadow-soft);
}
.en-bref__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--night);
  margin: 0 0 0.55rem;
}
.en-bref__sep { color: var(--gold); }
.en-bref__time {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-mute);
}
.en-bref__lead { margin: 0 0 0.75rem; font-size: 0.99rem; color: var(--ink); }
.en-bref__list { list-style: none; margin: 0; padding: 0; }
.en-bref__list li {
  padding: 0.35rem 0;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink);
}
@media (max-width: 600px) {
  .en-bref { padding: 1.1rem 1.1rem 1rem; }
}
