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

/* ===================================================================
   sie-sucht-ihn-erotik.de — direction "verre depole"
   Header (sidebar desktop + bandeau mobile) et footer en panneaux
   translucides flous, sur un fond de page en degrade tres doux qui
   derive lentement derriere le flou. Couleurs reprises du site
   (teal #00695c / violet #9c27b0), rien d'autre n'est touche.
   =================================================================== */

html:not(#_){
  --gd-teal: #00695c;
  --gd-purple: #9c27b0;
  --gd-verre: linear-gradient(160deg, rgba(4, 28, 26, .74), rgba(46, 10, 54, .70));
  --gd-liseret: linear-gradient(90deg, var(--gd-teal), var(--gd-purple), var(--gd-teal));
}

/* Fond de page : lavis tres discret qui derive, visible en transparence
   sous les panneaux flous (aucune position: fixed ajoutee) */
html:not(#_) body{
  background-color: #f6f5f3;
  background-image:
    linear-gradient(135deg, rgba(0, 105, 92, .12), rgba(156, 39, 176, .10) 55%, rgba(0, 105, 92, .12));
  background-size: 320% 320%;
  animation: verreDerive 42s ease-in-out infinite alternate;
}

@keyframes verreDerive {
  0%   { background-position: 0% 30%; }
  100% { background-position: 100% 70%; }
}

@keyframes verreApparait {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Sidebar desktop (le "header" du gabarit Astro) ---------- */
html:not(#_) .sidebar{
  background-image: var(--gd-verre);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-right: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 0 32px rgba(0, 0, 0, .18);
}
html:not(#_) .sidebar-inner{
  animation: verreApparait .6s ease both;}

html:not(#_) .sb-logo-text{
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 0 18px rgba(156, 39, 176, .45);
}

html:not(#_) .sb-logo-dot{
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .10);
  transition: transform .3s ease, box-shadow .3s ease;
}

html:not(#_) .sb-logo:hover .sb-logo-dot{
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 0 16px rgba(156, 39, 176, .55);
}

html:not(#_) .sb-section-title span{
  color: rgba(255, 255, 255, .55);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
}

html:not(#_) .sb-nav .sb-link{
  color: rgba(255, 255, 255, .78);
  border-radius: 10px;
  position: relative;
  transition: color .25s ease, background-color .25s ease;
}

html:not(#_) .sb-nav .sb-link .sb-ico{
  color: inherit;
  transition: transform .25s ease, filter .25s ease;
}

html:not(#_) .sb-nav .sb-link:hover, html:not(#_) .sb-nav .sb-link.active{
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
}

html:not(#_) .sb-nav .sb-link:hover .sb-ico, html:not(#_) .sb-nav .sb-link.active .sb-ico{
  filter: drop-shadow(0 0 6px rgba(156, 39, 176, .65));
}

html:not(#_) .sb-nav .sb-link::after{
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gd-liseret);
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}

html:not(#_) .sb-nav .sb-link:hover::after, html:not(#_) .sb-nav .sb-link.active::after{
  transform: scaleX(1);
  opacity: 1;
}

html:not(#_) .sb-map-quick-link{
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  transition: background-color .25s ease, border-color .25s ease;
}

html:not(#_) .sb-map-quick-link:hover{
  background-color: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
}

html:not(#_) .sb-silo-region{
  color: rgba(255, 255, 255, .82);
  border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}

html:not(#_) .sb-silo-region:hover{
  color: #fff;
  background-color: rgba(255, 255, 255, .07);
}

html:not(#_) .sb-chevron{
  color: rgba(255, 255, 255, .55);
  transition: transform .25s ease;
}

html:not(#_) .sb-silo-ville{
  color: rgba(255, 255, 255, .62);
  transition: color .2s ease, padding-left .2s ease;
}

html:not(#_) .sb-silo-ville:hover{
  color: #fff;
  padding-left: 4px;
}

/* ---------- Bandeau mobile ---------- */
html:not(#_) .mobile-guest-top{
  background-image: var(--gd-verre);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
  animation: verreApparait .5s ease both;
}

