
/* __DESIGN_SITE__ */
html:not(#_) .sidebar-inner{background:transparent;box-shadow:none;}
/* ^ posé par design_site.py : le panneau blanc d'Astro recouvrait le fond du .sidebar */
/* 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; } }


/* sextreffen-kostenlos.de — direction : minimal clair
   Blanc casse, grande typographie, un seul trait de couleur (rouge signal)
   qui relie la barre laterale, le bandeau mobile et le pied de page. */

html:not(#_){
  --ds-bg: #faf7f2;      /* blanc casse */
  --ds-ink: #1c1a17;     /* quasi-noir chaud */
  --ds-muted: #6b6459;   /* gris chaud pour le texte secondaire */
  --ds-line: #e8e2d6;    /* filet neutre tres discret */
  --ds-accent: #c1272d;  /* l'unique trait de couleur : rouge signal */
}

/* ===== Entree en scene (une seule fois, sobre) ===== */
@keyframes ds-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ds-line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ===== Barre laterale (desktop) ===== */
html:not(#_) .sidebar{
  background: var(--ds-bg);
  border-right: 1px solid var(--ds-line);
}
html:not(#_) .sidebar-inner{
  animation: ds-fade-in .6s ease both;}

html:not(#_) .sb-logo{
  position: relative;
  padding-bottom: .9rem;
  margin-bottom: .5rem;
}
html:not(#_) .sb-logo::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 2.75rem; height: 3px;
  background: var(--ds-accent);
  transform-origin: left center;
  animation: ds-line-grow .7s .3s cubic-bezier(.4,0,.2,1) both;
}
html:not(#_) .sb-logo-dot{ color: var(--ds-accent); }
html:not(#_) .sb-logo-text{
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ds-ink);
}

html:not(#_) .sb-section-title{
  color: var(--ds-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 1.4rem;
}

html:not(#_) .sb-link{
  color: var(--ds-muted);
  font-size: 1.02rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  background: transparent;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
html:not(#_) .sb-link .sb-ico{ color: currentColor; }
html:not(#_) .sb-link:hover, html:not(#_) .sb-link.active{
  color: var(--ds-ink);
  border-left-color: var(--ds-accent);
  background: rgba(193, 39, 45, .06);
}

html:not(#_) .sb-map-quick-link{
  color: var(--ds-muted);
  font-weight: 600;
  transition: color .18s ease;
}
html:not(#_) .sb-map-quick-link:hover{ color: var(--ds-accent); }

html:not(#_) .sb-silo-region{
  color: var(--ds-ink);
  font-weight: 700;
  transition: color .18s ease;
}
html:not(#_) .sb-silo-region:hover{ color: var(--ds-accent); }
html:not(#_) .sb-silo-region .sb-chevron{ color: var(--ds-muted); }

html:not(#_) .sb-silo-ville{
  color: var(--ds-muted);
  font-size: .92rem;
  transition: color .16s ease, transform .16s ease;
  display: inline-block;
}
html:not(#_) .sb-silo-ville:hover{
  color: var(--ds-accent);
  transform: translateX(3px);
}

/* ===== Bandeau invite (mobile) ===== */
html:not(#_) .mobile-guest-top{
  background: var(--ds-bg);
  border-bottom: 1px solid var(--ds-line);
  animation: ds-fade-in .5s ease both;
}
html:not(#_) .mobile-guest-head{ padding-top: .85rem; padding-bottom: .85rem; }
html:not(#_) .mobile-guest-brand{
  color: var(--ds-ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
html:not(#_) .mobile-guest-login{
  color: var(--ds-ink);
  font-weight: 700;
  border-bottom: 2px solid var(--ds-accent);
  padding-bottom: 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

html:not(#_) .mobile-guest-cta{
  background: #fffdfa;
  border-top: 2px solid var(--ds-accent);
}
html:not(#_) .mobile-guest-cta-offer{
  color: var(--ds-muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html:not(#_) .mobile-guest-cta-kw{
  color: var(--ds-ink);
  font-size: 1.08rem;
  font-weight: 800;
}
html:not(#_) .mobile-guest-timer-label{
  color: var(--ds-muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
html:not(#_) .mobile-guest-timer{
  color: var(--ds-accent);
  font-weight: 800;
  font-size: 1.05rem;
}
html:not(#_) .mobile-guest-cta-btn{
  background: var(--ds-accent);
  color: #fff;
  font-weight: 800;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter .18s ease, transform .18s ease;
}
html:not(#_) .mobile-guest-cta-btn:hover, html:not(#_) .mobile-guest-cta-btn:active{
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ===== Pied de page ===== */
html:not(#_) .footer-v2{
  background: var(--ds-bg);
  border-top: 3px solid var(--ds-accent);
  animation: ds-fade-in .6s .1s ease both;
}
html:not(#_) .footer-inner{ padding-top: 2.4rem; padding-bottom: 2.4rem; }
html:not(#_) .footer-logo{
  color: var(--ds-ink) !important;
  font-size: clamp(1.3rem, 1.1rem + .9vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}
html:not(#_) .footer-links a{
  color: var(--ds-muted);
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
html:not(#_) .footer-links a:hover{
  color: var(--ds-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
html:not(#_) .footer-copy{
  color: var(--ds-muted);
  font-size: .84rem;
}

/* ===== Repos si mouvement reduit demande ===== */
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .sidebar, html:not(#_) .mobile-guest-top, html:not(#_) .footer-v2, html:not(#_) .sb-logo::after{
    animation: none !important;
  }
  html:not(#_) .sb-link, html:not(#_) .sb-map-quick-link, html:not(#_) .sb-silo-region, html:not(#_) .sb-silo-ville, html:not(#_) .mobile-guest-cta-btn, html:not(#_) .footer-links a{
    transition: none !important;
  }
}
/* ============================================================================
   Thème profond + variante « reassurance » (18/09) — même palette, même registre :
   filet rouge unique, angles nets (pas de pilule), accent en bordure gauche/haut,
   petites capitales en label. Pas de recette de mise en page pour cette variante :
   l'ordre des sections ne change pas.
   ============================================================================ */

/* ===== a) socle du bloc de réassurance (copié tel quel depuis design_recettes_v3.css) ===== */
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; }

/* ===== a) habillage du bloc dans le registre du site ===== */
html:not(#_) .ds-bloc{
  background: #fff;
  border: 1px solid var(--ds-line);
  border-left: 3px solid var(--ds-accent);
  border-radius: 4px;
}
html:not(#_) .ds-titre{
  color: var(--ds-ink);
  font-weight: 800;
  letter-spacing: -.01em;
}
html:not(#_) .ds-sous{ color: var(--ds-muted); opacity: 1; }
html:not(#_) .ds-item-t{ color: var(--ds-ink); font-size: 1rem; }
html:not(#_) .ds-item-p{ color: var(--ds-muted); opacity: 1; }
html:not(#_) .ds-ico{ color: var(--ds-accent); }
html:not(#_) .ds-ico svg{ stroke: currentColor; fill: none; }

/* ===== b) cartes profil ===== */
html:not(#_) .profile-card{
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 3px;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
html:not(#_) .profile-card:hover{
  border-color: var(--ds-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 26, 23, .1);
}
html:not(#_) .profile-photo{ border-bottom: 1px solid var(--ds-line); background: var(--ds-bg); }
html:not(#_) .profile-age{
  background: var(--ds-ink);
  color: #fff;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .02em;
}
html:not(#_) .profile-lock{ background: var(--ds-ink); }
html:not(#_) .profile-title, html:not(#_) .profile-name{ color: var(--ds-ink); }
html:not(#_) .profile-ville, html:not(#_) .profile-bio{ color: var(--ds-muted); }
html:not(#_) .profile-footer{ border-top: 1px solid var(--ds-line); }
html:not(#_) .profile-cta{
  border: 1px solid var(--ds-ink);
  color: var(--ds-ink);
  background: #fff;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
html:not(#_) .profile-card:hover .profile-cta{
  background: var(--ds-accent);
  border-color: var(--ds-accent);
  color: #fff;
}

/* ===== b) filtres ===== */
html:not(#_) .filters{ gap: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--ds-line); }
html:not(#_) .filter-btn{
  background: #fff;
  border: 1px solid var(--ds-line);
  color: var(--ds-muted);
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .78rem;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
html:not(#_) .filter-btn:hover{ border-color: var(--ds-accent); color: var(--ds-ink); }
html:not(#_) .filter-btn.active{
  background: var(--ds-ink);
  border-color: var(--ds-ink);
  color: #fff;
}

/* ===== b) pagination ===== */
html:not(#_) .pagination{ gap: .4rem; align-items: center; }
html:not(#_) .pagination-link, html:not(#_) .pagination-current, html:not(#_) .pagination-arrow{
  border: 1px solid var(--ds-line);
  color: var(--ds-muted);
  border-radius: 2px;
  min-width: 2.3rem;
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
html:not(#_) .pagination-link:hover, html:not(#_) .pagination-arrow:hover{ border-color: var(--ds-accent); color: var(--ds-accent); }
html:not(#_) .pagination-current{ background: var(--ds-ink); border-color: var(--ds-ink); color: #fff; }
html:not(#_) .pagination-ellipsis{ color: var(--ds-muted); border: 0; }

/* ===== b) bandeau CTA de milieu de page ===== */
html:not(#_) .cta-section{
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 15px), linear-gradient(var(--ds-ink), var(--ds-ink));
  border: 1px solid var(--ds-ink);
  border-radius: 4px;
  padding: 2.4rem 1.5rem;
}
html:not(#_) .cta-section h2{ color: #fff; font-weight: 800; letter-spacing: -.01em; }
html:not(#_) .cta-section p{ color: rgba(255, 255, 255, .78); }
html:not(#_) .cta-section .btn.btn-primary{
  background-image: linear-gradient(var(--ds-accent), var(--ds-accent));
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: .02em;
  min-height: 44px;
  transition: filter .18s ease, transform .18s ease;
}
html:not(#_) .cta-section .btn.btn-primary:hover{ filter: brightness(1.08); transform: translateY(-1px); }

/* ===== b) FAQ / accordéon ===== */
html:not(#_) .accordion-item{
  background: #fff;
  border: 1px solid var(--ds-line);
  border-left: 3px solid transparent;
  border-radius: 2px;
  margin-bottom: .6rem;
  transition: border-color .16s ease;
}
html:not(#_) .accordion-item[open]{ border-left-color: var(--ds-accent); }
html:not(#_) .accordion-header{ padding: .9rem 1rem; cursor: pointer; }
html:not(#_) .accordion-q{ color: var(--ds-ink); font-weight: 700; }
html:not(#_) .accordion-body{
  color: var(--ds-muted);
  border-top: 1px solid var(--ds-line);
  padding: .75rem 1rem 1rem;
}

/* ===== b) bouton retour en haut (mobile et desktop) ===== */
html:not(#_) .back-to-top{
  background: var(--ds-ink);
  color: #fff;
  border: 1px solid var(--ds-ink);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(28, 26, 23, .2);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
html:not(#_) .back-to-top:hover{
  background: var(--ds-accent);
  border-color: var(--ds-accent);
  transform: translateY(-2px);
}

/* ===== b) pop-up profil (#profileModal) : couleurs/bordures/rayons seulement ===== */
html:not(#_) #profileModal .modal-content{
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(28, 26, 23, .3);
}
html:not(#_) #profileModal .modal-close{
  background: var(--ds-ink);
  color: #fff;
  border-radius: 2px;
}
html:not(#_) #profileModal .modal-cta-overlay{
  background-image: linear-gradient(rgba(28, 26, 23, .8), rgba(28, 26, 23, .8));
}
html:not(#_) #profileModal .btn-cta-overlay{
  background-image: linear-gradient(var(--ds-accent), var(--ds-accent));
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: .02em;
}

/* ===== b) pop-up d'inscription / connexion et age gate : couleurs, bordures, rayons ===== */
html:not(#_) .popup-card{
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-top: 3px solid var(--ds-accent);
  border-radius: 6px;
}
html:not(#_) .popup-close{ background: var(--ds-ink); color: #fff; border-radius: 2px; }
html:not(#_) .popup-icon{ color: var(--ds-accent); }
html:not(#_) .popup-title{ color: var(--ds-ink); }
html:not(#_) .popup-desc{ color: var(--ds-muted); }
html:not(#_) .popup-footer{ color: var(--ds-muted); border-top: 1px solid var(--ds-line); }
html:not(#_) .popup-footer a{ color: var(--ds-accent); font-weight: 700; }

html:not(#_) .age-gate-modal{
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-top: 3px solid var(--ds-accent);
  border-radius: 6px;
}
html:not(#_) .age-gate-modal h2{ color: var(--ds-ink); }
html:not(#_) .age-gate-lead, html:not(#_) .age-gate-body, html:not(#_) .age-gate-actions, html:not(#_) .age-gate-footnote{ color: var(--ds-muted); }
html:not(#_) .age-gate-link{ color: var(--ds-accent); font-weight: 700; }
html:not(#_) .age-gate-buttons .btn{
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: .02em;
  min-height: 44px;
}
html:not(#_) .age-gate-buttons .btn.btn-primary{
  background-image: linear-gradient(var(--ds-accent), var(--ds-accent));
  border: 0;
  color: #fff;
}
html:not(#_) .age-gate-buttons .btn:not(.btn-primary){
  background: #fff;
  border: 1px solid var(--ds-line);
  color: var(--ds-muted);
}

/* ===== b) barre basse mobile (Astro) ===== */
html:not(#_) .bottom-bar{ background: var(--ds-bg); border-top: 1px solid var(--ds-line); }
html:not(#_) .btab{ color: var(--ds-muted); transition: color .16s ease; }
html:not(#_) .btab:hover, html:not(#_) .btab:active{ color: var(--ds-ink); }
html:not(#_) .btab:hover .btab-ico, html:not(#_) .btab:active .btab-ico{ color: var(--ds-accent); }

/* ===== c) réassurance native (.trust-badges, accueil national) — restylée, pas répétée =====
   Mots de la native (SSL-gesichert, Geprüfte Profile, Daten geschützt, Kostenlos registrieren)
   restent les siens : le bloc ds ci-dessus parle d'un autre sujet (couverture des petites
   villes, délai de réponse, coût), donc les deux coexistent sans se répéter. */
html:not(#_) .hv3-trust-wrap{
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
}
html:not(#_) .trust-badges{ gap: 1.6rem; }
html:not(#_) .badge{
  color: var(--ds-muted);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
html:not(#_) .badge-icon{ color: var(--ds-accent); }

/* ===== d) menu mobile Astro : le mécanisme (burger, calque, tiroir) est ajouté par l'outil ;
   ici seulement la couleur, dans le registre du site. La sidebar (fond, liens, accent) est
   déjà lisible à 340 px : mêmes tailles/contrastes que sur desktop. ===== */
html:not(#_) .ds-burger{ color: var(--ds-ink); }
html:not(#_) .ds-burger:hover{ color: var(--ds-accent); }
html:not(#_) .ds-menu-overlay{ background: rgba(28, 26, 23, .55); }
html:not(#_) .ds-menu-close{
  background: var(--ds-ink);
  color: #fff;
}
html:not(#_) .ds-menu-close:hover{ background: var(--ds-accent); }
html:not(#_) body:has(#ds-menu:checked) aside.sidebar{ border-right: 3px solid var(--ds-accent); }

@media (prefers-reduced-motion: reduce) {
  html:not(#_) .profile-card, html:not(#_) .filter-btn, html:not(#_) .pagination-link, html:not(#_) .pagination-arrow, html:not(#_) .accordion-item, html:not(#_) .back-to-top, html:not(#_) .profile-cta, html:not(#_) .cta-section .btn.btn-primary, html:not(#_) .btab, html:not(#_) .btab-ico, html:not(#_) .ds-burger, html:not(#_) .ds-menu-close{
    transition: none !important;
  }
}


/* contraste (audit 18/09) */
html:not(#_) .mobile-guest-brand, html:not(#_) .mobile-guest-login{ color: #1a1a1a !important; } html:not(#_) .mobile-guest-login{ border-color: #1a1a1a !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. */

html:not(#_){
  --cro-accent:#c1272d;
  --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:#c1272d;
  --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 */

@media (prefers-reduced-motion: reduce){html:not(#_) .sidebar-inner{animation:none !important;transition:none !important;}}
html:not(#_) .sidebar-inner{scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.45) transparent;}
/* __END_DESIGN_SITE__ */
