
/* __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; } }

/* sexo-casual-brasil.lat — registre « calçadão de Copacabana » : pierre noire (#1d1d1d, favicon) + pierre calcaire
   (areia / marfim), la vague du trottoir en filet courbe, médaillons ronds, photos en arche. Next · villes-bas. */
html:root {
  --cc-ink: #1d1d1d;
  --cc-ink-2: #3a3530;
  --cc-muted: #5c5349;
  --cc-sand: #efe3cf;
  --cc-sand-2: #e4d4ba;
  --cc-ivory: #fbf7f0;
  --cc-line: #dccbb0;
  --secondary-color: #1d1d1d;
  --primary-color: #1d1d1d;
  --cc-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12' viewBox='0 0 44 12'%3E%3Cpath d='M0 6 Q11 0 22 6 T44 6' fill='none' stroke='%231d1d1d' stroke-width='1.8'/%3E%3C/svg%3E");
  --cc-wave-sand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12' viewBox='0 0 44 12'%3E%3Cpath d='M0 6 Q11 0 22 6 T44 6' fill='none' stroke='%23efe3cf' stroke-width='1.8'/%3E%3C/svg%3E");
}
body { background: var(--cc-ivory) !important; color: var(--cc-ink); }

/* ---------------------------------------------------------------- header : deux rangées */
header.sticky {
  background: var(--cc-sand) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 0 !important;
  box-shadow: 0 14px 30px -24px rgba(60, 40, 20, .55);
}
header.sticky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -11px; height: 12px;
  background: var(--cc-wave) repeat-x left center; opacity: .85; pointer-events: none;
}
header.sticky a.font-bold[href="/"] {
  color: var(--cc-ink) !important;
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-style: italic; letter-spacing: .005em;
}
@media (min-width: 768px) {
  header.sticky {
    background: linear-gradient(to bottom, var(--cc-ink) 0, var(--cc-ink) 44px, var(--cc-sand) 44px) !important;
  }
  header.sticky .container > div.flex.h-16 {
    display: grid; height: auto;
    grid-template-columns: auto 1fr; grid-template-rows: 44px auto;
    grid-template-areas: "act act" "logo nav";
    column-gap: 2.2rem; row-gap: .7rem; padding-bottom: .95rem;
  }
  header.sticky .container > div.flex.h-16 > div.hidden.md\:flex.gap-4 { grid-area: act; justify-self: end; align-self: center; gap: .6rem; }
  header.sticky .container > div.flex.h-16 > div.hidden.md\:flex:not(.gap-4) { grid-area: logo; align-self: center; }
  header.sticky .container > div.flex.h-16 > nav { grid-area: nav; justify-self: start; align-self: center; gap: 1rem; padding-left: 2.2rem; border-left: 1px solid var(--cc-line); }
  header.sticky a.font-bold[href="/"] { font-size: 1.7rem !important; }
  /* médaillons des actions, sur la bande noire */
  header.sticky button[aria-label="Iniciar sessão"],
  header.sticky button[aria-label="Procurar"] {
    width: 36px; height: 36px; padding: 0 !important; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(239, 227, 207, .45);
    background: rgba(239, 227, 207, .08); color: var(--cc-sand) !important;
    transition: background-color .2s ease, color .2s ease;
  }
  header.sticky button[aria-label="Iniciar sessão"]:hover,
  header.sticky button[aria-label="Procurar"]:hover { background: var(--cc-sand); color: var(--cc-ink) !important; }
  header.sticky nav button {
    color: var(--cc-ink) !important; background: var(--cc-ivory); border: 1px solid var(--cc-ink);
    border-radius: 999px; padding: .5rem 1.15rem; font-weight: 600;
    box-shadow: 0 6px 14px -10px rgba(29, 29, 29, .6); transition: background-color .2s ease, color .2s ease;
  }
  header.sticky nav button:hover { background: var(--cc-ink); color: var(--cc-sand) !important; }
  header.sticky .absolute.top-full {
    left: 0 !important; right: auto !important; transform: none !important; translate: none !important;
    background: var(--cc-ivory) !important; border: 1px solid var(--cc-line) !important; border-radius: 22px !important;
    box-shadow: 0 22px 44px -26px rgba(60, 40, 20, .5) !important; color: var(--cc-ink);
  }
  header.sticky .absolute.top-full a { color: var(--cc-ink) !important; }
  header.sticky .absolute.top-full a:hover { background: var(--cc-sand) !important; }
}
@media (max-width: 767px) {
  header.sticky .md\:hidden a[href="/"] { color: var(--cc-ink) !important; font-size: 1.15rem !important; }
  header.sticky .md\:hidden button:not([aria-label="Menu"]) {
    color: var(--cc-ink) !important; min-height: 40px; min-width: 40px; justify-content: center;
    border-radius: 999px; border: 1px solid var(--cc-ink); background: var(--cc-ivory); padding: .3rem .6rem;
  }
}
/* bulle d'invitation (tooltip du header) */
header.sticky .absolute.whitespace-nowrap.top-full { left: auto !important; right: -2px !important; transform: none !important; translate: none !important; }
header.sticky [role="tooltip"], header.sticky .absolute.whitespace-nowrap {
  background: var(--cc-ink) !important; color: var(--cc-sand) !important; border-radius: 999px !important; border-color: var(--cc-ink) !important;
}

