
/* __DESIGN_SITE__ */
/* socle filtres (ajouté par design_site.py) */
html:not(#_) .ds-hide{ display: none !important; }
html:not(#_) body[data-ds-filtres="aucun"] .filters{ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-genre"] .filters .filter-btn[data-filter="type"]{ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-age"] .filters .filter-btn[data-filter="age"]{ display: none !important; }
html:not(#_) 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; }
html:not(#_) body[data-ds-filtres="ligne"] .filters::-webkit-scrollbar{ display: none; }
html:not(#_) body[data-ds-filtres="ligne"] .filters .filter-btn{ flex: 0 0 auto; white-space: nowrap; }
html:not(#_) .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; }
html:not(#_) .filters .ds-fgroup{ display: contents; }
/* Next : barre React (div.shadow-sm > div.scrollbar-hide > .form-group > select ×2 + bouton Recherche) */
html:not(#_) body[data-ds-filtres="aucun"] div.rounded-lg.shadow-sm:has(> div.scrollbar-hide > div.form-group > select){ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-genre"] div.scrollbar-hide > div.form-group:first-child:has(> select){ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-tri"] div.scrollbar-hide > div.form-group:nth-child(2):has(> select){ display: none !important; }
html:not(#_) 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é) */
html:not(#_) .ds-fnext{ display: flex; gap: 8px; flex-wrap: nowrap; }
html:not(#_) .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; }
html:not(#_) .ds-fnext .ds-fchip.active{ background: var(--secondary-color, #18181b); color: #fff; border-color: transparent; }

/* socle menu mobile Astro (ajouté par design_site.py) */
/* 19/09 : la croix du tiroir (label x injecte dans .sidebar-inner) n'etait cachee QUE sous 768 px -> visible en haut
   de la sidebar desktop (3 agents du lot 22 l'ont masquee a la main). Cachee hors tiroir, toutes largeurs. */
html:not(#_) .ds-menu-close{ display: none; }
@media (max-width: 768px) {
  html:not(#_) .ds-burger{ display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 34px; padding: 0 9px; margin-right: 8px; cursor: pointer; border-radius: 8px; color: inherit; flex-shrink: 0; }
  html:not(#_) .ds-burger span{ display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(2){ opacity: 0; }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
  html:not(#_) .ds-menu-overlay{ display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1290; }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-overlay{ display: block; }
  html:not(#_) .ds-menu-close{ display: none; }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar{ display: block !important; position: fixed !important; top: 0 !important; left: 0; bottom: 0; height: auto !important; width: min(86vw, 340px) !important; max-width: none; margin: 0 !important; padding: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 1300; overflow-y: auto !important; max-height: 100vh; max-height: 100dvh; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border-radius: 0; box-shadow: 8px 0 30px rgba(0,0,0,.35); }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{ display: flex; align-items: center; justify-content: center; position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sidebar-inner{ height: auto; min-height: 100%; }
  html:not(#_) body:has(#ds-menu:checked){ overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { html:not(#_) .ds-burger span{ transition: none; } }

/* ==========================================================================
   sex-treffen-frauen.de — direction : pastel chaud
   pêche / rose poudré, coins très arrondis, ombre douce.
   Ne touche qu'au header (sidebar desktop + bandeau mobile) et au footer.
   ========================================================================== */

html:not(#_) body .sidebar, html:not(#_) body .sidebar-inner{
  --pf-peche: #ffe9dc;
  --pf-rose: #f6c6d0;
  --pf-rose-accent: #ad4359;
  --pf-texte: #6e3b42;
  background: linear-gradient(165deg, var(--pf-peche) 0%, var(--pf-rose) 100%);
  border-radius: 0 26px 26px 0;
  box-shadow: 0 12px 32px -12px rgba(173, 67, 89, 0.28);
  animation: pf-entree 0.6s ease-out both;
}

/* Logo : rond doux + libellé chaleureux */
html:not(#_) body .sb-logo-dot{
  background: var(--pf-rose-accent);
  border-radius: 999px;
  box-shadow: 0 4px 10px -3px rgba(173, 67, 89, 0.45);
}
html:not(#_) body .sb-logo-text{
  color: var(--pf-texte);
  font-weight: 700;
  letter-spacing: 0.01em;
}

html:not(#_) body .sb-section-title{
  color: var(--pf-rose-accent);
  letter-spacing: 0.08em;
}

/* Liens de la sidebar : pilule douce au survol/actif */
html:not(#_) body .sb-link, html:not(#_) body .sb-silo-region, html:not(#_) body .sb-silo-ville, html:not(#_) body .sb-map-quick-link{
  color: var(--pf-texte);
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
html:not(#_) body .sb-link:hover, html:not(#_) body .sb-link.active, html:not(#_) body .sb-silo-region:hover, html:not(#_) body .sb-silo-ville:hover, html:not(#_) body .sb-map-quick-link:hover{
  background-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 16px -8px rgba(173, 67, 89, 0.4);
  transform: translateX(3px);
}
html:not(#_) body .sb-link.active{
  background-color: var(--pf-rose-accent);
  color: #fff8f4;
  box-shadow: 0 8px 18px -8px rgba(173, 67, 89, 0.55);
}
html:not(#_) body .sb-link.active .sb-ico{
  filter: brightness(0) invert(1);
}

/* Bandeau mobile : même douceur, coins arrondis en bas */
html:not(#_) body .mobile-guest-top{
  background: linear-gradient(120deg, #ffe9dc 0%, #f6c6d0 100%) !important;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 24px -12px rgba(173, 67, 89, 0.35);
  animation: pf-entree 0.5s ease-out both;
}
html:not(#_) body .mobile-guest-brand, html:not(#_) body .mobile-guest-cta-offer, html:not(#_) body .mobile-guest-cta-kw{
  color: #6e3b42 !important;
}
html:not(#_) body .mobile-guest-login, html:not(#_) body .mobile-guest-cta-btn{
  background: #ad4359 !important;
  color: #fff8f4 !important;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html:not(#_) body .mobile-guest-login:hover, html:not(#_) body .mobile-guest-cta-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(173, 67, 89, 0.55);
}
html:not(#_) body .mobile-guest-timer{
  color: #ad4359 !important;
  font-weight: 700;
}

/* ---- Footer : même palette, motif qui dérive très doucement ---- */
html:not(#_) body footer.footer-v1{
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #fff3ec 0%, #f6c6d0 100%);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -10px 26px -18px rgba(173, 67, 89, 0.35);
}
html:not(#_) body footer.footer-v1::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(circle, #ad4359 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  animation: pf-derive 26s linear infinite;
}
html:not(#_) body footer.footer-v1 .footer-inner{
  position: relative;
  z-index: 1;
}
html:not(#_) body footer.footer-v1 h4{
  color: #ad4359;
  letter-spacing: 0.02em;
}
html:not(#_) body footer.footer-v1 .footer-col p, html:not(#_) body footer.footer-v1 .footer-bottom p{
  color: #7a4a52; /* le gris du gabarit disparaissait sur le rose (capture du 17/09) */
}
html:not(#_) body footer.footer-v1 .footer-col a{
  color: #6e3b42;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
html:not(#_) body footer.footer-v1 .footer-col a:hover{
  color: #ad4359;
  padding-left: 4px;
}
html:not(#_) body footer.footer-v1 .footer-bottom{
  border-top: 1px solid rgba(173, 67, 89, 0.2);
  color: #8a5058;
}

@keyframes pf-entree {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pf-derive {
  from { background-position: 0 0; }
  to { background-position: 52px 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(#_) body .sidebar, html:not(#_) body .sidebar-inner, html:not(#_) body .mobile-guest-top, html:not(#_) body footer.footer-v1::before{
    animation: none !important;
  }
}

/* ==========================================================================
   Thème profond + bloc de réassurance — même registre pastel chaud
   (pêche / rose poudré, accent #ad4359, texte #6e3b42, coins très arrondis).
   ========================================================================== */

html:not(#_){
  --ds-peche: #ffe9dc;
  --ds-rose: #f6c6d0;
  --ds-accent: #ad4359;
  --ds-accent-2: #7a4a52;
  --ds-texte: #6e3b42;
  --ds-texte-soft: #8a5058;
  --ds-blanc-chaud: #fff8f4;
  /* rayons du gabarit : on les rend cohérents avec la sidebar/footer déjà très arrondis */
  --radius: 22px;
  --radius-sm: 14px;
  --card-radius: 20px;
  --card-border-w: 1px;
  --card-border-c: rgba(173, 67, 89, 0.22);
}

/* ---- Un seul levier pour re-teinter tout ce que le gabarit pilote par
   --primary/--secondary : cartes profil, hero ville/région, magazine-header,
   filtres, onglets, badge FAQ, CTA, retour en haut, age gate, pop-up
   d'inscription, barre basse mobile, pop-up profil. ---- */
html:not(#_) .profile-card, html:not(#_) .ville-hero, html:not(#_) .region-hero, html:not(#_) .hv3-hero, html:not(#_) .magazine-header, html:not(#_) .filters, html:not(#_) .tabs, html:not(#_) section:has(.accordion), html:not(#_) .cta-section, html:not(#_) .back-to-top, html:not(#_) .age-gate-modal, html:not(#_) .popup-card, html:not(#_) .bottom-bar, html:not(#_) #profileModal{
  --primary: var(--ds-accent);
  --secondary: var(--ds-accent-2);
}

/* ---- Réassurance native (trust-badges, accueil national) : restylée dans
   le registre plutôt que dupliquée à côté du bloc ds-bloc (qui vit plus bas,
   avant le CTA — jamais au même endroit). ---- */
html:not(#_) .trust-badges{
  background: linear-gradient(160deg, var(--ds-blanc-chaud) 0%, var(--ds-peche) 100%);
  border: 1px solid rgba(173, 67, 89, 0.18);
  box-shadow: 0 10px 26px -16px rgba(173, 67, 89, 0.3);
}
html:not(#_) .trust-badges .badge{
  background: #fff;
  border: 1px solid rgba(173, 67, 89, 0.15);
}
html:not(#_) .badge-label{ color: var(--ds-texte); }

/* ---- Cartes profil ---- */
html:not(#_) .profile-card{
  box-shadow: 0 3px 10px -4px rgba(173, 67, 89, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
html:not(#_) .profile-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(173, 67, 89, 0.4);
}
html:not(#_) .profile-age{ background: var(--ds-accent); }
html:not(#_) .profile-lock{ background: rgba(173, 67, 89, 0.72); }
html:not(#_) .profile-cta{
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
html:not(#_) .profile-cta:hover{
  background: var(--ds-accent);
  color: #fff;
}

/* ---- Filtres ---- */
html:not(#_) .filter-btn{
  border-radius: 999px;
  background: var(--ds-blanc-chaud);
  border-color: rgba(173, 67, 89, 0.3);
  color: var(--ds-texte);
}

/* ---- Pagination ---- */
html:not(#_) .pagination-link{ background: var(--ds-peche); }
html:not(#_) .pagination-link, html:not(#_) .pagination-link:hover{ color: var(--ds-texte) !important; }
html:not(#_) .pagination-link:hover{ background: var(--ds-rose); }
html:not(#_) .pagination-current{ background: var(--ds-accent); }

/* ---- Bandeau CTA milieu de page : fond dans la palette, bouton contrasté
   (crème sur fond sombre-rose, jamais la même teinte que le fond). Une
   seule déclaration `background-image` : ne pas la faire suivre d'un
   `background` séparé, qui l'effacerait. ---- */
html:not(#_) .cta-section{
  background-image: linear-gradient(135deg, var(--ds-accent) 0%, var(--ds-accent-2) 100%);
}
html:not(#_) .cta-section .btn-primary{
  background: var(--ds-blanc-chaud);
  color: var(--ds-accent);
}
html:not(#_) .cta-section .btn-primary:hover{
  background: #fff;
  filter: none;
}

/* ---- FAQ / accordéon ---- */
html:not(#_) .info-duo-title{ color: var(--ds-accent); }
html:not(#_) .accordion-item{ border-bottom-color: rgba(173, 67, 89, 0.18); }
html:not(#_) .accordion-header:hover{ background: var(--ds-peche); }

/* ---- Retour en haut ---- */
html:not(#_) .back-to-top{ box-shadow: 0 8px 20px -8px rgba(173, 67, 89, 0.5); }
html:not(#_) .back-to-top:hover{ filter: brightness(1.08); }

/* ---- Pop-up profil (#profileModal) : cadre et boutons seulement, jamais
   display/position/transform/overflow. ---- */
html:not(#_) .modal-content{
  box-shadow: 0 20px 55px -20px rgba(173, 67, 89, 0.45);
}
html:not(#_) .modal-close, html:not(#_) .modal-nav{
  background: rgba(173, 67, 89, 0.6);
}
html:not(#_) .modal-close:hover, html:not(#_) .modal-nav:hover{
  background: rgba(173, 67, 89, 0.8);
}

/* ---- Pop-up d'inscription / connexion + age gate : couleurs, bordures,
   rayons seulement. ---- */
html:not(#_) .popup-card{
  border: 1px solid rgba(173, 67, 89, 0.15);
  box-shadow: 0 24px 60px -20px rgba(173, 67, 89, 0.35);
}
html:not(#_) .popup-icon{
  background: linear-gradient(135deg, var(--ds-peche), var(--ds-rose));
}
html:not(#_) .popup-close{
  background: var(--ds-peche);
  color: var(--ds-accent);
}
html:not(#_) .popup-close:hover{
  background: var(--ds-rose);
  color: var(--ds-accent-2);
}
html:not(#_) .age-gate-modal{
  border: 2px solid var(--ds-rose);
  box-shadow: 0 20px 50px -20px rgba(173, 67, 89, 0.4);
}

/* ---- Barre basse mobile (Astro) ---- */
html:not(#_) .bottom-bar{
  background: var(--ds-blanc-chaud);
  border-top: 1px solid rgba(173, 67, 89, 0.18);
  box-shadow: 0 -6px 18px -12px rgba(173, 67, 89, 0.25);
}

/* ---- Villes proches / Top-Städte (cohérence avec la sidebar) ---- */
html:not(#_) .link-tag:hover{
  border-color: var(--ds-accent);
  color: var(--ds-accent);
  background: var(--ds-peche);
}

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

/* ---- Habillage du bloc de réassurance dans le registre pastel chaud ---- */
html:not(#_) .ds-bloc{
  background: linear-gradient(160deg, var(--ds-peche) 0%, var(--ds-blanc-chaud) 60%, var(--ds-rose) 100%);
  border: 1px solid rgba(173, 67, 89, 0.18);
  box-shadow: 0 10px 26px -16px rgba(173, 67, 89, 0.35);
  animation: pf-entree 0.6s ease-out both;
}
html:not(#_) .ds-titre{ color: var(--ds-accent); font-weight: 800; }
html:not(#_) .ds-sous{ color: var(--ds-texte); opacity: 1; }
html:not(#_) .ds-item{
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(173, 67, 89, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
html:not(#_) .ds-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -10px rgba(173, 67, 89, 0.4);
}
html:not(#_) .ds-ico{
  color: var(--ds-accent);
  background: #fff;
  border-radius: 999px;
  padding: 5px;
  box-sizing: content-box;
  box-shadow: 0 3px 8px -3px rgba(173, 67, 89, 0.4);
}
html:not(#_) .ds-item-t{ color: var(--ds-texte); }
html:not(#_) .ds-item-p{ color: var(--ds-texte-soft); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html:not(#_) .ds-bloc{ animation: none !important; }
  html:not(#_) .profile-card, html:not(#_) .profile-cta, html:not(#_) .ds-item, html:not(#_) .back-to-top{ transition: none !important; }
}

/* ==========================================================================
   Menu mobile (tiroir) — même registre pastel chaud (pêche/rose, accent
   #ad4359, texte #6e3b42). Complète le socle design_recettes_v3.css sans
   toucher au mécanisme (display/position/transform des règles :checked).
   ========================================================================== */

/* Burger sur la barre haute : currentColor = texte du bandeau */
html:not(#_) .mobile-guest-top .ds-burger{
  color: var(--ds-texte);
  transition: background-color 0.2s ease;
}
html:not(#_) .mobile-guest-top .ds-burger:active{
  background: rgba(173, 67, 89, 0.16);
}

/* Bouton de fermeture (×) du tiroir : pastille contrastée */
html:not(#_) .ds-menu-close{
  background: var(--ds-accent);
  color: var(--ds-blanc-chaud);
  box-shadow: 0 4px 12px -4px rgba(173, 67, 89, 0.55);
  transition: background-color 0.2s ease;
}
html:not(#_) .ds-menu-close:hover, html:not(#_) .ds-menu-close:active{
  background: var(--ds-accent-2);
}

/* Tiroir ouvert : lisibilité à 340 px de large — tailles et respiration */
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sidebar-inner{
  padding: 18px 14px;
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-logo{
  padding-top: calc(env(safe-area-inset-top, 0px) + 6px);
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-logo-text{
  font-size: 1rem;
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-section-title{
  font-size: 0.82rem;
  padding-top: 10px;
  padding-bottom: 10px;
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-section, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-footer{
  border-top-color: rgba(173, 67, 89, 0.2);
}

/* Pilules de liens : rayon déjà posé côté desktop, on ajoute la bordure,
   le contraste sur le dégradé et une cible tactile confortable (≥ 40 px). */
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-map-quick-link, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-region, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-top-item{
  min-height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.94rem;
  border: 1px solid rgba(173, 67, 89, 0.16);
  background-color: rgba(255, 255, 255, 0.4);
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-ville, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-more{
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.86rem;
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-foot-link{
  min-height: 40px;
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link:hover, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-map-quick-link:hover, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-region:hover, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-top-item:hover{
  background-color: rgba(255, 255, 255, 0.65);
}

/* Bouton d'inscription : seul lien mis en avant, contrasté sur le dégradé */
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link[href="/register"]{
  background: var(--ds-accent);
  border-color: transparent;
  color: var(--ds-blanc-chaud);
  font-weight: 700;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(173, 67, 89, 0.55);
  margin-top: 4px;
  margin-bottom: 4px;
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link[href="/register"] .sb-ico{
  filter: brightness(0) invert(1);
}
html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link[href="/register"]:hover{
  background: var(--ds-accent-2);
}

@media (prefers-reduced-motion: reduce) {
  html:not(#_) .mobile-guest-top .ds-burger, html:not(#_) .ds-menu-close{
    transition: none !important;
  }
}

/* contraste (audit 18/09) */
html:not(#_) .btab-lbl{ color: #4b5563 !important; } html:not(#_) .footer-copy{ color: #52525b !important; }

/* __CONTRASTE_V1 */
/* contraste mesuré < 2.4 (contraste_audit.mjs) : couleur du texte forcée lisible */
@media (max-width: 899px) { html:not(#_) span.mobile-guest-timer-label, html:not(#_) span.mobile-guest-timer-label a, html:not(#_) span.mobile-guest-timer-label span{ color: #151515 !important; } }
/* __END_CONTRASTE_V1 */

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

html:not(#_){
  --cro-accent:#ad4359;
  --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. */
html:not(#_) #profileModal .modal-content, html:not(#_) .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;
}
html:not(#_) #profileModal.active .modal-content, html:not(#_) .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 */
html:not(#_) #profileModal .btn-primary, html:not(#_) #profileModal .modal-contact-btn, html:not(#_) #profileModal .btn-cta-overlay, html:not(#_) .pm-cta button, html:not(#_) .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;
}
html:not(#_) #profileModal .btn-primary:hover, html:not(#_) #profileModal .modal-contact-btn:hover, html:not(#_) .pm-cta button:hover, html:not(#_) .pm-cta a:hover{ filter:brightness(1.07); box-shadow:0 14px 26px -10px var(--cro-accent, rgba(20,23,26,.6)); }
html:not(#_) #profileModal .btn-primary:active, html:not(#_) #profileModal .modal-contact-btn:active, html:not(#_) .pm-cta button:active, html:not(#_) .pm-cta a:active{ transform:scale(.985); }
html:not(#_) #profileModal .btn-primary:focus-visible, html:not(#_) .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; } }
html:not(#_) #profileModal.active .btn-primary, html:not(#_) #profileModal.active .modal-contact-btn, html:not(#_) .pm-modal .pm-cta button{ animation:cro-pouls 1.5s ease-out .45s 2; }

/* ---------- Astro : carrousel + corps ---------- */
html:not(#_) #profileModal .modal-image{ object-fit:cover; }
html:not(#_) #profileModal .modal-body{ background:var(--cro-blanc); padding-bottom:0; }
html:not(#_) #profileModal .modal-name{ color:var(--cro-encre); font-size:22px; letter-spacing:-.01em; }
html:not(#_) #profileModal .modal-meta{ color:var(--cro-encre-2); font-size:13.5px; }
html:not(#_) #profileModal .modal-bio, html:not(#_) #profileModal .modal-bio-wrap p{ color:var(--cro-encre); font-size:15px; line-height:1.55; }
html:not(#_) #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;
}
html:not(#_) #profileModal .modal-tags-label{ color:var(--cro-encre-2) !important; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; }
html:not(#_) #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 */
html:not(#_) #profileModal .modal-bio, html:not(#_) #profileModal .modal-bio *, html:not(#_) #profileModal .modal-bio-wrap, html:not(#_) #profileModal .modal-bio-wrap *, html:not(#_) #profileModal .modal-body p, html:not(#_) #profileModal .modal-info-value, html:not(#_) #profileModal .modal-infos li, html:not(#_) #profileModal .modal-infos span, html:not(#_) .pm-modal .pm-bio, html:not(#_) .pm-modal .pm-bio p, html:not(#_) .pm-modal .pm-bio div{
  color:var(--cro-encre) !important;
}
html:not(#_) #profileModal .modal-info-label, html:not(#_) #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). */
html:not(#_) #profileModal .modal-actions .btn:not(.btn-primary):not(.modal-contact-btn), html:not(#_) #profileModal .modal-favoris, html:not(#_) #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 */
html:not(#_) #profileModal .modal-bio-wrap, html:not(#_) #profileModal .modal-body > div[class*="bio"]{
  background:#f7f8f9 !important; border:1px solid var(--cro-trait) !important; border-radius:12px;
}

/* ---------- Next ---------- */
html:not(#_) .pm-modal .pm-head h3{ color:var(--cro-encre) !important; font-size:22px; }
html:not(#_) .pm-modal .pm-bio, html:not(#_) .pm-modal .pm-bio p{ color:var(--cro-encre); }
html:not(#_) .pm-modal .pm-infos .rounded-full{
  background:#f5f7f8 !important; color:var(--cro-encre-2) !important; border:1px solid var(--cro-trait) !important;
}
html:not(#_) .pm-modal .pm-cta{ border-top:1px solid var(--cro-trait) !important; }

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

  html:not(#_) #profileModal .modal-actions, html:not(#_) .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;
  }
  html:not(#_) #profileModal .modal-tags-block, html:not(#_) .pm-modal .pm-bio{ padding-bottom:6px; }
}

@media (prefers-reduced-motion:reduce){
  html:not(#_) #profileModal.active .modal-content, html:not(#_) .pm-modal, html:not(#_) #profileModal.active .btn-primary, html:not(#_) #profileModal.active .modal-contact-btn, html:not(#_) .pm-modal .pm-cta button{ animation:none !important; }
  html:not(#_) #profileModal .btn-primary, html:not(#_) .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. */

html:not(#_){
  --sg-accent:#ad4359;
  --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 */
html:not(#_) #signupOverlay, html:not(#_) .signup-overlay, html:not(#_) .popup-overlay{ background:rgba(12,16,20,.62) !important; backdrop-filter:blur(2px); }

/* LA surface — une seule, blanche */
html:not(#_) .signup-popup, html:not(#_) .popup-card, html:not(#_) #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. */
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) > div, html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) 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;
}
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) h1, html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) h2{ font-size:23px !important; line-height:1.2 !important; color:var(--sg-encre) !important; }
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) 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;
}
html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) form) button[type="submit"], html:not(#_) div.fixed.inset-0:has(input[type="email"], html:not(#_) 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 */
html:not(#_) .signup-header h2, html:not(#_) .popup-title{ color:var(--sg-encre) !important; font-size:23px !important; line-height:1.2; margin:0 0 6px !important; }
html:not(#_) .signup-header p, html:not(#_) .popup-desc{ color:var(--sg-encre-2) !important; font-size:14px !important; margin:0 0 16px !important; }
html:not(#_) .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 */
html:not(#_) .prelinker-embed, html:not(#_) .popup-prelinker-host, html:not(#_) .popup-prelinker-panel, html:not(#_) .ptprelinker--box, html:not(#_) .ptprelinker-content, html:not(#_) .ptprelinker-content-inner, html:not(#_) .ptprelinker-content-content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
html:not(#_) .signup-body{ background:transparent !important; padding:0 !important; }

/* champs : plus hauts, bord clair, une seule teinte de fond */
html:not(#_) .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;
}
html:not(#_) .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; }
html:not(#_) .ptprelinker-input-group .ptprelinker-input, html:not(#_) .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 */
}
html:not(#_) .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 */
html:not(#_) .ptprelinker-buttons input[type="submit"], html:not(#_) .ptprelinker-buttons .ptprelinker-button, html:not(#_) .signup-popup button[type="submit"], html:not(#_) .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;
}
html:not(#_) .ptprelinker-buttons input[type="submit"]:hover, html:not(#_) .ptprelinker-buttons .ptprelinker-button:hover{ filter:brightness(1.07) !important; }
html:not(#_) .ptprelinker-buttons input[type="submit"]:active, html:not(#_) .ptprelinker-buttons .ptprelinker-button:active{ transform:scale(.985) !important; }

/* croix et pied : présents, discrets — ils ne doivent pas concurrencer le bouton */
html:not(#_) .signup-close, html:not(#_) .popup-close{
  background:transparent !important; color:var(--sg-encre-2) !important;
  border:1px solid var(--sg-trait) !important; border-radius:999px !important;
}
html:not(#_) .signup-footer, html:not(#_) .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; }
html:not(#_) .signup-footer a, html:not(#_) .popup-footer a{ color:var(--sg-accent, #14171a) !important; font-weight:600; }

@media (max-width:768px){
  html:not(#_) .signup-popup, html:not(#_) .popup-card{ padding:22px 16px 16px !important; border-radius:16px !important; }
  html:not(#_) .signup-header h2, html:not(#_) .popup-title{ font-size:21px !important; }
}
@media (prefers-reduced-motion:reduce){
  html:not(#_) .signup-popup, html:not(#_) .popup-card{ animation:none !important; }
  html:not(#_) .ptprelinker-buttons input[type="submit"], html:not(#_) .ptprelinker-buttons .ptprelinker-button{ transition:none !important; }
}
/* __SIGNUP_CRO_V1_FIN */
html:not(#_) .sidebar-inner{scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.45) transparent;}
/* __END_DESIGN_SITE__ */
