/* Ville Rose Immobilier — brique toulousaine, violette et crème. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --creme: #fbf4ea;
  --creme-deep: #f3e4d1;
  --surface: #fffaf4;
  --line: #e5d0bb;
  --encre: #2e1f26;
  --encre-soft: #4a3540;
  --muted: #6b5560;
  --brique: #b24a35;
  --brique-sombre: #8a3423;
  --brique-nuit: #5e2419;
  --rose: #e9b3a2;
  --rose-pale: #f7e0d6;
  --violette: #5a3478;
  --violette-pale: #eee4f4;
  --radius: 6px;
  --arch: 999px 999px 6px 6px;
  --shadow: 0 1px 0 rgb(94 36 25 / 8%), 0 14px 30px -18px rgb(94 36 25 / 45%);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 36px);
  /* Appareil de briques : une rangée pleine, une rangée décalée, joints couleur crème. */
  --bricks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24'%3E%3Cg fill='%23fff'%3E%3Crect x='1' y='1' width='30' height='10' opacity='.07'/%3E%3Crect x='33' y='1' width='30' height='10' opacity='.14'/%3E%3Crect x='17' y='13' width='30' height='10' opacity='.03'/%3E%3Crect x='49' y='13' width='15' height='10' opacity='.1'/%3E%3Crect x='0' y='13' width='15' height='10' opacity='.1'/%3E%3C/g%3E%3Cpath d='M0 .5h64M0 12.5h64M.5 0v12M32.5 0v12M16.5 12v12M48.5 12v12' stroke='%23fbf4ea' stroke-opacity='.38'/%3E%3C/svg%3E");
}

/* Teintes de rubrique : vive (fond), encre (texte sur clair), douce (fond teinté). */
.tone-0 { --tone: #b24a35; --tone-ink: #8a3423; --tone-soft: #f7e0d6; }
.tone-1 { --tone: #5a3478; --tone-ink: #4b2a66; --tone-soft: #eee4f4; }
.tone-2 { --tone: #35557f; --tone-ink: #2b4668; --tone-soft: #e1e8f2; }
.tone-3 { --tone: #2d6a64; --tone-ink: #235550; --tone-soft: #dcede9; }
.tone-4 { --tone: #a4661a; --tone-ink: #7c4c10; --tone-soft: #f6e7cf; }
.tone-5 { --tone: #9b3f63; --tone-ink: #7e3050; --tone-soft: #f5dfe7; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--violette); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brique-sombre); }
:focus-visible { outline: 3px solid var(--violette); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
  color: var(--encre);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--encre); color: var(--creme);
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--creme); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 12px;
  color: var(--brique-sombre);
  font: 700 .78rem/1.3 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow .icon { color: var(--violette); width: 1.3em; height: 1.3em; }
.eyebrow a { color: inherit; }

.button, button, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid var(--brique); border-radius: var(--radius);
  background: var(--brique); color: #fff;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.button:hover, button:hover, input[type="submit"]:hover { background: var(--brique-sombre); border-color: var(--brique-sombre); color: #fff; }
.button:active, button:active { transform: translateY(1px); }
.button .icon { transition: transform .2s; }
.button:hover .icon { transform: translateX(3px); }
.button--ghost { background: transparent; color: var(--brique-sombre); }
.button--ghost:hover { background: var(--rose-pale); color: var(--brique-nuit); }

.chip {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid color-mix(in srgb, var(--tone, var(--brique)) 35%, transparent);
  border-radius: 999px;
  background: var(--tone-soft, var(--rose-pale));
  color: var(--tone-ink, var(--brique-sombre));
  font: 700 .74rem/1.5 var(--font-body);
  letter-spacing: .03em;
  text-decoration: none;
}
.chip:hover { background: var(--tone-ink, var(--brique-sombre)); border-color: var(--tone-ink, var(--brique-sombre)); color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brique-sombre);
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--rose);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--brique); color: var(--brique-nuit); }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* Formulaires */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--encre);
  font: inherit;
}
input:focus, textarea:focus, select:focus { border-color: var(--violette); outline: 3px solid var(--violette-pale); outline-offset: 0; }
::placeholder { color: #8b7780; opacity: 1; }
label { font-weight: 600; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; }
.search-form button { flex: none; padding-inline: 18px; }
.search-form button span { display: none; }
@media (min-width: 560px) { .search-form button span { display: inline; } }

/* Bandeau supérieur en briques */
.topbar {
  background: var(--brique-sombre) var(--bricks);
  color: #fff;
  font-size: .82rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-place { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-shadow: 0 1px 0 rgb(0 0 0 / 25%); }
.topbar-place [lang="oc"] { font-family: var(--font-display); font-style: italic; font-size: 1rem; }
.topbar-text { flex: 1; text-align: center; opacity: .95; text-shadow: 0 1px 0 rgb(0 0 0 / 25%); }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--rose-pale); }
@media (max-width: 760px) { .topbar-text, .topbar-feed { display: none; } }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 244 234 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.branding { margin-right: auto; }
.custom-logo { max-height: 56px; width: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; }
.wordmark:hover { color: var(--encre); }
.brand-seal {
  display: grid; place-items: center;
  width: 48px; height: 52px;
  border-radius: 999px 999px 4px 4px;
  background: var(--brique) var(--bricks);
  color: #f6d38a;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 18%);
}
.brand-cross { width: 30px; height: 30px; margin-top: 4px; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font: 600 1.28rem/1.1 var(--font-display); letter-spacing: -0.01em; }
.brand-tag { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .04em; }
.wordmark:hover .brand-name { color: var(--brique-sombre); }

