/* ==========================================================================
   city.css : gabarit « affiche » des pages villes et départements (template-city.php, thème v2)
   S'appuie sur les jetons et composants de shell.css (.section, .eyebrow, .btn, .wave-divider,
   .postcard, .faq__item) et sur la prose de pages.css (.aff-prose).
   ========================================================================== */
.city { background: var(--sand, #F4ECDC); color: var(--ink, #14213D); }
.city .section { padding-block: clamp(72px, 9vw, 140px); }

/* ---------- Titres de section ---------- */
.city-h2 {
  font-family: var(--f-display, "Fraunces", serif);
  font-size: clamp(36px, 4.8vw, 76px);
  font-weight: 750; line-height: .96; letter-spacing: -.035em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-wrap: balance; margin-top: 16px; max-width: 22ch;
}
.city .city-h2 em { font-style: italic; font-weight: 400; color: var(--coral-deep, #B02A22); font-variation-settings: "SOFT" 100, "WONK" 1; }
.city .section-head { margin-bottom: clamp(32px, 4.5vw, 60px); }
.city .section-head__lead { max-width: 62ch; }

/* ---------- Hero affiche ---------- */
.city-hero { position: relative; padding: calc(var(--header-h, 92px) + 36px) 0 0; overflow: clip; }
.city-hero__crumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; padding: 0; list-style: none; font-family: var(--f-mono, monospace); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft, #3C4A66); }
.city .city-hero__crumb a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(20, 33, 61, .3); }
.city .city-hero__crumb a:hover { color: var(--coral-ink, #8F2219); border-color: currentColor; }
.city-hero__crumb li + li::before { content: "·"; margin-right: 10px; }
.city-hero__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.city-hero__title {
  font-family: var(--f-display, "Fraunces", serif);
  font-size: clamp(54px, 8.6vw, 150px);
  font-weight: 800; line-height: .9; letter-spacing: -.045em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 14px 0 0; text-wrap: balance;
}
.city .city-hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--coral-deep, #B02A22); font-variation-settings: "SOFT" 100, "WONK" 1; }
.city-hero__tagline { margin: 20px 0 0; font-family: var(--f-display, serif); font-style: italic; font-weight: 500; font-size: clamp(21px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.015em; max-width: 24ch; font-variation-settings: "SOFT" 100, "WONK" 1; }
.city-hero__side { display: grid; gap: 22px; padding-bottom: 10px; }
.city-hero__lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-soft, #3C4A66); max-width: 44ch; }
.city-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.city-hero__frame { position: relative; margin: clamp(30px, 4vw, 54px) 0 0; }
.city-hero__frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover;
  border: 2px solid var(--ink); border-radius: var(--r-l, 36px); box-shadow: var(--shadow-flat, 6px 6px 0 var(--ink));
  background: var(--mist, #E4ECEF);
}
body.affiche-inner .city-hero__frame img { border-radius: var(--r-l, 36px); }
/* crédit photo (Wikimedia Commons) : discret, sous le cadre, à droite pour laisser le macaron bas-gauche */
.city-hero__frame .hero__credit { margin: 12px 0 0; padding-left: clamp(100px, 12vw, 180px); text-align: right; font-family: var(--f-mono, "DM Mono", ui-monospace, monospace); font-size: 11px; line-height: 1.4; letter-spacing: .02em; color: color-mix(in srgb, var(--ink, #14213D) 60%, transparent); }
.city .city-hero__frame .hero__credit a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.city .city-hero__frame .hero__credit a:hover { color: var(--ink, #14213D); }

/* macarons ronds (distance, capacité) */
.city-sticker { position: absolute; width: clamp(104px, 11vw, 168px); aspect-ratio: 1; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.city-sticker > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: city-spin 20s linear infinite; filter: drop-shadow(3px 3px 0 var(--ink)); }
.city-sticker text { font-family: var(--f-mono, monospace); font-size: 15.5px; font-weight: 500; letter-spacing: .12em; fill: var(--ink); }
.city-sticker__big { position: relative; font-family: var(--f-display, serif); font-weight: 800; font-size: clamp(20px, 2.3vw, 34px); line-height: .95; letter-spacing: -.04em; color: var(--ink); text-align: center; max-width: 60%; font-variation-settings: "SOFT" 100, "WONK" 1; }
.city-sticker__big small { display: block; font-family: var(--f-mono, monospace); font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.city-sticker--a { right: -12px; top: -40px; rotate: 8deg; }
.city-sticker--b { left: -12px; bottom: -36px; rotate: -6deg; }
@keyframes city-spin { to { transform: rotate(360deg); } }

/* ---------- En bref (carte postale) ---------- */
.city-brief { --bg: var(--sand); padding-top: clamp(64px, 8vw, 120px) !important; }
.city .postcard__title { font-size: clamp(30px, 3.6vw, 54px); }
.city .postcard__title em { font-style: italic; font-weight: 400; color: var(--coral-deep, #B02A22); }
.city .postcard__summary a { color: var(--coral-ink, #8F2219); }
.city .postcard__facts { padding-top: 120px; }
.city .postcard__facts div { grid-template-columns: 104px 1fr; }
.city .postcard__facts dd a { color: var(--coral-ink, #8F2219); }
.city .postcard__facts dd ul { margin: 0; padding: 0; list-style: none; }
.city .postcard__facts dd li { display: inline; }
.city .postcard__facts dd li:not(:last-child)::after { content: ", "; }
.city-hook { margin: clamp(40px, 5vw, 72px) auto 0; max-width: 980px; text-align: center; font-family: var(--f-display, serif); font-style: italic; font-weight: 450; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.25; letter-spacing: -.015em; text-wrap: balance; }
.city-hook::before { content: ""; display: block; width: 72px; height: 6px; margin: 0 auto 26px; border-radius: 999px; background: var(--coral); box-shadow: 86px 0 0 var(--sun), 172px 0 0 var(--green); translate: -86px 0; }

/* ---------- Pourquoi : prose + atouts ---------- */
.city-why { --bg: var(--sand); }
.city-why__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.city-usp { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: sticky; top: calc(var(--header-h, 92px) + 24px); }
.city-usp__title { margin-bottom: 4px; }
.city-usp li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--cream, #FFF9EF); border: 2px solid var(--ink); border-radius: var(--r-m, 24px); box-shadow: var(--shadow-flat, 6px 6px 0 var(--ink)); font-size: 16.5px; line-height: 1.45; font-weight: 600; }
.city-usp svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); }

/* ---------- Formats (bandeau encre) ---------- */
.city-formats { --bg: var(--ink); color: var(--cream, #FFF9EF); }
.city-formats .city-h2 { color: var(--cream, #FFF9EF); }
.city-formats .city-h2 em { color: var(--sun); }
.city-formats .section-head__lead { color: rgba(255, 249, 240, .78); }
.city-formats__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.aff-prose.city-prose--light p, .aff-prose.city-prose--light li { color: rgba(255, 249, 240, .86); }
.aff-prose.city-prose--light strong { color: var(--cream, #FFF9EF); }
.aff-prose.city-prose--light a { color: var(--sun); }
.aff-prose.city-prose--light ul li::marker { color: var(--sun); }
.city-formats__aside { position: sticky; top: calc(var(--header-h, 92px) + 24px); display: grid; gap: 14px; padding: 26px; border-radius: var(--r-m, 24px); background: #172A44; border: 2px solid rgba(255, 249, 240, .18); }
.city-formats__aside .eyebrow { color: var(--sun); }
.city-formats__aside p { color: rgba(255, 249, 240, .8); font-size: 16px; line-height: 1.5; }
.city-formats__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.city .city-formats__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 249, 240, .06); color: var(--cream, #FFF9EF); text-decoration: none; font-weight: 700; border: 1.5px solid rgba(255, 249, 240, .14); transition: background .3s, transform .3s var(--ease); }
.city .city-formats__list a:hover { background: rgba(255, 249, 240, .12); transform: translateX(4px); }
.city-formats__list small { display: block; font-weight: 500; font-size: 13.5px; color: rgba(255, 249, 240, .65); margin-top: 2px; }
.city-formats__list svg { flex: none; width: 18px; height: 18px; color: var(--sun); }
.city-formats__aside .btn { justify-self: start; margin-top: 6px; }

/* ---------- Lieux ---------- */
.city-places { --bg: var(--paper, #FBF6EC); }
.city-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.city-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .35s var(--ease-back, ease), box-shadow .3s, background .3s; }
a.city-chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); background: var(--sun); }
.city-chip--sun { background: var(--sun); }
.city .city-chip--ink { background: var(--ink); color: var(--cream, #FFF9EF); }
.city a.city-chip--ink:hover { background: var(--coral); color: var(--cream, #FFF9EF); }
.city-chip--static { box-shadow: none; background: var(--cream, #FFF9EF); font-weight: 600; }
.city-chip svg { width: 14px; height: 14px; }
.city-places__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; }
.city-places__facts div { display: flex; gap: 10px; align-items: baseline; }
.city-places__facts dt { font-family: var(--f-mono, monospace); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink, #8F2219); }
.city-places__facts dd { margin: 0; font-weight: 600; font-size: 16px; }
.city-places__types { margin-top: 30px; }
.city-places__label { font-family: var(--f-mono, monospace); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft, #3C4A66); margin-bottom: 12px; }
.city-venues { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.city .city-venue { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 170px; padding: 22px 22px 20px; background: var(--cream, #FFF9EF); border: 2px solid var(--ink); border-radius: var(--r-m, 24px); box-shadow: var(--shadow-flat, 6px 6px 0 var(--ink)); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.city-venue:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.city-venue__num { font-family: var(--f-mono, monospace); font-size: 12px; letter-spacing: .14em; color: var(--coral-ink, #8F2219); }
.city-venue__name { font-family: var(--f-display, serif); font-weight: 700; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -.02em; flex: 1; }
.city-venue__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--coral-ink, #8F2219); }
.city-venue__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.city-venue:hover .city-venue__more svg { transform: translateX(4px); }
.city-places__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(28px, 4vw, 44px); }
.city-places__foot p { max-width: 58ch; color: var(--ink-soft, #3C4A66); font-size: 16.5px; margin: 0; }

/* ---------- Expériences, à savoir ---------- */
.city-xp { --bg: var(--sand); }
.city-know { --bg: var(--paper, #FBF6EC); }
.city-know__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.city-callout { position: sticky; top: calc(var(--header-h, 92px) + 24px); padding: 28px; background: var(--sun); border: 2px solid var(--ink); border-radius: var(--r-m, 24px); box-shadow: var(--shadow-flat, 6px 6px 0 var(--ink)); display: grid; gap: 14px; }
.city-callout__title { font-family: var(--f-display, serif); font-weight: 750; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.02; letter-spacing: -.03em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.city-callout p { font-size: 16px; line-height: 1.5; margin: 0; }
.city-callout__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.city-callout a[href^="tel"] { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

/* ---------- Villes du département, autour ---------- */
.city-around { --bg: var(--sand); }
.city-around__block + .city-around__block { margin-top: clamp(32px, 4vw, 48px); }
.city-links { list-style: none; margin: clamp(26px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.city .city-link { display: grid; gap: 6px; height: 100%; padding: 18px 20px; background: var(--cream, #FFF9EF); border: 2px solid var(--ink); border-radius: var(--r-s, 14px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.city-link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.city-link strong { font-family: var(--f-display, serif); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.city-link span { font-size: 14.5px; line-height: 1.45; color: var(--ink-soft, #3C4A66); }

/* ---------- FAQ ---------- */
.city-faq { --bg: var(--paper, #FBF6EC); }
.city-faq .faq__head .city-h2 { max-width: 14ch; }
body.affiche-inner .city-faq .faq__item { background: var(--cream, #FFF9EF); border: 2px solid var(--ink) !important; border-radius: var(--r-m, 24px); box-shadow: var(--shadow-flat, 6px 6px 0 var(--ink)); padding: 0 24px; }
body.affiche-inner .city-faq .faq__item + .faq__item { margin-top: 16px; }
.city-faq .faq__q { padding: 22px 60px 22px 0; }
.city-faq .faq__a p { padding: 0 24px 24px 0; }

/* appel final partagé (aff-cta) : skin.css colore les em de h2 en gueules, illisible sur fond gueules */
.city .final__title em { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .city-hero__head, .city-why__grid, .city-formats__grid, .city-know__grid { grid-template-columns: 1fr; }
  .city-usp, .city-formats__aside, .city-callout { position: static; }
  .city-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .city .postcard__facts { padding-top: 0; }
  .city .postcard__facts div { grid-template-columns: 88px 1fr; }
}
@media (max-width: 760px) {
  .city-hero { padding-top: calc(var(--header-h, 76px) + 22px); }
  .city-hero__title { font-size: clamp(46px, 15vw, 72px); }
  .city-hero__frame img { aspect-ratio: 4 / 3; border-radius: var(--r-m, 24px); }
  .city-hero__ctas .btn { flex: 1 1 auto; }
  .city-sticker { width: 96px; }
  .city-sticker--a { right: 4px; top: -26px; }
  .city-sticker--b { left: 4px; bottom: -26px; }
  .city-usp { grid-template-columns: 1fr; }
  .city-usp li { box-shadow: 4px 4px 0 var(--ink); }
  .city-venue, .city-callout { box-shadow: 4px 4px 0 var(--ink); }
  .city-hook { text-align: left; }
  .city-hook::before { margin-left: 86px; }
  body.affiche-inner .city-faq .faq__item { padding: 0 16px; box-shadow: 4px 4px 0 var(--ink); }
  .city-faq .faq__q { padding-right: 52px; }
  .city-faq .faq__a p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .city-sticker > svg:first-child { animation: none; }
  .city-venue:hover, .city-link:hover, a.city-chip:hover { transform: none; }
}