html:not(#_) .mobile-guest-brand{
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(156, 39, 176, .4);
}

html:not(#_) .mobile-guest-login{
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 6px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background-color .25s ease, color .25s ease;
}

html:not(#_) .mobile-guest-login:hover{
  background-color: rgba(255, 255, 255, .12);
  color: #fff;
}

html:not(#_) .mobile-guest-cta{
  background: rgba(255, 255, 255, .06);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

html:not(#_) .mobile-guest-cta-offer{
  color: rgba(255, 255, 255, .68);
}

html:not(#_) .mobile-guest-cta-kw{
  color: #fff;
  font-weight: 600;
}

html:not(#_) .mobile-guest-timer-label{
  color: rgba(255, 255, 255, .55);
}

html:not(#_) .mobile-guest-timer{
  color: #fff;
  background: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  border-radius: 999px;
  padding: 2px 10px;
  box-shadow: 0 0 14px rgba(156, 39, 176, .4);
}

html:not(#_) .mobile-guest-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

html:not(#_) .mobile-guest-cta-btn:hover, html:not(#_) .mobile-guest-cta-btn:focus-visible{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
  filter: brightness(1.08);
}

/* ---------- Footer ---------- */
html:not(#_) .footer-v2{
  background-image: var(--gd-verre);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  overflow: hidden;
}

html:not(#_) .footer-v2::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gd-liseret);
  background-size: 200% auto;
  animation: verreLiseret 8s linear infinite;
}

@keyframes verreLiseret {
  to { background-position: 200% center; }
}

html:not(#_) .footer-logo{
  color: #fff !important;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(156, 39, 176, .4);
}

html:not(#_) .footer-links a{
  color: rgba(255, 255, 255, .72);
  position: relative;
  transition: color .2s ease;
}

html:not(#_) .footer-links a:hover{
  color: #fff;
}

html:not(#_) .footer-links a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: rgba(255, 255, 255, .6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

html:not(#_) .footer-links a:hover::after{
  transform: scaleX(1);
}

html:not(#_) .footer-copy{
  color: rgba(255, 255, 255, .5);
}

/* ===================================================================
   Recette de mise en page — astro · cta-faq (copiee telle quelle
   depuis app/design_recettes_v3.css, 18/09/2026)
   =================================================================== */
@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 — memes materiaux que le header/footer (verre depoli
   teal/violet, liseret degrade, pilules) portes sur le reste du site.
   =================================================================== */

/* ---------- Cartes profil ---------- */
html:not(#_) .profile-card{
  background-color: #fff;
  border: 1px solid rgba(0, 105, 92, .14);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

html:not(#_) .profile-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: var(--gd-liseret);
  background-size: 200% auto;
  z-index: 2;
}

html:not(#_) .profile-card:hover{
  transform: translateY(-4px);
  border-color: rgba(156, 39, 176, .3);
  box-shadow: 0 14px 28px rgba(0, 105, 92, .16), 0 0 0 1px rgba(156, 39, 176, .12);
}

html:not(#_) .profile-card .profile-age{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  color: #fff;
  border-radius: 999px;
  padding: .22rem .6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

html:not(#_) .profile-card .profile-lock{
  background-color: rgba(4, 28, 26, .68);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .25);
}

html:not(#_) .profile-card .profile-title, html:not(#_) .profile-card .profile-name{
  color: var(--gd-teal);
}

html:not(#_) .profile-card .profile-ville{
  color: #7c6a80;
}

html:not(#_) .profile-card .profile-bio{
  color: #55524f;
}

/* ---------- Filtres ---------- */
html:not(#_) .filters{
  gap: 8px;
}

html:not(#_) .filter-btn{
  border: 1px solid rgba(0, 105, 92, .32);
  background-color: rgba(255, 255, 255, .7);
  color: var(--gd-teal);
  border-radius: 999px;
  font-weight: 600;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

html:not(#_) .filter-btn:hover{
  border-color: var(--gd-purple);
  background-color: rgba(156, 39, 176, .08);
}

html:not(#_) .filter-btn.active{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(156, 39, 176, .3);
}

/* ---------- Pagination ---------- */
html:not(#_) .pagination{
  gap: 6px;
}

html:not(#_) .pagination-link, html:not(#_) .pagination-current, html:not(#_) .pagination-ellipsis{
  border-radius: 999px;
  min-width: 34px;
  border: 1px solid rgba(0, 105, 92, .22);
  color: var(--gd-teal);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

html:not(#_) .pagination-link:hover{
  background-color: rgba(156, 39, 176, .08);
  border-color: var(--gd-purple);
}

html:not(#_) .pagination-current{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(156, 39, 176, .3);
}

html:not(#_) .pagination-arrow{
  border-radius: 999px;
}

html:not(#_) .pagination-ellipsis{
  border-color: transparent;
  color: #9a8ca0;
}

/* ---------- Bandeau CTA de milieu de page ---------- */
html:not(#_) .cta-section{
  position: relative;
  overflow: hidden;
  background-image: var(--gd-verre);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 32px 24px;
  box-shadow: 0 18px 36px rgba(4, 28, 26, .22);
}

html:not(#_) .cta-section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gd-liseret);
  background-size: 200% auto;
  animation: verreLiseret 8s linear infinite;
}

html:not(#_) .cta-section h2{
  color: #fff;
  text-shadow: 0 0 18px rgba(156, 39, 176, .4);
}

html:not(#_) .cta-section p{
  color: rgba(255, 255, 255, .78);
}

html:not(#_) .cta-section .btn.btn-primary.btn-lg{
  background-color: #fff;
  background-image: none;
  color: var(--gd-teal);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  min-height: 48px;
  padding: 12px 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}

html:not(#_) .cta-section .btn.btn-primary.btn-lg:hover, html:not(#_) .cta-section .btn.btn-primary.btn-lg:focus-visible{
  transform: translateY(-2px);
  color: var(--gd-purple);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .36);
}

/* ---------- FAQ / accordeon ---------- */
html:not(#_) .info-duo-col{
  background-color: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 105, 92, .16);
  border-radius: 18px;
  padding: 20px;
}

html:not(#_) .info-duo-title{
  color: var(--gd-teal);
  display: flex;
  align-items: center;
  gap: 8px;
}

html:not(#_) .info-duo-title svg{
  color: var(--gd-purple);
}

html:not(#_) .accordion-item{
  border-bottom: 1px solid rgba(0, 105, 92, .14);
}

html:not(#_) .accordion-item:last-child{
  border-bottom: none;
}

html:not(#_) .accordion-header{
  color: #2c2a29;
  transition: color .2s ease;
}

html:not(#_) .accordion-header:hover, html:not(#_) .accordion-item[open] .accordion-header{
  color: var(--gd-purple);
}

html:not(#_) .accordion-body{
  color: #55524f;
}

/* ---------- Retour en haut ---------- */
html:not(#_) .back-to-top{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

html:not(#_) .back-to-top:hover, html:not(#_) .back-to-top:focus-visible{
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .36);
}

/* ---------- Popup fiche profil ---------- */
html:not(#_) #profileModal .modal-content{
  background-color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 105, 92, .18);
  box-shadow: 0 24px 48px rgba(4, 28, 26, .32);
}

html:not(#_) #profileModal .modal-close{
  background-color: rgba(4, 28, 26, .7);
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color .2s ease, filter .2s ease;
}

html:not(#_) #profileModal .modal-close:hover{
  filter: brightness(1.15);
}

html:not(#_) #profileModal .modal-cta-overlay{
  background-image: var(--gd-verre);
  color: #fff;
  border-radius: 14px;
}

html:not(#_) #profileModal .modal-cta-overlay .btn, html:not(#_) #profileModal .modal-cta-overlay button{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  transition: filter .2s ease;
}

html:not(#_) #profileModal .modal-cta-overlay .btn:hover, html:not(#_) #profileModal .modal-cta-overlay button:hover{
  filter: brightness(1.1);
}

/* ---------- Popup inscription / connexion ---------- */
html:not(#_) .popup-card{
  background-color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 105, 92, .18);
  box-shadow: 0 24px 48px rgba(4, 28, 26, .28);
}

html:not(#_) .popup-icon{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(156, 39, 176, .12);
}

html:not(#_) .popup-title{
  color: var(--gd-teal);
}

html:not(#_) .popup-desc{
  color: #55524f;
}

html:not(#_) .popup-close{
  background-color: rgba(4, 28, 26, .06);
  color: var(--gd-teal);
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}

html:not(#_) .popup-close:hover{
  background-color: rgba(156, 39, 176, .12);
  color: var(--gd-purple);
}

html:not(#_) .popup-footer a{
  color: var(--gd-purple);
}

/* ---------- Age gate ---------- */
html:not(#_) .age-gate-modal{
  background-color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 105, 92, .18);
  box-shadow: 0 24px 48px rgba(4, 28, 26, .3);
}

html:not(#_) .age-gate-buttons #age-yes.btn.btn-primary{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  border: none;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .26);
  transition: filter .2s ease;
}

html:not(#_) .age-gate-buttons #age-yes.btn.btn-primary:hover{
  filter: brightness(1.1);
}

html:not(#_) .age-gate-buttons #age-no.btn.btn-outline{
  border: 1px solid rgba(0, 105, 92, .35);
  color: var(--gd-teal);
  border-radius: 999px;
  background-color: transparent;
  transition: background-color .2s ease;
}

html:not(#_) .age-gate-buttons #age-no.btn.btn-outline:hover{
  background-color: rgba(0, 105, 92, .08);
}

html:not(#_) .age-gate-footnote{
  color: #7c6a80;
}

html:not(#_) .age-gate-link{
  color: var(--gd-purple);
}

/* ---------- Barre basse mobile (Astro) ---------- */
html:not(#_) .bottom-bar{
  background-image: var(--gd-verre);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
}

html:not(#_) .btab{
  color: rgba(255, 255, 255, .68);
  position: relative;
  transition: color .2s ease;
}

html:not(#_) .btab .btab-ico{
  transition: filter .2s ease;
}

html:not(#_) .btab:hover, html:not(#_) .btab.active{
  color: #fff;
}

html:not(#_) .btab.active .btab-ico{
  filter: drop-shadow(0 0 6px rgba(156, 39, 176, .65));
}

html:not(#_) .btab.active::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 22%;
  right: 22%;
  height: 2px;
  background-image: var(--gd-liseret);
}

/* ---------- Reassurance native (accueil national) ---------- */
html:not(#_) .trust-badges{
  gap: 10px;
}

html:not(#_) .trust-badges .badge{
  background-color: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 105, 92, .2);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 4px 12px rgba(4, 28, 26, .1);
  transition: transform .2s ease, border-color .2s ease;
}

