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

/* =========================================================
   ebony-sextreffen.de — habillage unique header + footer
   Direction : noir + or chaud, tres contraste,
   footer avec motif geometrique discret
   ========================================================= */

/* ---------- Header ---------- */
.site-header{
  --eb-noir:#0a0906;
  --eb-noir-2:#151109;
  --eb-or:#e3b04b;
  --eb-or-clair:#f6d98a;
  --eb-or-sombre:#8a6a1f;
  position:relative;
  background:linear-gradient(180deg,var(--eb-noir) 0%,var(--eb-noir-2) 100%);
  border-bottom:1px solid rgba(227,176,75,.35);
  overflow:hidden;
  animation:eb-header-in .6s ease-out both;
}

/* liseré or anime sous le header */
.site-header::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--eb-or) 20%,var(--eb-or-clair) 50%,var(--eb-or) 80%,transparent);
  background-size:200% 100%;
  animation:eb-liseret 7s linear infinite;
}

@keyframes eb-header-in{
  from{opacity:0;transform:translateY(-10px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes eb-liseret{
  0%{background-position:0% 0;}
  100%{background-position:200% 0;}
}

.site-header .header-logo,
.site-header .logo{
  color:var(--eb-or-clair);
  font-weight:800;
  letter-spacing:.05em;
  text-shadow:0 0 12px rgba(227,176,75,.25);
}

.site-header .header-nav-toggle{
  color:#ece6d8;
  background:transparent;
  border:1px solid rgba(227,176,75,.25);
  border-radius:3px;
  transition:color .2s ease,border-color .2s ease,background-color .2s ease;
}
.site-header .header-nav-toggle:hover,
.site-header .header-nav-toggle[aria-expanded="true"]{
  color:var(--eb-noir);
  background:var(--eb-or);
  border-color:var(--eb-or);
}

.site-header .header-nav-dropdown{
  background:var(--eb-noir-2);
  border:1px solid rgba(227,176,75,.25);
}
.site-header .header-nav-dropdown a{
  color:#d8cfba;
  transition:color .15s ease,background-color .15s ease;
}
.site-header .header-nav-dropdown a:hover,
.site-header .header-nav-dropdown a:focus-visible{
  color:var(--eb-or-clair);
  background:rgba(227,176,75,.1);
}
.site-header .header-nav-dropdown a.header-nav-more{
  color:var(--eb-or);
  font-weight:600;
}

.site-header .btn-header.header-auth-btn{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir);
  font-weight:700;
  border:none;
  border-radius:4px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:0 1.1em;
  box-shadow:0 2px 10px rgba(227,176,75,.25);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.site-header .btn-header.header-auth-btn:hover,
.site-header .btn-header.header-auth-btn:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(227,176,75,.4);
  filter:brightness(1.06);
}

.site-header .header-hamburger span{
  background-color:var(--eb-or-clair);
}
.site-header .header-hamburger:hover span{
  background-color:var(--eb-or);
}

/* ---------- Footer ---------- */
.site-footer{
  --eb-noir:#0a0906;
  --eb-or:#e3b04b;
  --eb-or-clair:#f6d98a;
  position:relative;
  background:var(--eb-noir);
  color:#cfc6b2;
  border-top:1px solid rgba(227,176,75,.3);
  background-image:
    repeating-linear-gradient(45deg, rgba(227,176,75,.05) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(227,176,75,.05) 0 2px, transparent 2px 26px);
}

.site-footer .footer-col-brand h3{
  color:var(--eb-or-clair);
  letter-spacing:.03em;
}
.site-footer .footer-tagline{
  color:#9d947e;
}

.site-footer .footer-toggle{
  color:#ece6d8;
  border-bottom:1px solid rgba(227,176,75,.2);
  transition:color .18s ease;
}
.site-footer .footer-toggle:hover{color:var(--eb-or-clair);}
.site-footer .footer-chevron{
  color:var(--eb-or);
  display:inline-block;
  transition:transform .25s ease;
}
.site-footer .footer-toggle[aria-expanded="true"] .footer-chevron{
  transform:rotate(180deg);
}

.site-footer .footer-panel a{
  color:#bdb197;
  transition:color .15s ease,padding-left .15s ease;
}
.site-footer .footer-panel a:hover,
.site-footer .footer-panel a:focus-visible{
  color:var(--eb-or-clair);
  padding-left:.3em;
}

.site-footer .footer-bottom{
  border-top:1px solid rgba(227,176,75,.2);
  color:#a89975;
}

@media (prefers-reduced-motion: reduce){
  .site-header,
  .site-header::after{
    animation:none !important;
  }
  .site-header .btn-header.header-auth-btn,
  .site-footer .footer-chevron,
  .site-footer .footer-panel a{
    transition: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; }
}

/* =========================================================
   Recette de mise en page — PHP · cta-faq
   (copiée telle quelle depuis app/design_recettes_v3.css)
   ========================================================= */
@media (min-width: 992px) {
  body.design-v-cta-faq .bg-gradient > .container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  body.design-v-cta-faq .bg-gradient > .container > * { grid-column: 1 / -1; }
  body.design-v-cta-faq .bg-gradient > .container > .cta-section,
  body.design-v-cta-faq .bg-gradient > .container > section:has(.accordion) { grid-column: auto; align-self: stretch; }
  body.design-v-cta-faq .bg-gradient > .container > .cta-section { display: flex; flex-direction: column; justify-content: center; }
}

/* =========================================================
   Thème profond — noir + or chaud, même registre que le header/footer
   (angles nets 3-4px, dégradés or, hachure diagonale, liseré animé,
   halo or au survol). Variables reprises pour tout le corps de page.
   ========================================================= */
:root{
  --eb-noir:#0a0906;
  --eb-noir-2:#151109;
  --eb-or:#e3b04b;
  --eb-or-clair:#f6d98a;
  --eb-or-sombre:#8a6a1f;
  --eb-carte-fond:#fffcf5;
  --eb-carte-bordure:rgba(138,106,31,.28);
}

/* ---------- Boutons principaux (CTA, age gate, modale, pop-up d'inscription) ---------- */
.btn.btn-primary{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir);
  font-weight:700;
  border:none;
  border-radius:4px;
  box-shadow:0 2px 10px rgba(227,176,75,.25);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(227,176,75,.4);
  filter:brightness(1.05);
  color:var(--eb-noir);
}
.btn-outline{
  background:transparent;
  color:var(--eb-noir);
  border:1px solid var(--eb-or-sombre);
  border-radius:4px;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease;
}
.btn-outline:hover,
.btn-outline:focus-visible{
  border-color:var(--eb-or);
  background:rgba(227,176,75,.1);
  color:var(--eb-noir);
}

/* ---------- Cartes profil ---------- */
.profile-card{
  background:var(--eb-carte-fond);
  border:1px solid var(--eb-carte-bordure);
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 1px 4px rgba(10,9,6,.08);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.profile-card:hover{
  transform:translateY(-3px);
  border-color:var(--eb-or);
  box-shadow:0 10px 22px rgba(10,9,6,.16),0 0 0 1px rgba(227,176,75,.25);
}
.profile-card .profile-card-media{
  position:relative;
  background:var(--eb-noir-2);
}
.profile-card .profile-badge{
  background:var(--eb-noir);
  color:var(--eb-or-clair);
  border:1px solid rgba(227,176,75,.5);
  border-radius:3px;
  font-weight:700;
}
.profile-card .profile-age-badge{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 70%);
  color:var(--eb-noir);
  border-radius:3px;
  font-weight:700;
}
.profile-card .profile-info{
  border-top:1px solid var(--eb-carte-bordure);
}
.profile-card .profile-headline{
  color:var(--eb-noir);
  font-weight:700;
}
.profile-card .profile-bio-name{
  color:var(--eb-or-sombre);
  font-weight:700;
}
.profile-card .profile-location-label{
  color:#8a7f66;
}
.profile-card .profile-location-value{
  color:var(--eb-or-sombre);
  font-weight:600;
  transition:color .15s ease;
}
.profile-card .profile-location-value:hover,
.profile-card .profile-location-value:focus-visible{
  color:var(--eb-or);
  text-decoration-color:var(--eb-or);
}

/* ---------- Filtres et pagination ---------- */
.filters .filter-btn{
  background:transparent;
  color:var(--eb-noir);
  border:1px solid var(--eb-carte-bordure);
  border-radius:3px;
  transition:color .18s ease,border-color .18s ease,background-color .18s ease;
}
.filters .filter-btn:hover,
.filters .filter-btn:focus-visible{
  border-color:var(--eb-or);
  background:rgba(227,176,75,.08);
}
.filters .filter-btn.active{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir);
  border-color:var(--eb-or-sombre);
  font-weight:700;
}
.pagination a,
.pagination button,
.pagination span{
  border:1px solid var(--eb-carte-bordure);
  border-radius:3px;
  color:var(--eb-noir);
  transition:color .15s ease,border-color .15s ease,background-color .15s ease;
}
.pagination a:hover,
.pagination button:hover{
  border-color:var(--eb-or);
  background:rgba(227,176,75,.08);
}
.pagination .active,
.pagination [aria-current="page"]{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir);
  border-color:var(--eb-or-sombre);
  font-weight:700;
}

