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

/* socle menu mobile Next (ajouté par design_site.py) */
@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; } }

/* sexo-casual-ecuador.lat — registre « paja toquilla » : la paille dorée du chapeau de Montecristi (#b99a4f, favicon),
   l'ivoire de la fibre crue, l'encre du ruban noir. Rangée fine : logo en cartouche à gauche, actions à droite ;
   ruban de chapeau sous l'en-tête ; arches (photos, icônes, CTA) + cartouches (logo, âge, titres) ;
   cartes larges photo à gauche ; footer en 2 blocs. Next · reassurance · filtres chips. */
html:root {
  --pj: #b99a4f;
  --pj-deep: #6d5720;
  --pj-soft: #f3ead3;
  --pj-pale: #e4d4a8;
  --cinta: #1f1a14;
  --ink: #1f1a14;
  --ink-2: #3d3528;
  --muted: #6a5f4b;
  --crudo: #fbf7ee;
  --crudo-2: #f3ecdc;
  --line: #e6dcc6;
  --primary-color: #b99a4f;
  --secondary-color: #6d5720;
  --pj-tejido: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M0 10L10 0M-2 2L2 -2M8 12L12 8' stroke='%23b99a4f' stroke-width='1' opacity='.35'/%3E%3Cpath d='M0 0L10 10' stroke='%23b99a4f' stroke-width='.6' opacity='.22'/%3E%3C/svg%3E");
  --pj-trenza: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 Q4 0 8 3 T16 3' fill='none' stroke='%23b99a4f' stroke-width='1.2'/%3E%3C/svg%3E");
}
body { background: var(--crudo) !important; color: var(--ink); }
main.min-h-screen { background: transparent !important; }

