/* Proxima Nova + ton plus doux (23/10/2026). Figtree (auto-hébergée) reste en secours dans la pile. */
html body.v2ds.ty-fig, html body.v2ds.ty-fig *:not(svg):not(path):not(use),
.v4, .v4 *:not(svg):not(path),
.fiche.v4f, .fiche.v4f *:not(svg):not(path){font-family:"proxima-nova","Figtree","Helvetica Neue",Arial,sans-serif!important}

/* Titres : moins lourds, plus aérés */
html body.v2ds.ty-fig h1, html body.v2ds.ty-fig h2, .v4 h1, .fiche.v4f h1{letter-spacing:-.015em!important}
html body.v2ds.ty-fig section h2, .fiche.v4f h2, .v4 .v4-intro h2{font-weight:700!important}
html body.v2ds.ty-fig .hero-h1 em{font-weight:700!important}
.fiche.v4f h1{font-weight:700}
.v4 .v4-corps h2{font-weight:700}
html body.v2ds.ty-fig .ed-kicker, html body.v2ds.ty-fig [class*=kicker], .fiche.v4f .ed-kicker{font-weight:600!important;letter-spacing:.05em!important}

/* Page de résultats : bandeau clair et chaleureux au lieu du noir */
.v4-bandeau{background:#F3ECE3;color:#1E1719;border-bottom:1px solid #E6DCD1}
.v4-ariane, .v4-ariane a{color:#6B6062}
.v4 h1{color:#1E1719;font-weight:400}
.v4 h1 span{color:#6E2733;font-weight:700}
.v4-champ{border:1px solid #DDD5CD}
.v4-toutes{border-color:#CFC4B8;color:#1E1719!important;background:#fff}
.v4-toutes:hover{border-color:#6E2733}

/* Cartes et boutons : plus ronds, contours légers */
.v4-carte{border-radius:14px;border-color:#E6DED6}
.v4-vis{border-radius:12px}
.v4-b{border-radius:10px;border-color:#D3C9BF;font-weight:600}
.v4-b-plein{border-color:#6E2733}
.v4-filtres button, .v4-tri select, .v4-carte-btn{border-radius:999px}
.v4-filtres button[aria-pressed=true]{background:#6E2733;border-color:#6E2733}
.v4-plan{border-radius:14px}
.fiche.v4f .fb{border-radius:10px;border-color:#D3C9BF;font-weight:600}
.fiche.v4f .fb-plein{border-color:#6E2733}
.fiche.v4f .fiche-bloc, .fiche.v4f .fiche-visuel{border-radius:14px}

/* « Fermé » informatif, pas alarmant */
.v4-etat.is-ferme, .fiche.v4f .fiche-etat.is-ferme{color:#6B6062}
.v4-etat.is-ferme i, .fiche.v4f .fiche-etat.is-ferme i{background:#B9AFA9}

/* Site plus arrondi (23/10/2026) : cartes 16 px, boutons 12 px, champs et pastilles en pilule */
html body.v2ds{--ds-rayon:16px!important}
html body.v2ds .ep-card, html body.v2ds .vq-home-card, html body.v2ds .newcomer-card, html body.v2ds .cat-card, html body.v2ds .hshop,
html body.v2ds .bizcard, html body.v2ds .shop-row-item, html body.v2ds .v2m-new, html body.v2ds .v2m-cat, html body.v2ds .v2m-promo,
html body.v2ds .v2m-ev, html body.v2ds .contact-form, html body.v2ds .contact form, html body.v2ds .pc-app, html body.v2ds .hero-local-mini{border-radius:16px!important}
html body.v2ds .ep-card .v3-vis, html body.v2ds .ep-card-img, html body.v2ds .vq-home-card img{border-radius:16px 16px 0 0!important}
html body.v2ds .newcomer-media, html body.v2ds .v2m-new-vis, html body.v2ds .v2m .v2m-ev-img, html body.v2ds .bizcard_logo, html body.v2ds .hshop-ico{border-radius:12px!important}
html body.v2ds .v2m-date, html body.v2ds .pc92-map-frame{border-radius:14px!important}
html body.v2ds .v2hero .v2-boite{border-radius:999px!important;padding:6px 6px 6px 14px!important}
html body.v2ds .v2hero .v2-boite #heroSearchBtn, html body.v2ds #pc92MapSearchBtn{border-radius:999px!important}
html body.v2ds .pc92-map-search input, html body.v2ds .contact input, html body.v2ds .contact select, html body.v2ds .contact textarea{border-radius:12px!important}
html body.v2ds .v2m-b, html body.v2ds a.nb, html body.v2ds .nb, html body.v2ds button[type=submit], html body.v2ds .ed-btn,
html body.v2ds .pc92-map-actions button, html body.v2ds .v2m-onglets a{border-radius:12px!important}
html body.v2ds .bizcard_category-pill{border-radius:999px!important}

.v4-carte{border-radius:18px}
.v4-vis{border-radius:14px}
.v4-b{border-radius:12px}
.v4-champ, .v4-toutes{border-radius:999px}
.v4-plan{border-radius:18px}
.fiche.v4f .fiche-bloc, .fiche.v4f .fiche-visuel, .fiche.v4f .fiche-form, .fiche.v4f .vq-bandeau, .fiche.v4f .ed-vitrine a{border-radius:18px!important}
.fiche.v4f .fiche-visuel img{border-radius:12px}
.fiche.v4f .fb{border-radius:12px}
.fiche.v4f .fiche-plan{border-radius:12px}
.fiche.v4f .vq-bandeau a, .fiche.v4f .ed-btn{border-radius:12px!important}

/* « Nouveaux sur l'annuaire » : plus de cadres dans des cadres (23/10/2026) */
html body.v2ds .newcomers-section, html body.v2ds .newcomers-shell{border:0!important;background:none!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
html body.v2ds .newcomers-badge{border:0!important;box-shadow:none!important;background:#F3ECE3!important;border-radius:999px!important;padding:12px 22px!important}
html body.v2ds .newcomer-card{border-color:#E6DED6!important;border-radius:20px!important}
html body.v2ds .newcomer-media{background:none!important;border-radius:0!important}
html body.v2ds .newcomer-media img{border-radius:18px!important;filter:none!important;box-shadow:none!important;border:1px solid #EEE7E0}
html body.v2ds .newcomer-pill{border-radius:999px!important}
html body.v2ds .newcomer-cta{border-radius:14px!important}
html body.v2ds .fsub{border-radius:14px!important}
html body.v2ds .cis{border-radius:0!important}

/* Menu du haut : jamais sur deux lignes sur les écrans moyens */
nav .nl a{white-space:nowrap!important}
nav .nl a.nb{border-radius:999px!important}
@media (min-width:761px) and (max-width:1240px){
  nav .nl{gap:14px!important}
  nav .nl a{font-size:14px!important}
}

/* Vraies photos de devanture (uploads/photos/) : elles remplissent le cadre, contrairement aux logos */
.fiche.v4f .fiche-visuel img[src*="/photos/"]{max-width:100%!important;max-height:100%!important;width:100%;height:100%;object-fit:cover;border-radius:0!important;background:none}
.v4-vis img[src*="/photos/"]{width:100%;height:100%;object-fit:cover}
html body.v2ds img[src*="/photos/"]{object-fit:cover!important}
html body.v2ds .hshop-ico img[src*="/photos/"], html body.v2ds .bizcard_logo img[src*="/photos/"], html body.v2ds .v2m-new-vis img[src*="/photos/"], html body.v2ds .newcomer-media img[src*="/photos/"]{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
html body.v2ds .ep-card .v3-vis img[src*="/photos/"]{object-fit:cover!important}

html body.v2ds .contact .form-box{padding-top:28px!important}

/* Moins de gras noir (23/10/2026) : semi-gras (600) pour les titres et les noms, noir adouci */
html body.v2ds h1, html body.v2ds h2, html body.v2ds h3, html body.v2ds .ep-card-title, html body.v2ds .hshop-n,
html body.v2ds .bizcard_name, html body.v2ds .newcomer-card h3, html body.v2ds .cat-card strong, html body.v2ds .vq-home-card strong,
html body.v2ds .v2m-bloc h2, html body.v2ds .v2m-bloc h3, html body.v2ds .ann-title, html body.v2ds .contact h2{font-weight:600!important}
html body.v2ds h1, html body.v2ds h2, html body.v2ds h3, html body.v2ds .ep-card-title, html body.v2ds .hshop-n, html body.v2ds .bizcard_name,
html body.v2ds .newcomer-card h3{color:#2B2224!important}
html body.v2ds .hero-h1{color:#fff!important}
html body.v2ds .hero-h1 em{font-weight:600!important}
html body.v2ds .hero-stats-row strong, html body.v2ds [class*=hstat] b, html body.v2ds .v2m-cat b, html body.v2ds .v2m-remise, html body.v2ds .v2m-date b{font-weight:600!important}
html body.v2ds .ed-kicker, html body.v2ds [class*=kicker], html body.v2ds .sk{font-weight:600!important}
html body.v2ds strong, html body.v2ds b{font-weight:600}
html body.v2ds .ci-v, html body.v2ds .newcomer-address, html body.v2ds .ep-card-shop{font-weight:400!important}

/* Même règle, plus prioritaire que pc92-figtree.css (body.ty-fig) */
html body.v2ds.ty-fig h1, html body.v2ds.ty-fig h2, html body.v2ds.ty-fig h3, html body.v2ds.ty-fig .ep-card-title, html body.v2ds.ty-fig .hshop-n,
html body.v2ds.ty-fig .bizcard_name, html body.v2ds.ty-fig .newcomer-card h3, html body.v2ds.ty-fig .cat-card strong, html body.v2ds.ty-fig .vq-home-card strong,
html body.v2ds.ty-fig .v2m-bloc h2, html body.v2ds.ty-fig .v2m-bloc h3, html body.v2ds.ty-fig .ann-title, html body.v2ds.ty-fig .contact h2{font-weight:600!important}
html body.v2ds.ty-fig h1, html body.v2ds.ty-fig h2, html body.v2ds.ty-fig h3, html body.v2ds.ty-fig .ep-card-title, html body.v2ds.ty-fig .hshop-n, html body.v2ds.ty-fig .bizcard_name,
html body.v2ds.ty-fig .newcomer-card h3{color:#2B2224!important}
html body.v2ds.ty-fig .hero-h1{color:#fff!important}
html body.v2ds.ty-fig .hero-h1 em{font-weight:600!important}
html body.v2ds.ty-fig .hero-stats-row strong, html body.v2ds.ty-fig [class*=hstat] b, html body.v2ds.ty-fig .v2m-cat b, html body.v2ds.ty-fig .v2m-remise, html body.v2ds.ty-fig .v2m-date b{font-weight:600!important}
html body.v2ds.ty-fig .ed-kicker, html body.v2ds.ty-fig [class*=kicker], html body.v2ds.ty-fig .sk{font-weight:600!important}
html body.v2ds.ty-fig strong, html body.v2ds.ty-fig b{font-weight:600}
html body.v2ds.ty-fig .ci-v, html body.v2ds.ty-fig .newcomer-address, html body.v2ds.ty-fig .ep-card-shop{font-weight:400!important}

.v4 .v4-corps h2, .fiche.v4f h1, .fiche.v4f h2, .v4 .v4-intro h2, .ch h2, .ch h3{font-weight:600!important;color:#2B2224}
.v4 h1 span, .ch .ch-tete h1 span{font-weight:600}
.v4-note b, .fiche.v4f .fiche-note b{font-weight:600}
.v4-etat, .fiche.v4f .fiche-etat{font-weight:600}
.v4-b, .fiche.v4f .fb, .v4-souscats a, .v4-filtres button{font-weight:500}
.v4-b-plein, .fiche.v4f .fb-plein{font-weight:600}
.v4-tri #v4-compte{font-weight:600}
.fiche.v4f .ed-vitrine strong{font-weight:600}

/* Chiffres des catégories : plus légers et en bordeaux plutôt qu'en noir gras */
html body.v2ds.ty-fig .v2m-cat b{font-weight:400!important;color:#6E2733!important}
html body.v2ds.ty-fig .signature-band [class*=count], html body.v2ds.ty-fig .cat-card b, html body.v2ds.ty-fig .cat-card strong{font-weight:500!important}
.v4-souscats a b{font-weight:400;color:#8A7F7A}
.v4-souscats a.is-actif b{color:rgba(255,255,255,.8)}
html body.v2ds.ty-fig .signature-band h2, html body.v2ds.ty-fig .signature-band h2 *, html body.v2ds.ty-fig section h2 span{font-weight:600!important}
/* Mobile « Ils viennent d'arriver » : plus de cadre beige autour du logo */
html body.v2ds .v2m-new-vis{background:none!important;border:0!important}
html body.v2ds .v2m-new-vis img{border-radius:18px!important;border:1px solid #EEE7E0!important;box-shadow:none!important;filter:none!important}

/* « Vie du quartier » de retour sur l'accueil (26/10/2026), masquée depuis la V3 du 22/10 */
html body.v2ds #vie-du-quartier{display:block!important}
html body.v2ds #vie-du-quartier .vq-home-card{border-radius:18px!important;border:1px solid #E6DED6!important;box-shadow:none!important;overflow:hidden;background:#fff!important}
html body.v2ds #vie-du-quartier .vq-home-card img{border-radius:0!important}
html body.v2ds #vie-du-quartier .vq-home-card:hover{border-color:#6E2733!important;transform:none!important}
html.hw-on body.v2ds #vie-du-quartier .vq-home-card:hover{border-color:#F28C28!important}
html body.v2ds #vie-du-quartier h2{font-weight:600!important;color:#2B2224!important}
html body.v2ds.ty-fig #vie-du-quartier .vq-bandeau{border-radius:22px!important}
html body.v2ds.ty-fig #vie-du-quartier .vq-bandeau p{color:rgba(255,255,255,.9)!important}
html body.v2ds.ty-fig #vie-du-quartier .vq-bandeau a{border-radius:999px!important}

/* Accueil réorganisé (26/10/2026), ordinateur : recherche → jeu → catégories → carte → bons plans → événements → nouveaux → vie du quartier → contact */
@media (min-width:761px){
  html body.v2ds{display:flex!important;flex-direction:column!important}
  html body.v2ds > *{order:50}
  html body.v2ds > nav{order:0}
  html body.v2ds > #accueil{order:1}
  html body.v2ds > .ch-banniere, html body.v2ds > .v2-coeurs{order:2}
  html body.v2ds > #categories{order:3}
  html body.v2ds > #pc92-map-section{order:4}
  html body.v2ds > #promos{order:5}
  html body.v2ds > #evenements{order:6}
  html body.v2ds > .v4-nouveaux{order:7}
  html body.v2ds > #vie-du-quartier{order:8}
  html body.v2ds > #contact{order:9}
  html body.v2ds > footer{order:99}
  html body.v2ds > .ch-banniere{align-self:center;width:min(1192px,calc(100% - 48px))}

  /* Catégories : 6 cartes en grille régulière de 3 colonnes (plus de ligne à moitié vide) */
  html body.v2ds #catCardsGrid, html body.v2ds .cat-cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  /* Nouveaux commerces : cartes compactes, logo à gauche */
  html body.v2ds .v4-nouveaux{width:100%;max-width:1240px;margin:0 auto;padding:0 24px;box-sizing:border-box}
  html body.v2ds .v4-nouveaux .newcomer-card{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;column-gap:18px!important;align-items:center!important;padding:18px!important;text-align:left!important}
  html body.v2ds .v4-nouveaux .newcomer-media{width:96px!important;height:96px!important;margin:0!important;grid-row:span 2;display:flex;align-items:center;justify-content:center}
  html body.v2ds .v4-nouveaux .newcomer-media img{width:96px!important;height:96px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border-radius:16px!important}
  html body.v2ds .v4-nouveaux .newcomer-body{text-align:left!important;min-width:0}
  html body.v2ds .v4-nouveaux .newcomer-body *{text-align:left!important;justify-content:flex-start!important}
  html body.v2ds .v4-nouveaux .newcomer-footer{border-top:0!important;padding-top:4px!important;margin-top:4px!important}
  html body.v2ds .v4-nouveaux .newcomer-cta{grid-column:2;min-height:0!important;padding:9px 14px!important;margin-top:8px!important;font-size:15px!important}
}

/* Mobile et premier affichage (26/10/2026) : rien ne reste invisible en attendant une animation d'entrée,
   les nouveaux commerces retrouvent leurs marges et des cartes compactes sur téléphone. */
html.anim [data-monte]{opacity:1!important;transform:none!important}
html body.v2ds .v4-nouveaux{width:100%;box-sizing:border-box;padding-left:16px;padding-right:16px}
@media (max-width:760px){
  html body.v2ds .v4-nouveaux .newcomers-badge{display:none!important}
  html body.v2ds .v4-nouveaux .newcomers-head{margin-bottom:14px!important}
  html body.v2ds .v4-nouveaux .newcomers-grid{gap:12px!important}
  html body.v2ds .v4-nouveaux .newcomer-card{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;column-gap:14px!important;align-items:center!important;padding:14px!important;text-align:left!important;min-height:0!important}
  html body.v2ds .v4-nouveaux .newcomer-media{width:72px!important;height:72px!important;min-height:0!important;margin:0!important;padding:0!important;grid-row:span 2;display:flex;align-items:center;justify-content:center;aspect-ratio:auto!important}
  html body.v2ds .v4-nouveaux .newcomer-media img{width:72px!important;height:72px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border-radius:14px!important}
  html body.v2ds .v4-nouveaux .newcomer-body{text-align:left!important;min-width:0}
  html body.v2ds .v4-nouveaux .newcomer-body *{text-align:left!important;justify-content:flex-start!important}
  html body.v2ds .v4-nouveaux .newcomer-footer{border-top:0!important;padding-top:2px!important;margin-top:2px!important}
  html body.v2ds .v4-nouveaux .newcomer-cta{grid-column:2;min-height:0!important;padding:9px 14px!important;margin-top:8px!important;font-size:15px!important}
}
html body.v2ds .v4-nouveaux .newcomer-footer, html body.v2ds .v4-nouveaux .newcomer-footer *{align-items:flex-start!important;text-align:left!important}
html body.v2ds .v4-nouveaux .newcomer-footer{gap:4px!important}
/* Le titre du héros s'affiche tout de suite (son fondu d'entrée le laissait invisible au premier coup d'œil sur téléphone) */
html.anim .hero-kicker-txt, html.anim .hero-h1, html.anim .hero-sub, html.anim .hero-pills, html.anim .hero-cta-row{animation:none!important;opacity:1!important;transform:none!important}
/* Nom du site dans l'en-tête : même police partout (27/10/2026). Les pages intérieures gardaient Mencken via pc92.css. */
html body .ln{font-family:"proxima-nova","Figtree","Helvetica Neue",Arial,sans-serif!important;font-weight:700!important}