/* ---------------------------------------------------------------- hero + fil d'Ariane */
main > div.bg-gradient-to-b { background: linear-gradient(to bottom, var(--cc-sand) 0, var(--cc-ivory) 340px) !important; }
main > div.bg-gradient-to-b > nav[aria-label] { background: transparent !important; border-bottom: 1px dashed var(--cc-line) !important; }
main > div.bg-gradient-to-b > nav[aria-label] a { color: var(--cc-muted) !important; }
main > div.bg-gradient-to-b > nav[aria-label] span[aria-current] { color: var(--cc-ink) !important; }
main header.text-center { padding-top: .8rem; }
main header.text-center h1 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 600 !important; color: var(--cc-ink) !important; letter-spacing: -.01em;
}
main header.text-center h1::after {
  content: ""; display: block; width: 132px; height: 12px; margin: .9rem auto 0;
  background: var(--cc-wave) repeat-x left center;
}
main header.text-center p, main header.text-center .text-zinc-600, main header.text-center .text-zinc-700 { color: var(--cc-muted) !important; }

/* ---------------------------------------------------------------- sections en cartes */
main section.rounded-2xl.shadow-lg, main div.rounded-2xl.mb-8 {
  background: #fff !important; border: 1px solid var(--cc-line);
  border-radius: 30px !important;
  box-shadow: 0 22px 44px -34px rgba(60, 40, 20, .55) !important;
}
main section.rounded-2xl h2 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 600 !important; color: var(--cc-ink) !important;
}
main section.rounded-2xl h2::after {
  content: ""; display: block; width: 66px; height: 12px; margin-top: .55rem;
  background: var(--cc-wave) repeat-x left center; opacity: .7;
}
main section.text-center h2::after { margin-left: auto; margin-right: auto; }
main .text-zinc-700, main .text-zinc-600 { color: var(--cc-ink-2) !important; }
main .text-zinc-500 { color: var(--cc-muted) !important; }
main input[type="text"] {
  border-radius: 999px !important; border: 1.5px solid var(--cc-line) !important; background: var(--cc-ivory) !important;
  color: var(--cc-ink) !important; padding-left: 1.3rem !important;
}
main input[type="text"]::placeholder { color: #7a6f63 !important; }
main input[type="text"]:focus { border-color: var(--cc-ink) !important; box-shadow: 0 0 0 4px rgba(29, 29, 29, .08); }

/* ---------------------------------------------------------------- cartes profil : hautes, photo en arche, médaillon d'âge */
main .w-40.sm\:w-64.bg-zinc-50 {
  background: #fff !important; border: 1px solid var(--cc-line) !important; border-radius: 26px !important;
  box-shadow: 0 14px 28px -24px rgba(60, 40, 20, .6);
  transition: box-shadow .25s ease, border-color .25s ease;
}
main .w-40.sm\:w-64.bg-zinc-50:hover { border-color: var(--cc-ink) !important; box-shadow: 0 20px 34px -22px rgba(29, 29, 29, .55); }
main .w-40.sm\:w-64.bg-zinc-50 > div.relative { margin-bottom: 1.5rem !important; }
main .w-40.sm\:w-64.bg-zinc-50 img.aspect-square {
  aspect-ratio: 4 / 5 !important; border-radius: 999px 999px 16px 16px !important;
  outline: 1px solid var(--cc-line); outline-offset: 3px;
  transition: filter .3s ease;
}
main .w-40.sm\:w-64.bg-zinc-50:hover img.aspect-square { filter: saturate(1.08) brightness(1.03); }
main .w-40.sm\:w-64.bg-zinc-50 div.absolute.top-2.right-2 {
  top: auto !important; bottom: -18px; right: 10px !important;
  width: 46px; height: 46px; padding: 3px !important; border-radius: 50% !important;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; text-align: center;
  font-size: 10.5px !important; line-height: 1.05; font-weight: 700 !important;
  background: var(--cc-ink) !important; color: var(--cc-sand) !important;
  border: 2px solid #fff; box-shadow: 0 6px 12px -6px rgba(29, 29, 29, .7);
}
main .w-40.sm\:w-64.bg-zinc-50 h3 { color: var(--cc-ink) !important; font-family: Georgia, "Times New Roman", serif; padding-right: 2.4rem; }
main .w-40.sm\:w-64.bg-zinc-50 p.text-zinc-500 { color: var(--cc-muted) !important; }
main .w-40.sm\:w-64.bg-zinc-50 p.text-zinc-600 { color: var(--cc-ink-2) !important; }

/* tri / recherche */
main div.rounded-lg.shadow-sm { background: var(--cc-ivory) !important; border: 1px solid var(--cc-line) !important; border-radius: 22px !important; }
main div.rounded-lg.shadow-sm select { border-radius: 999px !important; border-color: var(--cc-line) !important; background-color: #fff !important; color: var(--cc-ink) !important; }
main div.rounded-lg.shadow-sm button { border-radius: 999px !important; background: var(--cc-ink) !important; color: var(--cc-sand) !important; }

/* pagination / boutons de défilement du carrousel */
main button[aria-label*="gina"], main nav[aria-label] button { border-radius: 999px !important; }

/* ---------------------------------------------------------------- recette Next · villes-bas (copiée telle quelle) */
body.design-v-villes-bas main.space-y-12:where(:has(> section#departements)) { display: flex; flex-direction: column; }
body.design-v-villes-bas main.space-y-12:where(:has(> section#departements)) > * { order: 6; }
body.design-v-villes-bas main.space-y-12 > section.scroll-mt-20:not(#departements) { order: 1; }
body.design-v-villes-bas main.space-y-12 > .ds-bloc { order: 2; }
body.design-v-villes-bas main.space-y-12 > section.text-center { order: 3; }
body.design-v-villes-bas main.space-y-12 > section#departements { order: 7; margin-top: 2rem; }

/* ---------------------------------------------------------------- CTA : carte de rencontre centrée */
main section.rounded-2xl.text-center {
  max-width: 620px; width: 100%; margin-left: auto !important; margin-right: auto !important;
  padding: 2.4rem 1.6rem 2.6rem !important;
  background: radial-gradient(120% 90% at 50% 0%, #fff 0, var(--cc-ivory) 55%, var(--cc-sand) 100%) !important;
  border: 1px solid var(--cc-ink) !important; border-radius: 180px 180px 30px 30px !important;
  box-shadow: 0 28px 50px -34px rgba(29, 29, 29, .6) !important;
}
main section.rounded-2xl.text-center h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem) !important; }
main section.text-center button.inline-block {
  min-height: 50px; padding: .8rem 2.2rem !important; border-radius: 999px !important;
  background-color: var(--cc-ink) !important; color: #fbf7f0 !important; font-weight: 700 !important; letter-spacing: .01em;
  box-shadow: 0 16px 28px -14px rgba(29, 29, 29, .75) !important; transition: transform .2s ease, box-shadow .2s ease;
}
main section.text-center button.inline-block:hover { transform: translateY(-2px); box-shadow: 0 20px 32px -14px rgba(29, 29, 29, .85) !important; }

/* ---------------------------------------------------------------- listes de villes / régions */
nav[aria-label] a[style*="border-left"] {
  border-left: 0 !important; border-radius: 999px !important; background: var(--cc-ivory);
  border: 1px solid var(--cc-line) !important; color: var(--cc-ink-2) !important; padding-left: 1rem !important;
  position: relative;
}
nav[aria-label] a[style*="border-left"]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cc-ink);
  margin-right: .5rem; vertical-align: middle;
}
nav[aria-label] a[style*="border-left"]:hover { background: var(--cc-sand) !important; color: var(--cc-ink) !important; }
section.bg-zinc-100 { background: var(--cc-sand) !important; }
section.bg-zinc-100 a.rounded-full { background: #fff !important; border: 1px solid var(--cc-line) !important; color: var(--cc-ink) !important; }
section.bg-zinc-100 a.rounded-full:hover { background: var(--cc-ink) !important; color: var(--cc-sand) !important; }
main section#departements a, main .space-y-8 section a:not([style]) { color: var(--cc-ink-2); }

/* FAQ */
section:has(> div.space-y-0) button { color: var(--cc-ink) !important; border-radius: 16px; }
section:has(> div.space-y-0) button:hover { background: var(--cc-ivory) !important; }
section:has(> div.space-y-0) div.space-y-0 > * { border-color: var(--cc-line) !important; }

/* ---------------------------------------------------------------- bandeau de confiance : médaillons */
body > section.border-t.border-b, section.border-t.border-b.py-12 {
  background: var(--cc-sand) !important; border-color: transparent !important; position: relative;
}
section.border-t.border-b.py-12::before {
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: var(--cc-wave) repeat-x left center; opacity: .7;
}
section.border-t.border-b.py-12 .w-16.h-16.rounded-full {
  background: var(--cc-ink) !important; color: var(--cc-sand) !important;
  box-shadow: 0 0 0 5px var(--cc-sand), 0 0 0 6px var(--cc-ink);
}
section.border-t.border-b.py-12 .w-16.h-16.rounded-full svg { color: var(--cc-sand) !important; stroke: currentColor; }
section.border-t.border-b.py-12 p { color: var(--cc-ink-2) !important; }

/* ---------------------------------------------------------------- footer : une ligne */
footer.border-t {
  background: var(--cc-ink) !important; border-top: 0 !important; color: var(--cc-sand); position: relative;
}
footer.border-t::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 12px; background: var(--cc-wave-sand) repeat-x left center; opacity: .55;
}
footer.border-t > .container { padding-top: 3.2rem !important; padding-bottom: 2rem !important; }
footer h3[style], footer h3 { color: var(--cc-sand) !important; }
footer h3[style] { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }
footer .text-zinc-600 { color: #e6d8c1 !important; }
footer .text-zinc-500 { color: #cdbca0 !important; }
footer .border-zinc-200 { border-color: rgba(239, 227, 207, .22) !important; }
footer a { color: var(--cc-sand) !important; }
footer a:hover { color: #fff !important; }
footer .border-t.pt-8 a[href="/sitemap.xml"], footer a[href="/sitemap.xml"] {
  border: 1px solid rgba(239, 227, 207, .5); border-radius: 999px; padding: .35rem .95rem;
}
@media (min-width: 1024px) {
  footer .grid.grid-cols-1 {
    display: flex !important; flex-wrap: nowrap; align-items: flex-start; gap: 2.4rem !important; margin-bottom: 1.6rem !important;
  }
  footer .grid.grid-cols-1 > div { flex: 0 0 auto; display: flex; align-items: baseline; gap: .9rem; }
  footer .grid.grid-cols-1 > div:first-child { flex-direction: column; gap: .2rem; max-width: 15rem; }
  footer .grid.grid-cols-1 > div:first-child p.text-sm { display: none; }
  footer .grid.grid-cols-1 { flex-wrap: wrap !important; }
  footer .grid.grid-cols-1 > div:last-child { flex: 1 1 100%; min-width: 0; padding-left: 0 !important; border-left: 0 !important; padding-top: 1.2rem; border-top: 1px solid rgba(239, 227, 207, .22); }
  footer .grid.grid-cols-1 > div h3 { margin: 0 !important; white-space: nowrap; font-size: .72rem !important; }
  footer .grid.grid-cols-1 > div:first-child h3 { font-size: 1.15rem !important; }
  footer .grid.grid-cols-1 ul { display: flex; flex-wrap: wrap; column-gap: .9rem; row-gap: .35rem; }
  footer .grid.grid-cols-1 ul > li { margin: 0 !important; }
  footer .grid.grid-cols-1 > div + div { padding-left: 2.4rem; border-left: 1px solid rgba(239, 227, 207, .22); }
}

/* retour en haut : médaillon */
button.fixed.bottom-6.right-6 {
  background-color: var(--cc-ink) !important; color: var(--cc-sand) !important;
  box-shadow: 0 0 0 3px var(--cc-sand), 0 12px 24px -10px rgba(29, 29, 29, .7) !important;
}

/* ---------------------------------------------------------------- pop-ups : couleurs et rayons */
.prelinker-embed { border-radius: 22px; }
.pm-modal .pm-cta button { border-radius: 999px !important; }
.prelinker-embed button, .prelinker-embed input[type="submit"] { border-radius: 999px !important; }

/* ---------------------------------------------------------------- menu mobile */
@media (max-width: 767px) {
  .ds-mburger { background: var(--cc-ivory); color: var(--cc-ink); border: 1px solid var(--cc-ink); border-radius: 50%; box-shadow: 0 6px 14px -8px rgba(29, 29, 29, .6); }
  .ds-moverlay { background: rgba(29, 29, 29, .5); }
  .ds-mdrawer { background: var(--cc-ivory); color: var(--cc-ink); border-radius: 0 28px 28px 0; box-shadow: 10px 0 34px rgba(29, 29, 29, .35); }
  .ds-mhead { background: var(--cc-ink); color: var(--cc-sand); border-bottom: 0; position: relative; padding: 18px 16px 22px; }
  .ds-mhead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: var(--cc-wave-sand) repeat-x left center; opacity: .6; }
  .ds-mbrand { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
  .ds-mclose { background: rgba(239, 227, 207, .14); color: var(--cc-sand); width: 40px; height: 40px; }
  .ds-msec { padding-top: 16px; }
  .ds-msec-t { color: var(--cc-muted); opacity: 1; font-weight: 700; }
  .ds-mlink { min-height: 40px; display: inline-flex; align-items: center; border: 1px solid var(--cc-line); background: #fff; color: var(--cc-ink); }
  .ds-mnav .ds-mlink { background: var(--cc-ink); color: var(--cc-sand); border-color: var(--cc-ink); }
  .ds-mcta { background: var(--cc-ink); color: #fbf7f0; border-radius: 999px; box-shadow: 0 14px 24px -14px rgba(29, 29, 29, .8); }
  main section.rounded-2xl.text-center { border-radius: 90px 90px 26px 26px !important; padding: 2.6rem 1.4rem 2.2rem !important; }
  main section.rounded-2xl.text-center h2 { font-size: 1.45rem !important; }
  nav[aria-label] a[style*="border-left"] { border-radius: 16px !important; }
  main header.text-center h1::after { width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  main .w-40.sm\:w-64.bg-zinc-50, main .w-40.sm\:w-64.bg-zinc-50 img.aspect-square,
  main section.text-center button.inline-block, header.sticky nav button,
  header.sticky button[aria-label="Iniciar sessão"], header.sticky button[aria-label="Procurar"] { transition: none !important; }
  main section.text-center button.inline-block:hover { transform: none !important; }
}

/* 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__ */