/* ---------- Villes / tags proches (links-grid) ---------- */
.links-grid .link-tag{
  display:inline-block;
  background:transparent;
  color:var(--eb-or-sombre);
  border:1px solid var(--eb-carte-bordure);
  border-radius:3px;
  transition:color .15s ease,border-color .15s ease,background-color .15s ease;
}
.links-grid .link-tag:hover,
.links-grid .link-tag:focus-visible{
  color:var(--eb-noir);
  border-color:var(--eb-or);
  background:rgba(227,176,75,.1);
}

/* ---------- Bandeau CTA de milieu de page ---------- */
.cta-section{
  position:relative;
  background-color:var(--eb-noir);
  background-image:
    repeating-linear-gradient(45deg, rgba(227,176,75,.05) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(227,176,75,.05) 0 2px, transparent 2px 26px),
    linear-gradient(180deg,var(--eb-noir) 0%,var(--eb-noir-2) 100%);
  border:1px solid rgba(227,176,75,.3);
  border-radius:4px;
  overflow:hidden;
}
.cta-section h2{
  color:var(--eb-or-clair);
  text-shadow:0 0 12px rgba(227,176,75,.2);
}
.cta-section p{
  color:#cfc6b2;
}

/* ---------- FAQ / accordéon ---------- */
.info-duo-title{
  color:var(--eb-noir);
  border-bottom:2px solid var(--eb-or);
  display:inline-block;
}
.accordion .accordion-item{
  background:var(--eb-carte-fond);
  border:1px solid var(--eb-carte-bordure);
  border-radius:4px;
  overflow:hidden;
}
.accordion .accordion-header{
  color:var(--eb-noir);
  font-weight:700;
  cursor:pointer;
  transition:color .15s ease;
}
.accordion .accordion-header:hover{
  color:var(--eb-or-sombre);
}
.accordion .accordion-item[open] .accordion-header{
  color:var(--eb-or-sombre);
  border-bottom:1px solid var(--eb-carte-bordure);
}
.accordion .accordion-body{
  color:#4a4536;
}

