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

/* ============================================================
   fremdgehen-rheinland-pfalz.de — habillage unique (gabarit Next)
   Direction : noir profond + doré rose ("rose gold"), registre
   discret / secret. Contrastes doux, ombres profondes, filets fins.
   Disposition : header desktop en DEUX LIGNES (logo seul en haut,
   nav + actions séparées par un filet en dessous) ; barre mobile
   noire, hamburger doré rose ; footer noir, 4 colonnes serrées
   séparées par des filets.
   Rien ici ne touche à la grille de profils, aux fiches, à l'age
   gate, à la pop-up d'inscription ni au prelinker.
   ============================================================ */

header.sticky,
footer {
  --rg-noir: #0e0b0f;
  --rg-noir-doux: #16111a;
  --rg-clair: #e8b4a8;   /* doré rose clair — texte / accents */
  --rg-sourd: #c9977f;   /* doré rose sourd — filets / secondaire */
  --rg-creme: #efe3dd;   /* texte courant sur fond noir */
  --rg-filet: rgba(201, 151, 127, .32);
}

/* ---------- HEADER DESKTOP + MOBILE : fond commun ---------- */

header.sticky {
  background:
    radial-gradient(120% 180% at 50% -60%, rgba(232, 180, 168, .09), transparent 62%),
    linear-gradient(180deg, var(--rg-noir-doux) 0%, var(--rg-noir) 100%) !important;
  border-bottom-color: var(--rg-filet) !important;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .85);
  position: relative;
}

/* filet du bas qui respire doucement — ligne fine, pas une surface */
header.sticky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rg-clair) 45%, var(--rg-sourd) 55%, transparent);
  background-size: 220% 100%;
  animation: rg-sheen 9s linear infinite;
  pointer-events: none;
  opacity: .55;
}

@keyframes rg-sheen {
  0%   { background-position: 120% 0; }
  100% { background-position: -20% 0; }
}

/* ---------- HEADER DESKTOP : deux lignes ---------- */

@media (min-width: 768px) {
  header.sticky .flex.h-16 {
    height: auto;
    min-height: 4rem;
    flex-wrap: wrap;
    row-gap: .7rem;
    padding-block: .95rem;
  }

  /* ligne 1 — logo seul, centré, pleine largeur */
  header.sticky .flex.h-16 > div.hidden.md\:flex.items-center.flex-shrink-0:not(.gap-4) {
    flex-basis: 100%;
    justify-content: center;
    padding-bottom: .65rem;
    border-bottom: 1px solid rgba(201, 151, 127, .16);
  }

  /* ligne 2 — nav (gauche) puis actions (droite), déjà écartées
     par justify-content:space-between hérité du conteneur */
  header.sticky .flex.h-16 > nav.hidden.md\:flex {
    order: 2;
  }

  header.sticky .flex.h-16 > div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 {
    order: 3;
    border-left: 1px solid var(--rg-filet);
    padding-left: 1.15rem;
    margin-left: .35rem;
  }
}

/* ---------- Logo (desktop + mobile) ---------- */

header.sticky a.text-2xl,
header.sticky a.text-xl {
  color: var(--rg-clair) !important;
  letter-spacing: .01em;
  transition: filter .35s ease, opacity .35s ease;
}

header.sticky a.text-2xl:hover,
header.sticky a.text-xl:hover {
  filter: drop-shadow(0 0 10px rgba(232, 180, 168, .55));
  opacity: 1 !important;
}

/* ---------- Nav desktop : lien souligné au survol ---------- */

header.sticky nav.hidden.md\:flex button {
  color: var(--rg-creme) !important;
}

header.sticky nav.hidden.md\:flex > div.relative {
  position: relative;
}

header.sticky nav.hidden.md\:flex > div.relative::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--rg-clair);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}

header.sticky nav.hidden.md\:flex > div.relative:hover::after {
  transform: scaleX(1);
}

header.sticky nav.hidden.md\:flex button:hover,
header.sticky nav.hidden.md\:flex .dark\:hover\:text-zinc-50:hover {
  color: var(--rg-clair) !important;
}

/* ---------- Actions desktop (profil / recherche) ---------- */

header.sticky div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 button,
header.sticky div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 svg {
  color: var(--rg-creme);
}

header.sticky div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 button:hover {
  color: var(--rg-clair) !important;
}

/* bulle "Rejoins-nous !" — reprise en doré rose, texte sombre pour le contraste */
header.sticky div[class*="absolute"][class*="whitespace-nowrap"] {
  background: var(--rg-clair) !important;
  color: var(--rg-noir) !important;
  font-weight: 600;
}
header.sticky div[class*="absolute"][class*="whitespace-nowrap"] > div {
  background: var(--rg-clair) !important;
}