html:not(#_) .trust-badges .badge:hover{
  transform: translateY(-2px);
  border-color: rgba(156, 39, 176, .4);
}

html:not(#_) .trust-badges .badge-label{
  color: var(--gd-teal);
  font-weight: 600;
}

/* ---------- Mouvement reduit : on coupe tout ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(#_) body, html:not(#_) .sidebar, html:not(#_) .mobile-guest-top, html:not(#_) .footer-v2::before, html:not(#_) .sb-logo-dot, html:not(#_) .mobile-guest-cta-btn, html:not(#_) .profile-card, html:not(#_) .filter-btn, html:not(#_) .pagination-link, html:not(#_) .pagination-current, html:not(#_) .cta-section::before, html:not(#_) .cta-section .btn.btn-primary.btn-lg, html:not(#_) .accordion-header, html:not(#_) .back-to-top, html:not(#_) #profileModal .modal-close, html:not(#_) #profileModal .modal-cta-overlay .btn, html:not(#_) #profileModal .modal-cta-overlay button, html:not(#_) .popup-close, html:not(#_) .age-gate-buttons #age-yes.btn.btn-primary, html:not(#_) .age-gate-buttons #age-no.btn.btn-outline, html:not(#_) .btab, html:not(#_) .btab .btab-ico, html:not(#_) .trust-badges .badge{
    animation: none !important;
    transition: none !important;
  }
}

/* ===================================================================
   Menu mobile (tiroir) — reprend le socle "menu mobile Astro" de
   app/design_recettes_v3.css. Le mecanisme d'ouverture (display /
   position / transform / overflow des regles body:has(#ds-menu:checked))
   n'est pas touche ici : uniquement des couleurs et des ajustements de
   padding/typo, dans le meme registre verre teal/violet que le reste
   du site.
   =================================================================== */

