
/* __DESIGN_SITE__ */
/* socle bloc de réassurance (ajouté par design_site.py) */
.ds-bloc { margin: 24px 0; padding: 24px; border-radius: 16px; }
.ds-titre { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.25; }
.ds-sous { margin: 0 0 16px; opacity: .85; }
.ds-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ds-item { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start; }
.ds-ico { grid-row: 1 / 3; width: 28px; height: 28px; }
.ds-ico svg { width: 28px; height: 28px; display: block; }
.ds-item-t { display: block; font-weight: 700; }
.ds-item-p { display: block; font-size: .93rem; opacity: .85; }

/* ---------------------------------------------------------------- menu mobile Astro (18/09)
   Le gabarit cache la sidebar (régions, top-villes, nav) sous 768 px : il n'y a AUCUN menu mobile,
   seule la barre basse. design_inject.py pose dans .mobile-guest-head une case #ds-menu + un burger
   .ds-burger + un calque .ds-menu-overlay ; ce socle ouvre la sidebar en tiroir sous la barre haute.
   L'agent recolore .ds-burger / .ds-menu-overlay et la sidebar (déjà dans son registre). Ne pas
   toucher au mécanisme (display/position des trois règles body:has). */
/* 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. */
.ds-menu-close { display: none; }
@media (max-width: 768px) {
  .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; }
  .ds-burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  body:has(#ds-menu:checked) .ds-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body:has(#ds-menu:checked) .ds-burger span:nth-child(2) { opacity: 0; }
  body:has(#ds-menu:checked) .ds-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .ds-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1290; }
  body:has(#ds-menu:checked) .ds-menu-overlay { display: block; }
  .ds-menu-close { display: none; }
  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); }
  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; }
  body:has(#ds-menu:checked) aside.sidebar .sidebar-inner { height: auto; min-height: 100%; }
  body:has(#ds-menu:checked) { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .ds-burger span { transition: none; } }

/* ---------------------------------------------------------------- menu mobile Next (18/09)
   Le menu déroulant natif est pauvre (Top 10 Bundesländer replié, carte, recherche). design_inject.py pose
   dans <head> un script (app/design_menu_next.js) qui construit après l'hydratation un tiroir .ds-mdrawer
   (Navigation · Bundesländer · Top-Städte · bouton d'inscription) et un burger .ds-mburger fixe qui
   recouvre le hamburger natif. L'agent recolore .ds-m* dans son registre ; ne pas toucher au mécanisme
   (position/display des règles #ds-mcb:checked). */
@media (max-width: 767px) {
  .ds-mburger { position: fixed; top: 12px; left: 10px; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; background: #18181b; color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
  .ds-mburger span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
  .ds-moverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; }
  .ds-mdrawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); z-index: 70; overflow-y: auto; background: #fff; color: #18181b; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 8px 0 30px rgba(0,0,0,.3); padding-bottom: 24px; }
  body:has(#ds-mcb:checked) .ds-moverlay { display: block; }
  body:has(#ds-mcb:checked) .ds-mdrawer { transform: none; }
  body:has(#ds-mcb:checked) { overflow: hidden; }
  .ds-mhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.1); font-weight: 700; font-size: 1.05rem; }
  .ds-mclose { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; background: rgba(0,0,0,.06); }
  .ds-msec { padding: 12px 16px 4px; }
  .ds-msec-t { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
  .ds-mlinks { display: flex; flex-wrap: wrap; gap: 8px; }
  .ds-mlink { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); background: rgba(0,0,0,.03); color: inherit; text-decoration: none; font-size: .9rem; line-height: 1.2; }
  .ds-mnav .ds-mlink { font-weight: 600; }
  .ds-mfoot { padding: 18px 16px 0; }
  .ds-mcta { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--secondary-color, #18181b); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; }
}
@media (min-width: 768px) { .ds-mburger, .ds-mdrawer, .ds-moverlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .ds-mdrawer { transition: none; } }

/* ---------------------------------------------------------------- filtres (18/09)
   Casser le motif des filtres au-dessus des profils (demande de Lucas). Mode par site dans
   design_variantes_de.json (clé `filtres`), posé en <body data-ds-filtres="…"> par le hook PHP V3 /
   design_inject.py. PHP + Astro : aucun · ligne · sans-genre · sans-age (CSS ci-dessous) et select-genre ·
   select-age · selects · autres · tri (app/design_filtres.js, injecté). Next : aucun · sans-genre ·
   sans-tri · sans-recherche · plein (CSS seul sur la barre React). Ajouté d'office par `apply`. */
.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; }

/* ============================================================
   sexkontakte-rheinland-pfalz.de — habillage « étiquette de vin »
   Rouge vin + crème + noir : cadre double filet, serif Georgia.
   Rien ici ne touche display/position/transform/overflow des
   tiroirs (.header-drawer*) ni de .header-nav-dropdown.
   ============================================================ */

:root {
  --vin: #6d1a2c;          /* rouge vin principal */
  --vin-fonce: #4a0f1c;    /* fond du pied de page, bordures épaisses */
  --vin-clair: #8a2740;    /* survol, accents */
  --creme: #f6efe0;        /* fond clair, texte sur fond vin */
  --creme-2: #efe4cf;      /* médaillon du logo, un ton plus soutenu */
  --noir-vin: #241012;     /* texte fort */
}

/* ---------- HEADER — cadre « étiquette », crème bordée de vin ---------- */

.site-header.site-header {
  background: var(--creme);
  border-bottom: 4px double var(--vin);
  position: relative;
}
/* fin liseré animé tout en haut de la bande, comme le sceau d'une capsule */
.site-header.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: repeating-linear-gradient(120deg, var(--vin) 0 10px, var(--vin-clair) 10px 20px);
  background-size: 200% 100%;
  animation: etiquette-derive 14s linear infinite;
}

/* --- Bureau (>=992px) : logo en médaillon sur une ligne, nav + bouton
       centrés ensemble sur la ligne du dessous --- */
@media (min-width: 992px) {
  .site-header .header-inner.header-inner {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas: "logo logo" "nav actions";
    justify-content: center;
    justify-items: center;
    align-items: center;
    row-gap: .7rem;
    column-gap: 2rem;
    padding: 1.15rem 1.5rem 1.3rem;
  }
  .site-header .header-logo {
    grid-area: logo;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.05rem;
    color: var(--noir-vin);
    background: var(--creme-2);
    border: 3px double var(--vin);
    border-radius: 3px;
    padding: .5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
  }
  .site-header .header-logo:hover {
    background: var(--creme);
    transform: translateY(-1px);
  }
  .site-header .header-nav-desktop {
    grid-area: nav;
    font-family: Georgia, "Times New Roman", Times, serif;
  }
  .site-header .header-actions.header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    gap: .6rem;
  }
}