/* ---------- Widget météo ---------- */
.weather-card{
  background:linear-gradient(180deg,var(--eb-noir) 0%,var(--eb-noir-2) 100%);
  border:1px solid rgba(227,176,75,.3);
  border-radius:4px;
  color:#d8cfba;
}
.weather-card .weather-city,
.weather-card .weather-title-city{
  color:var(--eb-or-clair);
  font-weight:700;
}
.weather-card .weather-label{
  color:var(--eb-or);
}
.weather-card .weather-item{
  border:1px solid rgba(227,176,75,.18);
  border-radius:3px;
}
.weather-card .weather-k{
  color:#a89975;
}
.weather-card .weather-v{
  color:var(--eb-or-clair);
  font-weight:700;
}
.weather-card .weather-foot{
  color:#8a7f66;
  border-top:1px solid rgba(227,176,75,.15);
}
.weather-card .weather-status{
  color:#a89975;
}

/* ---------- Bouton retour en haut ---------- */
.back-to-top{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir);
  border:none;
  border-radius:4px;
  font-weight:700;
  box-shadow:0 4px 14px rgba(10,9,6,.35);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.back-to-top:hover,
.back-to-top:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(227,176,75,.4);
  filter:brightness(1.05);
}

/* ---------- Pop-up de fiche profil (#profileModal) : couleurs, bordures, rayons uniquement ---------- */
#profileModal .modal-content{
  background:var(--eb-carte-fond);
  border:1px solid rgba(227,176,75,.35);
  border-radius:6px;
  box-shadow:0 20px 50px rgba(10,9,6,.45);
}
#profileModal .modal-close{
  background:var(--eb-noir);
  color:var(--eb-or-clair);
  border:1px solid rgba(227,176,75,.4);
  border-radius:3px;
  transition:color .15s ease,background-color .15s ease;
}
#profileModal .modal-close:hover,
#profileModal .modal-close:focus-visible{
  background:var(--eb-or);
  color:var(--eb-noir);
}
#profileModal .modal-display-name,
#profileModal .modal-name,
#profileModal .modal-headline{
  color:var(--eb-noir);
}
#profileModal .modal-bio-wrap,
#profileModal .modal-bio{
  color:#4a4536;
}
#profileModal .modal-tags-label{
  color:var(--eb-or-sombre);
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:700;
  border-bottom:1px solid var(--eb-carte-bordure);
}
#profileModal .modal-tags-groups span,
#profileModal .modal-tags{
  border:1px solid var(--eb-carte-bordure);
  border-radius:3px;
  color:var(--eb-noir);
}
#profileModal .btn-cta-overlay{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre)) !important;
  color:var(--eb-noir) !important;
  border-radius:4px;
  font-weight:700;
}
#profileModal .modal-fav-btn{
  border:1px solid var(--eb-or-sombre);
  color:var(--eb-noir);
}
#profileModal .modal-nav{
  background:var(--eb-noir);
  color:var(--eb-or-clair);
  border:1px solid rgba(227,176,75,.4);
  border-radius:3px;
}
#profileModal .modal-dot{
  background:rgba(227,176,75,.3);
}
#profileModal .modal-dot.active,
#profileModal .modal-dot[aria-current="true"]{
  background:var(--eb-or);
}

