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

/* ==========================================================================
   sexkontakte-free.de — identite "violet electrique"
   Header : degrade diagonal violet nuit -> violet electrique
   Footer : noir profond a accents violets
   ========================================================================== */

/* ---------- HEADER ---------- */

.site-header {
  background: linear-gradient(135deg, #150822 0%, #3b0764 52%, #7c3aed 100%);
  border-bottom: none;
  box-shadow: 0 4px 24px rgba(59, 7, 100, 0.35);
  opacity: 0;
  transform: translateY(-8px);
  animation: skfHeaderIn 0.6s ease-out 0.05s forwards;
  position: relative;
}

/* liseret anime sous le header : fin trait qui balaie lentement */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d8b4fe, #7c3aed, #d8b4fe, transparent);
  background-size: 200% 100%;
  animation: skfLiseret 6s linear infinite;
  pointer-events: none;
}

@keyframes skfHeaderIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes skfLiseret {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.site-header .header-logo {
  color: #f5f0ff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(216, 180, 254, 0.45);
}

.site-header .header-nav-toggle {
  color: #ede9fe;
  background: transparent;
  border: 1px solid rgba(237, 233, 254, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header .header-nav-toggle:hover,
.site-header .header-nav-toggle[aria-expanded="true"] {
  background: rgba(124, 58, 237, 0.35);
  border-color: #d8b4fe;
  color: #ffffff;
}

.site-header .header-nav-dropdown {
  background: #150822;
  border: 1px solid #4c1d95;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.site-header .header-nav-dropdown a {
  color: #d8c8fb;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-header .header-nav-dropdown a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.site-header .header-nav-dropdown a.header-nav-more {
  color: #c084fc;
  font-weight: 600;
}

.site-header .btn-header.header-auth-btn {
  background: #ffffff;
  color: #3b0764;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header .btn-header.header-auth-btn:hover,
.site-header .btn-header.header-auth-btn:focus-visible {
  background: #f3e8ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
}

.site-header .header-hamburger span {
  background-color: #f5f0ff;
}

.site-header .header-drawer,
.site-header [class*="header-drawer"] {
  background: #1a0b2e;
  color: #ede9fe;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background-color: #08050d;
  background-image: radial-gradient(rgba(168, 85, 247, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
  animation: skfFooterDrift 50s linear infinite;
  color: #cbb9ec;
  border-top: 1px solid #3b0764;
}

@keyframes skfFooterDrift {
  from { background-position: 0 0; }
  to { background-position: -220px -220px; }
}

.site-footer .footer-col-brand h3 {
  color: #f5f0ff;
  letter-spacing: 0.01em;
}

.site-footer .footer-tagline {
  color: #a894cf;
}

.site-footer .footer-toggle {
  color: #e9d5ff;
  border-bottom: 1px solid rgba(124, 58, 237, 0.25);
}

.site-footer .footer-toggle:hover {
  color: #ffffff;
}

.site-footer .footer-chevron {
  color: #a855f7;
  display: inline-block;
  transition: transform 0.25s ease;
}

.site-footer .footer-toggle[aria-expanded="true"] .footer-chevron {
  transform: rotate(180deg);
}

.site-footer .footer-panel a {
  color: #c4b5fd;
  position: relative;
  transition: color 0.2s ease;
}

.site-footer .footer-panel a:hover {
  color: #ffffff;
}

.site-footer .footer-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #a855f7;
  transition: width 0.25s ease;
}

.site-footer .footer-panel a:hover::after {
  width: 100%;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(124, 58, 237, 0.25);
  color: #7c6a99;
}

/* ---------- accessibilite ---------- */

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::after,
  .site-footer,
  .site-footer .footer-chevron,
  .site-header .btn-header.header-auth-btn,
  .site-footer .footer-panel a::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Garde-fou (mesuré en capture 390 px, 17/09) : le gabarit cache `.header-auth-btn`
   sous 992 px (colonne de 44 px pour le hamburger) ; un `display` posé plus haut le
   faisait réapparaître PAR-DESSUS le logo. On rétablit le comportement du gabarit. */
@media (max-width: 991px) {
  .site-header .header-auth-btn.header-auth-btn { display: none; }
  .site-header .header-logo { max-width: 100%; min-width: 0; }
}

/* ==========================================================================
   THEME PROFOND — variante "reassurance" (18/09/2026)
   Meme identite "violet electrique" : degrade diagonal nuit -> electrique,
   liseret anime, pilules, fond pointille. On prolonge, on ne change rien
   au socle deja pose plus haut.
   ========================================================================== */

/* ---------- bloc de reassurance (socle recette, copie telle quelle) ---------- */
.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; }

/* ---------- habillage du bloc "Sexkontakte free" ---------- */
.ds-bloc {
  border-radius: 20px;
  padding: 28px 26px;
  background:
    radial-gradient(rgba(124, 58, 237, 0.10) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(160deg, #f6f1ff 0%, #ede4fb 60%, #f3e8ff 100%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  box-shadow: 0 10px 28px rgba(59, 7, 100, 0.10);
}
.ds-titre {
  color: #3b0764;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.ds-titre::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7c3aed, #d8b4fe);
}
.ds-sous {
  color: #5b21a6;
  opacity: 1;
  font-size: .98rem;
}
.ds-item {
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
}
.ds-ico {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
.ds-ico svg {
  width: 20px;
  height: 20px;
  color: #f5f0ff;
}
.ds-item-t {
  color: #3b0764;
  font-size: 1rem;
  margin-bottom: 2px;
}
.ds-item-p {
  color: #5b4a75;
  opacity: 1;
  line-height: 1.5;
}

/* ---------- jamais deux CTA au meme endroit : le bandeau defilant de la
   home (liens region en marquee) et le bloc pre-footer "Werde Teil der
   Community" se suivent avant le pied de page -> on masque le marquee. ---------- */
.scrolling-bar { display: none; }

/* ---------- cartes profil ---------- */
.profile-card {
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: 0 3px 12px rgba(59, 7, 100, 0.08);
}
.profile-card:hover {
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.28);
}
.profile-card .profile-badge,
.profile-card .profile-age-badge {
  background: linear-gradient(135deg, rgba(59, 7, 100, 0.85), rgba(124, 58, 237, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
}
.profile-card .profile-headline {
  color: #6b21a8;
  font-weight: 800;
}
a.profile-location-value:hover { color: #7c3aed; }

/* ---------- filtres ---------- */
.filter-btn {
  border-radius: 999px;
  border-color: rgba(124, 58, 237, 0.28);
  color: #5b21a6;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* ---------- bandeau CTA de milieu de page ---------- */
.cta-section {
  background: linear-gradient(135deg, #150822 0%, #3b0764 52%, #7c3aed 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d8b4fe, #7c3aed, #d8b4fe, transparent);
  background-size: 200% 100%;
  animation: skfLiseret 6s linear infinite;
  pointer-events: none;
}
.cta-section h2 {
  text-shadow: 0 0 18px rgba(216, 180, 254, 0.45);
}
.cta-section .btn.btn-primary {
  background: #ffffff;
  color: #3b0764;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.cta-section .btn.btn-primary:hover {
  background: #f3e8ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

/* ---------- FAQ / accordeon ---------- */
.info-duo-col {
  border-radius: 18px;
  border-color: rgba(124, 58, 237, 0.20);
}
.info-duo-title {
  background: linear-gradient(135deg, #f5f0ff, #ede4fb);
  color: #3b0764;
}
.info-duo-title svg { color: #7c3aed; opacity: 1; }
.accordion-item { border-bottom-color: rgba(124, 58, 237, 0.14); }
.accordion-header { color: #3b0764; }
.accordion-header:hover { background: #f8f4ff; }
.accordion-header::after {
  border-right-color: #7c3aed;
  border-bottom-color: #7c3aed;
}

/* ---------- widget meteo ---------- */
.weather-card {
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.20);
  background:
    radial-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(160deg, #faf7ff, #f1e9fb);
}
.weather-city { color: #3b0764; }
.weather-item {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.22);
  border-radius: 12px;
}
.weather-k { color: #7c3aed; }
.weather-v { color: #3b0764; }

/* ---------- bouton retour en haut ---------- */
.back-to-top {
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
}
.back-to-top:hover { box-shadow: 0 8px 22px rgba(124, 58, 237, 0.55); }

/* ---------- pop-up profil (#profileModal) — couleurs et rayons seulement ---------- */
#profileModal .profile-modal-content {
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(59, 7, 100, 0.35);
}
#profileModal .modal-close {
  background: rgba(59, 7, 100, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
#profileModal .modal-close:hover { background: rgba(59, 7, 100, 0.8); }
#profileModal .modal-headline { color: #3b0764; }
#profileModal .modal-fav-star { border-color: #7c3aed; color: #7c3aed; }
#profileModal .modal-fav-star:hover,
#profileModal .modal-fav-star:active { background: linear-gradient(135deg, #3b0764, #7c3aed); }
#profileModal .modal-body .modal-meta { color: #7c3aed; }
#profileModal .modal-bio-wrap {
  border-left-color: #7c3aed;
  background: linear-gradient(135deg, #f5f0ff 0%, transparent 100%);
}
#profileModal .modal-tag--passion {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.35);
}
#profileModal .modal-actions .modal-contact-btn {
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  color: #fff;
}
#profileModal .modal-actions .modal-contact-btn:hover { filter: brightness(1.1); }
#profileModal .modal-actions .modal-fav-btn {
  border-color: #7c3aed;
  color: #7c3aed;
}
#profileModal .modal-actions .modal-fav-btn:hover { background: #7c3aed; color: #fff; }

/* ---------- pop-up d'inscription (#signupOverlay) — couleurs et rayons seulement ---------- */
.signup-popup {
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(59, 7, 100, 0.35);
}
.signup-header h2 {
  color: #3b0764;
  text-shadow: 0 0 14px rgba(216, 180, 254, 0.3);
}
.signup-close { background: rgba(124, 58, 237, 0.10); color: #7c3aed; }
.signup-close:hover { background: rgba(124, 58, 237, 0.22); color: #3b0764; }
.signup-email-edit { color: #7c3aed; }
.signup-footer a { color: #7c3aed; }
.prelinker-embed {
  border-radius: 18px;
  border-color: rgba(124, 58, 237, 0.20);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}
.prelinker-embed input[type="submit"],
.prelinker-embed button {
  border-radius: 999px;
  background: linear-gradient(135deg, #3b0764, #7c3aed);
}

/* ---------- age gate — couleurs, bordures, rayons seulement ---------- */
.age-gate-content {
  --text: #f5f0ff;
  --text-muted: #cbb9ec;
  background: linear-gradient(160deg, #150822 0%, #3b0764 60%, #4c1d95 100%);
  border-radius: 22px;
  border: 1px solid rgba(216, 180, 254, 0.25);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  color: #f5f0ff;
}
.age-gate-content h2 {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(216, 180, 254, 0.45);
}
.age-gate-buttons .btn-primary {
  background: #ffffff;
  color: #3b0764;
}
.age-gate-buttons .btn-primary:hover { background: #f3e8ff; }
.age-gate-buttons .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #f5f0ff;
}
.age-gate-buttons .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- bandeau haut mobile (compte a rebours) + barre basse mobile ---------- */
@media (max-width: 768px) {
  .header-guest-cta {
    background: linear-gradient(135deg, #150822 0%, #3b0764 52%, #7c3aed 100%);
    border-bottom: none;
  }
  .header-guest-cta-online { text-shadow: 0 0 14px rgba(216, 180, 254, 0.4); }
  .header-guest-cta-button {
    background: #ffffff;
    border-color: #ffffff;
    color: #3b0764 !important;
  }
  .header-guest-cta-button:hover { background: #f3e8ff; }
  .header-guest-cta-note { color: #e9d5ff; }
}
.mobile-public-nav {
  border-top-color: rgba(124, 58, 237, 0.18);
  box-shadow: 0 -4px 20px rgba(59, 7, 100, 0.10);
}
.mobile-public-nav a.active { color: #7c3aed; }
.mobile-public-nav a.active::before { background: linear-gradient(90deg, #3b0764, #7c3aed); }
.mobile-public-nav a[href*="register"] {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.10);
  border-radius: 14px;
}

/* ---------- villes proches ---------- */
.link-tag {
  border-color: rgba(124, 58, 237, 0.20);
  color: #5b21a6;
}
.link-tag:hover { border-color: #7c3aed; color: #3b0764; background: #f8f4ff; }

/* ---------- reassurance native (accueil) : meme registre que le bloc ds ---------- */
.trust-badges { background: transparent; }
.trust-icon { color: #7c3aed; }
.trust-title { color: #3b0764; }

/* ==========================================================================
   MENU MOBILE — tiroir .header-drawer (demande de Lucas, 18/09)
   Mecanique du gabarit intouchee (display/position/transform/overflow) :
   seuls fond, titres de section, pilules de liens, bouton d'inscription et
   bouton de fermeture recoivent le registre du site.
   ========================================================================== */
.header-drawer-head {
  background: linear-gradient(135deg, #150822 0%, #3b0764 52%, #7c3aed 100%);
  color: #f5f0ff;
}
.header-drawer-head strong { text-shadow: 0 0 12px rgba(216, 180, 254, 0.35); }
.header-drawer-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.header-drawer-close:hover { background: rgba(255, 255, 255, 0.28); }
.header-drawer-search {
  background: #f8f4ff;
  border-bottom-color: rgba(124, 58, 237, 0.16);
}
.header-drawer-search .search-input {
  border-color: rgba(124, 58, 237, 0.30);
  background: #fff;
}
.header-drawer-search .search-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.header-drawer-search .search-icon { color: #7c3aed; }
.header-drawer-section { border-bottom-color: rgba(124, 58, 237, 0.14); }
.header-drawer-toggle { color: #3b0764; }
.header-drawer-toggle:hover { background: #f8f4ff; }
.header-drawer-chevron { color: #7c3aed; }
.header-drawer-link {
  background: #f5f0ff;
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: #5b21a6 !important;
  min-height: 40px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.header-drawer-link:hover {
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  border-color: transparent;
  color: #fff !important;
}
.header-drawer-more {
  border: 1px dashed rgba(124, 58, 237, 0.45);
  background: #fff;
  color: #7c3aed;
}
.header-drawer-footer {
  background: #faf7ff;
  border-top-color: rgba(124, 58, 237, 0.18);
  box-shadow: 0 -4px 20px rgba(59, 7, 100, 0.08);
}
.header-drawer-cta-primary {
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  border-color: transparent;
  color: #fff !important;
}
.header-drawer-cta-primary:hover { filter: brightness(1.1); }

/* ---------- accessibilite : couper toutes les animations de cette section ---------- */
@media (prefers-reduced-motion: reduce) {
  .cta-section::after { animation: none !important; }
}

/* __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:#7c3aed;
  --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:#7c3aed;
  --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 */
/* __END_DESIGN_SITE__ */