/* Bouton « Städte » : texte vin, soulignement qui grandit au survol.
   On ne touche ni au display ni à la position du menu déroulant. */
.header-nav-toggle.header-nav-toggle {
  background: none;
  border: none;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: .98rem;
  color: var(--noir-vin);
  cursor: pointer;
  padding: .3rem .1rem;
  position: relative;
}
.header-nav-toggle.header-nav-toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--vin);
  transition: right .25s ease;
}
.header-nav-toggle.header-nav-toggle:hover::after,
.header-nav-toggle.header-nav-toggle[aria-expanded="true"]::after {
  right: 0;
}
.header-nav-dropdown.header-nav-dropdown {
  background: var(--creme);
  border: 1px solid var(--vin);
  box-shadow: 0 10px 24px rgba(74, 15, 28, .18);
  padding: .5rem;
}
.header-nav-dropdown.header-nav-dropdown a {
  color: var(--noir-vin);
  border-radius: 2px;
}
.header-nav-dropdown.header-nav-dropdown a:hover {
  background: var(--creme-2);
  color: var(--vin);
}
.header-nav-more.header-nav-more {
  color: var(--vin);
  font-weight: 700;
}

/* Bouton « Starten » : pastille vin liserée crème, légère élévation */
.btn-header.header-auth-btn {
  background: var(--vin);
  color: var(--creme);
  border: 2px solid var(--vin-fonce);
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: .04em;
  padding: .6rem 1.3rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-header.header-auth-btn:hover {
  background: var(--vin-clair);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(74, 15, 28, .3);
}

/* --- Mobile (<992px) : bandeau crème bordé vin, logo tenu sur une ligne --- */
@media (max-width: 991.98px) {
  .site-header .header-inner.header-inner {
    background: var(--creme);
  }
  .site-header .header-logo {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    color: var(--noir-vin);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .header-hamburger.header-hamburger span {
    background: var(--vin);
  }
}

/* ---------- Tiroir mobile : crème, liens en vin (couleurs seulement) ---------- */
.header-drawer.header-drawer {
  background: var(--creme);
}
.header-drawer-head.header-drawer-head {
  background: var(--vin);
  color: var(--creme);
  border-bottom: 3px double var(--vin-fonce);
}
.header-drawer-head.header-drawer-head strong {
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: .05em;
}
.header-drawer-close.header-drawer-close {
  color: var(--creme);
}
.header-drawer-search.header-drawer-search {
  border-bottom: 1px solid var(--creme-2);
}
.header-drawer-search .search-input.search-input {
  border: 1px solid var(--vin);
  background: var(--creme);
  color: var(--noir-vin);
}
.header-drawer-toggle.header-drawer-toggle {
  color: var(--vin);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  border-bottom: 1px solid var(--creme-2);
}
.header-drawer-chevron.header-drawer-chevron {
  color: var(--vin);
}
.header-drawer-link.header-drawer-link {
  color: var(--noir-vin);
  border-bottom: 1px solid var(--creme-2);
}
.header-drawer-link.header-drawer-link:hover {
  color: var(--vin);
  background: var(--creme-2);
}
.header-drawer-footer.header-drawer-footer {
  border-top: 3px double var(--vin);
  background: var(--creme-2);
}
.header-drawer-cta-primary.header-drawer-cta-primary {
  background: var(--vin);
  color: var(--creme);
  border: 2px solid var(--vin-fonce);
  border-radius: 3px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  transition: background-color .2s ease, transform .2s ease;
}
.header-drawer-cta-primary.header-drawer-cta-primary:hover {
  background: var(--vin-clair);
  transform: translateY(-2px);
}

/* ---------- Bandeau CTA invité : vin plein, bouton crème ---------- */
.header-guest-cta.header-guest-cta {
  background: var(--vin);
  border-top: 3px double var(--vin-fonce);
  border-bottom: 3px double var(--vin-fonce);
}
.header-guest-cta-online.header-guest-cta-online {
  color: var(--creme-2);
  font-family: Georgia, "Times New Roman", Times, serif;
}
.header-guest-cta-button.header-guest-cta-button {
  background: var(--creme);
  color: var(--vin-fonce);
  border: 2px solid var(--creme);
  border-radius: 3px;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.header-guest-cta-button.header-guest-cta-button:hover {
  background: var(--creme-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}
.header-guest-cta-note.header-guest-cta-note {
  color: var(--creme-2);
}
.header-guest-cta-note [data-guest-countdown] {
  color: var(--creme);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Barre d'onglets basse (mobile-public-nav) ---------- */
.mobile-public-nav.mobile-public-nav {
  background: var(--creme);
  border-top: 3px double var(--vin);
}
.mobile-public-nav-inner.mobile-public-nav-inner a {
  color: var(--vin-fonce);
  opacity: .75;
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-public-nav-inner.mobile-public-nav-inner a.active {
  color: var(--vin);
  opacity: 1;
  transform: translateY(-2px);
  font-weight: 700;
}

/* ============================================================
   FOOTER — fond vin, cadre double filet crème autour des colonnes
   ============================================================ */

.site-footer.site-footer {
  background: var(--vin-fonce);
  color: var(--creme-2);
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  overflow: hidden;
}
/* motif qui dérive lentement en fond du pied de page, très discret */
.site-footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(246, 239, 224, .05) 0 24px, transparent 24px 48px);
  background-size: 200% 200%;
  animation: etiquette-fond 40s linear infinite;
  pointer-events: none;
}
.site-footer .footer-grid.footer-grid {
  position: relative;
  border: 4px double var(--creme-2);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  background: rgba(0, 0, 0, .08);
}
.site-footer .footer-col-brand h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: .05em;
  color: var(--creme);
}
.site-footer .footer-tagline.footer-tagline {
  color: var(--creme-2);
}
.footer-toggle.footer-toggle {
  color: var(--creme);
  font-family: Georgia, "Times New Roman", Times, serif;
  border-bottom: 1px solid rgba(246, 239, 224, .25);
}
.footer-chevron.footer-chevron {
  color: var(--creme-2);
}
.footer-panel.footer-panel a {
  color: var(--creme-2);
  transition: color .2s ease, padding-left .2s ease;
}
.footer-panel.footer-panel a:hover {
  color: var(--creme);
  padding-left: .3rem;
}
.site-footer .footer-bottom.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(246, 239, 224, .25);
  color: rgba(246, 239, 224, .7);
}

/* ---------- Animations & repli accessibilité ---------- */
@keyframes etiquette-derive {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}
@keyframes etiquette-fond {
  from { background-position: 0 0; }
  to   { background-position: 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.site-header::before,
  .site-footer.site-footer::before {
    animation: none !important;
  }
  .site-header .header-logo,
  .btn-header.header-auth-btn,
  .header-drawer-cta-primary.header-drawer-cta-primary,
  .header-guest-cta-button.header-guest-cta-button,
  .mobile-public-nav-inner.mobile-public-nav-inner a,
  .footer-panel.footer-panel a {
    transition: none !important;
    animation: none !important;
  }
}

/* capture du 17/09 : titres de footer noirs sur vin -> creme force */
.site-footer.site-footer .footer-col h3, .site-footer.site-footer .footer-col-brand h3, .site-footer.site-footer .footer-toggle { color: #f6efe0 !important; }

/* ============================================================
   THEME PROFOND (18/09) — le registre descend dans les pages.
   Couleurs / bordures / rayons / ombres / typo seulement — aucun
   des rules ci-dessous ne touche display/position/transform/
   overflow sur .modal-*, .signup-*, .prelinker-*, .age-gate*.
   design.css est chargé en dernier : pas besoin de doubler les
   classes pour battre style.css (aucun !important sur ces zones).
   ============================================================ */
.search-box { border: 2px solid var(--vin); border-radius: 4px; background: var(--creme); }
.search-box .search-input { background: transparent; color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; }
.link-tag { background: var(--creme); border: 1px solid var(--vin); color: var(--vin-fonce); border-radius: 3px; font-family: Georgia, "Times New Roman", Times, serif; transition: background-color .2s ease, color .2s ease; }
.link-tag:hover { background: var(--vin); color: var(--creme); }

.filter-btn { background: var(--creme); border: 2px solid var(--vin); color: var(--noir-vin); border-radius: 3px; font-family: Georgia, "Times New Roman", Times, serif; transition: background-color .2s ease, color .2s ease; }
.filter-btn:hover { background: var(--creme-2); }
.filter-btn.active { background: var(--vin); border-color: var(--vin-fonce); color: var(--creme); }

.profile-card { background: var(--creme); border: 1px solid var(--vin); border-radius: 6px; box-shadow: 0 2px 8px rgba(74, 15, 28, .12); }
.profile-card:hover { box-shadow: 0 10px 22px rgba(74, 15, 28, .22); }
.profile-card .profile-card-media { background: var(--creme-2); }
.profile-card .profile-badge { background: var(--vin); color: var(--creme); border: 2px solid var(--creme); border-radius: 50%; }
.profile-card .profile-age-badge { background: var(--creme); color: var(--vin-fonce); border: 2px double var(--vin); border-radius: 3px; font-family: Georgia, "Times New Roman", Times, serif; font-weight: 700; }
.profile-card .profile-headline { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; }
.profile-card .profile-bio { color: var(--noir-vin); }
.profile-card .profile-bio-name { color: var(--vin); }
.profile-card .profile-location-line { border-top: 1px solid var(--creme-2); }
.profile-card .profile-location-label { color: var(--vin-fonce); }
.profile-card .profile-location-value { color: var(--vin); font-weight: 700; }
.profile-card .profile-location-value:hover { color: var(--vin-clair); }

.cta-section { background: var(--vin); border: 4px double var(--vin-fonce); border-radius: 4px; }
.cta-section h2 { color: var(--creme); font-family: Georgia, "Times New Roman", Times, serif; }
.cta-section p { color: var(--creme-2); }

.btn.btn-primary { background: var(--vin); color: var(--creme); border: 2px solid var(--vin-fonce); border-radius: 3px; font-family: Georgia, "Times New Roman", Times, serif; transition: background-color .2s ease, box-shadow .2s ease; }
.btn.btn-primary:hover { background: var(--vin-clair); box-shadow: 0 6px 14px rgba(74, 15, 28, .3); }
.btn.btn-secondary, .btn.btn-outline { background: var(--creme); color: var(--vin-fonce); border: 2px solid var(--vin); border-radius: 3px; font-family: Georgia, "Times New Roman", Times, serif; transition: background-color .2s ease; }
.btn.btn-secondary:hover, .btn.btn-outline:hover { background: var(--creme-2); }

.accordion { border: 2px solid var(--vin); border-radius: 4px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--creme-2); background: var(--creme); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; font-weight: 700; }
.accordion-header:hover { background: var(--creme-2); }
.accordion-body { color: var(--noir-vin); border-top: 1px solid var(--creme-2); background: var(--creme-2); }
.info-duo-title { color: var(--vin-fonce); font-family: Georgia, "Times New Roman", Times, serif; }
.info-duo-title svg { color: var(--vin); }

.weather-card { background: var(--creme); border: 3px double var(--vin); border-radius: 4px; }
.weather-head { border-bottom: 1px solid var(--creme-2); }
.weather-city { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; font-weight: 700; }
.weather-label { color: var(--vin); }
.weather-item { background: var(--creme-2); border: 1px solid var(--vin); border-radius: 3px; }
.weather-k { color: var(--vin-fonce); }
.weather-v { color: var(--noir-vin); font-weight: 700; }
.weather-foot { color: var(--vin); opacity: .8; }
.weather-error { color: var(--vin-fonce); }

button.back-to-top { background: var(--vin); color: var(--creme); border: 2px solid var(--creme); box-shadow: 0 4px 12px rgba(74, 15, 28, .35); transition: background-color .2s ease; }
button.back-to-top:hover { background: var(--vin-clair); }

#profileModal .modal-content { background: var(--creme); border: 4px double var(--vin); border-radius: 6px; }
#profileModal .modal-close { background: var(--vin); color: var(--creme); border: 2px solid var(--creme); }
#profileModal .modal-close:hover { background: var(--vin-clair); }
#profileModal .modal-cta-overlay p { color: var(--creme); }
#profileModal .btn-cta-overlay { background: var(--vin) !important; color: var(--creme) !important; border: 2px solid var(--creme); border-radius: 3px; }
#profileModal .btn-cta-overlay:hover { background: var(--vin-clair) !important; }
#profileModal .btn.btn-primary.modal-contact-btn { background: var(--vin); color: var(--creme); }
#profileModal .btn.btn-outline.modal-fav-btn { background: var(--creme); color: var(--vin-fonce); border-color: var(--vin); }

#signupOverlay .signup-popup { background: var(--creme); border: 4px double var(--vin); border-radius: 6px; }
#signupOverlay .signup-header h2 { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; }
#signupOverlay .signup-header p { color: var(--vin-fonce); }
#signupOverlay .signup-close { background: var(--vin); color: var(--creme); border: 2px solid var(--creme); }
#signupOverlay .signup-close:hover { background: var(--vin-clair); }
#signupOverlay .signup-footer { border-top: 1px solid var(--creme-2); color: var(--vin-fonce); }
#signupOverlay .signup-footer a { color: var(--vin); }
#signupOverlay .prelinker-spinner { border-color: var(--creme-2); border-top-color: var(--vin); }

.age-gate .age-gate-content { background: var(--creme); border: 4px double var(--vin); border-radius: 6px; }
.age-gate .age-gate-content h2 { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; }

/* jamais deux CTA au même endroit : le bandeau défilant de villes et le
   bandeau CTA de milieu de page se suivent -> le bandeau est masqué. */
.scrolling-bar { display: none; }

/* bloc de réassurance (variante « reassurance ») : même cadre étiquette */
.ds-bloc { background: var(--creme); border: 4px double var(--vin); border-radius: 6px; }
.ds-titre { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; }
.ds-sous { color: var(--vin-fonce); opacity: 1; }
.ds-item .ds-ico { color: var(--vin); }
.ds-item-t { color: var(--noir-vin); font-family: Georgia, "Times New Roman", Times, serif; }
.ds-item-p { color: var(--noir-vin); opacity: .85; }

@media (prefers-reduced-motion: reduce) {
  .link-tag, .filter-btn, .btn.btn-primary, .btn.btn-secondary, .btn.btn-outline,
  .accordion-header, button.back-to-top,
  #profileModal .modal-close, #profileModal .btn-cta-overlay,
  #signupOverlay .signup-close {
    transition: none !important;
  }
}

/* ============================================================
   MENU MOBILE (tiroir) — pilules soignées, registre étiquette.
   Couleurs / bordures / rayons / typo seulement : ne touche
   jamais au display/position/transform/overflow de .header-drawer,
   .header-drawer-overlay et .header-drawer-panel.
   ============================================================ */

.header-drawer-close.header-drawer-close {
  background: rgba(246, 239, 224, .16);
  border: 1.5px solid var(--creme);
  color: var(--creme);
  transition: background-color .2s ease, color .2s ease;
}
.header-drawer-close.header-drawer-close:hover {
  background: var(--creme);
  color: var(--vin-fonce);
}

.header-drawer-search.header-drawer-search .search-input.search-input {
  border-radius: 4px;
  font-family: Georgia, "Times New Roman", Times, serif;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header-drawer-search.header-drawer-search .search-input.search-input:focus {
  outline: none;
  border-color: var(--vin-clair);
  box-shadow: 0 0 0 3px rgba(109, 26, 44, .15);
}

.header-drawer-toggle.header-drawer-toggle:hover {
  background: var(--creme-2);
}

.header-drawer-links.header-drawer-links {
  gap: 10px;
}

/* pilules : fond crème, liseré vin, bascule pleine au survol */
.header-drawer-link.header-drawer-link {
  background: var(--creme);
  border: 1.5px solid var(--vin);
  border-radius: 20px;
  color: var(--vin-fonce) !important;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: .86rem;
  font-weight: 600;
  min-height: 40px;
  padding: 0 16px;
  box-sizing: border-box;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.header-drawer-link.header-drawer-link:hover {
  background: var(--vin);
  border-color: var(--vin-fonce);
  color: var(--creme) !important;
  transform: translateY(-1px);
}
.header-drawer-more.header-drawer-more {
  border: 1.5px dashed var(--vin);
  background: var(--creme-2);
  color: var(--vin-fonce) !important;
  font-weight: 700;
}
.header-drawer-more.header-drawer-more:hover {
  background: var(--vin);
  border-style: solid;
  color: var(--creme) !important;
}

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

/* contraste (audit 18/09) */
.header-guest-cta-button { color: #5a1020 !important; }

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

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

:root{
  --cro-accent:#5a1020;
  --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:#5a1020;
  --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 */

/* garde-fou design_site.py (PHP, 17/09) : sous 992 px le gabarit masque .header-auth-btn et pose le
   logo en grille 44px 1fr 44px — un agent qui force le bouton visible le superpose au logo ; un logo
   long doit se tronquer, pas s'empiler. */
@media (max-width: 991px) {
  .site-header .header-auth-btn.header-auth-btn { display: none; }
  .site-header .header-logo.header-logo { max-width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* __END_DESIGN_SITE__ */