/* ---------- Pop-up d'inscription et age gate : couleurs, bordures, rayons uniquement ---------- */
#signupOverlay .signup-popup{
  background:var(--eb-carte-fond);
  border:1px solid rgba(227,176,75,.35);
  border-radius:6px;
  box-shadow:0 20px 50px rgba(10,9,6,.45);
}
#signupOverlay .signup-header{
  color:var(--eb-noir);
  border-bottom:1px solid var(--eb-carte-bordure);
}
#signupOverlay .signup-close{
  background:var(--eb-noir);
  color:var(--eb-or-clair);
  border:1px solid rgba(227,176,75,.4);
  border-radius:3px;
}
#signupOverlay .signup-close:hover,
#signupOverlay .signup-close:focus-visible{
  background:var(--eb-or);
  color:var(--eb-noir);
}
#signupOverlay .signup-footer{
  border-top:1px solid var(--eb-carte-bordure);
  color:#8a7f66;
}
.age-gate .age-gate-content{
  background:linear-gradient(180deg,var(--eb-noir) 0%,var(--eb-noir-2) 100%);
  border:1px solid rgba(227,176,75,.35);
  border-radius:6px;
  color:#d8cfba;
}
.age-gate .age-gate-content h1,
.age-gate .age-gate-content h2{
  color:var(--eb-or-clair);
}

/* ---------- Bandeau défilant de régions (accueil) : couleurs uniquement, jamais le transform du défilement ---------- */
.scrolling-bar{
  background:linear-gradient(180deg,var(--eb-noir) 0%,var(--eb-noir-2) 100%);
  border-top:1px solid rgba(227,176,75,.25);
  border-bottom:1px solid rgba(227,176,75,.25);
}
.scrolling-bar a{
  color:#d8cfba;
  transition:color .15s ease;
}
.scrolling-bar a:hover,
.scrolling-bar a:focus-visible{
  color:var(--eb-or-clair);
}

/* ---------- Barre mobile basse (.mobile-public-nav) : même registre que le header ---------- */
.mobile-public-nav{
  background:linear-gradient(180deg,var(--eb-noir-2) 0%,var(--eb-noir) 100%);
  border-top:1px solid rgba(227,176,75,.35);
}
.mobile-public-nav a{
  color:#a89975;
  transition:color .15s ease;
}
.mobile-public-nav a svg{
  stroke:currentColor;
}
.mobile-public-nav a:hover,
.mobile-public-nav a:focus-visible,
.mobile-public-nav a.active,
.mobile-public-nav a[aria-current="page"]{
  color:var(--eb-or-clair);
}
.mobile-public-nav a[href*="register"]{
  color:var(--eb-or);
  font-weight:700;
}

/* ---------- Tiroir mobile (header-drawer) : cohérence avec le header ---------- */
.header-drawer-panel{
  background:var(--eb-noir-2);
  border-left:1px solid rgba(227,176,75,.3);
}
.header-drawer-link,
.header-drawer-more{
  color:#d8cfba;
}
.header-drawer-link:hover,
.header-drawer-more:hover{
  color:var(--eb-or-clair);
}
.header-drawer-cta-primary{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir);
  border-radius:4px;
  font-weight:700;
}
.header-drawer-close{
  color:var(--eb-or-clair);
}

/* ---------- Jamais deux CTA au même endroit : le bloc pré-footer
   (« Werde Teil der Community! ») fait doublon avec le .cta-section de
   milieu de page — on masque son conteneur exact, pas le CTA du milieu. ---------- */
.footer-signup-cta{
  display:none;
}

