/* Pages éditoriales : Vie du quartier, Consommer local (08/10/2026) */

.ed-shell { max-width: 1100px; margin: 0 auto; padding: 44px 24px 96px; }

/* ── En-tête ── */
.ed-hero {
  position: relative; overflow: hidden; margin: 0 auto 40px; padding: 44px 52px 46px;
  border-radius: 3px; text-align: center; color: #fff;
  background: linear-gradient(138deg, #8D2F3F 0%, #3B3132 100%);
  box-shadow: 0 28px 72px rgba(20, 50, 80, .26);
}
.ed-hero.is-or { background: linear-gradient(138deg, #6E2733 0%, #1E1719 100%); }
.ed-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 18px;
  border-radius: 2px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F0D0D6;
}
.ed-hero h1 {
  margin: 0 0 14px; font-family: mencken-std-head-narrow, Georgia, "Times New Roman", serif;
  font-weight: 900; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.04; color: #fff;
}
.ed-hero p { max-width: 640px; margin: 0 auto; font-size: 1.06rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.ed-hero .ed-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.ed-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 3px;
  font-weight: 800; font-size: .95rem; text-decoration: none; transition: transform .15s, background .15s;
}
.ed-btn:hover { transform: translateY(-1px); }
.ed-btn.is-plein { background: #fff; color: #6E2733; }
.ed-btn.is-ligne { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.ed-btn.is-brique { background: #6E2733; color: #fff; }
.ed-btn.is-brique:hover { background: #8A3441; }

/* ── Sections ── */
.ed-section { margin: 0 0 56px; }
.ed-kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #B08637; }
.ed-section h2 {
  margin: 0 0 12px; font-family: mencken-std-head-narrow, Georgia, serif; font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; color: #1E1719;
}
.ed-intro { max-width: 720px; margin: 0 0 26px; color: #665C5C; font-size: 1.04rem; line-height: 1.65; }

.ed-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ed-card {
  background: #fff; border: 1px solid #DDD5CD; border-radius: 3px; padding: 24px 22px;
  box-shadow: 0 6px 24px rgba(30, 23, 25, .05);
}
.ed-card h3 { margin: 12px 0 8px; font-size: 1.12rem; color: #1E1719; }
.ed-card p { margin: 0; color: #665C5C; line-height: 1.6; font-size: .97rem; }
.ed-card .pc-ico { color: #6E2733; }
.ed-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #F3EEE9; color: #6E2733; font-weight: 900;
}

.ed-manifeste {
  padding: 40px 44px; border-left: 4px solid #B08637; background: #FAF7F3; border-radius: 3px;
  font-family: mencken-std-head-narrow, Georgia, serif; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: #3B3234;
}
.ed-manifeste small { display: block; margin-top: 14px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .95rem; color: #8C7F79; }

.ed-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ed-liste li { padding: 14px 18px; background: #fff; border: 1px solid #DDD5CD; border-radius: 3px; line-height: 1.55; }
.ed-liste strong { color: #1E1719; }
.ed-liste a { color: #6E2733; font-weight: 700; }
.ed-note { margin-top: 12px; font-size: .9rem; color: #8C7F79; }

.ed-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-cats a {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 3px;
  background: #fff; border: 1px solid #DDD5CD; color: #3B3234; font-weight: 700; text-decoration: none;
}
.ed-cats a:hover { border-color: #6E2733; color: #6E2733; }

.ed-vitrine { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ed-vitrine a {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #fff; border: 1px solid #DDD5CD;
  border-radius: 3px; text-decoration: none; color: #1E1719; transition: border-color .15s, transform .15s;
}
.ed-vitrine a:hover { border-color: #6E2733; transform: translateY(-2px); }
.ed-vitrine img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: #F1EDE7; }
.ed-vitrine strong { font-size: 1rem; }
.ed-vitrine span { font-size: .88rem; color: #8C7F79; }

.ed-appel {
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between;
  padding: 34px 38px; border-radius: 3px; background: #1E1719; color: #fff;
}
.ed-appel h2 { color: #fff; margin: 0 0 6px; }
.ed-appel p { margin: 0; color: rgba(255, 255, 255, .72); max-width: 560px; line-height: 1.6; }

/* ── Vie du quartier : fil de publications ── */
.vq-fil { display: grid; gap: 22px; }
.vq-post {
  display: grid; grid-template-columns: 220px 1fr; gap: 0; background: #fff; border: 1px solid #DDD5CD;
  border-radius: 3px; overflow: hidden; scroll-margin-top: 90px;
}
.vq-post.sans-image { grid-template-columns: 1fr; }
.vq-post-media { background: #F1EDE7; }
.vq-post-media img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; display: block; }
.vq-post-body { padding: 24px 28px 26px; }
.vq-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-size: .82rem; color: #8C7F79; }
.vq-pill { padding: 4px 10px; border-radius: 2px; background: #F3EEE9; color: #6E2733; font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.vq-post h2, .vq-post h3 { margin: 0 0 10px; font-family: mencken-std-head-narrow, Georgia, serif; font-weight: 900; font-size: 1.6rem; line-height: 1.12; color: #1E1719; }
.vq-post h3 a { color: inherit; text-decoration: none; }
.vq-contenu { color: #3B3234; line-height: 1.65; }
.vq-contenu p { margin: 0 0 12px; }
.vq-contenu a { color: #6E2733; font-weight: 700; }
.vq-agenda { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.vq-agenda li { padding: 10px 14px; background: #FAF7F3; border-radius: 3px; }
.vq-agenda small { color: #665C5C; }
.vq-date { display: inline-block; min-width: 150px; font-weight: 800; color: #6E2733; }
.vq-fiche { list-style: none; padding: 14px 16px; margin: 0 0 14px; background: #FAF7F3; border-radius: 3px; display: grid; gap: 6px; }
.vq-signature { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid #EFE4D2; font-size: .92rem; color: #8C7F79; }
.vq-vide { padding: 40px; text-align: center; background: #fff; border: 1px dashed #DDD5CD; border-radius: 3px; color: #665C5C; }
.vq-retour { margin-top: 28px; }
.vq-retour a { color: #6E2733; font-weight: 800; }

@media (max-width: 720px) {
  .ed-shell { padding: 28px 16px 72px; }
  .ed-hero { padding: 32px 22px 34px; }
  .ed-manifeste { padding: 28px 22px; }
  .ed-appel { padding: 28px 22px; }
  .vq-post { grid-template-columns: 1fr; }
  .vq-post-media img { aspect-ratio: 16 / 10; }
  .vq-post-body { padding: 20px 18px 22px; }
  .vq-date { display: block; min-width: 0; }
}

/* ── Accueil : bloc « Vie du quartier » ── */
.vq-home { max-width: 1240px; margin: 64px auto 24px; padding: 0 24px; }
.vq-home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.vq-home-head h2 { margin: 4px 0 0; font-family: mencken-std-head-narrow, Georgia, serif; font-weight: 900; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; color: #1E1719; }
.vq-home-head a { color: #6E2733; font-weight: 800; text-decoration: none; }
.vq-home-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vq-home-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #DDD5CD; border-radius: 3px; overflow: hidden; text-decoration: none; color: #1E1719; transition: transform .15s, border-color .15s; }
.vq-home-card:hover { transform: translateY(-2px); border-color: #6E2733; }
.vq-home-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #F1EDE7; }
.vq-home-card div { padding: 18px 20px 20px; display: grid; gap: 8px; }
.vq-home-card strong { font-size: 1.12rem; line-height: 1.3; }
.vq-home-card p { margin: 0; color: #665C5C; font-size: .94rem; line-height: 1.55; }
.vq-bandeau { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 30px; border-radius: 3px; background: linear-gradient(138deg, #6E2733 0%, #1E1719 100%); color: #fff; }
.vq-bandeau p { margin: 0; max-width: 680px; font-family: mencken-std-head-narrow, Georgia, serif; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.vq-bandeau a { padding: 12px 20px; border-radius: 3px; background: #fff; color: #6E2733; font-weight: 800; text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) { .vq-home { padding: 0 16px; margin-top: 44px; } .vq-bandeau { padding: 22px 20px; } }

/* ── Application mobile ── */
.pc-app { max-width: 1240px; margin: 34px auto 24px; padding: 30px 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  background: #fff; border: 1px solid #DDD5CD; border-radius: 3px; box-sizing: border-box; }
.ed-shell .pc-app { margin: 0; }
.pc-app h2 { margin: 6px 0 8px; font-family: mencken-std-head-narrow, Georgia, serif; font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; color: #1E1719; }
.pc-app p { margin: 0; max-width: 560px; color: #665C5C; line-height: 1.6; }
.pc-app-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-store { display: inline-flex; align-items: center; gap: 10px; min-width: 178px; padding: 10px 18px; border-radius: 10px; text-decoration: none; line-height: 1.1; }
.pc-store span { display: grid; font-weight: 800; font-size: 1.12rem; }
.pc-store small { font-weight: 500; font-size: .74rem; letter-spacing: .02em; }
.pc-store.is-dispo { background: #000; color: #fff; transition: transform .15s; }
.pc-store.is-dispo:hover { transform: translateY(-1px); }
.pc-store.is-bientot { border: 1px dashed #BFB3A8; color: #8C7F79; cursor: default; }
@media (max-width: 720px) { .pc-app { margin: 28px 16px 20px; padding: 24px 20px; } .ed-shell .pc-app { margin: 0; } .pc-store { flex: 1 1 160px; } }

/* ── Lettre hebdomadaire ── */
.lettre-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 20px 24px;
  background: #FAF7F3; border: 1px solid #EFE4D2; border-radius: 3px; }
.lettre-form > div:first-child { display: grid; gap: 4px; max-width: 520px; }
.lettre-form strong { font-size: 1.05rem; color: #1E1719; }
.lettre-form span { color: #665C5C; font-size: .92rem; line-height: 1.5; }
.lettre-champs { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; }
.lettre-champs input[type=email] { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #DDD5CD; border-radius: 3px; background: #fff; }
.lettre-champs button { border: 0; cursor: pointer; padding: 12px 18px; border-radius: 3px; background: #6E2733; color: #fff; font-weight: 800; white-space: nowrap; }
.lettre-champs button:hover { background: #8A3441; }
.lettre-form.is-large { background: #fff; border-color: #DDD5CD; }
.fiche-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .lettre-champs { flex-direction: column; } }

/* captures de site en portrait : on garde le haut (en-tête, visuel principal) */
.vq-post-media img, .vq-home-card img { object-position: center top; }

/* ── Horaires (09/10/2026) ── */
.hor-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 26px; }
.hor-onglets a { padding: 10px 16px; border-radius: 3px; border: 1px solid #DDD5CD; background: #fff; color: #3B3234; font-weight: 800; text-decoration: none; }
.hor-onglets a.is-actif { background: #6E2733; border-color: #6E2733; color: #fff; }
.hor-grille { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.hor-carte { display: flex; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid #DDD5CD; border-radius: 3px; text-decoration: none; color: #1E1719; }
.hor-carte:hover { border-color: #6E2733; }
.hor-carte img, .hor-initiale { flex: none; width: 64px; height: 64px; border-radius: 3px; object-fit: cover; background: #F1EDE7; }
.hor-initiale { display: grid; place-items: center; font-family: mencken-std-head-narrow, Georgia, serif; font-weight: 900; font-size: 28px; color: #6E2733; }
.hor-carte div { display: grid; gap: 3px; min-width: 0; }
.hor-carte span { font-size: .86rem; color: #8C7F79; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hor-carte em { font-style: normal; font-size: .86rem; font-weight: 700; color: #665C5C; }
.hor-carte em.is-ouvert { color: #2f6b36; }
.ann-horaires { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 10px; }
.ann-horaires a { padding: 7px 12px; border-radius: 999px; background: #F3EEE9; color: #6E2733; font-weight: 800; font-size: .85rem; text-decoration: none; }
.ann-horaires a:hover { background: #6E2733; color: #fff; }
.bizcard-etat { margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.bizcard-etat.is-ouvert { background: rgba(90, 196, 125, .18); color: #2f6b36; }
.bizcard-etat.is-ferme { background: rgba(229, 105, 95, .14); color: #8f3e22; }

/* ── Suggestions de recherche (09/10/2026) ── */
.pc-suggest { position: relative; z-index: 60; margin-top: 6px; background: #fff; border-radius: 6px; box-shadow: 0 18px 44px rgba(0,0,0,.28); overflow: hidden; }
.pc-suggest a { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; text-decoration: none; color: #1E1719; border-bottom: 1px solid #F1EDE7; text-align: left; }
.pc-suggest a:hover, .pc-suggest a.is-sel { background: #F3EEE9; }
.pc-suggest strong { font-size: .98rem; }
.pc-suggest span { font-size: .8rem; color: #8C7F79; }
.pc-suggest-pied { padding: 7px 16px; font-size: .74rem; color: #8C7F79; background: #FAF7F3; }

/* ── Carte interactive (09/10/2026) ── */
.pc92-carte { width: 100%; height: 500px; border-radius: 24px; overflow: hidden; background: #EEE9E2; z-index: 1; }
.pc92-map-actions button.is-actif { outline: 2px solid #6E2733; outline-offset: -2px; }
.pc92-map-compteur { margin: 12px 4px 0; font-size: .85rem; color: #8C7F79; font-weight: 700; }
.leaflet-popup-content { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.45; }
@media (max-width: 720px) { .pc92-carte { height: 420px; border-radius: 16px; } }
