
/* __DESIGN_SITE__ */
/* socle filtres (ajouté par design_site.py) */
.ds-hide { display: none !important; }
body[data-ds-filtres="aucun"] .filters { display: none !important; }
body[data-ds-filtres="sans-genre"] .filters .filter-btn[data-filter="type"] { display: none !important; }
body[data-ds-filtres="sans-age"] .filters .filter-btn[data-filter="age"] { display: none !important; }
body[data-ds-filtres="ligne"] .filters { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
body[data-ds-filtres="ligne"] .filters::-webkit-scrollbar { display: none; }
body[data-ds-filtres="ligne"] .filters .filter-btn { flex: 0 0 auto; white-space: nowrap; }
.filters select.ds-fsel { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; padding-right: 2.1em; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='currentColor' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right .7em center; background-size: 12px 8px; }
.filters .ds-fgroup { display: contents; }
/* Next : barre React (div.shadow-sm > div.scrollbar-hide > .form-group > select ×2 + bouton Recherche) */
body[data-ds-filtres="aucun"] div.rounded-lg.shadow-sm:has(> div.scrollbar-hide > div.form-group > select) { display: none !important; }
body[data-ds-filtres="sans-genre"] div.scrollbar-hide > div.form-group:first-child:has(> select) { display: none !important; }
body[data-ds-filtres="sans-tri"] div.scrollbar-hide > div.form-group:nth-child(2):has(> select) { display: none !important; }
body[data-ds-filtres="sans-recherche"] div.scrollbar-hide > div.relative.flex-shrink-0:has(> button) { display: none !important; }
/* Next `chips` : pastilles d'âge construites par design_filtres.js (le select natif est caché) */
.ds-fnext { display: flex; gap: 8px; flex-wrap: nowrap; }
.ds-fnext .ds-fchip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--secondary-color, #999); background: transparent; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.ds-fnext .ds-fchip.active { background: var(--secondary-color, #18181b); color: #fff; border-color: transparent; }

/* ===================================================================
   private-sex-anzeigen.de — identite header/footer
   Direction : brun chocolat + cuivre, ambiance feutree, ombres longues
   =================================================================== */

/* --- Header : fond chocolat en degrade, liseré cuivre qui derive --- */
.site-header {
    background: linear-gradient(180deg, #2b1810 0%, #1c0f0a 100%) !important;
    border-bottom: 1px solid rgba(201, 121, 63, .28);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7), 0 1px 0 rgba(201, 121, 63, .18);
    position: sticky;
    animation: dsHeaderIn .6s ease both;
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9793f 45%, #e2a468 55%, transparent);
    background-size: 220% 100%;
    animation: dsCopperDrift 7s linear infinite;
    pointer-events: none;
}

/* --- Logo : cuivre feutre, ombre longue, soulignement qui se deploie --- */
.header-logo {
    position: relative;
    color: #f4e3d3 !important;
    letter-spacing: .01em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .55);
}
.header-logo::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #c9793f, #8a5a2c);
    transition: width .35s ease;
}
.header-logo:hover::after { width: 100%; }

/* --- Boutons Regionen / Stadte : chocolat au repos, cuivre au survol --- */
.header-nav-toggle {
    background: rgba(120, 74, 34, .28) !important;
    border: 1px solid rgba(201, 121, 63, .4) !important;
    color: #f0dcc4 !important;
    transition: background .25s ease, box-shadow .25s ease, transform .2s ease;
}
.header-nav-toggle:hover {
    background: rgba(201, 121, 63, .32) !important;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
    transform: translateY(-1px);
}
.header-nav-group.open .header-nav-toggle {
    background: rgba(201, 121, 63, .4) !important;
    border-color: #c9793f !important;
}