/* ---------- Barre mobile ---------- */

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button {
  color: var(--rg-sourd) !important;
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button:hover {
  color: var(--rg-clair) !important;
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button svg {
  filter: drop-shadow(0 0 0 transparent);
  transition: transform .25s ease;
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button:active svg {
  transform: scale(.9);
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full span {
  color: var(--rg-creme) !important;
}

/* tiroir mobile déroulé : fond et liens repris en noir / doré rose,
   aucune position/affichage touchée (le tiroir garde son fonctionnement) */
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 {
  background: var(--rg-noir-doux);
  border-top-color: var(--rg-filet) !important;
}
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 a,
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 button,
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 span {
  color: var(--rg-creme);
}
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 a:hover {
  color: var(--rg-clair);
}
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 .border-t.border-zinc-200,
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 .h-px.bg-zinc-200 {
  border-color: var(--rg-filet) !important;
  background: var(--rg-filet) !important;
}

/* ============================================================
   FOOTER : noir, filets doré rose, 4 colonnes serrées
   ============================================================ */

footer {
  background:
    radial-gradient(110% 160% at 50% 130%, rgba(201, 151, 127, .06), transparent 60%),
    var(--rg-noir) !important;
  border-top-color: var(--rg-filet) !important;
  box-shadow: 0 -12px 28px -20px rgba(0, 0, 0, .8);
}

/* compacité générale */
footer .container.mx-auto.px-4.py-12 {
  padding-block: 2rem;
}

footer .grid.mb-8 {
  gap: 1.35rem;
}

/* colonnes serrées, filets verticaux entre elles à partir de lg */
@media (min-width: 1024px) {
  footer .grid.mb-8 > div:not(:first-child) {
    border-left: 1px solid var(--rg-filet);
    padding-left: 1.5rem;
  }
}

footer h3 {
  color: var(--rg-clair) !important;
  letter-spacing: .04em;
}

footer p,
footer .text-zinc-600 {
  color: rgba(239, 227, 221, .78) !important;
}

footer .text-zinc-500 {
  color: rgba(239, 227, 221, .55) !important;
}

footer a.text-zinc-600,
footer a.inline-block {
  color: rgba(239, 227, 221, .82) !important;
  transition: color .25s ease, padding-left .25s ease;
}

footer a.text-zinc-600:hover,
footer a.inline-block:hover {
  color: var(--rg-clair) !important;
  padding-left: .2rem;
}

footer .border-t.border-zinc-200 {
  border-top-color: var(--rg-filet) !important;
}

footer div.border-t.border-zinc-200.pt-8 {
  padding-top: 1.5rem;
}

footer a.underline {
  color: var(--rg-sourd) !important;
  text-decoration-color: var(--rg-filet);
}
footer a.underline:hover {
  color: var(--rg-clair) !important;
}

footer a.text-zinc-500.hover\:text-zinc-700 {
  color: rgba(239, 227, 221, .55) !important;
}
footer a.text-zinc-500.hover\:text-zinc-700:hover {
  color: var(--rg-clair) !important;
}

/* ---------- Sobriété des animations ---------- */

@media (prefers-reduced-motion: reduce) {
  header.sticky::after,
  header.sticky nav.hidden.md\:flex > div.relative::after,
  header.sticky a.text-2xl,
  header.sticky a.text-xl,
  header.sticky .md\:hidden.flex.items-center.justify-between.w-full button svg,
  footer a.text-zinc-600,
  footer a.inline-block {
    animation: none !important;
    transition: none !important;
  }
}

/* Recette Next · cta-faq — copiée telle quelle depuis app/design_recettes_v3.css (18/09) */
@media (min-width: 992px) {
  body.design-v-cta-faq main.space-y-12 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 3rem; align-items: start; }
  body.design-v-cta-faq main.space-y-12 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > section:has(.min-h-\[500px\]) { order: 1; }
  body.design-v-cta-faq main.space-y-12 > div.rounded-2xl.mb-8 { order: 2; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 { display: contents; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(.prose) { order: 3; }
  body.design-v-cta-faq main.space-y-12 > .ds-bloc { order: 3; }
  body.design-v-cta-faq main.space-y-12 > section.text-center { order: 4; grid-column: auto; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(> div.space-y-0) { order: 5; grid-column: auto; align-self: stretch; }
}

/* Thème profond — même registre noir profond + doré rose que le header/footer ;
   variables reprises à :root (mêmes valeurs) pour <main> et les pop-ups. */
:root{--rg-noir:#0e0b0f;--rg-noir-doux:#16111a;--rg-clair:#e8b4a8;--rg-sourd:#c9977f;--rg-creme:#efe3dd;--rg-filet:rgba(201,151,127,.32);}

/* Cartes profil : écrin noir, filet doré rose */
main .flex-shrink-0.w-40.sm\:w-64.bg-zinc-50{background:linear-gradient(165deg,var(--rg-noir-doux) 0%,var(--rg-noir) 100%);border-color:var(--rg-filet) !important;border-radius:10px;box-shadow:0 10px 22px -16px rgba(0,0,0,.9);transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;}
main .flex-shrink-0.w-40.sm\:w-64.bg-zinc-50:hover{transform:translateY(-3px);border-color:var(--rg-clair) !important;box-shadow:0 16px 30px -16px rgba(0,0,0,.95);}
main img.aspect-square.object-cover{border-radius:8px;filter:saturate(1.02);transition:filter .3s ease;}
main .flex-shrink-0.w-40.sm\:w-64.bg-zinc-50:hover img.aspect-square.object-cover{filter:saturate(1.08) brightness(1.03);}
main .absolute.top-2.right-2.bg-zinc-900\/80{background:var(--rg-noir) !important;color:var(--rg-clair) !important;border:1px solid var(--rg-filet);font-weight:600;}
main h3.font-semibold.truncate{color:var(--rg-clair) !important;}
main p.text-xs.text-zinc-500.truncate.mb-2{color:rgba(239,227,221,.6) !important;}
main p.text-xs.text-zinc-600.line-clamp-2{color:rgba(239,227,221,.78) !important;}

/* Barre de tri + "Mehr anzeigen" */
main div.rounded-lg.shadow-sm{background:var(--rg-creme);border-color:var(--rg-filet) !important;}
main .form-group select{border-color:var(--rg-sourd) !important;border-radius:8px;background:#fff;color:var(--rg-noir);}
main .form-group select:focus{outline:none;box-shadow:0 0 0 2px var(--rg-clair) !important;}
main button[aria-label="Mehr anzeigen"]{color:var(--rg-sourd) !important;position:relative;padding-bottom:1px;background-image:linear-gradient(var(--rg-clair),var(--rg-clair));background-repeat:no-repeat;background-position:left bottom;background-size:0 1px;transition:background-size .3s ease;}
main button[aria-label="Mehr anzeigen"]:hover{background-size:100% 1px;}

/* « Nach Bundesland » + liens ville en pastille (remplace le liseré rose générique #E35D8F) */
main #departements h2{color:var(--rg-noir);border-left:3px solid var(--rg-sourd);padding-left:12px;}
main #departements input[type="text"]{border-color:var(--rg-sourd) !important;border-radius:8px;}
main #departements input[type="text"]:focus{border-color:var(--rg-clair) !important;outline:none;box-shadow:0 0 0 2px var(--rg-clair) !important;}
main a[style*="border-left"]{border-left-color:var(--rg-sourd) !important;}
main a[style*="border-left"]:hover{background:rgba(201,151,127,.12) !important;color:var(--rg-noir) !important;}
section.bg-zinc-100 a.rounded-full{border:1px solid var(--rg-filet);color:var(--rg-noir) !important;}
section.bg-zinc-100 a.rounded-full:hover{background-color:var(--rg-clair) !important;color:var(--rg-noir) !important;}

/* Bandeau CTA de milieu de page — même souffle rose que le header */
main section.text-center{background-image:radial-gradient(120% 180% at 50% -40%,rgba(232,180,168,.12),transparent 62%),linear-gradient(155deg,var(--rg-noir-doux) 0%,var(--rg-noir) 100%);border:1px solid var(--rg-filet);position:relative;overflow:hidden;}
main section.text-center::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--rg-clair) 45%,var(--rg-sourd) 55%,transparent);background-size:220% 100%;animation:rg-sheen 9s linear infinite;opacity:.5;pointer-events:none;}
main section.text-center h2{color:var(--rg-creme) !important;position:relative;}
main section.text-center button{background:var(--rg-clair) !important;color:var(--rg-noir) !important;border-radius:999px;position:relative;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;}
main section.text-center button:hover{background:#fff !important;transform:translateY(-2px);box-shadow:0 12px 26px -12px rgba(0,0,0,.55);}

/* FAQ / accordéon + texte SEO */
main section:has(> div.space-y-0){border:1px solid var(--rg-filet);}
main section:has(> div.space-y-0) > h2{color:var(--rg-noir);border-left:3px solid var(--rg-sourd);padding-left:12px;}
main div.space-y-0 > div{border-color:var(--rg-filet) !important;}
main div.space-y-0 h3{color:var(--rg-noir);}
main div.space-y-0 button:hover{background:rgba(201,151,127,.08) !important;}
main div.space-y-0 svg{color:var(--rg-sourd) !important;}
main section:has(.prose) h2{color:var(--rg-noir);}
main section:has(.prose) a{color:var(--rg-sourd);}
main section:has(.prose) a:hover{color:var(--rg-clair);}

/* Retour en haut — couleur inline → !important, position/affichage intouchés */
button.fixed.bottom-6.right-6{background:var(--rg-noir) !important;color:var(--rg-clair) !important;border:1px solid var(--rg-filet);box-shadow:0 10px 20px -10px rgba(0,0,0,.75);}
button.fixed.bottom-6.right-6:hover{background:var(--rg-noir-doux) !important;}

/* Pop-up d'inscription (LoginPopup) — couleurs/bordures/rayons seulement, rien touché sur
   display/position/transform/overflow */
.fixed.inset-0.z-50.bg-black\/50{background:rgba(14,11,15,.78) !important;}
.fixed.inset-0.z-50 .rounded-2xl.shadow-2xl{background:var(--rg-creme);border:1px solid var(--rg-filet);border-top:4px solid var(--rg-clair);border-radius:16px;box-shadow:0 24px 48px -20px rgba(14,11,15,.55);}
.fixed.inset-0.z-50 h1.text-3xl.font-bold{color:var(--rg-noir) !important;}
.fixed.inset-0.z-50 button.rounded-full.bg-zinc-100{background:#fff !important;color:var(--rg-noir) !important;border:1px solid var(--rg-filet);}
.fixed.inset-0.z-50 button.rounded-full.bg-zinc-100:hover{background:var(--rg-clair) !important;}
.fixed.inset-0.z-50 input.rounded-lg.border.border-zinc-300{border-color:var(--rg-sourd) !important;border-radius:8px;}
.fixed.inset-0.z-50 input.rounded-lg.border.border-zinc-300:focus{border-color:var(--rg-clair) !important;}
.fixed.inset-0.z-50 button.w-full.text-white.font-semibold.rounded-lg{background:var(--rg-noir) !important;border-radius:8px;}
.fixed.inset-0.z-50 button.w-full.text-white.font-semibold.rounded-lg:hover{background:var(--rg-noir-doux) !important;}
.fixed.inset-0.z-50 #prelinker-embed{border-radius:8px;}

/* Age gate — couleurs/bordures/rayons seulement, montrer/cacher géré en React */
.z-\[9999\].bg-zinc-900\/90{background:rgba(14,11,15,.85) !important;}
.z-\[9999\] .bg-white.rounded-xl.shadow-xl.max-w-xl{background:var(--rg-creme) !important;border:1px solid var(--rg-filet) !important;border-top:4px solid var(--rg-clair) !important;border-radius:16px;box-shadow:0 24px 48px -20px rgba(14,11,15,.55);}
.z-\[9999\] h1.text-2xl{color:var(--rg-noir);}
.z-\[9999\] .w-16.h-1.bg-zinc-300{background:var(--rg-clair) !important;}
.z-\[9999\] .bg-zinc-50.rounded-lg.p-5.border.border-zinc-200{background:#fff !important;border-color:var(--rg-filet) !important;}
.z-\[9999\] .bg-zinc-50.rounded-lg.p-5.border.border-zinc-200 p.font-medium{color:var(--rg-noir) !important;}
.z-\[9999\] button:first-of-type{background:var(--rg-noir) !important;border-radius:8px;}
.z-\[9999\] button:first-of-type:hover{background:var(--rg-noir-doux) !important;}
.z-\[9999\] button.bg-zinc-100{background:#fff !important;color:var(--rg-noir) !important;border-color:var(--rg-filet) !important;border-radius:8px;}
.z-\[9999\] button.bg-zinc-100:hover{background:var(--rg-clair) !important;}

/* Menu mobile (.ds-mdrawer / .ds-mburger) — socle mécanique posé par design_site.py,
   ici seulement la recoloration dans le registre du site */
.ds-mburger{background:var(--rg-noir) !important;border:1px solid var(--rg-filet);box-shadow:0 6px 16px -8px rgba(0,0,0,.6);}
.ds-mburger span{background:var(--rg-clair);}
.ds-mdrawer{background:var(--rg-noir-doux);color:var(--rg-creme);}
.ds-mhead{border-bottom-color:var(--rg-filet);color:var(--rg-clair);}
.ds-mclose{background:rgba(201,151,127,.14);color:var(--rg-creme);}
.ds-msec-t{color:var(--rg-sourd);}
.ds-mlink{border-color:var(--rg-filet);background:rgba(201,151,127,.08);color:var(--rg-creme);}
.ds-mlink:hover{border-color:var(--rg-clair);color:var(--rg-clair);}
.ds-mnav .ds-mlink{color:var(--rg-clair);}
.ds-mfoot{border-top:1px solid var(--rg-filet);}
.ds-mcta{background:var(--rg-clair) !important;color:var(--rg-noir) !important;}
.ds-mcta:hover{background:#fff !important;}

/* Sobriété des animations (éléments de ce bloc) */
@media (prefers-reduced-motion: reduce) {
  main .flex-shrink-0.w-40.sm\:w-64.bg-zinc-50,
  main .flex-shrink-0.w-40.sm\:w-64.bg-zinc-50:hover,
  main img.aspect-square.object-cover,
  main button[aria-label="Mehr anzeigen"],
  main section.text-center::after,
  main section.text-center button,
  button.fixed.bottom-6.right-6 { animation: none !important; transition: none !important; transform: none !important; }
}

/* cta-faq (Lucas, 19/09) : le CTA ne prend plus la hauteur de la colonne FAQ — centré, hauteur naturelle, de l'air */
@media (min-width:992px){
body.design-v-cta-faq .bg-gradient > .container > .cta-section,
body.design-v-cta-faq div.container > section.cta-section,
body.design-v-cta-faq main.space-y-12 > section.text-center{align-self:center !important;margin-top:2.5rem !important;margin-bottom:2.5rem !important;min-height:0 !important;height:auto !important;}
}

/* __CONTRASTE_V1 */
/* contraste mesuré < 2.4 (contraste_audit.mjs) : couleur du texte forcée lisible */
@media (min-width: 900px) { div.jsx-4fb23789b5a36db8.absolute, div.jsx-4fb23789b5a36db8.absolute a, div.jsx-4fb23789b5a36db8.absolute span { color: #ffffff !important; } }
@media (min-width: 900px) { h3.jsx-4fb23789b5a36db8.font-semibold, h3.jsx-4fb23789b5a36db8.font-semibold a, h3.jsx-4fb23789b5a36db8.font-semibold span { color: #151515 !important; } }
@media (min-width: 900px) { p.jsx-4fb23789b5a36db8.text-xs, p.jsx-4fb23789b5a36db8.text-xs a, p.jsx-4fb23789b5a36db8.text-xs span { color: #151515 !important; } }
@media (max-width: 899px) { div.jsx-4fb23789b5a36db8.absolute, div.jsx-4fb23789b5a36db8.absolute a, div.jsx-4fb23789b5a36db8.absolute span { color: #151515 !important; } }
/* __END_CONTRASTE_V1 */

/* __CONTRASTE_V2 */
/* contraste mesuré < 2.4 (contraste_audit.mjs) : couleur du texte forcée lisible */
@media (min-width: 900px) { body h3.jsx-4fb23789b5a36db8.font-semibold.font-semibold.font-semibold, body h3.jsx-4fb23789b5a36db8.font-semibold.font-semibold.font-semibold a, body h3.jsx-4fb23789b5a36db8.font-semibold.font-semibold.font-semibold span { color: #151515 !important; text-shadow: 0 0 2px #fff; } }
/* __END_CONTRASTE_V2 */

/* __POPUP_CRO_V1 — fiche profil : blanche, sobre, et réglée pour le clic (23/09, demande de Lucas).
   Posé en fin de la feuille du site : hérite donc de sa palette, et `--cro-accent` est écrit par
   popup_cro_apply.py avec la teinte du site (repli : sa variable primaire).

   Ce que ça change, et pourquoi :
   1. FOND BLANC partout (la fiche était crème, ivoire ou transparente selon les sites) — une surface
      neutre fait ressortir la photo et le bouton, et ne discute pas avec la palette du site.
   2. PHOTO PLAFONNÉE à 42vh sur mobile : elle prenait 400 à 455 px sur un écran de 844 (jusqu'à 54 %),
      ce qui repoussait le bouton à 553 px sur Next. Moins de photo = le bouton remonte dans l'œil.
   3. BOUTON : 54 px, pleine largeur, accent du site, collé en bas de la fiche sur mobile AVEC une marge
      (les puces passaient dessous — défaut mesuré le 19/09 et revu le 22/09).
   4. ANIMATIONS : une ouverture (200 ms), une pression, et UNE seule impulsion du bouton à l'ouverture.
      Rien qui tourne en boucle : sur une page de conversion, le mouvement permanent détourne l'œil.
   Tout est coupé sous prefers-reduced-motion. */

:root{
  --cro-blanc:#ffffff;
  --cro-encre:#14171a;
  --cro-encre-2:#5b656e;
  --cro-trait:#e9ecef;
  --cro-ombre:0 18px 48px -12px rgba(16,20,24,.26);
  --cro-cta-texte:#ffffff;   /* recalculé par site : encre foncée si l'accent est clair (jaune, lime…) */
}

/* ---------- socle commun aux trois gabarits ---------- */
/* ⚠️ Passer le fond au blanc ne suffit pas : les textes de la fiche prennent leur couleur des
   variables du gabarit, réglées pour le fond d'origine (souvent sombre). Sur free-sexkontakt.de la
   bio est ressortie gris pâle sur blanc. On rescope donc les variables SUR la fiche — même remède
   que le 21/09 — et on force la couleur du texte courant. */
#profileModal .modal-content,
.pm-modal{
  --text:#14171a; --text-muted:#5b656e; --bg:#ffffff; --bg-card:#ffffff; --bg-alt:#f7f8f9; --border:#e9ecef;
  background:var(--cro-blanc) !important;
  color:var(--cro-encre);
  border-radius:16px;
  box-shadow:var(--cro-ombre);
  overflow:hidden;
}
#profileModal.active .modal-content,
.pm-modal{ animation:cro-entree .2s cubic-bezier(.16,1,.3,1) both; }
@keyframes cro-entree{ from{ opacity:0; transform:translateY(10px) scale(.994); } to{ opacity:1; transform:none; } }

/* le bouton : même dessin partout, quelle que soit la palette du site */
#profileModal .btn-primary,
#profileModal .modal-contact-btn,
#profileModal .btn-cta-overlay,
.pm-cta button,
.pm-cta a{
  background:var(--cro-accent, var(--primary, #14171a)) !important;
  color:var(--cro-cta-texte, #fff) !important;
  border:0 !important;
  min-height:54px;
  width:100%;
  border-radius:12px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.01em;
  box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6));
  transition:transform .12s ease, filter .12s ease, box-shadow .2s ease;
  cursor:pointer;
}
#profileModal .btn-primary:hover,
#profileModal .modal-contact-btn:hover,
.pm-cta button:hover,
.pm-cta a:hover{ filter:brightness(1.07); box-shadow:0 14px 26px -10px var(--cro-accent, rgba(20,23,26,.6)); }
#profileModal .btn-primary:active,
#profileModal .modal-contact-btn:active,
.pm-cta button:active,
.pm-cta a:active{ transform:scale(.985); }
#profileModal .btn-primary:focus-visible,
.pm-cta button:focus-visible{ outline:3px solid var(--cro-accent, #14171a); outline-offset:3px; }

/* une seule impulsion, au moment où la fiche s'ouvre */
@keyframes cro-pouls{ 0%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 0 color-mix(in srgb, var(--cro-accent, #14171a) 55%, transparent); }
  70%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 12px transparent; }
  100%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 0 transparent; } }
#profileModal.active .btn-primary,
#profileModal.active .modal-contact-btn,
.pm-modal .pm-cta button{ animation:cro-pouls 1.5s ease-out .45s 2; }

/* ---------- Astro : carrousel + corps ---------- */
#profileModal .modal-image{ object-fit:cover; }
#profileModal .modal-body{ background:var(--cro-blanc); padding-bottom:0; }
#profileModal .modal-name{ color:var(--cro-encre); font-size:22px; letter-spacing:-.01em; }
#profileModal .modal-meta{ color:var(--cro-encre-2); font-size:13.5px; }
#profileModal .modal-bio, #profileModal .modal-bio-wrap p{ color:var(--cro-encre); font-size:15px; line-height:1.55; }
#profileModal .modal-tag{
  background:#f5f7f8 !important; color:var(--cro-encre-2) !important;
  border:1px solid var(--cro-trait) !important; border-radius:999px; font-size:12px; padding:4px 10px;
}
#profileModal .modal-tags-label{ color:var(--cro-encre-2) !important; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; }
#profileModal .modal-close{ background:rgba(255,255,255,.92) !important; color:var(--cro-encre) !important; border-radius:999px; }

/* le texte courant de la fiche, quelle que soit la couleur que lui donnait le gabarit */
#profileModal .modal-bio, #profileModal .modal-bio *,
#profileModal .modal-bio-wrap, #profileModal .modal-bio-wrap *,
#profileModal .modal-body p, #profileModal .modal-info-value,
#profileModal .modal-infos li, #profileModal .modal-infos span,
.pm-modal .pm-bio, .pm-modal .pm-bio p, .pm-modal .pm-bio div{
  color:var(--cro-encre) !important;
}
#profileModal .modal-info-label, #profileModal .modal-infos-label{ color:var(--cro-encre-2) !important; }

/* Un seul bouton doit attirer l'œil : « Favoris » reste accessible mais cesse de rivaliser avec
   « Contacter » (même largeur, même poids visuel = attention partagée, donc moins de clics utiles). */
#profileModal .modal-actions .btn:not(.btn-primary):not(.modal-contact-btn),
#profileModal .modal-favoris,
#profileModal .btn-favori{
  background:transparent !important;
  color:var(--cro-encre-2) !important;
  border:1px solid var(--cro-trait) !important;
  min-height:42px; font-size:14px; font-weight:500; box-shadow:none !important;
}
/* le corps de la fiche reste sur le blanc : les encarts teintés du site y perdaient la hiérarchie */
#profileModal .modal-bio-wrap,
#profileModal .modal-body > div[class*="bio"]{
  background:#f7f8f9 !important; border:1px solid var(--cro-trait) !important; border-radius:12px;
}

/* ---------- Next ---------- */
.pm-modal .pm-head h3{ color:var(--cro-encre) !important; font-size:22px; }
.pm-modal .pm-bio, .pm-modal .pm-bio p{ color:var(--cro-encre); }
.pm-modal .pm-infos .rounded-full{
  background:#f5f7f8 !important; color:var(--cro-encre-2) !important; border:1px solid var(--cro-trait) !important;
}
.pm-modal .pm-cta{ border-top:1px solid var(--cro-trait) !important; }
/* libellés d'infos : l'habillage les teinte de son accent, ce qui tenait sur l'ancien fond sombre et
   passe mal sur blanc (orange clair sur blanc : 1,9 mesuré). Ils redeviennent gris — ce sont des
   étiquettes, la valeur à côté est ce qu'on lit. */
.pm-modal [class*="text-zinc-500"],
.pm-modal [class*="text-zinc-400"],
.pm-modal .pm-bio .text-xs{ color:var(--cro-encre-2) !important; }

/* ---------- mobile : le bouton reste sous la main ---------- */
@media (max-width:768px){
  #profileModal .modal-carousel,
  #profileModal .modal-image,
  #profileModal .modal-slide,
  .pm-modal .pm-photo,
  .pm-modal .pm-media{ max-height:42vh !important; }
  #profileModal .modal-image{ height:42vh !important; }

  #profileModal .modal-actions,
  .pm-modal .pm-cta{
    position:sticky; bottom:0; z-index:4;
    background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--cro-blanc) 22%) !important;
    padding:14px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    margin-top:8px;
  }
  #profileModal .modal-tags-block,
  .pm-modal .pm-bio{ padding-bottom:6px; }
}

@media (prefers-reduced-motion:reduce){
  #profileModal.active .modal-content, .pm-modal,
  #profileModal.active .btn-primary, #profileModal.active .modal-contact-btn, .pm-modal .pm-cta button{ animation:none !important; }
  #profileModal .btn-primary, .pm-cta button{ transition:none !important; }
}
/* __POPUP_CRO_V1_FIN */

/* __SIGNUP_CRO_V1 — pop-up d'inscription : UNE SEULE surface claire (23/09, capture de Lucas).

   Ce qu'elle montrait : un cadre bleu nuit avec, posée dedans, une carte blanche portant le
   formulaire — deux fonds, deux bords, deux ombres pour un seul geste. L'œil doit choisir où
   regarder avant de pouvoir remplir trois champs.

   Ici : une surface blanche unique, du premier pixel du cadre au dernier champ. Le formulaire du
   prestataire perd son propre fond (il devient une partie de la pop-up, pas une pièce rapportée),
   les champs gagnent en hauteur, et le bouton prend la couleur du site sur toute la largeur.
   Moins de bords à lire = moins de friction avant le clic. */

:root{
  --sg-blanc:#ffffff;
  --sg-encre:#14171a;
  --sg-encre-2:#5b656e;
  --sg-trait:#e4e8eb;
  --sg-champ:#fbfcfc;
}

/* le voile : plus sombre et légèrement flouté, pour détacher la pop-up claire du fond du site */
#signupOverlay,
.signup-overlay,
.popup-overlay{ background:rgba(12,16,20,.62) !important; backdrop-filter:blur(2px); }

/* LA surface — une seule, blanche */
.signup-popup,
.popup-card,
#signupOverlay > div:not(.signup-overlay):not(.popup-overlay){
  background:var(--sg-blanc) !important;
  color:var(--sg-encre) !important;
  border:0 !important;
  border-radius:18px !important;
  box-shadow:0 24px 60px -16px rgba(10,14,18,.45) !important;
  padding:26px 22px 20px !important;
  animation:sg-entree .2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes sg-entree{ from{ opacity:0; transform:translateY(12px) scale(.99); } to{ opacity:1; transform:none; } }

/* Next n'a pas de classe parlante : sa pop-up d'inscription est un `div.fixed.inset-0` qui contient
   un formulaire. On la reconnaît à ça (et pas à son nom), ce qui évite d'attraper la fiche profil. */
/* ⚠️ PAS de :where() ici : il met la spécificité à zéro, et la feuille du site gagne alors avec
   `div.fixed.inset-0 > div.bg-white{border:3px solid …!important}` — c'est ce qui laissait une bordure
   jaune vif autour d'une pop-up censée être d'une seule teinte. */
div.fixed.inset-0:has(input[type="email"], form) > div,
div.fixed.inset-0:has(input[type="email"], form) > div.bg-white{
  background:var(--sg-blanc) !important;
  border:0 !important;
  border-radius:18px !important;
  box-shadow:0 24px 60px -16px rgba(10,14,18,.45) !important;
  padding:0 !important;
}
div.fixed.inset-0:has(input[type="email"], form) h1,
div.fixed.inset-0:has(input[type="email"], form) h2{ font-size:23px !important; line-height:1.2 !important; color:var(--sg-encre) !important; }
div.fixed.inset-0:has(input[type="email"], form) input:not([type="checkbox"]):not([type="radio"]){
  min-height:50px !important; font-size:16px !important; border-radius:11px !important;
  border:1px solid var(--sg-trait) !important; background:var(--sg-champ) !important; color:var(--sg-encre) !important;
}
div.fixed.inset-0:has(input[type="email"], form) button[type="submit"],
div.fixed.inset-0:has(input[type="email"], form) form button:not([type="button"]){
  background:var(--sg-accent, #14171a) !important; color:#fff !important; border:0 !important;
  width:100% !important; min-height:54px !important; border-radius:12px !important;
  font-size:16px !important; font-weight:600 !important;
}

/* titres : hiérarchie nette, rien de décoratif entre le titre et le premier champ */
.signup-header h2, .popup-title{ color:var(--sg-encre) !important; font-size:23px !important; line-height:1.2; margin:0 0 6px !important; }
.signup-header p, .popup-desc{ color:var(--sg-encre-2) !important; font-size:14px !important; margin:0 0 16px !important; }
.popup-icon{ display:none !important; }   /* l'icône décorative repousse le formulaire vers le bas */

/* le formulaire cesse d'être une carte dans la carte */
.prelinker-embed, .popup-prelinker-host, .popup-prelinker-panel,
.ptprelinker--box, .ptprelinker-content, .ptprelinker-content-inner, .ptprelinker-content-content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
.signup-body{ background:transparent !important; padding:0 !important; }

/* champs : plus hauts, bord clair, une seule teinte de fond */
.ptprelinker-input-group{
  background:var(--sg-champ) !important;
  border:1px solid var(--sg-trait) !important;
  border-radius:11px !important;
  margin-bottom:10px !important;
  overflow:hidden;
}
.ptprelinker-input-group:focus-within{ border-color:var(--sg-accent, #14171a) !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--sg-accent, #14171a) 18%, transparent) !important; }
.ptprelinker-input-group .ptprelinker-input,
.ptprelinker-input-group .ptprelinker-select{
  background:transparent !important; color:var(--sg-encre) !important;
  min-height:50px !important; font-size:16px !important;   /* 16px : en dessous, iOS zoome au focus */
}
.ptprelinker-input-group .ptprelinker-input::placeholder{ color:#98a2ab !important; }

/* le bouton : la couleur du site, pleine largeur, seul élément coloré de la pop-up */
.ptprelinker-buttons input[type="submit"],
.ptprelinker-buttons .ptprelinker-button,
.signup-popup button[type="submit"], .popup-card button[type="submit"]{
  background:var(--sg-accent, #14171a) !important;
  color:#fff !important;
  border:0 !important;
  width:100% !important;
  min-height:54px !important;
  border-radius:12px !important;
  font-size:16px !important; font-weight:600 !important;
  box-shadow:0 10px 22px -10px var(--sg-accent, rgba(20,23,26,.6)) !important;
  transition:transform .12s ease, filter .12s ease !important;
}
.ptprelinker-buttons input[type="submit"]:hover,
.ptprelinker-buttons .ptprelinker-button:hover{ filter:brightness(1.07) !important; }
.ptprelinker-buttons input[type="submit"]:active,
.ptprelinker-buttons .ptprelinker-button:active{ transform:scale(.985) !important; }

/* croix et pied : présents, discrets — ils ne doivent pas concurrencer le bouton */
.signup-close, .popup-close{
  background:transparent !important; color:var(--sg-encre-2) !important;
  border:1px solid var(--sg-trait) !important; border-radius:999px !important;
}
.signup-footer, .popup-footer{ color:var(--sg-encre-2) !important; font-size:13px !important; border-top:1px solid var(--sg-trait); padding-top:12px !important; margin-top:14px !important; }
.signup-footer a, .popup-footer a{ color:var(--sg-accent, #14171a) !important; font-weight:600; }

@media (max-width:768px){
  .signup-popup, .popup-card{ padding:22px 16px 16px !important; border-radius:16px !important; }
  .signup-header h2, .popup-title{ font-size:21px !important; }
}
@media (prefers-reduced-motion:reduce){
  .signup-popup, .popup-card{ animation:none !important; }
  .ptprelinker-buttons input[type="submit"], .ptprelinker-buttons .ptprelinker-button{ transition:none !important; }
}
/* __SIGNUP_CRO_V1_FIN */

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