
/* __DESIGN_SITE__ */
/* socle filtres (ajouté par design_site.py) */
.ds-hide { display: none !important; }
body[data-ds-filtres="aucun"] .filters { display: none !important; }
body[data-ds-filtres="sans-genre"] .filters .filter-btn[data-filter="type"] { display: none !important; }
body[data-ds-filtres="sans-age"] .filters .filter-btn[data-filter="age"] { display: none !important; }
body[data-ds-filtres="ligne"] .filters { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
body[data-ds-filtres="ligne"] .filters::-webkit-scrollbar { display: none; }
body[data-ds-filtres="ligne"] .filters .filter-btn { flex: 0 0 auto; white-space: nowrap; }
.filters select.ds-fsel { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; padding-right: 2.1em; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='currentColor' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right .7em center; background-size: 12px 8px; }
.filters .ds-fgroup { display: contents; }
/* Next : barre React (div.shadow-sm > div.scrollbar-hide > .form-group > select ×2 + bouton Recherche) */
body[data-ds-filtres="aucun"] div.rounded-lg.shadow-sm:has(> div.scrollbar-hide > div.form-group > select) { display: none !important; }
body[data-ds-filtres="sans-genre"] div.scrollbar-hide > div.form-group:first-child:has(> select) { display: none !important; }
body[data-ds-filtres="sans-tri"] div.scrollbar-hide > div.form-group:nth-child(2):has(> select) { display: none !important; }
body[data-ds-filtres="sans-recherche"] div.scrollbar-hide > div.relative.flex-shrink-0:has(> button) { display: none !important; }
/* Next `chips` : pastilles d'âge construites par design_filtres.js (le select natif est caché) */
.ds-fnext { display: flex; gap: 8px; flex-wrap: nowrap; }
.ds-fnext .ds-fchip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--secondary-color, #999); background: transparent; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.ds-fnext .ds-fchip.active { background: var(--secondary-color, #18181b); color: #fff; border-color: transparent; }

/* socle menu mobile Next (ajouté par design_site.py) */
@media (max-width: 767px) {
  .ds-mburger { position: fixed; top: 12px; left: 10px; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: #18181b; color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
  .ds-mburger span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
  .ds-moverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; }
  .ds-mdrawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); z-index: 70; overflow-y: auto; background: #fff; color: #18181b; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(0,0,0,.3); padding-bottom: 24px; }
  body:has(#ds-mcb:checked) .ds-moverlay { display: block; }
  body:has(#ds-mcb:checked) .ds-mdrawer { transform: none; }
  body:has(#ds-mcb:checked) { overflow: hidden; }
  .ds-mhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.1); font-weight: 700; font-size: 1.05rem; }
  .ds-mclose { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; background: rgba(0,0,0,.06); }
  .ds-msec { padding: 12px 16px 4px; }
  .ds-msec-t { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
  .ds-mlinks { display: flex; flex-wrap: wrap; gap: 8px; }
  .ds-mlink { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); background: rgba(0,0,0,.03); color: inherit; text-decoration: none; font-size: .9rem; line-height: 1.2; }
  .ds-mnav .ds-mlink { font-weight: 600; }
  .ds-mfoot { padding: 18px 16px 0; }
  .ds-mcta { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--secondary-color, #18181b); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
}
@media (min-width: 768px) { .ds-mburger, .ds-mdrawer, .ds-moverlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ds-mdrawer { transition: none; } }

/* ============================================================================
   libertine-monaco.com — gabarit Next (nextjsv2cf), site régional Monaco (11 quartiers)
   REGISTRE : « soie & framboise »
   PALETTE  : un accent framboise #c2185b (couleur du favicon) + un neutre CHAUD
              « soie » (crème rosé #fbf0ec / craie #fffaf8) + une encre prune #33202a.
              Aucune troisième couleur forte.
   COMPOSITION : en-tête framboise COMPACT, logo à DROITE (nav puis actions à gauche),
              bord bas en arche ; cartes profil HAUTES à photo en ARCHE ; bloc de
              réassurance en 4 médaillons sur soie, juste avant le CTA ; CTA en carte
              de rencontre centrée (pilule + lueur) ; footer en 2 BLOCS (bandeau de
              marque puis les trois colonnes de liens sur soie).
   FORMES SIGNATURE : l'arche (photos, médaillons d'icônes, bas du header), la pilule
              (CTA, chips, liens de quartier asymétriques), le filet framboise sous
              les titres, un cœur en filigrane (SVG inline) dans la réassurance.
   ============================================================================ */

/* ---------------------------------------------------------------- recette « Next · reassurance »
   (socle du bloc de réassurance, copié tel quel depuis app/design_recettes_v3.css) */
.ds-bloc { margin: 24px 0; padding: 24px; border-radius: 16px; }
.ds-titre { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.25; }
.ds-sous { margin: 0 0 16px; opacity: .85; }
.ds-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ds-item { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start; }
.ds-ico { grid-row: 1 / 3; width: 28px; height: 28px; }
.ds-ico svg { width: 28px; height: 28px; display: block; }
.ds-item-t { display: block; font-weight: 700; }
.ds-item-p { display: block; font-size: .93rem; opacity: .85; }

/* ---------------------------------------------------------------- 1. variables */
html:root {
  --sf-fram: #c2185b;
  --sf-fram-d: #96103f;
  --sf-fram-dd: #6d0c2f;
  --sf-fram-l: #e0537f;
  --sf-soie: #fbf0ec;
  --sf-soie-2: #f5e2dc;
  --sf-craie: #fffaf8;
  --sf-clair: #fff2f6;
  --sf-encre: #33202a;
  --sf-encre-2: #6b5259;
  --sf-bord: #ecd6cf;
  --sf-ombre: 0 10px 30px rgba(143, 15, 62, .10);
  --sf-ombre-f: 0 12px 26px rgba(194, 24, 91, .22);
  --sf-arche: 50% 50% 16px 16px / 34% 34% 16px 16px;

  /* variables du gabarit redéfinies (le <style>:root inline est émis APRÈS cette feuille) */
  --primary-color: #c2185b;
  --text: #33202a;
  --text-muted: #6b5259;
  --border: #ecd6cf;
  --bg: #fbf0ec;
  --bg-alt: #f5e2dc;
  --bg-card: #fffaf8;
}

/* ---------------------------------------------------------------- 2. page */
body.antialiased {
  background: var(--sf-soie);
  color: var(--sf-encre);
}
div.bg-gradient-to-b.from-zinc-50 {
  background: radial-gradient(130% 52% at 50% 0, #fdeff0 0%, var(--sf-soie) 46%, #fffaf8 100%);
}
::selection { background: rgba(194, 24, 91, .18); }
a { text-underline-offset: .18em; }

/* ---------------------------------------------------------------- 3. en-tête (desktop) */
header.sticky {
  background: linear-gradient(100deg, #8f0f3e 0%, #b01450 52%, #c2185b 100%) !important;
  border-bottom-color: rgba(255, 240, 244, .22) !important;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 26px rgba(109, 12, 47, .20);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
header.sticky div.flex.h-16 { height: 3.5rem; gap: 1.1rem; }
header.sticky a[href="/"] {
  color: var(--sf-clair) !important;
  letter-spacing: -.012em;
  text-shadow: 0 1px 2px rgba(78, 8, 33, .28);
}
header.sticky a[href="/"]:hover { color: #fff; }

@media (min-width: 768px) {
  /* logo à DROITE : la nav ouvre la rangée, les actions suivent, la marque ferme */
  header.sticky div.flex.h-16 { justify-content: flex-start; }
  header.sticky div.flex.h-16 > div:first-child { order: 3; margin-left: auto; }
  header.sticky div.flex.h-16 > nav { order: 1; }
  header.sticky div.flex.h-16 > div:last-child { order: 2; }
  header.sticky div.flex.h-16 > div:first-child a[href="/"] { font-size: 1.45rem; }
  /* nav : boutons en pilules soie translucide */
  header.sticky nav.hidden > div > button {
    color: var(--sf-clair);
    padding: .42rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 240, 244, .28);
    background: rgba(255, 240, 244, .10);
    transition: background .2s ease, border-color .2s ease;
  }
  header.sticky nav.hidden > div > button:hover {
    background: rgba(255, 240, 244, .22);
    border-color: rgba(255, 240, 244, .5);
    color: #fff;
  }
  header.sticky div.flex.h-16 > div:last-child button { color: var(--sf-clair); }
  header.sticky div.flex.h-16 > div:last-child button:hover { color: #fff; }
}
/* volet déroulant de la nav (Top 10 départements / villes voisines) */
header.sticky nav div.absolute,
header.sticky div.flex.h-16 > div:last-child div.absolute {
  background: var(--sf-craie);
  color: var(--sf-encre);
  border: 1px solid var(--sf-bord);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(109, 12, 47, .22);
  overflow: hidden;
}
header.sticky nav div.absolute a,
header.sticky nav div.absolute button {
  color: var(--sf-encre) !important;
  border-radius: 8px;
}
header.sticky nav div.absolute a:hover,
header.sticky nav div.absolute button:hover { background: var(--sf-soie); color: var(--sf-fram-d) !important; }
/* bulle « Rejoins-nous ! » : ancrée à gauche de son icône (les actions sont à gauche) */
header.sticky .absolute.top-full {
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  background: var(--sf-fram-dd) !important;
  color: var(--sf-clair) !important;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(109, 12, 47, .30);
}
header.sticky .absolute.top-full > div.absolute { background: var(--sf-fram-dd) !important; }

/* ---------------------------------------------------------------- 4. en-tête (mobile) */
@media (max-width: 767px) {
  header.sticky div.flex.h-16 { height: 3.5rem; }
  header.sticky div.md\:hidden a[href="/"] { color: var(--sf-clair) !important; }
  header.sticky div.md\:hidden button { color: var(--sf-clair) !important; }
  header.sticky div.md\:hidden button span { color: var(--sf-clair); }
  /* le burger natif est recouvert par label.ds-mburger : on le rend invisible mais présent */
  header.sticky div.md\:hidden > button[aria-label="Menu"] { opacity: 0; }
}

/* ---------------------------------------------------------------- 5. héros + fil d'Ariane */
header.text-center h1,
header.mb-12 h1 {
  color: var(--sf-encre);
  letter-spacing: -.02em;
  position: relative;
  padding-bottom: .7rem;
}
header.text-center h1::after,
header.mb-12 h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  width: 96px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sf-fram), #f3a6c0);
}
header.text-center p,
header.mb-12 p { color: var(--sf-encre-2); }
header.mb-12 > p.text-3xl { color: var(--sf-fram-d); font-weight: 600; letter-spacing: .01em; }
header.text-center div.text-zinc-700 p,
header.mb-12 div.text-zinc-700 p { color: var(--sf-encre-2); }

nav[aria-label^="Fil"] {
  background: var(--sf-soie-2);
  border-bottom: 1px solid var(--sf-bord);
}
nav[aria-label^="Fil"] a { color: var(--sf-encre-2); }
nav[aria-label^="Fil"] a:hover { color: var(--sf-fram-d); }
nav[aria-label^="Fil"] span[aria-current] { color: var(--sf-fram-d); }
nav[aria-label^="Fil"] li[aria-hidden] { color: #c8a9a2; }

/* ---------------------------------------------------------------- 6. sections = cartes craie */
main.space-y-12 section.rounded-2xl.shadow-lg,
main.space-y-12 div.rounded-2xl.shadow-lg {
  background: var(--sf-craie);
  border: 1px solid var(--sf-bord);
  border-radius: 24px;
  box-shadow: var(--sf-ombre);
}
main.space-y-12 h2 { color: var(--sf-encre); letter-spacing: -.01em; }
main.space-y-12 > section.rounded-2xl > h2,
main.space-y-12 div.space-y-8 > section.rounded-2xl > h2 {
  position: relative;
  padding-bottom: .62rem;
}
main.space-y-12 > section.rounded-2xl > h2::after,
main.space-y-12 div.space-y-8 > section.rounded-2xl > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sf-fram), #f3a6c0);
}
main.space-y-12 > section.rounded-2xl > h2::before {
  content: "";
  position: absolute;
  left: 64px;
  bottom: 0;
  width: 7px;
  height: 4px;
  border-radius: 999px;
  background: var(--sf-fram-l);
}
/* titre du CTA : le filet doit passer SOUS les jambages (« Qu'attends-tu pour les rejoindre? ») */
main.space-y-12 > section.text-center > h2 { padding-bottom: 1rem; }
main.space-y-12 > section.text-center > h2::after { left: 50%; translate: -50% 0; width: 84px; }
main.space-y-12 > section.text-center > h2::before { content: none; }

/* champ de recherche « Par département » */
main.space-y-12 input[type="text"] {
  background: var(--sf-soie);
  border-color: var(--sf-bord);
  border-radius: 999px;
  color: var(--sf-encre);
  padding-left: 1.15rem;
}
main.space-y-12 input[type="text"]::placeholder { color: #9c7f84; }
main.space-y-12 input[type="text"]:focus {
  border-color: var(--sf-fram-l);
  box-shadow: 0 0 0 4px rgba(194, 24, 91, .12);
}

/* ---------------------------------------------------------------- 7. cartes profil (hautes, photo en arche) */
div.flex-shrink-0.w-40.bg-zinc-50.rounded-lg {
  background: var(--sf-craie);
  border: 1px solid var(--sf-bord);
  border-radius: 20px 20px 16px 16px;
  box-shadow: 0 4px 16px rgba(143, 15, 62, .07);
  transition: box-shadow .25s ease, border-color .25s ease, translate .25s ease;
}
div.flex-shrink-0.w-40.bg-zinc-50.rounded-lg:hover {
  box-shadow: var(--sf-ombre-f);
  border-color: #eeb6c9;
  translate: 0 -4px;
}
div.flex-shrink-0.w-40.bg-zinc-50 img.aspect-square {
  aspect-ratio: 4 / 5;
  object-position: top center;
  border-radius: var(--sf-arche);
  border: 3px solid var(--sf-craie);
  box-shadow: 0 6px 18px rgba(143, 15, 62, .16);
  transition: scale .35s ease;
}
div.flex-shrink-0.w-40.bg-zinc-50:hover img.aspect-square { scale: 1.02; }
div.flex-shrink-0.w-40.bg-zinc-50 div.absolute.top-2.right-2 {
  background: var(--sf-craie);
  color: var(--sf-fram-d);
  border-radius: 999px;
  padding: .2rem .62rem;
  font-weight: 700;
  box-shadow: 0 2px 9px rgba(51, 32, 42, .22);
}
div.flex-shrink-0.w-40.bg-zinc-50 h3 {
  color: var(--sf-encre);
  font-size: 1.02rem;
  letter-spacing: -.01em;
}
div.flex-shrink-0.w-40.bg-zinc-50:hover h3 { color: var(--sf-fram-d); }
div.flex-shrink-0.w-40.bg-zinc-50 p.text-zinc-500 { color: var(--sf-fram-d); font-weight: 500; }
div.flex-shrink-0.w-40.bg-zinc-50 p.line-clamp-2 { color: var(--sf-encre-2); }

/* ---------------------------------------------------------------- 8. barre de filtres + pastilles (chips) */
main.space-y-12 div.bg-white.rounded-lg.shadow-sm.border {
  background: var(--sf-soie);
  border: 1px solid var(--sf-bord);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  padding: .5rem .8rem;
  color: var(--sf-encre);
}
/* ⚠️ `:not(.ds-fchip)` : sans lui, cette règle (0,5,3) écrasait le fond de la pastille
   d'âge active (.ds-fnext .ds-fchip.active, 0,3,0) — « Tous » sortait blanche. */
main.space-y-12 div.bg-white.rounded-lg.shadow-sm.border select,
main.space-y-12 div.bg-white.rounded-lg.shadow-sm.border button:not(.ds-fchip) {
  background: var(--sf-craie);
  border-color: var(--sf-bord);
  border-radius: 999px;
  color: var(--sf-encre);
}
main.space-y-12 div.bg-white.rounded-lg.shadow-sm.border button:not(.ds-fchip):hover {
  background: var(--sf-clair);
  border-color: var(--sf-fram-l);
  color: var(--sf-fram-d);
}
.ds-fnext { gap: .5rem; }
.ds-fnext .ds-fchip {
  border: 1px solid var(--sf-bord);
  background: var(--sf-craie);
  color: var(--sf-encre);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-weight: 600;
  min-height: 40px;
  transition: background .2s ease, border-color .2s ease;
}
.ds-fnext .ds-fchip:hover { border-color: var(--sf-fram-l); background: var(--sf-clair); }
.ds-fnext .ds-fchip.active {
  background: var(--sf-fram);
  border-color: var(--sf-fram-d);
  box-shadow: 0 4px 12px rgba(194, 24, 91, .26);
}

/* ---------------------------------------------------------------- 9. carte des profils (page ville) */
main.space-y-12 div.rounded-2xl.shadow-lg > div[style*="height:500px"],
main.space-y-12 div.rounded-2xl.shadow-lg > div.rounded-lg.overflow-hidden {
  border-radius: 18px;
  border: 1px solid var(--sf-bord);
}
main.space-y-12 div.rounded-2xl.shadow-lg .leaflet-container { border-radius: 18px; }

/* ---------------------------------------------------------------- 10. bloc de réassurance (4 items sur soie) */
main.space-y-12 > section.ds-bloc {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 24 24'><path d='M12 20s-7-4.6-7-9.4A3.9 3.9 0 0 1 12 8a3.9 3.9 0 0 1 7 2.6C19 15.4 12 20 12 20Z' fill='none' stroke='%23c2185b' stroke-opacity='.13' stroke-width='1.1'/></svg>") no-repeat right 1.4rem top 1.2rem,
    linear-gradient(168deg, #fdf4f0 0%, var(--sf-soie) 55%, #f7e5e0 100%);
  border: 1px solid var(--sf-bord);
  border-radius: 26px 26px 22px 22px;
  box-shadow: var(--sf-ombre);
  padding: 1.9rem 1.7rem 2rem;
  margin: 0;
}
main.space-y-12 > section.ds-bloc .ds-titre {
  color: var(--sf-encre);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.015em;
  position: relative;
  padding-bottom: .6rem;
  margin-bottom: .55rem;
}
main.space-y-12 > section.ds-bloc .ds-titre::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sf-fram), #f3a6c0);
}
main.space-y-12 > section.ds-bloc .ds-sous {
  color: var(--sf-encre-2);
  opacity: 1;
  max-width: 62ch;
  font-size: 1.02rem;
  margin-bottom: 1.35rem;
}
main.space-y-12 > section.ds-bloc .ds-liste {
  grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
  gap: 1rem 1.15rem;
}
main.space-y-12 > section.ds-bloc .ds-item {
  grid-template-columns: 44px 1fr;
  column-gap: .9rem;
  row-gap: .18rem;
  background: rgba(255, 252, 250, .72);
  border: 1px solid rgba(236, 214, 207, .95);
  border-radius: 18px 18px 18px 6px;
  padding: .95rem 1rem 1.05rem;
  box-shadow: 0 3px 10px rgba(143, 15, 62, .05);
}
main.space-y-12 > section.ds-bloc .ds-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px 999px 14px 14px;
  background: var(--sf-clair);
  border: 1px solid #f2ccd9;
  color: var(--sf-fram-d);
  box-shadow: inset 0 -2px 6px rgba(194, 24, 91, .07);
}
main.space-y-12 > section.ds-bloc .ds-ico svg { width: 21px; height: 21px; }
main.space-y-12 > section.ds-bloc .ds-item-t {
  color: var(--sf-encre);
  font-size: 1rem;
  line-height: 1.3;
}
main.space-y-12 > section.ds-bloc .ds-item-p {
  color: var(--sf-encre-2);
  opacity: 1;
  font-size: .93rem;
  line-height: 1.45;
}

/* ---------------------------------------------------------------- 11. CTA = carte de rencontre centrée */
main.space-y-12 > section.rounded-2xl.text-center.shadow-lg {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='210' height='210' viewBox='0 0 24 24'><path d='M12 20.4s-7.4-4.8-7.4-9.8A4.1 4.1 0 0 1 12 7.7a4.1 4.1 0 0 1 7.4 2.9c0 5-7.4 9.8-7.4 9.8Z' fill='none' stroke='%23c2185b' stroke-opacity='.10' stroke-width='1'/></svg>") no-repeat left -30px bottom -40px,
    radial-gradient(120% 130% at 50% -25%, #fdeae7 0%, #f8dbd5 55%, #f1c9c3 100%);
  border: 1px solid #e6c4bd;
  border-radius: 28px 28px 22px 22px;
  box-shadow: var(--sf-ombre);
  padding: 2.5rem 1.5rem 2.7rem;
}
main.space-y-12 > section.rounded-2xl.text-center.shadow-lg > h2 {
  color: var(--sf-encre);
  font-size: 1.95rem;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
main.space-y-12 > section.rounded-2xl.text-center.shadow-lg > button,
main.space-y-12 > section.rounded-2xl.text-center.shadow-lg a.inline-block {
  background: linear-gradient(145deg, #d21f66 0%, var(--sf-fram) 48%, #a3134a 100%) !important;
  color: #fff !important;
  border-radius: 999px;
  min-height: 48px;
  padding: .9rem 2.3rem;
  font-size: 1.02rem;
  letter-spacing: .01em;
  border: 1px solid rgba(109, 12, 47, .35);
  box-shadow: 0 10px 24px rgba(194, 24, 91, .30), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: box-shadow .22s ease, translate .22s ease;
}
main.space-y-12 > section.rounded-2xl.text-center.shadow-lg > button:hover {
  box-shadow: 0 14px 30px rgba(194, 24, 91, .40), inset 0 1px 0 rgba(255, 255, 255, .34);
  translate: 0 -2px;
}

/* ---------------------------------------------------------------- 12. quartiers, texte, FAQ */
nav[aria-label] a[style*="border-left"] {
  background: var(--sf-soie);
  border: 1px solid var(--sf-bord);
  border-left: 3px solid var(--sf-fram) !important;
  border-radius: 5px 999px 999px 5px;
  color: var(--sf-encre);
  padding: .55rem .95rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
nav[aria-label] a[style*="border-left"]:hover {
  background: var(--sf-clair);
  color: var(--sf-fram-d) !important;
  border-left-color: var(--sf-fram-dd) !important;
}
section.bg-zinc-100 {
  background: linear-gradient(180deg, var(--sf-soie-2), var(--sf-soie)) !important;
  border-top: 1px solid var(--sf-bord);
  border-bottom: 1px solid var(--sf-bord);
}
section.bg-zinc-100 a.rounded-full {
  background: var(--sf-craie);
  border: 1px solid var(--sf-bord);
  color: var(--sf-encre);
}
section.bg-zinc-100 a.rounded-full:hover { background: var(--sf-clair); color: var(--sf-fram-d); border-color: var(--sf-fram-l); }

main.space-y-12 div.prose h2 { color: var(--sf-encre); }
main.space-y-12 div.prose p,
main.space-y-12 div.prose p span { color: var(--sf-encre-2); }
main.space-y-12 div.prose a { color: var(--sf-fram-d) !important; text-decoration: underline; text-decoration-color: rgba(150, 16, 63, .38); }
main.space-y-12 div.prose a:hover { text-decoration-color: var(--sf-fram); }
main.space-y-12 button[style*="color:#E35D8F"] { color: var(--sf-fram-d) !important; }

main.space-y-12 div.space-y-0 > div { border-bottom-color: var(--sf-bord); }
main.space-y-12 div.space-y-0 > div > button {
  border-radius: 14px;
  padding-left: .85rem;
  padding-right: .85rem;
  transition: background .2s ease;
}
main.space-y-12 div.space-y-0 > div > button:hover { background: var(--sf-soie); }
main.space-y-12 div.space-y-0 h3 { color: var(--sf-encre); }
main.space-y-12 div.space-y-0 button svg { color: var(--sf-fram); }
main.space-y-12 div.space-y-0 p,
main.space-y-12 div.space-y-0 p span { color: var(--sf-encre-2); }

/* bloc de confiance du gabarit (3 items) : soie, médaillons clairs */
section.border-t.border-b.py-12 {
  background: var(--sf-craie) !important;
  border-top-color: var(--sf-bord) !important;
  border-bottom-color: var(--sf-bord) !important;
}
section.border-t.border-b.py-12 div.rounded-full {
  background: var(--sf-clair) !important;
  border: 1px solid #f2ccd9;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 5px 16px rgba(143, 15, 62, .10);
}
section.border-t.border-b.py-12 p { color: var(--sf-encre-2); }

/* retour en haut */
button.fixed.bottom-6.right-6 {
  background: linear-gradient(145deg, var(--sf-fram), var(--sf-fram-d)) !important;
  color: #fff !important;
  border-radius: 999px;
  border: 1px solid rgba(109, 12, 47, .35);
  box-shadow: 0 10px 24px rgba(109, 12, 47, .30);
}

/* ---------------------------------------------------------------- 13. footer en 2 blocs */
footer.border-t {
  background: linear-gradient(170deg, #7c0e36 0%, var(--sf-fram-dd) 55%, #5d0a28 100%);
  border-top-color: var(--sf-fram-dd) !important;
  color: var(--sf-clair);
}
footer.border-t > div.container { padding-top: 2.6rem; }
footer.border-t div.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.6rem;
}
/* bloc 1 : bandeau de marque, pleine largeur */
footer.border-t div.grid > div.lg\:col-span-1 {
  grid-column: 1 / -1;
  background: rgba(255, 242, 246, .07);
  border: 1px solid rgba(255, 242, 246, .16);
  border-radius: 22px 22px 22px 6px;
  padding: 1.35rem 1.5rem;
  margin-bottom: .4rem;
}
footer.border-t h3 { color: var(--sf-clair) !important; }
footer.border-t div.grid > div.lg\:col-span-1 h3 { font-size: 1.3rem; letter-spacing: -.01em; }
footer.border-t p { color: #f3cfd9; }
/* bloc 2 : les trois colonnes de liens, sur un panneau plus clair */
footer.border-t div.grid > div:not(.lg\:col-span-1) {
  background: rgba(255, 242, 246, .05);
  border: 1px solid rgba(255, 242, 246, .12);
  border-radius: 18px;
  padding: 1.1rem 1.2rem 1.25rem;
}
footer.border-t div.grid > div:not(.lg\:col-span-1) h3 {
  font-size: .74rem;
  color: #f7d8e2 !important;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255, 242, 246, .16);
}
footer.border-t a { color: #fbe3ea; border-radius: 999px; }
footer.border-t li a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
footer.border-t div.border-t { border-top-color: rgba(255, 242, 246, .16) !important; }
footer.border-t div.border-t p { color: #f0c7d3; }
footer.border-t div.border-t a { color: #fbe3ea; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }

@media (min-width: 768px) {
  footer.border-t div.grid > div.lg\:col-span-1 { padding: 1.6rem 1.9rem; }
}
@media (max-width: 767px) {
  footer.border-t div.grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- 14. pop-ups (couleurs seulement) */
#profileModal .modal-content,
.pm-modal {
  --text: #33202a;
  --text-muted: #6b5259;
  --border: #ecd6cf;
  --bg: #fffaf8;
  --bg-alt: #fbf0ec;
  --bg-card: #fffaf8;
  background: var(--sf-craie);
  color: var(--sf-encre);
  border: 1px solid var(--sf-bord);
  border-radius: 22px;
}
.pm-modal h2,
.pm-modal h3,
#profileModal h2,
#profileModal h3 { color: var(--sf-encre); }
.pm-modal p,
#profileModal p { color: var(--sf-encre-2); }
.pm-modal .pm-cta,
#profileModal .btn-primary {
  background: linear-gradient(145deg, #d21f66, var(--sf-fram) 50%, #a3134a) !important;
  color: #fff !important;
  border-radius: 999px;
  border: 1px solid rgba(109, 12, 47, .35);
  box-shadow: 0 8px 20px rgba(194, 24, 91, .28);
}
.pm-modal .pm-tag,
.pm-modal .pm-chip {
  background: var(--sf-clair);
  color: var(--sf-fram-d);
  border: 1px solid #f2ccd9;
  border-radius: 999px;
}
/* age gate + pop-up d'inscription : le calque du tiroir mobile est exclu */
div.fixed.inset-0:not(.ds-moverlay):not(.ds-mdrawer) { background-color: rgba(51, 32, 42, .70); }
div.fixed.inset-0:not(.ds-moverlay) div.bg-white,
div.fixed.inset-0:not(.ds-moverlay) div.rounded-2xl,
div.fixed.inset-0:not(.ds-moverlay) div.rounded-xl {
  background: var(--sf-craie);
  color: var(--sf-encre);
  border-radius: 22px;
}
div.fixed.inset-0:not(.ds-moverlay) h1,
div.fixed.inset-0:not(.ds-moverlay) h2,
div.fixed.inset-0:not(.ds-moverlay) h3 { color: var(--sf-encre); }
div.fixed.inset-0:not(.ds-moverlay) p { color: var(--sf-encre-2); }
div.fixed.inset-0:not(.ds-moverlay) input {
  background: var(--sf-soie);
  border-color: var(--sf-bord);
  color: var(--sf-encre);
  border-radius: 12px;
}
div.fixed.inset-0:not(.ds-moverlay) button.text-white,
.prelinker-embed button[type="submit"] {
  background: linear-gradient(145deg, #d21f66, var(--sf-fram) 50%, #a3134a) !important;
  color: #fff !important;
  border-radius: 999px;
  min-height: 46px;
}

/* ---------------------------------------------------------------- 15. menu mobile (recoloration du socle) */
@media (max-width: 767px) {
  .ds-mburger {
    background: linear-gradient(140deg, #8f0f3e, #c2185b);
    color: var(--sf-clair);
    border: 1px solid rgba(255, 242, 246, .28);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(109, 12, 47, .32);
  }
  .ds-mdrawer {
    background: var(--sf-soie);
    color: var(--sf-encre);
    box-shadow: 10px 0 34px rgba(109, 12, 47, .32);
    border-right: 1px solid var(--sf-bord);
  }
  .ds-moverlay { background: rgba(51, 32, 42, .55); }
  .ds-mhead {
    background: linear-gradient(100deg, #8f0f3e, #c2185b);
    color: var(--sf-clair);
    border-bottom: 1px solid rgba(255, 242, 246, .2);
    border-radius: 0 0 18px 0;
  }
  .ds-mbrand { color: var(--sf-clair); letter-spacing: -.01em; }
  .ds-mclose { background: rgba(255, 242, 246, .16); color: var(--sf-clair); }
  .ds-msec { padding: 14px 16px 6px; }
  .ds-msec-t { color: var(--sf-fram-d); opacity: 1; font-weight: 700; }
  .ds-mlink {
    background: var(--sf-craie);
    border: 1px solid var(--sf-bord);
    color: var(--sf-encre);
    border-radius: 999px;
    padding: 9px 14px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .ds-mlink:active,
  .ds-mlink:hover { background: var(--sf-clair); color: var(--sf-fram-d); border-color: var(--sf-fram-l); }
  .ds-mnav .ds-mlink { background: var(--sf-clair); border-color: #f2ccd9; color: var(--sf-fram-d); }
  .ds-mcta {
    background: linear-gradient(145deg, #d21f66, var(--sf-fram) 50%, #a3134a);
    color: #fff;
    border-radius: 999px;
    min-height: 50px;
    box-shadow: 0 8px 20px rgba(194, 24, 91, .30);
  }
}

/* ---------------------------------------------------------------- 16. mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  div.flex-shrink-0.w-40.bg-zinc-50.rounded-lg,
  div.flex-shrink-0.w-40.bg-zinc-50 img.aspect-square,
  main.space-y-12 > section.rounded-2xl.text-center.shadow-lg > button,
  .ds-fnext .ds-fchip,
  header.sticky nav.hidden > div > button { transition: none; }
  div.flex-shrink-0.w-40.bg-zinc-50.rounded-lg:hover { translate: none; }
  div.flex-shrink-0.w-40.bg-zinc-50:hover img.aspect-square { scale: 1; }
  main.space-y-12 > section.rounded-2xl.text-center.shadow-lg > button:hover { translate: none; }
}

/* garde menu Next (design_site.py) */
.ds-mdrawer, .ds-mburger, .ds-moverlay { position: fixed !important; }

/* garde-fou design_site.py (Next, 17/09) : le logo mobile est un <a> absolu centré ; un nom de site
   allemand long (« Kostenlose Sexdates in Deutschland ») débordait ou s'empilait sur 3 lignes
   par-dessus les icônes (capture du 17/09). Une ligne, ellipse, place réservée aux boutons. */
@media (max-width: 767px) {
  header .md\:hidden a[href="/"] {
    max-width: 56% !important; white-space: nowrap !important; overflow: hidden !important;
    text-overflow: ellipsis !important; font-size: clamp(.95rem, 4.4vw, 1.25rem) !important; line-height: 1.2 !important;
    position: absolute !important; /* lot 21 : un `position: relative` posé pour un ::after l'avait mis dans le flux → bouton par-dessus */
  }
  header nav.hidden { display: none !important; }
}
/* garde-fou 18/09 : la carte des pages ville tombait en repli avec un texte FRANÇAIS (« Carte indisponible (fallback) ») —
   corrigé à la source (VilleMap.tsx), masqué ici tant que le dist n'est pas reconstruit. */
main.space-y-12 > div.rounded-2xl.mb-8 > div.mb-3.text-sm.text-zinc-600 { display: none !important; }
@media (max-width: 767px) { /* lot 21 : `display:flex` posé sur nav.hidden.md:flex la faisait sortir sur mobile, par-dessus le logo */
  /* 19/09 (capture de Lucas, pop-up profil mobile) : le bouton « Registrieren… » remonté sous la photo touchait le
     titre « Bio » (bio.top == cta.bottom, toutes variantes pm-v) ; corrigé à la source (popup_skins.css / globals.css),
     posé ici pour les dists déjà construits. */
  .pm-modal .pm-cta { margin-bottom: .9rem !important; }
}
/* __END_DESIGN_SITE__ */