/* ---------------------------------------------------------------- header : rangée fine + ruban de chapeau */
header.sticky {
  background: rgba(251, 247, 238, .97) !important; border-bottom: 0 !important;
  box-shadow: 0 16px 26px -24px rgba(31, 26, 20, .45);
}
header.sticky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; pointer-events: none;
  background: var(--pj-trenza) repeat-x center / 16px 6px, var(--cinta);
}
header.sticky a.font-bold[href="/"] {
  color: var(--cinta) !important; font-family: Georgia, "Times New Roman", serif; font-weight: 700 !important;
  letter-spacing: .01em; background: var(--pj-soft); border-radius: 6px;
  padding: .22rem .9rem; box-shadow: inset 0 0 0 1.5px var(--pj), inset 0 0 0 4px var(--pj-soft), inset 0 0 0 5px var(--pj-pale);
}
header.sticky .text-zinc-700, header.sticky button { color: var(--ink-2) !important; }
@media (min-width: 768px) {
  header.sticky .container > div.flex.h-16 { height: 58px; gap: 1.2rem; }
  header.sticky a.font-bold[href="/"] { font-size: 1.22rem !important; }
  header.sticky .container > div.flex.h-16 > nav { margin-left: auto; }
  header.sticky nav button {
    font-weight: 600; padding: .38rem .95rem; border-radius: 999px 999px 8px 8px;
    background: transparent; color: var(--ink-2) !important; box-shadow: inset 0 -2px 0 var(--pj);
    transition: background-color .2s ease;
  }
  header.sticky nav button * { color: inherit !important; }
  header.sticky nav button:hover { background: var(--pj-soft) !important; }
  header.sticky button[aria-label="Iniciar sesión"], header.sticky button[aria-label="Buscar"] {
    width: 40px; height: 44px; padding: 0 !important; display: flex; align-items: center; justify-content: center;
    border-radius: 999px 999px 10px 10px; background: var(--pj) !important; color: var(--cinta) !important;
    box-shadow: 0 10px 18px -12px rgba(109, 87, 32, .9); transition: background-color .2s ease;
  }
  header.sticky button[aria-label="Buscar"] { background: var(--cinta) !important; color: var(--pj-pale) !important; }
  header.sticky button[aria-label="Iniciar sesión"]:hover { background: var(--pj-pale) !important; }
  header.sticky button[aria-label="Buscar"]:hover { background: var(--ink-2) !important; }
  header.sticky nav input { border-radius: 999px !important; background: #fff !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; }
  header.sticky nav input::placeholder { color: var(--muted) !important; }
  header.sticky .absolute.top-full {
    background: #fff !important; border: 1px solid var(--line) !important; border-radius: 16px !important;
    box-shadow: 0 24px 44px -26px rgba(31, 26, 20, .5) !important; color: var(--ink);
  }
  header.sticky .absolute.top-full a, header.sticky .absolute.top-full button { color: var(--ink) !important; }
  header.sticky .absolute.top-full a:hover { background: var(--pj-soft) !important; }
  .ds-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  header.sticky .md\:hidden a[href="/"] { font-size: .95rem !important; padding: .2rem .65rem; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  header.sticky .md\:hidden button:not([aria-label="Menú"]) {
    min-height: 40px; min-width: 40px; justify-content: center; border-radius: 999px 999px 10px 10px;
    background: var(--pj) !important; color: var(--cinta) !important;
  }
}
header.sticky [role="tooltip"], header.sticky .absolute.whitespace-nowrap {
  background: var(--cinta) !important; color: var(--pj-pale) !important; border-color: var(--cinta) !important; border-radius: 8px !important;
}

/* ---------------------------------------------------------------- hero, fil d'Ariane : titre à gauche en cartouche */
main > div.bg-gradient-to-b { background: linear-gradient(to bottom, var(--pj-soft) 0, var(--crudo) 320px) !important; padding-top: 18px; }
main > div.bg-gradient-to-b > nav[aria-label] { background: transparent !important; border-bottom: 0 !important; }
main > div.bg-gradient-to-b > nav[aria-label] a { color: var(--muted) !important; }
main > div.bg-gradient-to-b > nav[aria-label] span[aria-current] { color: var(--pj-deep) !important; font-weight: 600; }
main header.text-center { text-align: left !important; }
main header.text-center h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600 !important; color: var(--ink) !important; }
main header.text-center h1::after {
  content: ""; display: block; width: 120px; height: 6px; margin-top: .75rem; border-radius: 3px;
  background: var(--pj-trenza) repeat-x center / 16px 6px, var(--cinta);
}
main header.text-center p, main header.text-center .text-zinc-600, main header.text-center .text-zinc-700 { color: var(--muted) !important; }

/* ---------------------------------------------------------------- sections */
main section.rounded-2xl.shadow-lg, main div.rounded-2xl.mb-8 {
  background: #fff !important; border: 1px solid var(--line); border-radius: 22px !important;
  box-shadow: 0 22px 40px -34px rgba(109, 87, 32, .55) !important;
}
main section.rounded-2xl h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600 !important; color: var(--ink) !important; }
main section.rounded-2xl:not(.text-center) > h2 {
  display: inline-block; background: var(--pj-soft); border-radius: 6px; padding: .2rem .8rem;
  box-shadow: inset 3px 0 0 var(--pj);
}
main .text-zinc-900 { color: var(--ink) !important; }
main .text-zinc-700, main .text-zinc-600 { color: var(--ink-2) !important; }
main .text-zinc-500 { color: var(--muted) !important; }
main a:hover { color: var(--pj-deep); }
main input[type="text"] {
  border-radius: 999px !important; border: 1.5px solid var(--line) !important; background: var(--crudo) !important;
  color: var(--ink) !important; padding-left: 1.3rem !important;
}
main input[type="text"]::placeholder { color: var(--muted) !important; }
main input[type="text"]:focus { border-color: var(--pj) !important; box-shadow: 0 0 0 4px rgba(185, 154, 79, .18); }