/* --- Menu deroulant : habillage seulement (display/position intouches) --- */
.header-nav-dropdown {
    background: linear-gradient(160deg, #241209, #180e08) !important;
    border: 1px solid rgba(201, 121, 63, .3);
    box-shadow: 0 26px 54px -22px rgba(0, 0, 0, .75);
}
.header-nav-dropdown a { color: #e6cead !important; }
.header-nav-dropdown a:hover {
    background: rgba(201, 121, 63, .16) !important;
    color: #d98d4a !important;
}
.header-nav-more { color: #c9793f !important; }

/* --- Bouton d'inscription : pastille cuivre, elevation douce au survol --- */
.header-actions .btn-header.header-auth-btn {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    color: #241209 !important;
    border: none !important;
    box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.header-actions .btn-header.header-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -14px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .16);
    filter: brightness(1.04);
}

/* --- Hamburger mobile : traits cuivre --- */
.header-hamburger { background: rgba(201, 121, 63, .16) !important; }
.header-hamburger span { background: #eccfa8 !important; }
.header-hamburger:hover span { background: #c9793f !important; }

/* ============================ FOOTER ============================ */

.site-footer {
    background: linear-gradient(180deg, #201107, #150c07) !important;
    border-top: 1px solid rgba(201, 121, 63, .22);
}
.footer-col-brand { position: relative; }
.footer-col-brand::after {
    content: "";
    position: absolute;
    left: 4px; bottom: -16px;
    width: 55%; height: 26px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .4), transparent 72%);
    filter: blur(5px);
    pointer-events: none;
}
.footer-col-brand h3 { color: #f4e3d3 !important; letter-spacing: .01em; }
.footer-tagline { color: #c9ab8c !important; }

.footer-toggle span:first-child {
    color: #ecd3b3 !important;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .09em;
}
.footer-chevron { color: #c9793f !important; }

.footer-panel a {
    color: #d9bfa0 !important;
    transition: color .2s ease, letter-spacing .2s ease;
}
.footer-panel a:hover {
    color: #d98d4a !important;
    letter-spacing: .015em;
}

.footer-bottom {
    color: #8a6a4d !important;
    border-top: 1px solid rgba(201, 121, 63, .15);
}

/* --- Animations --- */
@keyframes dsHeaderIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes dsCopperDrift {
    0%   { background-position: 0% 0; }
    100% { background-position: 220% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header::after,
    .header-logo::after,
    .header-actions .btn-header.header-auth-btn,
    .header-nav-toggle,
    .footer-panel a {
        animation: none !important;
        transition: none !important;
    }
}

/* Garde-fou (mesuré en capture 390 px, 17/09) : le gabarit cache `.header-auth-btn`
   sous 992 px (colonne de 44 px pour le hamburger) ; un `display` posé plus haut le
   faisait réapparaître PAR-DESSUS le logo. On rétablit le comportement du gabarit. */
@media (max-width: 991px) {
  .site-header .header-auth-btn.header-auth-btn { display: none; }
  .site-header .header-logo { max-width: 100%; min-width: 0; }
}

/* ===================================================================
   Design v3 (18/09) — mise en page « cta-faq » + thème profond
   Même registre que le header/footer : brun chocolat + cuivre, feutré,
   ombres longues, filet cuivre qui dérive. On prolonge, on ne réinvente pas.
   =================================================================== */

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

/* --- Jamais deux CTA au même endroit : le bandeau défilant de régions
   précède directement le bloc pré-footer « Werde Teil der Community » —
   on masque le bandeau, le pré-footer suffit comme rappel de fin de page. --- */
.scrolling-bar { display: none !important; }

/* ---------------------------------------------------- Cartes profil --- */
.profile-card {
    background: linear-gradient(165deg, #fbf1e4 0%, #f2ddc0 100%);
    border: 1px solid rgba(138, 90, 44, .24);
    border-radius: 14px;
    box-shadow: 0 16px 32px -20px rgba(43, 24, 16, .5);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 121, 63, .55);
    box-shadow: 0 26px 44px -20px rgba(43, 24, 16, .58);
}
.profile-card .profile-badge,
.profile-card .profile-age-badge {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    color: #241209 !important;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.profile-card .profile-headline { color: #8a441d; }
.profile-card .profile-bio-name,
.profile-card .profile-location-label { color: #3c2411; }
.profile-card .profile-bio { color: #6b4a2c; }
a.profile-location-value:hover { color: #c9793f; }

/* ---------------------------------------------------------- Filtres --- */
.filter-btn {
    border-radius: 999px;
    border: 1.5px solid rgba(138, 90, 44, .35) !important;
    background: #fbf1e4 !important;
    color: #4a2c14 !important;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    border-color: #8a5a2c !important;
    color: #241209 !important;
    box-shadow: 0 10px 22px -12px rgba(43, 24, 16, .5);
}

/* -------------------------------------------------------- Pagination --- */
.pagination a, .pagination span {
    border: 1px solid rgba(138, 90, 44, .3);
    border-radius: 10px;
    color: #4a2c14;
}
.pagination a:hover { background: #f2ddc0; }
.pagination .active {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c);
    color: #241209;
    border-color: #8a5a2c;
}

/* ------------------------------------------- Bandeau CTA milieu de page --- */
.cta-section {
    background: linear-gradient(150deg, #2b1810 0%, #1c0f0a 100%) !important;
    border: 1px solid rgba(201, 121, 63, .28);
    box-shadow: 0 30px 54px -26px rgba(0, 0, 0, .65);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9793f 45%, #e2a468 55%, transparent);
    background-size: 220% 100%;
    animation: dsCopperDrift 8s linear infinite;
}
.cta-section h2 { color: #f4e3d3 !important; }
.cta-section p { color: #d9bfa0 !important; }
.cta-section .btn.btn-primary {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    color: #241209 !important;
    box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .55);
    transition: transform .25s ease, filter .25s ease;
}
.cta-section .btn.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* --------------------------------------------------- FAQ / accordéon --- */
.info-duo-title { color: #3c2411; }
.accordion-item { border-bottom: 1px solid rgba(138, 90, 44, .25); }
.accordion-header { color: #4a2c14; }
.accordion-header:hover { background: rgba(201, 121, 63, .1); }
.accordion-header::after { border-color: #8a5a2c; }
.accordion-badge {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c);
    color: #241209;
}
.accordion-body { color: #6b4a2c; }

/* ------------------------------------------------- Widget météo (ville) --- */
.weather-card {
    background: linear-gradient(165deg, #fbf1e4 0%, #f2ddc0 100%);
    border: 1px solid rgba(138, 90, 44, .25);
    border-radius: 14px;
    box-shadow: 0 16px 30px -20px rgba(43, 24, 16, .45);
}
.weather-city { color: #3c2411; }
.weather-label, .weather-k { color: #8a6a4d; }
.weather-v { color: #4a2c14; font-weight: 700; }
.weather-item {
    background: #fff8ef;
    border: 1px solid rgba(138, 90, 44, .2);
    border-radius: 10px;
}

/* ---------------------------------------------- Retour en haut (mobile+desktop) --- */
.back-to-top {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    color: #241209 !important;
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55);
    transition: transform .2s ease, filter .2s ease;
}
.back-to-top:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ------------------------------------------------------- Barre mobile --- */
.mobile-public-nav {
    background: linear-gradient(180deg, #241209, #180e08) !important;
    border-top: 1px solid rgba(201, 121, 63, .25);
    box-shadow: 0 -12px 26px -14px rgba(0, 0, 0, .6);
}
.mobile-public-nav a { color: #c9ab8c; }
.mobile-public-nav a.active { color: #e2a468; }
.mobile-public-nav a.active::before {
    background: linear-gradient(90deg, #c9793f, #e2a468);
}

/* ------------------------------------------------- Pop-up profil (cadre + boutons) ---
   Jamais display/position/transform/overflow : couleurs, bordures, rayons, ombres. --- */
#profileModal .modal-content {
    background: linear-gradient(160deg, #fdf6ee 0%, #f5e3ce 100%);
    border: 1px solid rgba(138, 90, 44, .3);
    box-shadow: 0 34px 64px -26px rgba(0, 0, 0, .55);
}
#profileModal .modal-close { background: rgba(43, 24, 16, .6); }
#profileModal .modal-headline { color: #8a441d; }
#profileModal .modal-name { color: #3c2411; }
#profileModal .modal-bio { color: #4a2c14; }
#profileModal .modal-tags-label { color: #8a6a4d; }
#profileModal .modal-nav { background: rgba(43, 24, 16, .55); color: #f4e3d3; }
#profileModal .modal-dot.active { background: #c9793f; }
.modal-contact-btn.btn.btn-primary {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    color: #241209 !important;
    box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .5);
}
.modal-fav-btn.btn.btn-outline {
    border-color: #8a5a2c !important;
    color: #8a5a2c !important;
}
.modal-fav-btn.btn.btn-outline:hover {
    background: #8a5a2c !important;
    color: #fdf6ee !important;
}
.btn-cta-overlay { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); }

/* -------------------------- Pop-up d'inscription et age gate (couleurs seulement) --- */
.signup-popup {
    background: linear-gradient(160deg, #fdf6ee 0%, #f5e3ce 100%);
    border: 1px solid rgba(138, 90, 44, .3);
    box-shadow: 0 34px 64px -24px rgba(43, 24, 16, .5);
}
.signup-header h2 { color: #8a441d; }
.signup-header p { color: #6b4a2c; }
.signup-close { background: rgba(43, 24, 16, .12); color: #4a2c14; }

.age-gate-content {
    background: linear-gradient(160deg, #2b1810 0%, #1c0f0a 100%) !important;
    border: 1px solid rgba(201, 121, 63, .35);
    box-shadow: 0 34px 64px -22px rgba(0, 0, 0, .7);
}
.age-gate-content h2 { color: #f4e3d3; }
.age-gate-content p { color: #d9bfa0 !important; }
.age-gate-content a[href*="politique-confidentialite"] { color: #e2a468 !important; }
.age-gate .btn.btn-primary.btn-lg {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c) !important;
    color: #241209 !important;
}
.age-gate .btn.btn-secondary.btn-lg {
    background: rgba(255, 255, 255, .08) !important;
    color: #f0dcc4 !important;
    border: 1px solid rgba(201, 121, 63, .3);
}

/* --- Reduced motion : coupe les animations/transitions ajoutées ci-dessus --- */
@media (prefers-reduced-motion: reduce) {
    .cta-section::before,
    .profile-card,
    .filter-btn,
    .back-to-top,
    .cta-section .btn.btn-primary {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================================================
   Menu mobile (tiroir .header-drawer) — même registre chocolat + cuivre.
   Aucune propriété de mécanisme touchée (le display/position/transform/
   overflow des règles :checked, .header-drawer-overlay et .header-drawer
   fermé restent celles du gabarit) : uniquement couleurs, bordures,
   rayons, ombres, espacements internes. --- */

.header-drawer.header-drawer {
    background: linear-gradient(165deg, #241209 0%, #170d07 100%);
    color: #ecd8bc;
}
.header-drawer-overlay.header-drawer-overlay {
    background: rgba(12, 7, 4, .74);
}

/* -- Entête du tiroir : plaque plus sombre, liseré cuivre, croix visible -- */
.header-drawer-head.header-drawer-head {
    background: linear-gradient(180deg, #1c0f0a, #150c07);
    color: #f4e3d3;
    border-bottom: 1px solid rgba(201, 121, 63, .32);
}
.header-drawer-head strong {
    letter-spacing: .02em;
    color: #f4e3d3;
}
.header-drawer-close.header-drawer-close {
    background: rgba(201, 121, 63, .22);
    color: #f4e3d3;
    border: 1px solid rgba(201, 121, 63, .4);
    transition: background .2s ease, transform .2s ease;
}
.header-drawer-close.header-drawer-close:hover {
    background: rgba(201, 121, 63, .4);
    transform: rotate(90deg);
}

/* -- Recherche -- */
.header-drawer-search.header-drawer-search {
    background: #1c0f0a;
    border-bottom: 1px solid rgba(201, 121, 63, .2);
}
.header-drawer-search .search-input {
    background: #2b1810;
    border: 1px solid rgba(201, 121, 63, .4);
    color: #f0dcc4;
}
.header-drawer-search .search-input::placeholder { color: rgba(240, 220, 196, .5); }
.header-drawer-search .search-icon { color: #c9793f; opacity: .85; }

/* -- Sections : titres lisibles, chevron cuivre -- */
.header-drawer-section.header-drawer-section {
    border-bottom: 1px solid rgba(201, 121, 63, .16);
}
.header-drawer-toggle.header-drawer-toggle {
    color: #f0dcc4;
    font-weight: 700;
}
.header-drawer-toggle.header-drawer-toggle:hover {
    background: rgba(201, 121, 63, .1);
}
.header-drawer-chevron { color: #c9793f; }

/* -- Liens (pilules) : bordées, contrastées, cible tactile confortable -- */
.header-drawer-links { gap: 10px; }
.header-drawer-link.header-drawer-link {
    background: rgba(120, 74, 34, .26);
    border: 1px solid rgba(201, 121, 63, .38);
    color: #f0dcc4 !important;
    padding: 10px 16px;
    min-height: 40px;
    border-radius: 10px;
    font-weight: 600;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.header-drawer-link.header-drawer-link:hover {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c);
    border-color: #cf8a4d;
    color: #241209 !important;
    transform: translateY(-1px);
}
.header-drawer-more.header-drawer-more {
    border: 1px dashed rgba(201, 121, 63, .45);
    background: rgba(201, 121, 63, .07);
    color: #d98d4a !important;
}

/* -- Pied du tiroir : bouton d'inscription contrasté -- */
.header-drawer-footer.header-drawer-footer {
    background: linear-gradient(180deg, #1c0f0a, #150c07);
    border-top: 1px solid rgba(201, 121, 63, .28);
    box-shadow: 0 -12px 26px -16px rgba(0, 0, 0, .6);
}
.header-drawer-cta-primary.header-drawer-cta-primary {
    background: linear-gradient(135deg, #cf8a4d, #8a5a2c);
    color: #241209 !important;
    border: 2px solid #cf8a4d;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .55);
}
.header-drawer-cta-primary.header-drawer-cta-primary:hover {
    filter: brightness(1.06);
    color: #241209 !important;
}

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

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

/* __CONTRASTE_V1 */
/* contraste mesuré < 2.4 (contraste_audit.mjs) : couleur du texte forcée lisible */
@media (max-width: 899px) { p.profile-bio, p.profile-bio a, p.profile-bio span { color: #ffffff !important; } }
/* __END_CONTRASTE_V1 */

/* __POPUP_CRO_V1 — fiche profil : blanche, sobre, et réglée pour le clic (23/09, demande de Lucas).
   Posé en fin de la feuille du site : hérite donc de sa palette, et `--cro-accent` est écrit par
   popup_cro_apply.py avec la teinte du site (repli : sa variable primaire).

   Ce que ça change, et pourquoi :
   1. FOND BLANC partout (la fiche était crème, ivoire ou transparente selon les sites) — une surface
      neutre fait ressortir la photo et le bouton, et ne discute pas avec la palette du site.
   2. PHOTO PLAFONNÉE à 42vh sur mobile : elle prenait 400 à 455 px sur un écran de 844 (jusqu'à 54 %),
      ce qui repoussait le bouton à 553 px sur Next. Moins de photo = le bouton remonte dans l'œil.
   3. BOUTON : 54 px, pleine largeur, accent du site, collé en bas de la fiche sur mobile AVEC une marge
      (les puces passaient dessous — défaut mesuré le 19/09 et revu le 22/09).
   4. ANIMATIONS : une ouverture (200 ms), une pression, et UNE seule impulsion du bouton à l'ouverture.
      Rien qui tourne en boucle : sur une page de conversion, le mouvement permanent détourne l'œil.
   Tout est coupé sous prefers-reduced-motion. */

:root{
  --cro-accent:#8a441d;
  --cro-cta-texte:#ffffff;
  --cro-blanc:#ffffff;
  --cro-encre:#14171a;
  --cro-encre-2:#5b656e;
  --cro-trait:#e9ecef;
  --cro-ombre:0 18px 48px -12px rgba(16,20,24,.26);
  --cro-cta-texte:#ffffff;   /* recalculé par site : encre foncée si l'accent est clair (jaune, lime…) */
}

/* ---------- socle commun aux trois gabarits ---------- */
/* ⚠️ Passer le fond au blanc ne suffit pas : les textes de la fiche prennent leur couleur des
   variables du gabarit, réglées pour le fond d'origine (souvent sombre). Sur free-sexkontakt.de la
   bio est ressortie gris pâle sur blanc. On rescope donc les variables SUR la fiche — même remède
   que le 21/09 — et on force la couleur du texte courant. */
#profileModal .modal-content,
.pm-modal{
  --text:#14171a; --text-muted:#5b656e; --bg:#ffffff; --bg-card:#ffffff; --bg-alt:#f7f8f9; --border:#e9ecef;
  background:var(--cro-blanc) !important;
  color:var(--cro-encre);
  border-radius:16px;
  box-shadow:var(--cro-ombre);
  overflow:hidden;
}
#profileModal.active .modal-content,
.pm-modal{ animation:cro-entree .2s cubic-bezier(.16,1,.3,1) both; }
@keyframes cro-entree{ from{ opacity:0; transform:translateY(10px) scale(.994); } to{ opacity:1; transform:none; } }

/* le bouton : même dessin partout, quelle que soit la palette du site */
#profileModal .btn-primary,
#profileModal .modal-contact-btn,
#profileModal .btn-cta-overlay,
.pm-cta button,
.pm-cta a{
  background:var(--cro-accent, var(--primary, #14171a)) !important;
  color:var(--cro-cta-texte, #fff) !important;
  border:0 !important;
  min-height:54px;
  width:100%;
  border-radius:12px;
  font-size:16px;
  font-weight:600;
  letter-spacing:.01em;
  box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6));
  transition:transform .12s ease, filter .12s ease, box-shadow .2s ease;
  cursor:pointer;
}
#profileModal .btn-primary:hover,
#profileModal .modal-contact-btn:hover,
.pm-cta button:hover,
.pm-cta a:hover{ filter:brightness(1.07); box-shadow:0 14px 26px -10px var(--cro-accent, rgba(20,23,26,.6)); }
#profileModal .btn-primary:active,
#profileModal .modal-contact-btn:active,
.pm-cta button:active,
.pm-cta a:active{ transform:scale(.985); }
#profileModal .btn-primary:focus-visible,
.pm-cta button:focus-visible{ outline:3px solid var(--cro-accent, #14171a); outline-offset:3px; }

/* une seule impulsion, au moment où la fiche s'ouvre */
@keyframes cro-pouls{ 0%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 0 color-mix(in srgb, var(--cro-accent, #14171a) 55%, transparent); }
  70%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 12px transparent; }
  100%{ box-shadow:0 10px 22px -10px var(--cro-accent, rgba(20,23,26,.6)), 0 0 0 0 transparent; } }
#profileModal.active .btn-primary,
#profileModal.active .modal-contact-btn,
.pm-modal .pm-cta button{ animation:cro-pouls 1.5s ease-out .45s 2; }

/* ---------- Astro : carrousel + corps ---------- */
#profileModal .modal-image{ object-fit:cover; }
#profileModal .modal-body{ background:var(--cro-blanc); padding-bottom:0; }
#profileModal .modal-name{ color:var(--cro-encre); font-size:22px; letter-spacing:-.01em; }
#profileModal .modal-meta{ color:var(--cro-encre-2); font-size:13.5px; }
#profileModal .modal-bio, #profileModal .modal-bio-wrap p{ color:var(--cro-encre); font-size:15px; line-height:1.55; }
#profileModal .modal-tag{
  background:#f5f7f8 !important; color:var(--cro-encre-2) !important;
  border:1px solid var(--cro-trait) !important; border-radius:999px; font-size:12px; padding:4px 10px;
}
#profileModal .modal-tags-label{ color:var(--cro-encre-2) !important; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; }
#profileModal .modal-close{ background:rgba(255,255,255,.92) !important; color:var(--cro-encre) !important; border-radius:999px; }

/* le texte courant de la fiche, quelle que soit la couleur que lui donnait le gabarit */
#profileModal .modal-bio, #profileModal .modal-bio *,
#profileModal .modal-bio-wrap, #profileModal .modal-bio-wrap *,
#profileModal .modal-body p, #profileModal .modal-info-value,
#profileModal .modal-infos li, #profileModal .modal-infos span,
.pm-modal .pm-bio, .pm-modal .pm-bio p, .pm-modal .pm-bio div{
  color:var(--cro-encre) !important;
}
#profileModal .modal-info-label, #profileModal .modal-infos-label{ color:var(--cro-encre-2) !important; }

/* Un seul bouton doit attirer l'œil : « Favoris » reste accessible mais cesse de rivaliser avec
   « Contacter » (même largeur, même poids visuel = attention partagée, donc moins de clics utiles). */
#profileModal .modal-actions .btn:not(.btn-primary):not(.modal-contact-btn),
#profileModal .modal-favoris,
#profileModal .btn-favori{
  background:transparent !important;
  color:var(--cro-encre-2) !important;
  border:1px solid var(--cro-trait) !important;
  min-height:42px; font-size:14px; font-weight:500; box-shadow:none !important;
}
/* le corps de la fiche reste sur le blanc : les encarts teintés du site y perdaient la hiérarchie */
#profileModal .modal-bio-wrap,
#profileModal .modal-body > div[class*="bio"]{
  background:#f7f8f9 !important; border:1px solid var(--cro-trait) !important; border-radius:12px;
}

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

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

  #profileModal .modal-actions,
  .pm-modal .pm-cta{
    position:sticky; bottom:0; z-index:4;
    background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--cro-blanc) 22%) !important;
    padding:14px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    margin-top:8px;
  }
  #profileModal .modal-tags-block,
  .pm-modal .pm-bio{ padding-bottom:6px; }
}

@media (prefers-reduced-motion:reduce){
  #profileModal.active .modal-content, .pm-modal,
  #profileModal.active .btn-primary, #profileModal.active .modal-contact-btn, .pm-modal .pm-cta button{ animation:none !important; }
  #profileModal .btn-primary, .pm-cta button{ transition:none !important; }
}
/* __POPUP_CRO_V1_FIN */

/* __SIGNUP_CRO_V1 — pop-up d'inscription : UNE SEULE surface claire (23/09, capture de Lucas).

   Ce qu'elle montrait : un cadre bleu nuit avec, posée dedans, une carte blanche portant le
   formulaire — deux fonds, deux bords, deux ombres pour un seul geste. L'œil doit choisir où
   regarder avant de pouvoir remplir trois champs.

   Ici : une surface blanche unique, du premier pixel du cadre au dernier champ. Le formulaire du
   prestataire perd son propre fond (il devient une partie de la pop-up, pas une pièce rapportée),
   les champs gagnent en hauteur, et le bouton prend la couleur du site sur toute la largeur.
   Moins de bords à lire = moins de friction avant le clic. */

:root{
  --sg-accent:#8a441d;
  --sg-blanc:#ffffff;
  --sg-encre:#14171a;
  --sg-encre-2:#5b656e;
  --sg-trait:#e4e8eb;
  --sg-champ:#fbfcfc;
}

/* le voile : plus sombre et légèrement flouté, pour détacher la pop-up claire du fond du site */
#signupOverlay,
.signup-overlay,
.popup-overlay{ background:rgba(12,16,20,.62) !important; backdrop-filter:blur(2px); }

/* LA surface — une seule, blanche */
.signup-popup,
.popup-card,
#signupOverlay > div:not(.signup-overlay):not(.popup-overlay){
  background:var(--sg-blanc) !important;
  color:var(--sg-encre) !important;
  border:0 !important;
  border-radius:18px !important;
  box-shadow:0 24px 60px -16px rgba(10,14,18,.45) !important;
  padding:26px 22px 20px !important;
  animation:sg-entree .2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes sg-entree{ from{ opacity:0; transform:translateY(12px) scale(.99); } to{ opacity:1; transform:none; } }

/* Next n'a pas de classe parlante : sa pop-up d'inscription est un `div.fixed.inset-0` qui contient
   un formulaire. On la reconnaît à ça (et pas à son nom), ce qui évite d'attraper la fiche profil. */
/* ⚠️ PAS de :where() ici : il met la spécificité à zéro, et la feuille du site gagne alors avec
   `div.fixed.inset-0 > div.bg-white{border:3px solid …!important}` — c'est ce qui laissait une bordure
   jaune vif autour d'une pop-up censée être d'une seule teinte. */
div.fixed.inset-0:has(input[type="email"], form) > div,
div.fixed.inset-0:has(input[type="email"], form) > div.bg-white{
  background:var(--sg-blanc) !important;
  border:0 !important;
  border-radius:18px !important;
  box-shadow:0 24px 60px -16px rgba(10,14,18,.45) !important;
  padding:0 !important;
}
div.fixed.inset-0:has(input[type="email"], form) h1,
div.fixed.inset-0:has(input[type="email"], form) h2{ font-size:23px !important; line-height:1.2 !important; color:var(--sg-encre) !important; }
div.fixed.inset-0:has(input[type="email"], form) input:not([type="checkbox"]):not([type="radio"]){
  min-height:50px !important; font-size:16px !important; border-radius:11px !important;
  border:1px solid var(--sg-trait) !important; background:var(--sg-champ) !important; color:var(--sg-encre) !important;
}
div.fixed.inset-0:has(input[type="email"], form) button[type="submit"],
div.fixed.inset-0:has(input[type="email"], form) form button:not([type="button"]){
  background:var(--sg-accent, #14171a) !important; color:#fff !important; border:0 !important;
  width:100% !important; min-height:54px !important; border-radius:12px !important;
  font-size:16px !important; font-weight:600 !important;
}

/* titres : hiérarchie nette, rien de décoratif entre le titre et le premier champ */
.signup-header h2, .popup-title{ color:var(--sg-encre) !important; font-size:23px !important; line-height:1.2; margin:0 0 6px !important; }
.signup-header p, .popup-desc{ color:var(--sg-encre-2) !important; font-size:14px !important; margin:0 0 16px !important; }
.popup-icon{ display:none !important; }   /* l'icône décorative repousse le formulaire vers le bas */

/* le formulaire cesse d'être une carte dans la carte */
.prelinker-embed, .popup-prelinker-host, .popup-prelinker-panel,
.ptprelinker--box, .ptprelinker-content, .ptprelinker-content-inner, .ptprelinker-content-content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
.signup-body{ background:transparent !important; padding:0 !important; }

/* champs : plus hauts, bord clair, une seule teinte de fond */
.ptprelinker-input-group{
  background:var(--sg-champ) !important;
  border:1px solid var(--sg-trait) !important;
  border-radius:11px !important;
  margin-bottom:10px !important;
  overflow:hidden;
}
.ptprelinker-input-group:focus-within{ border-color:var(--sg-accent, #14171a) !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--sg-accent, #14171a) 18%, transparent) !important; }
.ptprelinker-input-group .ptprelinker-input,
.ptprelinker-input-group .ptprelinker-select{
  background:transparent !important; color:var(--sg-encre) !important;
  min-height:50px !important; font-size:16px !important;   /* 16px : en dessous, iOS zoome au focus */
}
.ptprelinker-input-group .ptprelinker-input::placeholder{ color:#98a2ab !important; }

/* le bouton : la couleur du site, pleine largeur, seul élément coloré de la pop-up */
.ptprelinker-buttons input[type="submit"],
.ptprelinker-buttons .ptprelinker-button,
.signup-popup button[type="submit"], .popup-card button[type="submit"]{
  background:var(--sg-accent, #14171a) !important;
  color:#fff !important;
  border:0 !important;
  width:100% !important;
  min-height:54px !important;
  border-radius:12px !important;
  font-size:16px !important; font-weight:600 !important;
  box-shadow:0 10px 22px -10px var(--sg-accent, rgba(20,23,26,.6)) !important;
  transition:transform .12s ease, filter .12s ease !important;
}
.ptprelinker-buttons input[type="submit"]:hover,
.ptprelinker-buttons .ptprelinker-button:hover{ filter:brightness(1.07) !important; }
.ptprelinker-buttons input[type="submit"]:active,
.ptprelinker-buttons .ptprelinker-button:active{ transform:scale(.985) !important; }

/* croix et pied : présents, discrets — ils ne doivent pas concurrencer le bouton */
.signup-close, .popup-close{
  background:transparent !important; color:var(--sg-encre-2) !important;
  border:1px solid var(--sg-trait) !important; border-radius:999px !important;
}
.signup-footer, .popup-footer{ color:var(--sg-encre-2) !important; font-size:13px !important; border-top:1px solid var(--sg-trait); padding-top:12px !important; margin-top:14px !important; }
.signup-footer a, .popup-footer a{ color:var(--sg-accent, #14171a) !important; font-weight:600; }

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