@media (prefers-reduced-motion: reduce){
  .btn.btn-primary,
  .btn-outline,
  .profile-card,
  .filters .filter-btn,
  .pagination a,
  .pagination button,
  .links-grid .link-tag,
  .accordion .accordion-header,
  .back-to-top,
  #profileModal .modal-close,
  #signupOverlay .signup-close,
  .scrolling-bar a{
    transition:none !important;
  }
  .profile-card:hover,
  .btn.btn-primary:hover,
  .back-to-top:hover{
    transform:none !important;
  }
}

/* =========================================================
   Menu mobile (header-drawer) — bloc complet, même registre
   noir + or que le header/footer. Couleurs, bordures, rayons et
   ombres uniquement : le mécanisme d'ouverture (.header-drawer-
   overlay.active, transform de translation, position, overflow)
   n'est pas touché. Corrige les pilules ternes du gabarit.
   ========================================================= */
.header-drawer{
  background:linear-gradient(180deg,var(--eb-noir-2) 0%,var(--eb-noir) 100%);
  color:#e8e0cd;
  border-left:1px solid rgba(227,176,75,.3);
  box-shadow:-16px 0 40px rgba(10,9,6,.5);
}
.header-drawer-head{
  background:var(--eb-noir);
  border-bottom:1px solid rgba(227,176,75,.3);
  color:var(--eb-or-clair);
}
.header-drawer-head strong{
  color:var(--eb-or-clair);
  letter-spacing:.03em;
}
.header-drawer-close{
  background:rgba(227,176,75,.14);
  color:var(--eb-or-clair);
  border:1px solid rgba(227,176,75,.35);
  transition:background-color .18s ease,color .18s ease,transform .15s ease;
}
.header-drawer-close:hover,
.header-drawer-close:focus-visible{
  background:var(--eb-or);
  color:var(--eb-noir);
  transform:rotate(90deg);
}

.header-drawer-search{
  background:var(--eb-noir-2);
  border-bottom:1px solid rgba(227,176,75,.2);
}
.header-drawer-search .search-input{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(227,176,75,.3);
  border-radius:3px;
  color:#ece6d8;
}
.header-drawer-search .search-input::placeholder{
  color:#8a7f66;
}
.header-drawer-search .search-input:focus{
  outline:none;
  border-color:var(--eb-or);
  background:rgba(227,176,75,.08);
}
.header-drawer-search .search-icon{
  color:var(--eb-or-sombre);
}

.header-drawer-section{
  border-bottom:1px solid rgba(227,176,75,.16);
}
.header-drawer-toggle{
  color:#ece6d8;
  transition:color .15s ease,background-color .15s ease;
}
.header-drawer-toggle:hover{
  background:rgba(227,176,75,.08);
  color:var(--eb-or-clair);
}
.header-drawer-chevron{
  color:var(--eb-or);
}

.header-drawer-panel{
  background:transparent;
  border-left:none;
}
.header-drawer-links{
  gap:9px;
}
.header-drawer-link{
  min-height:40px;
  padding:8px 14px;
  border-radius:4px;
  background:rgba(227,176,75,.07);
  border:1px solid rgba(227,176,75,.28);
  color:#d8cfba !important;
  font-weight:600;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .15s ease;
}
.header-drawer-link:hover,
.header-drawer-link:focus-visible{
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  border-color:var(--eb-or-sombre);
  color:var(--eb-noir) !important;
  transform:translateY(-1px);
}
.header-drawer-more{
  min-height:40px;
  background:transparent;
  border:1px dashed rgba(227,176,75,.45);
  color:var(--eb-or) !important;
  font-weight:700;
}
.header-drawer-more:hover,
.header-drawer-more:focus-visible{
  background:rgba(227,176,75,.1);
  border-style:dashed;
  color:var(--eb-or-clair) !important;
  transform:none;
}

.header-drawer-footer{
  background:var(--eb-noir);
  border-top:1px solid rgba(227,176,75,.3);
}
.header-drawer-cta-primary{
  min-height:48px;
  background:linear-gradient(135deg,var(--eb-or-clair),var(--eb-or) 60%,var(--eb-or-sombre));
  color:var(--eb-noir) !important;
  border:1px solid var(--eb-or-sombre);
  border-radius:4px;
  font-weight:700;
  box-shadow:0 4px 14px rgba(227,176,75,.3);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.header-drawer-cta-primary:hover,
.header-drawer-cta-primary:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(227,176,75,.4);
  filter:brightness(1.05);
  color:var(--eb-noir) !important;
}

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

/* contraste (audit 18/09) */
.scrolling-group a { color: #5a4b2e !important; }

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

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