/* filtres chips : barre en cartouche, pastilles en arche */
main div.rounded-lg.shadow-sm { background: var(--crudo-2) !important; border: 0 !important; border-radius: 14px !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
main div.rounded-lg.shadow-sm label { color: var(--ink-2) !important; }
main div.rounded-lg.shadow-sm select { border-radius: 10px !important; border: 1.5px solid var(--line) !important; background-color: #fff !important; color: var(--ink) !important; min-height: 42px; }
main div.rounded-lg.shadow-sm button:not(.ds-fchip) { border-radius: 999px 999px 10px 10px !important; background: var(--cinta) !important; min-height: 42px; padding-left: 1.1rem !important; padding-right: 1.1rem !important; }
main div.rounded-lg.shadow-sm button:not(.ds-fchip), main div.rounded-lg.shadow-sm button:not(.ds-fchip) * { color: var(--pj-pale) !important; }
.ds-fnext .ds-fchip.ds-fchip {
  min-height: 40px; border: 1.5px solid var(--pj-pale) !important; background: #fff !important; color: var(--ink-2) !important;
  border-radius: 999px 999px 10px 10px; font-weight: 600;
}
.ds-fnext .ds-fchip.ds-fchip:hover { border-color: var(--pj) !important; color: var(--pj-deep) !important; }
.ds-fnext .ds-fchip.ds-fchip.active { background: var(--pj) !important; color: var(--cinta) !important; border-color: var(--pj) !important; box-shadow: 0 8px 14px -8px rgba(109, 87, 32, .85); }

/* ---------------------------------------------------------------- cartes profil : larges, photo en arche à gauche */
main .w-40.sm\:w-64.bg-zinc-50 {
  width: 17rem !important; display: grid !important; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr;
  column-gap: .85rem; align-content: start;
  background: #fff !important; border: 0 !important; border-radius: 16px !important; padding: .7rem !important;
  box-shadow: 0 14px 28px -22px rgba(109, 87, 32, .6), inset 0 0 0 1px var(--line); transition: box-shadow .25s ease, transform .25s ease;
}
main .w-40.sm\:w-64.bg-zinc-50:hover { transform: translateY(-3px); box-shadow: 0 22px 34px -20px rgba(109, 87, 32, .6), inset 0 0 0 1px var(--pj-pale); }
main .w-40.sm\:w-64.bg-zinc-50 > div.relative { grid-row: 1 / 4; margin: 0 !important; border-radius: 999px 999px 12px 12px; overflow: hidden; align-self: start; box-shadow: 0 0 0 3px var(--pj-soft); }
main .w-40.sm\:w-64.bg-zinc-50 img.aspect-square { aspect-ratio: 3 / 4 !important; border-radius: 0 !important; transition: transform .45s ease; }
main .w-40.sm\:w-64.bg-zinc-50:hover img.aspect-square { transform: scale(1.05); }
main .w-40.sm\:w-64.bg-zinc-50 div.absolute.top-2.right-2 {
  top: auto !important; bottom: 6px; right: 50% !important; translate: 50% 0;
  padding: 2px 8px !important; border-radius: 5px !important; white-space: nowrap;
  font-size: 11px !important; font-weight: 700 !important;
  background: var(--pj-soft) !important; color: var(--cinta) !important; box-shadow: inset 0 0 0 1px var(--pj);
}
main .w-40.sm\:w-64.bg-zinc-50 > h3 { color: var(--ink) !important; font-family: Georgia, "Times New Roman", serif; margin-top: .2rem; }
main .w-40.sm\:w-64.bg-zinc-50 p.text-zinc-500 { color: var(--pj-deep) !important; font-weight: 600; }
main .w-40.sm\:w-64.bg-zinc-50 p.text-zinc-600 { color: var(--ink-2) !important; -webkit-line-clamp: 4; }
@media (max-width: 639px) {
  main .w-40.sm\:w-64.bg-zinc-50 { width: 15rem !important; grid-template-columns: 80px minmax(0, 1fr); column-gap: .7rem; padding: .55rem !important; }
}

/* ---------------------------------------------------------------- bloc de réassurance (socle, 9 règles) */
.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; }
/* habillage paja toquilla : fond tissé, titre en cartouche, icônes en arche à gauche */
.ds-bloc {
  background: var(--pj-tejido), #fff; background-size: 10px 10px, auto; color: var(--ink);
  border-radius: 22px; padding: 2rem 1.6rem 1.7rem; border: 1px solid var(--line);
  box-shadow: 0 22px 40px -34px rgba(109, 87, 32, .55); position: relative; overflow: hidden;
}
.ds-bloc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--pj-trenza) repeat-x center / 16px 6px, var(--cinta); }
.ds-titre {
  display: inline-block; font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 1.45rem; color: var(--ink);
  background: var(--pj-soft); border-radius: 6px; padding: .25rem .85rem; box-shadow: inset 3px 0 0 var(--pj);
}
.ds-sous { opacity: 1; color: var(--ink-2); max-width: 42rem; margin: .7rem 0 1.4rem; }
.ds-liste { gap: 16px; }
.ds-item {
  grid-template-columns: 46px 1fr; column-gap: 14px; background: rgba(251, 247, 238, .94);
  border-radius: 14px; padding: 16px 16px 16px 14px; box-shadow: inset 0 0 0 1px var(--line);
}
.ds-ico {
  width: 46px; height: 54px; border-radius: 999px 999px 10px 10px; background: var(--pj); color: var(--cinta);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 18px -12px rgba(109, 87, 32, .9);
}
.ds-ico svg { width: 24px; height: 24px; }
.ds-item-t { color: var(--ink); margin-bottom: 4px; }
.ds-item-p { opacity: 1; color: var(--ink-2); line-height: 1.5; }