/* Navigation principale */
.nav-menu, .nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--encre);
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.nav-menu a:hover { background: var(--rose-pale); color: var(--brique-nuit); }
.nav-menu a[aria-current="page"], .nav-menu .current-menu-item > a { color: var(--brique-sombre); box-shadow: inset 0 -3px 0 var(--brique); border-radius: var(--radius) var(--radius) 0 0; }
.nav-menu .sub-menu {
  position: absolute; left: 0; top: 100%;
  min-width: 230px; padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--brique);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { font-weight: 500; }

/* Recherche de l’en-tête (fonctionne sans JavaScript grâce à <details>) */
.header-search { position: relative; }
.header-search summary {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line); border-radius: 999px;
  color: var(--encre); cursor: pointer; list-style: none;
}
.header-search summary::-webkit-details-marker { display: none; }
.header-search summary:hover { border-color: var(--brique); color: var(--brique-sombre); }
.header-search summary .icon:last-child { display: none; }
.header-search[open] summary .icon:first-child { display: none; }
.header-search[open] summary .icon:last-child { display: block; }
.header-search-panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  width: min(440px, calc(100vw - 32px));
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.menu-toggle { display: none; }

/* Navigation mobile : sans JavaScript, le menu reste affiché sous l’en-tête. */
@media (max-width: 1020px) {
  .header-inner { flex-wrap: wrap; min-height: 68px; padding-block: 10px; }
  .primary-nav { order: 10; flex-basis: 100%; }
  .nav-menu { flex-wrap: wrap; }
  .js .menu-toggle {
    display: inline-flex; gap: 10px;
    min-height: 46px; padding: 10px 16px;
    background: var(--surface); color: var(--encre);
    border: 1.5px solid var(--line); border-radius: 999px;
  }
  .js .menu-toggle:hover { background: var(--rose-pale); border-color: var(--brique); color: var(--brique-nuit); }
  .menu-lines, .menu-lines::before, .menu-lines::after {
    display: block; width: 18px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: transform .2s, background-color .2s;
  }
  .menu-lines { position: relative; align-self: center; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; padding: 8px 0 14px; border-top: 1px solid var(--line); margin-top: 8px; }
  .js .primary-nav .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--rose);
    border-radius: 0; margin: 0 0 6px 14px; padding: 0; background: transparent;
  }
  .brand-tag { display: none; }
}

