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

/* =========================================================================
   Habillage unique — sexkontakte-sachsen.de (gabarit PHP, vvphp)
   Direction : lavande + prune + blanc, registre « doux / rond »
   (boutons pilule, ombres diffuses).
   Disposition bureau inversée : le bouton d'action est AU-DESSUS, le logo
   EN DESSOUS, et la navigation devient une barre basse translucide sous
   le logo (dropdown « Städte » intact). Mobile : bandeau lavande, hamburger
   rond prune, tiroir blanc à liens prune, bandeau d'inscription prune.
   Pied de page : fond prune, chaque colonne devient une carte arrondie
   blanche translucide.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. EN-TÊTE — commun à toutes les largeurs
   ------------------------------------------------------------------------- */
.site-header.site-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f1ecfb 0%, #d8c3ef 45%, #b98fe0 100%);
  box-shadow: 0 14px 32px -16px rgba(58, 24, 54, .45);
  animation: dsg-entree .55s ease both;
}
/* filet animé en haut du bandeau — bande fine (3px), pas une grande
   surface : peut rester en animation continue sans lourdeur */
.site-header.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #f1ecfb, #b98fe0, #5b2a53, #b98fe0, #f1ecfb);
  background-size: 220% 100%;
  animation: dsg-filet 8s linear infinite;
}
.site-header .header-logo, .site-header .logo.logo { color: #4a2145; }
.site-header .header-logo:hover, .site-header .logo.logo:hover { color: #5b2a53; opacity: 1; }

/* -------------------------------------------------------------------------
   2. BUREAU (>= 992px) — grille inversée en 3 rangées : actions / logo / nav
   ------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .site-header.site-header {
    background: linear-gradient(135deg, #a98bd4 0%, #5b2a53 62%, #3a1836 100%);
  }
  .site-header .header-logo, .site-header .logo.logo { color: #fff; }
  .site-header .header-logo:hover, .site-header .logo.logo:hover { color: #f1ecfb; }

  .site-header.site-header > .header-inner.header-inner.container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "actions"
      "logo"
      "nav";
    row-gap: 10px;
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .header-actions.header-actions {
    grid-area: actions;
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }
  .header-logo.header-logo {
    grid-area: logo;
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    text-align: center;
    background: rgba(255, 255, 255, .14);
    padding: 6px 24px;
    border-radius: 999px;
  }
  .header-nav-desktop.header-nav-desktop {
    grid-area: nav;
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 6px 10px;
  }
  .header-nav-toggle.header-nav-toggle,
  .header-nav-link.header-nav-link {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .32);
    border-radius: 999px;
  }
  .header-nav-toggle:hover, .header-nav-link:hover,
  .header-nav-group.open .header-nav-toggle {
    background: #fff;
    color: #5b2a53;
    border-color: #fff;
  }
  .header-nav-dropdown.header-nav-dropdown { border-radius: 22px; box-shadow: 0 22px 50px rgba(58, 24, 54, .28); }
  .header-nav-dropdown a:hover { background: #f1ecfb; color: #5b2a53 !important; }
  .header-nav-more.header-nav-more { color: #5b2a53 !important; }

  /* bouton pilule blanc + légère élévation au survol */
  .site-header .btn-header.header-auth-btn {
    background: #fff !important;
    color: #5b2a53 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 22px -8px rgba(58, 24, 54, .55);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .site-header .btn-header.header-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -8px rgba(58, 24, 54, .65);
    filter: none;
  }
}

/* -------------------------------------------------------------------------
   3. BARRE MOBILE (< 992px) — bandeau lavande clair, hamburger rond prune
   ------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .site-header.site-header::before {
    background: linear-gradient(90deg, #e3d7f6, #5b2a53, #e3d7f6);
    background-size: 220% 100%;
  }
  .header-hamburger.header-hamburger {
    background: #5b2a53;
    border-radius: 999px;
    box-shadow: 0 6px 16px -4px rgba(91, 42, 83, .55);
  }
  .header-hamburger span { background: #fff; }
}

/* Tiroir mobile : fond blanc, liens en pilules prune (display / position /
   transform / overflow du tiroir restent ceux du gabarit, intouchés) */
.header-drawer-head { background: linear-gradient(120deg, #5b2a53, #7c3f72); }
.header-drawer-close { background: rgba(255, 255, 255, .2); }
.header-drawer-search { background: #f4effa; }
.header-drawer-search .search-input { border-radius: 999px; border-color: #e3d7f6; }
.header-drawer-toggle { color: #4a2145; }
.header-drawer-toggle:hover { background: #f4effa; }
.header-drawer-chevron { color: #a98bd4; }
.header-drawer-link {
  border-radius: 999px;
  background: #f1ecfb;
  color: #5b2a53 !important;
  transition: background .15s ease, transform .15s ease;
}
.header-drawer-link:hover { background: #5b2a53; color: #fff !important; transform: translateY(-1px); }
.header-drawer-footer { background: #fff; }
.header-drawer-cta-primary {
  background: #5b2a53;
  border-color: #5b2a53;
  border-radius: 999px;
}
.header-drawer-cta-primary:hover { filter: brightness(1.12); }

/* Bandeau d'inscription sous le header (mobile) : prune, bouton pilule blanc */
.header-guest-cta.header-guest-cta { background: linear-gradient(120deg, #5b2a53, #3a1836); }
.header-guest-cta-online { color: #f1ecfb; }
.header-guest-cta-button.header-guest-cta-button {
  background: #fff;
  color: #5b2a53 !important;
  border-color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .35);
  transition: transform .18s ease, background .18s ease;
}
.header-guest-cta-button:hover { transform: translateY(-2px); background: #f1ecfb; }
.header-guest-cta-note { color: #e3cdf0; }

/* Barre d'onglets basse (mobile), si présente sur ce gabarit */
.mobile-public-nav { box-shadow: 0 -6px 18px rgba(91, 42, 83, .12); }
.mobile-public-nav a.active { color: #5b2a53; }
.mobile-public-nav a.active::before { background: #5b2a53; }
.mobile-public-nav a:hover { color: #7c3f72; }

/* -------------------------------------------------------------------------
   4. PIED DE PAGE — fond prune, colonnes en cartes arrondies translucides
   ------------------------------------------------------------------------- */
.site-footer.site-footer {
  background: linear-gradient(160deg, #5b2a53 0%, #3a1836 100%);
}
.footer-grid.footer-grid { gap: 20px; }
.footer-col {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  padding: 22px 24px;
  backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}
.footer-col:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.footer-col h3 { color: #f1ecfb; }
.footer-col-brand .footer-tagline { color: rgba(255, 255, 255, .75); }
.footer-col a { color: rgba(255, 255, 255, .8); }
.footer-col a:hover { color: #fff; }
.footer-toggle { color: #f1ecfb; }
.footer-chevron { color: #e3cdf0; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .62); }

@media (max-width: 768px) {
  .footer-grid.footer-grid { gap: 14px; }
  .footer-col-brand { border-bottom: none; }
  .footer-col-accordion { border-bottom: none; }
}

/* -------------------------------------------------------------------------
   5. Animations et accessibilité
   ------------------------------------------------------------------------- */
@keyframes dsg-entree { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes dsg-filet { from { background-position: 0 0; } to { background-position: 220% 0; } }

@media (prefers-reduced-motion: reduce) {
  .site-header.site-header,
  .site-header.site-header::before {
    animation: none !important;
  }
  .footer-col,
  .header-guest-cta-button,
  .header-drawer-link,
  .site-header .btn-header.header-auth-btn {
    transition: none !important;
  }
}

/* ============================================================
   THEME PROFOND (18/09) — le registre « doux / rond » descend
   dans les pages : lavande claire, prune, blanc, pilules et
   ombres diffuses. Couleurs / bordures / rayons / ombres / typo
   seulement — rien ci-dessous ne touche display/position/
   transform/overflow sur .modal-*, .signup-*, .prelinker-*,
   .age-gate*. design.css est chargé en dernier (après style.css) :
   pas besoin de !important sur ces zones.
   ============================================================ */

/* -------- Socle du bloc de réassurance (repris tel quel de
   app/design_recettes_v3.css) : structure neutre, l'habillage
   du registre lavande/prune vient plus bas. -------- */
.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; }

/* -------- Recherche de ville / pastilles (accueil, région) -------- */
.search-box { border: 2px solid #d8c3ef; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px -18px rgba(58, 24, 54, .35); }
.search-box .search-input { color: #4a2145; }
.link-tag { background: #f1ecfb; border: 1px solid #d8c3ef; color: #5b2a53; border-radius: 999px; transition: background-color .2s ease, color .2s ease, transform .18s ease; }
.link-tag:hover { background: #5b2a53; color: #fff; transform: translateY(-2px); }
.btn-voir-plus { background: #fff; border: 2px solid #b98fe0; color: #5b2a53; border-radius: 999px; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.btn-voir-plus:hover { background: #5b2a53; color: #fff; }

/* -------- Filtres -------- */
.filter-btn { background: #fff; border: 2px solid #d8c3ef; color: #5b2a53; border-radius: 999px; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.filter-btn:hover { background: #f1ecfb; }
.filter-btn.active { background: #5b2a53; border-color: #5b2a53; color: #fff; box-shadow: 0 8px 18px -10px rgba(58, 24, 54, .55); }

/* -------- Cartes profil -------- */
.profile-card { background: #fff; border: 1px solid #e3d7f6; border-radius: 22px; box-shadow: 0 16px 34px -24px rgba(58, 24, 54, .45); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.profile-card:hover, .profile-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 42px -20px rgba(58, 24, 54, .5); border-color: #b98fe0; }
.profile-card .profile-card-media { background: #f4effa; }
.profile-card .profile-badge { background: rgba(58, 24, 54, .62); color: #fff; border-radius: 999px; backdrop-filter: blur(2px); }
.profile-card .profile-age-badge { background: #5b2a53; color: #fff; border-radius: 999px; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(58, 24, 54, .6); }
.profile-card .profile-headline { color: #4a2145; font-weight: 700; }
.profile-card .profile-bio { color: #6b4f68; }
.profile-card .profile-bio-name { color: #5b2a53; font-weight: 700; }
.profile-card .profile-location-line { border-top: 1px solid #f1ecfb; }
.profile-card .profile-location-label { color: #7c3f72; }
.profile-card .profile-location-value.profile-location-value { color: #5b2a53; font-weight: 700; }
.profile-card .profile-location-value:hover { color: #3a1836; }

/* -------- Bandeau CTA de milieu de page -------- */
.cta-section { background: linear-gradient(135deg, #a98bd4 0%, #5b2a53 65%, #3a1836 100%); border-radius: 26px; box-shadow: 0 20px 44px -22px rgba(58, 24, 54, .55); }
.cta-section h2 { color: #fff; }
.cta-section p { color: #e3d7f6; }
.btn.btn-primary { background: #fff; color: #5b2a53; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .35); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn.btn-primary:hover { transform: translateY(-2px); background: #f1ecfb; }
.btn.btn-secondary, .btn.btn-outline { background: transparent; color: #5b2a53; border: 2px solid #b98fe0; border-radius: 999px; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
.btn.btn-secondary:hover, .btn.btn-outline:hover { background: #f1ecfb; }

/* -------- FAQ / accordéon -------- */
.accordion { border-radius: 22px; overflow: hidden; border: 1px solid #e3d7f6; }
.accordion-item { border-bottom: 1px solid #f1ecfb; background: #fff; }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { color: #4a2145; font-weight: 700; }
.accordion-header:hover { background: #f4effa; }
.accordion-body { background: #f4effa; color: #5b2a53; }
.info-duo-title { color: #5b2a53; }
.info-duo-title svg { color: #7c3f72; }

/* -------- Météo (pages ville) -------- */
.weather-card { background: #fff; border: 1px solid #e3d7f6; border-radius: 22px; box-shadow: 0 14px 30px -22px rgba(58, 24, 54, .35); }
.weather-head { border-bottom: 1px solid #f1ecfb; }
.weather-city { color: #4a2145; font-weight: 700; }
.weather-label { color: #7c3f72; }
.weather-item { background: #f4effa; border-radius: 16px; }
.weather-k { color: #7c3f72; }
.weather-v { color: #4a2145; font-weight: 700; }
.weather-foot { color: #a98bd4; }
.weather-error { color: #5b2a53; }

/* -------- Retour en haut -------- */
button.back-to-top { background: #5b2a53; color: #fff; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(58, 24, 54, .55); transition: transform .18s ease, background-color .18s ease; }
button.back-to-top:hover { transform: translateY(-3px); background: #7c3f72; }

/* -------- Pop-up profil (#profileModal) — couleurs / bordures / rayons seulement -------- */
#profileModal .modal-content { background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(58, 24, 54, .55); }
#profileModal .modal-close { background: #5b2a53; color: #fff; border-radius: 999px; }
#profileModal .modal-close:hover { background: #7c3f72; }
#profileModal .profile-age-badge { background: #5b2a53; color: #fff; }
#profileModal .modal-cta-overlay p { color: #fff; }
#profileModal .btn-cta-overlay { background: #5b2a53 !important; color: #fff !important; border-radius: 999px !important; }
#profileModal .btn-cta-overlay:hover { background: #7c3f72 !important; }
#profileModal .btn.btn-primary.modal-contact-btn { background: #5b2a53; color: #fff; border-radius: 999px; }
#profileModal .btn.btn-outline.modal-fav-btn { background: #fff; color: #5b2a53; border: 2px solid #d8c3ef; border-radius: 999px; }

/* -------- Pop-up d'inscription (#signupOverlay) -------- */
#signupOverlay .signup-popup { background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(58, 24, 54, .55); }
#signupOverlay .signup-header h2 { color: #4a2145; }
#signupOverlay .signup-header p { color: #7c3f72; }
#signupOverlay .signup-close { background: #5b2a53; color: #fff; border-radius: 999px; }
#signupOverlay .signup-close:hover { background: #7c3f72; }

/* -------- Age gate (couleurs / bordures / rayons seulement) -------- */
.age-gate .age-gate-content { background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(58, 24, 54, .55); }
.age-gate .age-gate-content h2 { color: #4a2145; }
.age-gate-buttons .btn.btn-primary { background: #5b2a53; color: #fff; }
.age-gate-buttons .btn.btn-primary:hover { background: #7c3f72; }
.age-gate-buttons .btn.btn-secondary { border-color: #d8c3ef; color: #5b2a53; }

/* -------- jamais deux CTA au même endroit : le bandeau défilant
   (.scrolling-bar, bouton « Konto erstellen ») et le bloc pré-footer
   « Werde Teil der Community » se suivent → on masque le pré-footer -------- */
.footer-signup-cta { display: none; }

/* -------- bloc de réassurance (variante « reassurance ») : même
   registre lavande/prune que le header/footer -------- */
.ds-bloc { background: #fff; border: 1px solid #e3d7f6; border-radius: 26px; box-shadow: 0 18px 40px -26px rgba(58, 24, 54, .4); }
.ds-titre { color: #4a2145; }
.ds-sous { color: #7c3f72; opacity: 1; }
.ds-item .ds-ico { color: #5b2a53; }
.ds-ico { background: #f1ecfb; border-radius: 999px; padding: 4px; }
.ds-item-t { color: #4a2145; }
.ds-item-p { color: #6b4f68; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .profile-card,
  .link-tag,
  .btn-voir-plus,
  .filter-btn,
  .btn.btn-primary,
  button.back-to-top,
  #profileModal .modal-close,
  #signupOverlay .signup-close {
    transition: none !important;
  }
}

/* ============================================================
   MENU MOBILE (tiroir .header-drawer) — finitions (18/09)
   Reprend le registre lavande/prune déjà posé plus haut ; ne
   touche à AUCUNE propriété du mécanisme d'ouverture/fermeture
   (display/position/transform/overflow de .header-drawer-overlay,
   .header-drawer, .header-drawer-overlay.active .header-drawer et
   .header-hamburger restent ceux du gabarit). Couleurs, bordures,
   rayons, ombres, typographie et tailles de cible seulement.
   ============================================================ */

/* Corps du tiroir : fond légèrement teinté plutôt que blanc plat */
.header-drawer { background: linear-gradient(180deg, #ffffff 0%, #faf7fd 55%, #f4effa 100%); }
.header-drawer-body { background: transparent; }

/* Bandeau de tête : titre plus affirmé, bouton de fermeture net et rond */
.header-drawer-head { padding: 18px 16px; box-shadow: 0 6px 16px -10px rgba(58, 24, 54, .5); }
.header-drawer-head strong { font-weight: 800; letter-spacing: .01em; }
.header-drawer-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .22);
  border: 1.5px solid rgba(255, 255, 255, .45);
  font-size: 1.5rem;
  transition: background .15s ease, transform .15s ease;
}
.header-drawer-close:hover { background: rgba(255, 255, 255, .34); transform: rotate(90deg); }

/* Recherche du tiroir : champ net, contraste franc */
.header-drawer-search { background: #f4effa; border-bottom-color: #e3d7f6; }
.header-drawer-search .search-input {
  background: #fff;
  border: 1.5px solid #d8c3ef;
  border-radius: 999px;
  color: #4a2145;
  min-height: 42px;
}
.header-drawer-search .search-input:focus {
  outline: none;
  border-color: #5b2a53;
  box-shadow: 0 0 0 3px rgba(91, 42, 83, .15);
}
.header-drawer-search .search-icon { filter: none; opacity: .8; }

/* Sections : titres lisibles, chevron marqué à l'ouverture */
.header-drawer-section { border-bottom-color: #ecdff8; }
.header-drawer-toggle { color: #4a2145; font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.header-drawer-toggle:hover { background: #f8f4fc; }
.header-drawer-section.is-open .header-drawer-toggle { color: #5b2a53; background: #f8f4fc; }
.header-drawer-chevron { color: #b98fe0; }
.header-drawer-section.is-open .header-drawer-chevron { color: #5b2a53; }

/* Pilules de lien : cible tactile ≥ 40px, bordure fine, contraste net */
.header-drawer-links { gap: 10px; }
.header-drawer-link {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #f1ecfb;
  border: 1.5px solid #e3d7f6;
  color: #4a2145 !important;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 3px 8px -5px rgba(58, 24, 54, .3);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.header-drawer-link:hover,
.header-drawer-link:focus-visible {
  background: #5b2a53;
  border-color: #5b2a53;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -8px rgba(58, 24, 54, .55);
}
.header-drawer-more {
  background: #fff;
  border: 1.5px dashed #b98fe0;
  color: #7c3f72 !important;
  font-weight: 700;
}
.header-drawer-more:hover { background: #f1ecfb; border-style: solid; color: #5b2a53 !important; }

/* Section « Navigation » (Start / Orte / Registrieren / Login / Kontakt) :
   pilules blanches, un cran plus affirmées pour marquer la hiérarchie */
.header-drawer-section:last-of-type .header-drawer-link {
  background: #fff;
  border-color: #d8c3ef;
  font-weight: 700;
}
.header-drawer-section:last-of-type .header-drawer-link:hover {
  background: #5b2a53;
  border-color: #5b2a53;
}

/* Pied du tiroir : bouton d'inscription bien contrasté */
.header-drawer-footer { background: #fff; border-top-color: #e3d7f6; box-shadow: 0 -8px 20px -14px rgba(58, 24, 54, .35); }
.header-drawer-cta-primary {
  min-height: 48px;
  background: linear-gradient(120deg, #5b2a53, #7c3f72);
  border: none;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 22px -10px rgba(58, 24, 54, .6);
}
.header-drawer-cta-primary:hover {
  filter: none;
  background: linear-gradient(120deg, #7c3f72, #5b2a53);
  box-shadow: 0 14px 26px -10px rgba(58, 24, 54, .7);
}

@media (prefers-reduced-motion: reduce) {
  .header-drawer-close,
  .header-drawer-link,
  .header-drawer-cta-primary {
    transition: none !important;
  }
  .header-drawer-close:hover,
  .header-drawer-link:hover {
    transform: none;
  }
}

/* __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-accent:#5b2a53;
  --cro-cta-texte:#ffffff;
  --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; }

/* ---------- 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-accent:#5b2a53;
  --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-fou design_site.py (PHP, 17/09) : sous 992 px le gabarit masque .header-auth-btn et pose le
   logo en grille 44px 1fr 44px — un agent qui force le bouton visible le superpose au logo ; un logo
   long doit se tronquer, pas s'empiler. */
@media (max-width: 991px) {
  .site-header .header-auth-btn.header-auth-btn { display: none; }
  .site-header .header-logo.header-logo { max-width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* __END_DESIGN_SITE__ */