/* ---------------------------------------------------------------- CTA : carte de rencontre en arche */
main section.rounded-2xl.text-center {
  max-width: 560px; width: 100%; margin-left: auto !important; margin-right: auto !important;
  padding: 2.6rem 1.6rem 2.4rem !important;
  background: radial-gradient(110% 80% at 50% 0%, var(--pj-soft) 0, #fff 64%) !important;
  border: 1px solid var(--pj-pale) !important; border-radius: 280px 280px 24px 24px !important;
  box-shadow: 0 28px 48px -32px rgba(109, 87, 32, .65) !important;
}
main section.rounded-2xl.text-center h2 { font-size: clamp(1.45rem, 3.2vw, 1.95rem) !important; color: var(--ink) !important; }
main section.rounded-2xl.text-center h2::after { content: ""; display: block; width: 90px; height: 6px; margin: .7rem auto 0; border-radius: 3px; background: var(--pj-trenza) repeat-x center / 16px 6px, var(--cinta); }
main section.rounded-2xl.text-center p { color: var(--ink-2) !important; }
main section.text-center button.inline-block {
  min-height: 50px; padding: .8rem 2.2rem !important; border-radius: 999px !important;
  background: var(--pj) !important; background-color: var(--pj) !important; color: var(--cinta) !important; font-weight: 700 !important;
  box-shadow: 0 16px 28px -14px rgba(109, 87, 32, .85) !important; transition: transform .2s ease, background-color .2s ease;
}
main section.text-center button.inline-block * { color: var(--cinta) !important; }
main section.text-center button.inline-block:hover { transform: translateY(-2px); background-color: var(--pj-pale) !important; }

/* ---------------------------------------------------------------- villes / régions */
nav[aria-label] a[style*="border-left"] {
  border: 0 !important; border-radius: 8px !important; background: #fff; color: var(--ink-2) !important;
  box-shadow: inset 3px 0 0 var(--pj), inset 0 0 0 1px var(--line); padding-left: .95rem !important;
}
nav[aria-label] a[style*="border-left"]:hover { background: var(--pj-soft) !important; color: var(--pj-deep) !important; }
section.bg-zinc-100 { background: var(--crudo-2) !important; }
section.bg-zinc-100 .from-zinc-100 { --tw-gradient-from: var(--crudo-2) !important; }
section.bg-zinc-100 a.rounded-full { background: #fff !important; border: 1.5px solid var(--pj-pale) !important; color: var(--ink) !important; }
section.bg-zinc-100 a.rounded-full:hover { background: var(--pj) !important; color: var(--cinta) !important; border-color: var(--pj) !important; }
main section#departements a:not([style]) { color: var(--ink-2); }

/* FAQ */
section:has(> div.space-y-0) button { color: var(--ink) !important; border-radius: 10px; }
section:has(> div.space-y-0) button:hover { background: var(--pj-soft) !important; }
section:has(> div.space-y-0) div.space-y-0 > * { border-color: var(--line) !important; }
section:has(> div.space-y-0) svg { color: var(--pj-deep) !important; }

/* texte long */
section:has(.prose) .prose, section:has(.prose) .prose p { color: var(--ink-2) !important; }
section:has(.prose) .prose h2, section:has(.prose) .prose h3 { color: var(--ink) !important; }
section:has(.prose) .prose a { color: var(--pj-deep) !important; }

/* bandeau de confiance : arches */
section.border-t.border-b.py-12 { background: #fff !important; border-color: var(--line) !important; }
section.border-t.border-b.py-12 .w-16.h-16.rounded-full { border-radius: 999px 999px 12px 12px !important; background: var(--pj-soft) !important; color: var(--pj-deep) !important; box-shadow: inset 0 0 0 1.5px var(--pj-pale); }
section.border-t.border-b.py-12 .w-16.h-16.rounded-full svg { color: var(--pj-deep) !important; }
section.border-t.border-b.py-12 p, section.border-t.border-b.py-12 h3 { color: var(--ink-2) !important; }

/* ---------------------------------------------------------------- footer : 2 blocs (ruban noir + carte ivoire) */
footer.border-t { background: var(--crudo-2) !important; border-top: 0 !important; position: relative; }
footer.border-t::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--pj-trenza) repeat-x center / 16px 6px, var(--cinta); }
footer.border-t > .container { padding-top: 2.6rem !important; padding-bottom: 1.4rem !important; }
footer .grid.mb-8 {
  background: #fff; border-radius: 22px; padding: 1rem; gap: 1.4rem !important; align-items: start;
  box-shadow: 0 20px 36px -30px rgba(109, 87, 32, .55), inset 0 0 0 1px var(--line);
}
footer .grid.mb-8 > div:first-child {
  background: var(--cinta); color: var(--pj-pale); border-radius: 16px; padding: 1.4rem 1.3rem; align-self: stretch;
}
footer .grid.mb-8 > div:first-child h3 { color: var(--pj) !important; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem !important; }
footer .grid.mb-8 > div:first-child p.text-sm { color: #e9dfc5 !important; }
footer .grid.mb-8 > div:first-child p.text-xs { color: #cbbd99 !important; }
footer .grid.mb-8 > div:not(:first-child) { padding-top: .6rem; }
footer h3.uppercase { color: var(--pj-deep) !important; font-size: .74rem !important; letter-spacing: .08em; }
footer .text-zinc-600, footer a { color: var(--ink-2) !important; }
footer .text-zinc-500 { color: var(--muted) !important; }
footer a:hover { color: var(--pj-deep) !important; }
footer .border-zinc-200 { border-color: var(--line) !important; }
footer .border-t.pt-8 { padding-top: 1.1rem !important; }

/* retour en haut */
button.fixed.bottom-6.right-6 {
  background-color: var(--cinta) !important; color: var(--pj-pale) !important; border-radius: 999px 999px 10px 10px !important;
  box-shadow: 0 12px 24px -10px rgba(31, 26, 20, .7) !important;
}

/* ---------------------------------------------------------------- pop-ups : couleurs et rayons */
.prelinker-embed { border-radius: 18px; }
.prelinker-embed button, .prelinker-embed input[type="submit"] { border-radius: 999px !important; }
div.fixed.inset-0 button.rounded-lg, div.fixed.inset-0 button.rounded-md { border-radius: 999px !important; }

/* ---------------------------------------------------------------- menu mobile */
@media (max-width: 767px) {
  .ds-mburger { background: var(--pj-soft); color: var(--cinta); border-radius: 999px 999px 10px 10px; box-shadow: inset 0 0 0 1.5px var(--pj), 0 6px 14px -8px rgba(31, 26, 20, .5); }
  .ds-moverlay { background: rgba(31, 26, 20, .55); }
  .ds-mdrawer { background: var(--crudo); color: var(--ink); border-radius: 0 22px 22px 0; box-shadow: 10px 0 34px rgba(31, 26, 20, .35); }
  .ds-mhead { background: var(--cinta); color: var(--pj-pale); border-bottom: 0; position: relative; padding: 18px 16px 20px; }
  .ds-mhead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: var(--pj-trenza) repeat-x center / 16px 6px, var(--pj); }
  .ds-mbrand { font-family: Georgia, "Times New Roman", serif; color: var(--pj); }
  .ds-mclose { background: var(--pj); color: var(--cinta); width: 40px; height: 40px; border-radius: 999px 999px 10px 10px; }
  .ds-msec { padding-top: 18px; }
  .ds-msec-t { color: var(--pj-deep); opacity: 1; font-weight: 700; }
  .ds-mlink { min-height: 40px; display: inline-flex; align-items: center; border: 1.5px solid var(--pj-pale); background: #fff; color: var(--ink); border-radius: 8px; }
  .ds-mnav .ds-mlink { border-color: var(--pj); background: var(--pj-soft); }
  .ds-mcta { background: var(--pj); color: var(--cinta); border-radius: 999px; font-weight: 700; box-shadow: 0 14px 24px -14px rgba(109, 87, 32, .9); }
  .ds-bloc { padding: 1.9rem 1rem 1.2rem; }
  .ds-titre { font-size: 1.25rem; }
  main header.text-center { text-align: center !important; }
  main header.text-center h1::after { margin-left: auto; margin-right: auto; }
  main section.rounded-2xl.text-center { padding: 2.3rem 1.1rem 2.1rem !important; border-radius: 180px 180px 22px 22px !important; }
  footer .grid.mb-8 { padding: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  main .w-40.sm\:w-64.bg-zinc-50, main .w-40.sm\:w-64.bg-zinc-50 img.aspect-square, main section.text-center button.inline-block,
  header.sticky nav button, header.sticky button[aria-label="Iniciar sesión"], header.sticky button[aria-label="Buscar"] { transition: none !important; }
  main .w-40.sm\:w-64.bg-zinc-50:hover, main section.text-center button.inline-block:hover { transform: none !important; }
  main .w-40.sm\:w-64.bg-zinc-50:hover img.aspect-square { transform: none !important; }
}

/* ---------------------------------------------------------------- tour 2 : fiche profil lisible, hero aligné */
.pm-cta, .pm-cta *, .pm-modal .pm-cta button, .pm-modal .pm-cta a { color: var(--cinta) !important; }
.pm-cta button, .pm-cta a, button.pm-cta, a.pm-cta { background-color: var(--pj) !important; border-radius: 999px !important; box-shadow: 0 12px 22px -12px rgba(109, 87, 32, .85); }
@media (min-width: 768px) {
  main header.text-center p { text-align: left !important; margin-left: 0 !important; }
}
main .w-40.sm\:w-64.bg-zinc-50 p.text-zinc-600 { -webkit-line-clamp: 3 !important; }

/* garde menu Next (design_site.py) */
.ds-mdrawer, .ds-mburger, .ds-moverlay { position: fixed !important; }

/* garde-fou design_site.py (Next, 17/09) : le logo mobile est un <a> absolu centré ; un nom de site
   allemand long (« Kostenlose Sexdates in Deutschland ») débordait ou s'empilait sur 3 lignes
   par-dessus les icônes (capture du 17/09). Une ligne, ellipse, place réservée aux boutons. */
@media (max-width: 767px) {
  header .md\:hidden a[href="/"] {
    max-width: 56% !important; white-space: nowrap !important; overflow: hidden !important;
    text-overflow: ellipsis !important; font-size: clamp(.95rem, 4.4vw, 1.25rem) !important; line-height: 1.2 !important;
    position: absolute !important; /* lot 21 : un `position: relative` posé pour un ::after l'avait mis dans le flux → bouton par-dessus */
  }
  header nav.hidden { display: none !important; }
}
/* garde-fou 18/09 : la carte des pages ville tombait en repli avec un texte FRANÇAIS (« Carte indisponible (fallback) ») —
   corrigé à la source (VilleMap.tsx), masqué ici tant que le dist n'est pas reconstruit. */
main.space-y-12 > div.rounded-2xl.mb-8 > div.mb-3.text-sm.text-zinc-600 { display: none !important; }
@media (max-width: 767px) { /* lot 21 : `display:flex` posé sur nav.hidden.md:flex la faisait sortir sur mobile, par-dessus le logo */
  /* 19/09 (capture de Lucas, pop-up profil mobile) : le bouton « Registrieren… » remonté sous la photo touchait le
     titre « Bio » (bio.top == cta.bottom, toutes variantes pm-v) ; corrigé à la source (popup_skins.css / globals.css),
     posé ici pour les dists déjà construits. */
  .pm-modal .pm-cta { margin-bottom: .9rem !important; }
}
/* __END_DESIGN_SITE__ */
