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

/* ===================================================================
   sextreffen-ffm.de — direction « duo tone » : marine + jaune francs,
   formes obliques. Ne touche qu'a la sidebar (= header du gabarit
   Astro), au bandeau mobile et au footer. Rien d'autre.
   =================================================================== */

html:not(#_){
  --ff-marine:#0b1e3f;
  --ff-marine2:#132a52;
  --ff-marine-fonce:#071223;
  --ff-jaune:#ffcc00;
  --ff-jaune-vif:#ffe066;
}

/* --- Apparition douce au chargement (une seule fois, pas de boucle) --- */
@keyframes ff-entree{
  from{opacity:0; transform:translateY(-6px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes ff-derive{
  0%{background-position:0% 50%;}
  100%{background-position:200% 50%;}
}

/* =========================== SIDEBAR (desktop) =========================== */
html:not(#_) .sidebar{
  background:linear-gradient(155deg, var(--ff-marine) 0%, var(--ff-marine2) 55%, var(--ff-marine-fonce) 100%);
}
html:not(#_) .sidebar-inner{
  animation:ff-entree .5s ease both;}
/* liseré oblique sur le bord droit de la sidebar */
html:not(#_) .sidebar::after{
  content:"";
  position:absolute;
  top:0; right:0;
  width:6px; height:100%;
  background:linear-gradient(180deg, var(--ff-jaune) 0%, var(--ff-marine2) 60%, var(--ff-jaune) 100%);
  clip-path:polygon(40% 0, 100% 0, 100% 100%, 60% 100%);
}

/* Logo : pastille oblique jaune derriere le texte */
html:not(#_) .sb-logo{
  position:relative;
  color:#fff;
  padding-left:.35rem;
}
html:not(#_) .sb-logo-dot{
  position:relative;
  background:var(--ff-jaune);
  border-radius:3px;
  transform:skewX(-10deg);
  box-shadow:0 2px 0 rgba(0,0,0,.25);
}
html:not(#_) .sb-logo-dot svg{transform:skewX(10deg); display:block;}
html:not(#_) .sb-logo-text{
  font-weight:800;
  letter-spacing:.03em;
  color:#fff;
}

/* Liens de nav : soulignement oblique qui glisse au survol */
html:not(#_) .sb-link{
  color:#c9d6ef;
  position:relative;
  transition:color .18s ease;
}
html:not(#_) .sb-link .sb-ico{color:var(--ff-jaune-vif); opacity:.85; transition:opacity .18s ease;}
html:not(#_) .sb-link::before{
  content:"";
  position:absolute;
  left:6px; right:6px; bottom:2px;
  height:3px;
  background:var(--ff-jaune);
  transform:skewX(-18deg) scaleX(0);
  transform-origin:left center;
  transition:transform .22s ease;
}
html:not(#_) .sb-link:hover, html:not(#_) .sb-link:focus-visible{color:#fff;}
html:not(#_) .sb-link:hover::before, html:not(#_) .sb-link:focus-visible::before, html:not(#_) .sb-link.active::before{transform:skewX(-18deg) scaleX(1);}
html:not(#_) .sb-link.active{color:#fff;}
html:not(#_) .sb-link.active .sb-ico, html:not(#_) .sb-link:hover .sb-ico{opacity:1;}

html:not(#_) .sb-map-quick-link{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  font-weight:700;
  border-radius:3px 10px 3px 10px;
  transition:transform .16s ease, box-shadow .16s ease;
}
html:not(#_) .sb-map-quick-link:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(0,0,0,.28);
}

html:not(#_) .sb-section-title{
  color:var(--ff-jaune);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:700;
  position:relative;
  padding-left:.6rem;
}
html:not(#_) .sb-section-title::before{
  content:"";
  position:absolute;
  left:0; top:.15em; bottom:.15em;
  width:4px;
  background:var(--ff-jaune);
  transform:skewX(-18deg);
}

html:not(#_) .sb-silo-region{color:#dbe4f6;}
html:not(#_) .sb-silo-region:hover, html:not(#_) .sb-silo-region[data-silo-toggle]:hover{
  color:var(--ff-jaune-vif);
  background:rgba(255,204,0,.08);
}
html:not(#_) .sb-chevron{color:var(--ff-jaune-vif);}
html:not(#_) .sb-silo-ville{color:#9fb0d3;}
html:not(#_) .sb-silo-ville:hover{color:var(--ff-jaune-vif);}

/* =========================== BANDEAU MOBILE =========================== */
html:not(#_) .mobile-guest-top{
  background:linear-gradient(160deg, var(--ff-marine) 0%, var(--ff-marine2) 100%);
  animation:ff-entree .5s ease both;
}
/* bande jaune oblique sous le bandeau, comme une coupe franche */
html:not(#_) .mobile-guest-top::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-5px;
  height:5px;
  background:var(--ff-jaune);
  clip-path:polygon(0 0, 96% 0, 100% 100%, 4% 100%);
}
html:not(#_) .mobile-guest-brand{
  color:#fff;
  font-weight:800;
  letter-spacing:.02em;
}
html:not(#_) .mobile-guest-login{
  color:var(--ff-jaune-vif);
  border:1.5px solid var(--ff-jaune-vif);
  border-radius:3px 9px 3px 9px;
  padding:.3rem .8rem;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  transition:background .16s ease, color .16s ease;
}
html:not(#_) .mobile-guest-login:hover{
  background:var(--ff-jaune-vif);
  color:var(--ff-marine-fonce);
}
html:not(#_) .mobile-guest-cta{
  background:rgba(7,18,35,.35);
}
html:not(#_) .mobile-guest-cta-offer{color:var(--ff-jaune-vif); font-weight:700;}
html:not(#_) .mobile-guest-cta-kw{color:#fff;}
html:not(#_) .mobile-guest-timer-label{color:#9fb0d3;}
html:not(#_) .mobile-guest-timer{
  color:var(--ff-jaune);
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
html:not(#_) .mobile-guest-cta-btn{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  font-weight:800;
  border-radius:3px 12px 3px 12px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 3px 0 var(--ff-jaune-vif);
  transition:transform .16s ease, box-shadow .16s ease;
}
html:not(#_) .mobile-guest-cta-btn:hover, html:not(#_) .mobile-guest-cta-btn:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 5px 10px rgba(0,0,0,.3);
}

/* =========================== FOOTER =========================== */
html:not(#_) .footer-v1{
  background:linear-gradient(160deg, var(--ff-marine-fonce) 0%, var(--ff-marine) 100%);
  position:relative;
  color:#c9d6ef;
}
/* liseré oblique en tête de footer, degrade qui derive lentement */
html:not(#_) .footer-v1::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background:linear-gradient(90deg, var(--ff-jaune) 0%, var(--ff-marine2) 25%, var(--ff-jaune) 50%, var(--ff-marine2) 75%, var(--ff-jaune) 100%);
  background-size:200% 100%;
  clip-path:polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  animation:ff-derive 14s linear infinite;
}
html:not(#_) .footer-v1 h4{
  color:var(--ff-jaune);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.92rem;
  position:relative;
  padding-bottom:.45rem;
}
html:not(#_) .footer-v1 h4::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:34px; height:3px;
  background:var(--ff-jaune);
  transform:skewX(-18deg);
}
html:not(#_) .footer-v1 p{color:#9fb0d3;}
html:not(#_) .footer-v1 a{
  color:#c9d6ef;
  transition:color .16s ease, transform .16s ease;
  display:inline-block;
}
html:not(#_) .footer-v1 a:hover, html:not(#_) .footer-v1 a:focus-visible{
  color:var(--ff-jaune-vif);
  transform:translateX(3px);
}
html:not(#_) .footer-bottom{
  border-top:1px solid rgba(255,204,0,.25);
  color:#7f8fb0;
}

/* --- Confort : on coupe tout mouvement pour qui le demande --- */
@media (prefers-reduced-motion: reduce){
  html:not(#_) .sidebar, html:not(#_) .mobile-guest-top, html:not(#_) .footer-v1::before{animation:none;}
  html:not(#_) .sb-link::before, html:not(#_) .sb-map-quick-link, html:not(#_) .mobile-guest-login, html:not(#_) .mobile-guest-cta-btn, html:not(#_) .footer-v1 a{transition:none;}
}

/* ===================================================================
   RECETTE DE MISE EN PAGE — cta-faq (Astro, pages ville)
   CTA + FAQ côte à côte (>= 992px), le reste pleine largeur.
   Copiée telle quelle depuis app/design_recettes_v3.css.
   =================================================================== */
@media (min-width: 992px) {
  html:not(#_) body.design-v-cta-faq div.container.ds-cf{ display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  html:not(#_) body.design-v-cta-faq div.container.ds-cf > *{ grid-column: 1 / -1; }
  html:not(#_) body.design-v-cta-faq div.container > section.cta-section, html:not(#_) body.design-v-cta-faq div.container > section.section.ds-faq{ grid-column: auto; align-self: stretch; }
  html:not(#_) body.design-v-cta-faq div.container > section.cta-section{ display: flex; flex-direction: column; justify-content: center; }
  html:not(#_) body.design-v-cta-faq div.container > section.section > .info-duo{ grid-template-columns: minmax(0, 1fr); }
}

/* ===================================================================
   THEME PROFOND — meme registre « duo tone » marine + jaune, formes
   obliques (skew, clip-path, coins coupes), ombres plates decalees.
   =================================================================== */

/* --------------------------- Cartes profil --------------------------- */
html:not(#_) .profile-card{
  background:#fff;
  border:1.5px solid rgba(11,30,63,.12);
  border-radius:4px 18px 4px 18px;
  box-shadow:0 3px 0 rgba(11,30,63,.16), 0 6px 16px rgba(11,30,63,.08);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
html:not(#_) .profile-card:hover, html:not(#_) .profile-card:focus-visible{
  transform:translateY(-4px);
  border-color:var(--ff-jaune);
  box-shadow:0 3px 0 var(--ff-jaune), 0 10px 22px rgba(11,30,63,.16);
}
html:not(#_) .profile-age{
  background:var(--ff-marine);
  color:var(--ff-jaune);
  font-weight:800;
  border-radius:3px 9px 3px 9px;
  padding:.15rem .55rem;
  box-shadow:0 2px 0 rgba(0,0,0,.22);
}
html:not(#_) .profile-lock{filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));}
html:not(#_) .profile-info, html:not(#_) .profile-info p, html:not(#_) .profile-title{color:var(--ff-marine-fonce);}

/* --------------------------- Filtres --------------------------- */
html:not(#_) .filters .filter-btn{
  background:#fff;
  color:var(--ff-marine);
  border:1.5px solid rgba(11,30,63,.18);
  border-radius:3px 10px 3px 10px;
  font-weight:700;
  transition:background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
html:not(#_) .filters .filter-btn:hover, html:not(#_) .filters .filter-btn:focus-visible{
  border-color:var(--ff-jaune);
  transform:translateY(-1px);
}
html:not(#_) .filters .filter-btn.active{
  background:var(--ff-marine);
  color:var(--ff-jaune);
  border-color:var(--ff-marine);
  box-shadow:0 2px 0 rgba(0,0,0,.2);
}

/* --------------------------- Pagination --------------------------- */
html:not(#_) .pagination-link, html:not(#_) .pagination-current{
  border-radius:3px 8px 3px 8px;
  font-weight:700;
}
html:not(#_) .pagination-link{
  color:var(--ff-marine);
  border:1.5px solid rgba(11,30,63,.16);
  background:#fff;
  transition:background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
html:not(#_) .pagination-link:hover, html:not(#_) .pagination-link:focus-visible{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  border-color:var(--ff-jaune);
  transform:translateY(-1px);
}
html:not(#_) .pagination-current{
  background:var(--ff-marine);
  color:var(--ff-jaune);
  border:1.5px solid var(--ff-marine);
}
html:not(#_) .pagination-arrow{font-weight:800;}
html:not(#_) .pagination-ellipsis{color:var(--ff-marine2);}

/* --------------------------- CTA milieu de page --------------------------- */
html:not(#_) .cta-section{
  position:relative;
  background-image:linear-gradient(155deg, var(--ff-marine) 0%, var(--ff-marine2) 55%, var(--ff-marine-fonce) 100%);
  border-radius:6px 22px 6px 22px;
  padding:2.2rem 1.5rem;
  overflow:hidden;
}
html:not(#_) .cta-section::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background:linear-gradient(90deg, var(--ff-jaune) 0%, var(--ff-marine2) 25%, var(--ff-jaune) 50%, var(--ff-marine2) 75%, var(--ff-jaune) 100%);
  background-size:200% 100%;
  clip-path:polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  animation:ff-derive 14s linear infinite;
}
html:not(#_) .cta-section h2{color:#fff; font-weight:800;}
html:not(#_) .cta-section p{color:#c9d6ef;}

/* --------------------------- Boutons partages (CTA, age gate, recherche) --------------------------- */
html:not(#_) .btn.btn-primary{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  font-weight:800;
  border:none;
  border-radius:3px 12px 3px 12px;
  box-shadow:0 3px 0 var(--ff-jaune-vif);
  transition:box-shadow .16s ease, background .16s ease;
}
html:not(#_) .btn.btn-primary:hover, html:not(#_) .btn.btn-primary:focus-visible{
  background:var(--ff-jaune-vif);
  box-shadow:0 5px 12px rgba(0,0,0,.28);
}
html:not(#_) .btn.btn-outline{
  background:transparent;
  color:var(--ff-marine);
  border:1.5px solid rgba(11,30,63,.35);
  border-radius:3px 12px 3px 12px;
  font-weight:700;
  transition:border-color .16s ease, color .16s ease;
}
html:not(#_) .btn.btn-outline:hover, html:not(#_) .btn.btn-outline:focus-visible{
  border-color:var(--ff-marine);
  color:var(--ff-marine-fonce);
}

/* --------------------------- FAQ / accordeon --------------------------- */
html:not(#_) .info-duo-title{
  color:var(--ff-marine-fonce);
  font-weight:800;
  display:flex;
  align-items:center;
  gap:.5rem;
}
html:not(#_) .info-duo-title svg{color:var(--ff-jaune-vif);}
html:not(#_) .accordion-item{
  background:#fff;
  border:1.5px solid rgba(11,30,63,.14);
  border-radius:4px 14px 4px 14px;
  margin-bottom:.6rem;
  overflow:hidden;
  transition:border-color .16s ease;
}
html:not(#_) .accordion-item[open]{border-color:var(--ff-jaune);}
html:not(#_) .accordion-header{
  color:var(--ff-marine-fonce);
  font-weight:700;
  cursor:pointer;
}
html:not(#_) .accordion-q::before{
  content:"";
  display:inline-block;
  width:4px; height:1em;
  background:var(--ff-jaune);
  transform:skewX(-18deg);
  margin-right:.5rem;
  vertical-align:-.1em;
}
html:not(#_) .accordion-body{color:#3d4a63;}

/* --------------------------- Retour en haut --------------------------- */
html:not(#_) .back-to-top{
  background:var(--ff-marine);
  color:var(--ff-jaune);
  border:1.5px solid var(--ff-jaune);
  border-radius:3px 12px 3px 12px;
  box-shadow:0 3px 0 rgba(0,0,0,.25);
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
html:not(#_) .back-to-top:hover, html:not(#_) .back-to-top:focus-visible{
  background:var(--ff-marine2);
  transform:translateY(-3px);
  box-shadow:0 6px 14px rgba(0,0,0,.3);
}

/* --------------------------- Pop-up profil (cadre, boutons seulement) --------------------------- */
html:not(#_) #profileModal .modal-content{
  background:var(--ff-marine-fonce);
  border:1.5px solid var(--ff-jaune);
  border-radius:6px 22px 6px 22px;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
html:not(#_) #profileModal .modal-close{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  font-weight:800;
  border:none;
  border-radius:3px 9px 3px 9px;
  transition:background .16s ease;
}
html:not(#_) #profileModal .modal-close:hover, html:not(#_) #profileModal .modal-close:focus-visible{background:var(--ff-jaune-vif);}
html:not(#_) #profileModal .modal-cta-overlay p{color:#dbe4f6;}
html:not(#_) #profileModal .btn-cta-overlay{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  font-weight:800;
  border:none;
  border-radius:3px 12px 3px 12px;
  box-shadow:0 3px 0 var(--ff-jaune-vif);
  transition:box-shadow .16s ease, background .16s ease;
}
html:not(#_) #profileModal .btn-cta-overlay:hover, html:not(#_) #profileModal .btn-cta-overlay:focus-visible{
  background:var(--ff-jaune-vif);
  box-shadow:0 5px 12px rgba(0,0,0,.3);
}

/* --------------------------- Pop-up inscription --------------------------- */
html:not(#_) #signupOverlay .popup-card{
  background:var(--ff-marine-fonce);
  border:1.5px solid var(--ff-jaune);
  border-radius:6px 22px 6px 22px;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
html:not(#_) #signupOverlay .popup-close{
  background:var(--ff-jaune);
  color:var(--ff-marine-fonce);
  font-weight:800;
  border:none;
  border-radius:3px 9px 3px 9px;
  transition:background .16s ease;
}
html:not(#_) #signupOverlay .popup-close:hover, html:not(#_) #signupOverlay .popup-close:focus-visible{background:var(--ff-jaune-vif);}
html:not(#_) #signupOverlay .popup-icon svg{color:var(--ff-jaune-vif);}

/* --------------------------- Age gate --------------------------- */
html:not(#_) .age-gate-modal{
  background:var(--ff-marine-fonce);
  border:1.5px solid var(--ff-jaune);
  border-radius:6px 22px 6px 22px;
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  color:#dbe4f6;
}
html:not(#_) .age-gate-modal h2{color:var(--ff-jaune);}
html:not(#_) .age-gate-lead, html:not(#_) .age-gate-body, html:not(#_) .age-gate-footnote{color:#c9d6ef;}
html:not(#_) .age-gate-link{color:var(--ff-jaune-vif);}
html:not(#_) .age-gate-modal .btn.btn-outline{
  color:#dbe4f6;
  border-color:rgba(255,255,255,.35);
}
html:not(#_) .age-gate-modal .btn.btn-outline:hover, html:not(#_) .age-gate-modal .btn.btn-outline:focus-visible{
  color:#fff;
  border-color:#fff;
}

/* --------------------------- Barre basse mobile (.btab) --------------------------- */
html:not(#_) .bottom-bar{
  background:var(--ff-marine-fonce);
  border-top:1.5px solid var(--ff-jaune);
}
html:not(#_) .bottom-bar .btab{
  color:#c9d6ef;
  transition:color .16s ease;
}
html:not(#_) .bottom-bar .btab-ico{color:var(--ff-jaune-vif); opacity:.85; transition:opacity .16s ease;}
html:not(#_) .bottom-bar .btab:hover, html:not(#_) .bottom-bar .btab:focus-visible, html:not(#_) .bottom-bar .btab.active{color:#fff;}
html:not(#_) .bottom-bar .btab.active .btab-ico, html:not(#_) .bottom-bar .btab:hover .btab-ico{opacity:1;}

/* --------------------------- Reassurance native (.trust-badges) ---------------------------
   Accueil national Astro : deja une reassurance native -> on la restyle dans le
   registre au lieu d'en ajouter une seconde (jamais deux CTA au meme endroit). */
html:not(#_) .trust-badges .badge{
  background:var(--ff-marine);
  color:var(--ff-jaune);
  border-radius:3px 12px 3px 12px;
  font-weight:700;
  padding:.35rem .85rem;
  box-shadow:0 2px 0 rgba(0,0,0,.2);
}
html:not(#_) .trust-badges .badge-label{color:var(--ff-jaune);}
html:not(#_) .trust-badges .badge-icon{filter:drop-shadow(0 1px 1px rgba(0,0,0,.3));}

/* --- Confort (suite) : coupe des nouveaux mouvements pour qui le demande --- */
@media (prefers-reduced-motion: reduce){
  html:not(#_) .cta-section::before{animation:none;}
  html:not(#_) .profile-card, html:not(#_) .filters .filter-btn, html:not(#_) .pagination-link, html:not(#_) .back-to-top, html:not(#_) .btn.btn-primary, html:not(#_) .btn.btn-outline, html:not(#_) #profileModal .modal-close, html:not(#_) #profileModal .btn-cta-overlay, html:not(#_) #signupOverlay .popup-close{transition:none;}
}

/* ===================================================================
   MENU MOBILE (tiroir sidebar) — socle copié tel quel depuis
   app/design_recettes_v3.css (« menu mobile Astro », 18/09), puis
   recoloration dans le registre « duo tone » marine + jaune.
   =================================================================== */
@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; } }

/* --- Burger visible sur la barre haute (fond marine, aucune couleur par défaut) --- */
@media (max-width: 768px) {
  html:not(#_) .ds-burger{color:#fff;}
  html:not(#_) .ds-burger:hover, html:not(#_) .ds-burger:focus-visible{color:var(--ff-jaune-vif);}
  html:not(#_) .ds-burger:focus-visible{outline:2px solid var(--ff-jaune); outline-offset:2px; border-radius:8px;}

  /* Calque : teinte marine plutôt que noir neutre */
  html:not(#_) .ds-menu-overlay{background:rgba(7,18,35,.6);}

  /* Bouton de fermeture : jaune plein, coin coupé comme les autres fermetures du site */
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{
    background:var(--ff-jaune);
    color:var(--ff-marine-fonce);
    font-weight:800;
    border-radius:3px 9px 3px 9px;
    box-shadow:0 2px 0 rgba(0,0,0,.28);
    transition:background .16s ease;
  }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-close:hover, html:not(#_) body:has(#ds-menu:checked) .ds-menu-close:focus-visible{background:var(--ff-jaune-vif);}

  /* Logo en tête de tiroir : un peu plus d'air sous l'encoche de sécurité */
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-logo{padding:.3rem 0 1rem;}
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-logo-text{font-size:1.15rem;}

  /* Pilules de nav : cible tactile franche, contraste net sur le fond marine */
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link{
    min-height:44px;
    padding:.55rem .7rem;
    margin-bottom:.3rem;
    border-radius:3px 12px 3px 12px;
    border:1.5px solid rgba(255,204,0,.16);
    background:rgba(255,255,255,.04);
    font-size:1rem;
  }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link.active, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link:hover, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link:focus-visible{
    border-color:var(--ff-jaune);
    background:rgba(255,204,0,.1);
  }
  /* Le lien d'inscription se distingue en vrai bouton contrasté */
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link[href="/register"]{
    background:var(--ff-jaune);
    color:var(--ff-marine-fonce);
    border-color:var(--ff-jaune);
    font-weight:800;
    box-shadow:0 3px 0 var(--ff-jaune-vif);
  }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link[href="/register"] .sb-ico{
    color:var(--ff-marine-fonce);
    opacity:1;
  }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-link[href="/register"]::before{display:none;}

  /* Bloc « carte » et titres de section : lisibles, bien espacés à 340 px */
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-map-quick-link{
    min-height:44px;
    font-size:1rem;
    padding:.55rem .8rem;
  }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-section-title{
    font-size:.8rem;
    margin:.9rem 0 .5rem;
  }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-region{
    min-height:40px;
    padding:.5rem .5rem;
    font-size:.98rem;
  }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-ville{
    min-height:40px;
    padding:.42rem .5rem;
    font-size:.92rem;
    line-height:1.3;
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce){
  html:not(#_) .ds-burger, html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{transition:none;}
}

/* contraste (audit 18/09) */
html:not(#_) .mobile-guest-cta-btn{ color: #0b1b3a !important; }

/* 19/09 : croix du tiroir cachée sur desktop (le socle copié ici ne la cachait que sous 768 px) */
@media (min-width:769px){html:not(#_) .ds-menu-close{display:none}}

/* 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){
html:not(#_) body.design-v-cta-faq .bg-gradient > .container > .cta-section, html:not(#_) body.design-v-cta-faq div.container > section.cta-section, html:not(#_) 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;}
}

/* __CONTRASTE_V1 */
/* contraste mesuré < 2.4 (contraste_audit.mjs) : couleur du texte forcée lisible */
@media (min-width: 900px) { html:not(#_) a.sb-top-item span, html:not(#_) a.sb-top-item span a, html:not(#_) a.sb-top-item span span{ color: #ffffff !important; } }
/* __END_CONTRASTE_V1 */

/* __FICHE_FIX_V1 (21/09, audit pop-up) : nom en encre sur marine #071223 (invisible), ville et bio aux couleurs du gabarit,
   puces gris clair, bandeau des actions blanc. Variables rescopées sur la fiche, jaune FFM en accent. */
html:not(#_) #profileModal .modal-content{ --bg-card:var(--ff-marine-fonce); --bg-alt:rgba(255,204,0,.10); --text:#f4f6fb; --text-muted:#b8c4dc; --border:rgba(255,204,0,.35); }
html:not(#_) #profileModal .modal-body h3, html:not(#_) #profileModal .modal-name{ color:#ffffff; }
html:not(#_) #profileModal .modal-meta{ color:var(--ff-jaune-vif); }
html:not(#_) #profileModal .modal-bio{ color:#dbe4f6; }
html:not(#_) #profileModal .modal-body .modal-tag{ background:rgba(255,204,0,.10); border:1px solid rgba(255,204,0,.35); color:#f4f6fb; }
html:not(#_) #profileModal .modal-actions, html:not(#_) #profileModal .modal-actions-sticky{ background:var(--ff-marine-fonce); box-shadow:0 1.25rem 0 0 var(--ff-marine-fonce); }
html:not(#_) #profileModal .modal-favori{ color:var(--ff-jaune); }

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