/* Burger dans le bandeau haut : currentColor sur les 3 barres */
html:not(#_) .mobile-guest-top .ds-burger{
  color: rgba(255, 255, 255, .85);
  background-color: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

html:not(#_) .mobile-guest-top .ds-burger:hover, html:not(#_) .mobile-guest-top .ds-burger:active{
  color: #fff;
  background-color: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
}

html:not(#_) body:has(#ds-menu:checked) .mobile-guest-top .ds-burger{
  color: #fff;
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(156, 39, 176, .4);
}

/* Calque : meme famille de degrade sombre que le verre du header/footer */
html:not(#_) .ds-menu-overlay{
  background-image: linear-gradient(160deg, rgba(2, 14, 13, .62), rgba(30, 6, 35, .58));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* Bouton de fermeture : pastille degradee, meme famille que .popup-close / .back-to-top */
html:not(#_) .ds-menu-close{
  background-image: linear-gradient(135deg, var(--gd-teal), var(--gd-purple));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  transition: transform .2s ease, filter .2s ease;
}

html:not(#_) .ds-menu-close:hover, html:not(#_) .ds-menu-close:active{
  transform: scale(1.06);
  filter: brightness(1.12);
}

/* Le tiroir reprend directement .sidebar (deja verre teal/violet) : on
   retire le panneau blanc d'origine pour laisser le verre respirer sur
   toute la largeur, et on agrandit les cibles tactiles a 340px, sans
   toucher au mecanisme d'ouverture. */
@media (max-width: 768px) {
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sidebar-inner{
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-logo{
    padding: 6px 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 10px;
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-section-title{
    padding: 10px 10px 6px;
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-nav .sb-link{
    min-height: 44px;
    padding: 11px 14px;
    font-size: .92rem;
    border: 1px solid transparent;
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-nav .sb-link:hover, html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-nav .sb-link.active{
    border-color: rgba(255, 255, 255, .16);
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-map-quick-link{
    min-height: 42px;
    padding: 10px 14px;
    font-size: .9rem;
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-region{
    min-height: 42px;
    padding: 10px 12px;
    font-size: .9rem;
    border-radius: 10px;
  }

  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sb-silo-ville{
    min-height: 40px;
    padding: 10px 14px;
    font-size: .86rem;
  }
}

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

/* tiroir opaque (planche w3, 18/09) : le « verre » laissait lire la page derrière, texte peu lisible */
html:not(#_) body:has(#ds-menu:checked) aside.sidebar{ background-color: rgba(16, 12, 30, .97) !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){
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;}
}

/* __FICHE_FIX_V1 (21/09, audit) : sur desktop, `.sidebar-inner` (panneau BLANC du gabarit) restait posé par-dessus le
   verre teinté — design_site.py ne le rend transparent que si la feuille ne donne AUCUN fond à `.sidebar-inner`, or la
   règle du tiroir mobile (`body:has(#ds-menu:checked) … .sidebar-inner`) en donne un. Résultat : logo et nav blancs sur
   blanc. On rend le panneau transparent ici et on assombrit le verre (un lavis à 70 % sur page claire restait pâle). */
html:not(#_) .sidebar-inner{ background: transparent; box-shadow: none; }
html:not(#_) .sidebar{ background-color: rgba(14, 10, 26, .88); }

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