/* Héros : texte à gauche, grande arcade de briques à droite */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(circle at 12% 18%, rgb(233 179 162 / 45%), transparent 42%),
    radial-gradient(circle at 88% 90%, rgb(90 52 120 / 12%), transparent 40%),
    var(--creme);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 24px;
  background: var(--brique) var(--bricks);
  opacity: .9;
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: 18px; }
.hero h1::after {
  content: "";
  display: block;
  width: 96px; height: 10px;
  margin-top: 20px;
  background: var(--brique) var(--bricks);
  border-radius: 2px;
}
.hero-text { max-width: 58ch; color: var(--encre-soft); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 32px 0 0; padding: 18px 0 0;
  list-style: none;
  border-top: 1px dashed var(--rose);
  color: var(--muted); font-size: .92rem;
}
.hero-stats strong { display: block; color: var(--violette); font: 600 1.9rem/1.1 var(--font-display); }

.hero-arch {
  position: relative;
  padding: 16px 16px 0;
  background: var(--brique) var(--bricks);
  border-radius: var(--arch);
  box-shadow: var(--shadow), inset 0 0 0 1px rgb(0 0 0 / 8%);
}
.hero-arch::after {
  content: "";
  position: absolute; left: -12px; right: -12px; bottom: -12px;
  height: 14px;
  background: var(--creme-deep);
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* Arcade vide : la fenêtre donne sur un ciel rose, avec sa plaque de rue bilingue. */
.arch-illustration {
  position: relative;
  min-height: clamp(320px, 42vw, 460px);
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(180deg, transparent 62%, rgb(94 36 25 / 30%) 62%, rgb(94 36 25 / 30%) 64%, transparent 64%),
    linear-gradient(90deg, transparent 49%, rgb(94 36 25 / 30%) 49%, rgb(94 36 25 / 30%) 51%, transparent 51%),
    linear-gradient(180deg, #f6d9c9 0%, #eab7a6 45%, #b995c7 100%);
  box-shadow: inset 0 0 0 6px var(--creme-deep);
}
.arch-plaque {
  position: absolute; left: 50%; bottom: 36px;
  display: grid; gap: 2px;
  min-width: 70%;
  padding: 12px 20px;
  transform: translateX(-50%);
  background: #23426e;
  border: 3px double #fff;
  border-radius: 8px;
  box-shadow: 0 10px 20px -10px rgb(0 0 0 / 50%);
  color: #fff; text-align: center;
}
.arch-plaque strong { font: 600 1.25rem/1.2 var(--font-display); }
.arch-plaque em { font-size: .9rem; opacity: .9; }

/* Cartes d’article */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgb(94 36 25 / 8%), 0 22px 40px -20px rgb(94 36 25 / 55%); }
.card-media {
  display: block;
  margin: 12px 12px 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 999px 999px 4px 4px / 60% 60% 4px 4px;
  background: var(--tone-soft, var(--rose-pale));
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.placeholder {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: var(--tone, var(--brique)) var(--bricks);
}
.placeholder-window {
  display: grid; place-items: center;
  width: 34%; aspect-ratio: 3 / 4;
  border-radius: 999px 999px 3px 3px;
  background: var(--creme);
  box-shadow: 0 0 0 5px rgb(255 255 255 / 22%);
  color: var(--tone-ink, var(--brique-sombre));
  font: 600 clamp(1.6rem, 4vw, 2.6rem)/1 var(--font-display);
  font-style: italic;
}
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.card-time { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .8rem; }
.card-title { margin: 0; font-size: 1.22rem; line-height: 1.22; }
.card-title a { color: var(--encre); text-decoration: none; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.card-title a:hover { color: var(--brique-nuit); background-size: 100% 2px; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .chip, .card-meta a { position: relative; z-index: 2; }
.card-excerpt { margin: 0; color: var(--encre-soft); font-size: .96rem; }
.card-date { margin-top: auto; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }

/* Carte principale dans l’arcade */
.card--lead { border: 0; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: none; }
.card--lead:hover { transform: none; box-shadow: none; }
.card--lead .card-media { margin: 0; aspect-ratio: 4 / 3; border-radius: 999px 999px 0 0 / 70% 70% 0 0; }
.card--lead .placeholder-window { width: 26%; }
.card--lead .card-body { padding: 22px 26px 30px; background: var(--surface); }
.card--lead .card-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* Carte compacte : vignette à gauche */
.card--compact { flex-direction: row; align-items: center; gap: 0; }
.card--compact .card-media { flex: none; width: 92px; aspect-ratio: 3 / 4; margin: 12px 0 12px 12px; }
.card--compact .placeholder-window { width: 52%; font-size: 1.2rem; box-shadow: 0 0 0 3px rgb(255 255 255 / 22%); }
.card--compact .card-body { padding: 12px 16px; gap: 6px; }
.card--compact .card-title { font-size: 1.02rem; }
.card--compact .card-date { display: none; }

/* Carte texte seule */
.card--text { box-shadow: none; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.card--text:hover { transform: none; box-shadow: none; }
.card--text .card-body { padding: 16px 0; gap: 6px; }
.card--text .card-title { font-size: 1.08rem; }
.card--text .card-date { display: none; }

.une-row { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 56px); padding-bottom: 20px; }
@media (min-width: 700px) { .une-row { grid-template-columns: repeat(3, 1fr); } }

/* En-têtes de section */
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-heading h2 { margin: 0; }
.section-title { position: relative; padding-left: 22px; }
.section-title::before {
  content: "";
  position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 8px;
  background: var(--brique) var(--bricks);
  border-radius: 2px;
}

/* Fiches quartiers : façon fiche cartonnée, onglet numéroté, faits clés */
.fiche-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.fiche {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.fiche:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 1px 0 rgb(94 36 25 / 8%), 0 22px 40px -20px rgb(94 36 25 / 55%); }
.fiche-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: var(--tone-ink) var(--bricks);
  color: #fff;
}
.fiche-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 0 rgb(0 0 0 / 30%); }
.fiche-number {
  display: grid; place-items: center;
  min-width: 44px; height: 44px;
  background: var(--creme);
  border-radius: 999px 999px 3px 3px;
  color: var(--tone-ink);
  font: 600 1.25rem/1 var(--font-display);
}
.fiche-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 18px 8px; background: repeating-linear-gradient(transparent 0 27px, rgb(229 208 187 / 45%) 27px 28px); }
.fiche-title { margin: 0; font-size: 1.4rem; }
.fiche-title a { color: var(--encre); text-decoration: none; }
.fiche-title a:hover { color: var(--tone-ink); }
.fiche-text { margin: 0; color: var(--encre-soft); font-size: .93rem; }
.fiche-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; margin: 0; }
.fiche-facts div { padding: 8px 10px; background: var(--tone-soft); border-radius: 4px; }
.fiche-facts dt { color: var(--tone-ink); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fiche-facts dd { margin: 0; font: 600 1.15rem/1.3 var(--font-display); color: var(--encre); }
.fiche-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fiche-last { margin: 0; font-size: .9rem; line-height: 1.45; }
.fiche-last span { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fiche-last a { color: var(--encre); font-weight: 600; }
.fiche-link {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 18px 16px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--tone-ink); font-weight: 700; font-size: .92rem; text-decoration: none;
}
.fiche-link:hover { color: var(--tone); }
.fiche-link .icon { transition: transform .2s; }
.fiche-link:hover .icon { transform: translateX(4px); }

/* Grilles d’articles */
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.latest-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) {
  .latest-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .post-grid--two { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) and (max-width: 999px) { .post-grid--two { grid-template-columns: repeat(2, 1fr); } }

/* Le plan du site : index des grands dossiers */
.plan {
  position: sticky; top: 110px;
  padding: 24px;
  background: var(--violette);
  border-radius: var(--arch);
  padding-top: 56px;
  color: #fff;
}
.plan h3 { display: flex; align-items: center; gap: 10px; justify-content: center; color: #fff; font-size: 1.35rem; }
.plan-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: plan; }
.plan-list > li { counter-increment: plan; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / 20%); }
.plan-link { display: flex; align-items: baseline; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; }
.plan-link::before { content: counter(plan, decimal-leading-zero); color: var(--rose); font: 600 .95rem/1 var(--font-display); font-style: italic; }
.plan-link span:first-child { flex: 1; }
.plan-link:hover { color: var(--rose-pale); text-decoration: underline; }
.plan-count { padding: 1px 9px; border-radius: 999px; background: rgb(255 255 255 / 16%); font-size: .8rem; }
.plan-sub { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0 30px; padding: 0; list-style: none; font-size: .84rem; }
.plan-sub a { color: #eadcf2; }
.plan-sub a:hover { color: #fff; }
@media (max-width: 999px) { .plan { position: static; } }

/* Grands dossiers : mur de briques sombre, trois colonnes façon affiches */
.section--bricks { background: var(--brique-nuit) var(--bricks); color: #fff; }
.section-heading--light h2 { color: #fff; }
.section-heading--light .eyebrow { color: var(--rose); }
.dossier-blocks { display: grid; gap: 24px; }
@media (min-width: 880px) { .dossier-blocks { grid-template-columns: repeat(3, 1fr); } }
.dossier {
  padding: 26px 24px 12px;
  background: var(--creme);
  border-radius: var(--radius);
  border-top: 6px solid var(--tone);
  color: var(--encre);
  box-shadow: 0 18px 30px -18px rgb(0 0 0 / 60%);
}
.dossier-heading { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.dossier-heading h3 { margin: 0; color: var(--tone-ink); font-size: 1.5rem; }
.dossier-heading .text-link { align-self: flex-start; font-size: .9rem; }

/* Bandeau de recherche */
.search-band {
  position: relative;
  padding-block: clamp(48px, 7vw, 80px);
  background: linear-gradient(135deg, var(--violette) 0%, #43245c 100%);
  color: #fff;
  overflow: hidden;
}
.search-band-inner { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; }
.search-band h2 { max-width: 26ch; margin: 0; color: #fff; }
.search-band .search-form { width: min(620px, 100%); }
.search-band input[type="search"] { border-color: transparent; }
.search-band button { background: var(--brique); border-color: var(--brique); }
.search-band button:hover { background: #fff; border-color: #fff; color: var(--violette); }
.band-cross { width: 56px; height: 56px; color: #f6d38a; }

/* États vides */
.empty-state {
  display: grid; gap: 10px; justify-items: center;
  max-width: 640px; margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  background: var(--surface);
  border: 2px dashed var(--rose);
  border-radius: var(--arch);
  padding-top: clamp(56px, 8vw, 80px);
  text-align: center;
}
.empty-state h2, .empty-state h3 { margin: 0; }
.empty-state p { margin: 0; color: var(--encre-soft); }
.empty-state .search-form { width: 100%; margin-top: 10px; }
.empty-state--soft { grid-column: 1 / -1; border-radius: var(--radius); padding: 24px; max-width: none; }
.empty-seal { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--brique-sombre) var(--bricks); color: #f6d38a; }
.empty-cross { width: 40px; height: 40px; }

/* En-têtes d’archive et de page */
.archive-heading {
  margin-top: calc(-1 * clamp(48px, 7vw, 88px));
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, var(--tone-soft, var(--rose-pale)), var(--creme));
  border-bottom: 1px solid var(--line);
  position: relative;
}
.archive-heading::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 12px;
  background: var(--tone-ink, var(--brique)) var(--bricks);
}
.archive-heading h1 { max-width: 22ch; }
.archive-heading .eyebrow { color: var(--tone-ink, var(--brique-sombre)); }
.archive-description { max-width: 65ch; color: var(--encre-soft); }
.archive-count { display: inline-block; margin: 6px 0 0; padding: 4px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 600; }
.archive-children { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.archive-heading .search-form { max-width: 560px; margin-top: 18px; }
.page-heading { margin-bottom: clamp(28px, 4vw, 44px); }

/* Pagination */
.pagination { margin-top: clamp(36px, 5vw, 56px); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
  display: inline-grid; place-items: center;
  min-width: 46px; height: 46px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px 999px 4px 4px;
  background: var(--surface); color: var(--encre);
  font-weight: 700; text-decoration: none;
}
.page-numbers:hover { border-color: var(--brique); color: var(--brique-sombre); }
.page-numbers.current { background: var(--brique-sombre) var(--bricks); border-color: var(--brique-sombre); color: #fff; }
.page-numbers.dots { border: 0; background: transparent; }

/* Article */
.reading-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 4px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brique), var(--violette)); transform: scaleX(0); transform-origin: 0 50%; }
.single-main article, .single-main .post-navigation, .single-main .related, .single-main .comments { max-width: 1180px; }
.article-heading { max-width: 800px; margin: 0 auto clamp(28px, 4vw, 40px); text-align: center; }
.article-heading h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .86rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.breadcrumb a:not(.chip) { color: var(--muted); }
.article-standfirst { max-width: 62ch; margin: 0 auto 20px; color: var(--encre-soft); font: italic 600 1.2rem/1.55 var(--font-display); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; color: var(--muted); font-size: .9rem; }
.article-avatar { border-radius: 999px 999px 4px 4px; }
.article-author { color: var(--encre); font-weight: 700; }
.article-cover { max-width: 1040px; margin: 0 auto clamp(32px, 5vw, 48px); }
.article-cover img { width: 100%; border-radius: 999px 999px var(--radius) var(--radius) / 180px 180px var(--radius) var(--radius); }
.article-cover figcaption { margin-top: 10px; color: var(--muted); font-size: .86rem; text-align: center; }
.article-bricks { max-width: 220px; height: 14px; margin: 0 auto clamp(32px, 5vw, 44px); background: var(--tone, var(--brique)) var(--bricks); border-radius: 2px; }

/* Contenu éditorial */
.entry-content { max-width: 720px; margin-inline: auto; font-size: 1.09rem; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { margin-top: 1.8em; padding-bottom: .3em; border-bottom: 2px solid var(--rose); }
.entry-content h3 { margin-top: 1.5em; color: var(--brique-sombre); }
.entry-content a { color: var(--violette); text-decoration-thickness: 2px; text-decoration-color: rgb(90 52 120 / 35%); }
.entry-content a:hover { color: var(--brique-sombre); text-decoration-color: currentColor; }
.entry-content ul { padding-left: 1.3em; }
.entry-content ul li::marker { color: var(--brique); }
.entry-content ol li::marker { color: var(--violette); font-weight: 700; }
.entry-content blockquote, .entry-content .wp-block-quote {
  margin-inline: 0; padding: 20px 24px 20px 28px;
  background: var(--violette-pale);
  border-left: 6px solid var(--violette); border-radius: 0 var(--radius) var(--radius) 0;
  font: italic 600 1.2rem/1.55 var(--font-display);
}
.entry-content blockquote cite { display: block; margin-top: 8px; font: 600 .85rem var(--font-body); font-style: normal; color: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content thead th { background: var(--brique-sombre); color: #fff; }
.entry-content tbody tr:nth-child(even) { background: var(--creme-deep); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content img { border-radius: var(--radius); height: auto; }
.entry-content figcaption { color: var(--muted); font-size: .86rem; text-align: center; }
.entry-content pre { overflow-x: auto; padding: 16px; background: var(--encre); color: var(--creme); border-radius: var(--radius); }
.entry-content hr { border: 0; height: 10px; background: var(--brique) var(--bricks); max-width: 120px; margin-block: 2.5em; border-radius: 2px; }
.alignwide { max-width: 1120px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: .86rem; }
.sticky, .bypostauthor { outline: none; }
.post-password-form { max-width: 520px; margin: 0 auto; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.post-password-form input[type="password"] { margin-top: 6px; }
.page-links { clear: both; margin-top: 24px; font-weight: 700; }

/* Pied d’article et partage */
.article-footer { max-width: 720px; margin: clamp(32px, 5vw, 48px) auto 0; padding-top: 24px; border-top: 1px dashed var(--rose); display: grid; gap: 18px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--encre-soft); font-size: .84rem; text-decoration: none; }
.article-tags a::before { content: "#"; color: var(--brique); }
.article-tags a:hover { border-color: var(--brique); color: var(--brique-sombre); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { margin-right: 6px; font-weight: 700; }
.share a, .copy-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 14px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--encre);
  font: 600 .88rem/1.2 var(--font-body); text-decoration: none;
}
.share a:hover, .copy-link:hover { border-color: var(--violette); background: var(--violette-pale); color: var(--violette); }
.copy-link.is-done { border-color: var(--violette); background: var(--violette); color: #fff; }

/* Navigation entre articles, « Dans le même secteur » */
.post-navigation { margin: clamp(40px, 6vw, 64px) auto 0; }
.post-navigation .nav-links { display: grid; gap: 16px; }
@media (min-width: 700px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } }
.post-navigation a {
  display: grid; gap: 4px; height: 100%;
  padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--encre); font: 600 1.08rem/1.35 var(--font-display); text-decoration: none;
}
.post-navigation .nav-next a { text-align: right; }
.post-navigation a span { color: var(--brique-sombre); font: 700 .74rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.post-navigation a:hover { border-color: var(--brique); box-shadow: var(--shadow); }
.related { margin-top: clamp(48px, 7vw, 80px); }

/* Commentaires */
.comments { max-width: 760px; margin: clamp(48px, 7vw, 80px) auto 0; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(16px, 4vw, 40px); padding-left: 16px; border-left: 2px solid var(--rose); }
.comment-body { margin-bottom: 18px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { border-radius: 999px 999px 4px 4px; }
.comment-author .fn { font-style: normal; font-weight: 700; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 10px; font-size: .82rem; }
.comment-metadata a { color: var(--muted); }
.comment-awaiting-moderation { color: var(--brique-sombre); font-size: .9rem; }
.reply a { font-size: .86rem; font-weight: 700; color: var(--violette); }
.bypostauthor > .comment-body { border-left: 4px solid var(--violette); }
.comment-respond { margin-top: 32px; padding: clamp(20px, 4vw, 32px); background: var(--creme-deep); border-radius: var(--radius); }
.comment-reply-title { font-size: 1.5rem; }
.comment-reply-title small { margin-left: 10px; font: 600 .86rem var(--font-body); }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 4px; font-size: .92rem; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .9rem; }
.comments-closed { color: var(--muted); font-style: italic; }

/* 404 : plaque de rue égarée */
.not-found { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 980px; margin: 0 auto; }
@media (min-width: 800px) { .not-found { grid-template-columns: 300px 1fr; } }
.not-found-sign {
  display: grid; gap: 4px; justify-items: center;
  padding: 26px 20px;
  background: #23426e;
  border: 4px double #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 10px var(--brique-sombre), 0 20px 30px -12px rgb(0 0 0 / 45%);
  color: #fff;
  transform: rotate(-3deg);
}
.not-found-code { font: 600 clamp(4rem, 12vw, 6rem)/1 var(--font-display); }
.not-found-sign em { font-size: 1.05rem; }
.not-found .search-form { margin: 18px 0; max-width: 520px; }

/* Pied de page */
.site-footer { margin-top: 0; background: var(--encre); color: #e9dcd9; }
.footer-bricks { height: 36px; background: var(--brique) var(--bricks); border-bottom: 4px solid var(--brique-nuit); }
.footer-grid { display: grid; gap: 36px; padding-block: clamp(40px, 6vw, 64px); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-footer .wordmark, .site-footer .wordmark:hover { color: #fff; }
.site-footer .brand-tag { display: block; color: #cbb5bb; }
.footer-about p { margin-top: 16px; max-width: 36ch; color: #cbb5bb; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 1.15rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e9dcd9; text-decoration: none; }
.site-footer a:hover { color: var(--rose); text-decoration: underline; }
.footer-col li a::before { content: ""; display: inline-block; width: 8px; height: 10px; margin-right: 10px; border-radius: 99px 99px 1px 1px; background: var(--brique); vertical-align: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / 12%); color: #cbb5bb; font-size: .86rem; }
.footer-motto { display: inline-flex; align-items: center; gap: 8px; }
.footer-motto .icon { color: #c9a6e0; }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card:hover, .fiche:hover { transform: none; }
}

/* Impression */
@media print {
  .topbar, .site-header, .site-footer, .reading-progress, .share, .post-navigation, .related, .comment-respond, .search-band, .hero::after { display: none !important; }
  body { background: #fff; color: #000; }
  .entry-content a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
