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

/* rencontre-senior-suisse.ch — « THÉ DANSANT » (13/11) : olive #66752b sur lin, encre brun-noir.
   Formes signature : CARTON D'INVITATION (coins arrondis + filet piqué intérieur : logo, CTA, pied),
   GUIRLANDE DE FANIONS (au-dessus du logo, en tête du CTA, sous les titres, au-dessus du pied, âge des fiches en fanion),
   PARQUET EN CHEVRONS (fond discret du pied).
   Composition : logo à gauche en carton suspendu, nav large et aérée au centre, actions rondes à droite ;
   pied en deux blocs (carton de la maison | carnet de liens) posés sur le parquet.
   Public 50 ans et plus : texte de base 17 px, boutons ≥ 48 px, contrastes francs. */
:root{
 --ol:#66752b;--ol2:#55621f;--ol3:#3f4a15;--olp:#eef0dc;--oll:#c6cc9a;
 --lin:#f3eee2;--lin2:#fbf8f1;--lin3:#ebe3d1;--sab:#ddd2b8;
 --ink:#26271f;--ink2:#46473b;
 --fan:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 18'><path d='M0 2Q22.5 7 45 2T90 2' fill='none' stroke='%237a6f55' stroke-width='.8'/><path d='M8 4.3h14L15 16.5z' fill='%2366752b'/><path d='M38 2.4h14L45 14.6z' fill='%23d9cba6'/><path d='M68 4.3h14L75 16.5z' fill='%23aeb86f'/></svg>");
 --parq:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><g fill='%2366752b'><path d='M0 12L24 0 48 12V24L24 12 0 24z' fill-opacity='.075'/><path d='M0 36L24 24 48 36V48L24 36 0 48z' fill-opacity='.04'/></g><path d='M0 12L24 0 48 12M0 24L24 12 48 24M0 36L24 24 48 36M0 48L24 36 48 48' fill='none' stroke='%237a6f55' stroke-opacity='.12' stroke-width='.6'/></svg>");
 --omb:0 22px 44px -32px rgba(58,52,28,.5),0 3px 10px -6px rgba(58,52,28,.18);
 --omc:0 14px 26px -12px rgba(85,98,31,.6);
 --srf:"Iowan Old Style","Charter","Bitstream Charter","Sitka Text",Cambria,Georgia,serif;
}
html:root{font-size:106.25%;--text:#26271f;--text-muted:#46473b;--border:#ddd2b8;--bg:#fbf8f1;--bg-alt:#f3eee2;--bg-card:#fbf8f1;--secondary-color:#66752b}

body.antialiased{background:var(--lin)!important;color:var(--ink);line-height:1.6}
main.min-h-screen.bg-white{background:transparent!important}
main.min-h-screen div.bg-gradient-to-b{background-image:none!important}

/* HEADER : bandeau de lin, logo-carton suspendu à gauche, nav large au centre, actions rondes à droite */
header.sticky{background:var(--lin2)!important;backdrop-filter:none!important;border-bottom:1px solid var(--sab)!important;box-shadow:0 16px 30px -26px rgba(58,52,28,.55)}
@media (min-width:768px){
 header.sticky .container > .flex.h-16{height:auto;min-height:6.2rem;padding:1.35rem 0 .9rem;gap:1.6rem}
 header.sticky .container > .flex.h-16 > nav.md\:flex{flex:1 1 auto;justify-content:center;gap:1rem}
 header.sticky nav.md\:flex > div > button{white-space:nowrap}
 /* pages ville : deux menus dans la nav, on resserre sans descendre sous 48 px */
 body:has(main nav.bg-zinc-50) header.sticky nav.md\:flex > div > button{padding:10px 16px;font-size:1rem}
}
@media (min-width:768px) and (max-width:1199px){
 header.sticky .container > .flex.h-16 > div.md\:flex:first-child > a.font-bold{font-size:1.1rem;padding:.6rem 1rem}
}
header.sticky .container > .flex.h-16 > div.md\:flex:first-child > a.font-bold{position:relative;display:inline-block;font-family:var(--srf);font-weight:600;font-size:1.3rem;letter-spacing:.01em;color:var(--ink)!important;background:#fffdf8;padding:.7rem 1.35rem .65rem;border:1px solid var(--sab);border-radius:16px;outline:1.5px dashed var(--oll);outline-offset:-7px;box-shadow:var(--omb);transition:box-shadow .25s,transform .25s}
header.sticky .container > .flex.h-16 > div.md\:flex:first-child > a.font-bold::before{content:"";position:absolute;left:12px;right:12px;top:-12px;height:17px;background:var(--fan) 0 0/66px 17px repeat-x;pointer-events:none}
header.sticky .container > .flex.h-16 > div.md\:flex:first-child > a.font-bold:hover{transform:translateY(-1px);box-shadow:0 26px 40px -28px rgba(85,98,31,.55),0 0 0 3px var(--olp)}
header.sticky nav.md\:flex > div > button,header.sticky nav.md\:flex > a{color:var(--ink)!important;font-size:1.05rem;font-weight:600;min-height:48px;padding:10px 22px;border-radius:999px;border:1px solid var(--sab);background:var(--lin);transition:background-color .2s,border-color .2s}
header.sticky nav.md\:flex > div > button:hover,header.sticky nav.md\:flex > div:focus-within > button{background:var(--olp);border-color:var(--ol);color:var(--ol3)!important}
header.sticky .md\:flex.gap-4 > div > button,header.sticky .md\:flex.gap-4 > button{width:48px;height:48px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--ol2);color:#fff!important;box-shadow:var(--omc);transition:background-color .15s,transform .15s}
header.sticky .md\:flex.gap-4 > div > button:hover,header.sticky .md\:flex.gap-4 > button:hover{background:var(--ol3);transform:translateY(-1px)}
header.sticky div.absolute.rounded-xl{background:var(--lin2)!important;border:1px solid var(--sab)!important;border-radius:20px!important;box-shadow:var(--omb)!important}
header.sticky div.absolute.rounded-xl a,header.sticky div.absolute.rounded-xl span,header.sticky div.absolute.rounded-xl p,header.sticky div.absolute.rounded-xl h3{color:var(--ink)!important}
header.sticky div.absolute.rounded-xl a{border-radius:999px!important}
header.sticky div.absolute.rounded-xl a:hover{background:var(--olp)!important;color:var(--ol3)!important}

/* BARRE MOBILE : carton du nom au centre (dans le flux), espace membre en pastille olive à droite */
@media (max-width:767px){
 header.sticky .container > .flex.h-16{min-height:68px;height:auto}
 header.sticky .md\:hidden.flex{gap:8px;align-items:center;min-height:68px}
 header.sticky .md\:hidden.flex a.font-bold[href="/"]{position:relative!important;left:auto!important;transform:none!important;translate:none!important;flex:0 1 auto;min-width:0;max-width:calc(100% - 112px)!important;margin:0 auto;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal!important;overflow:hidden!important;font-family:var(--srf);font-weight:600;font-size:1rem!important;line-height:1.2!important;text-align:center;color:var(--ink)!important;background:#fffdf8;border:1px solid var(--sab);border-radius:12px;padding:5px 10px}
 header.sticky .md\:hidden button[aria-label="Menu"]{width:44px;height:44px;flex-shrink:0;border-radius:12px;background:var(--lin);color:var(--ink)!important}
 header.sticky .md\:hidden button:last-child{flex-shrink:0;width:46px;min-width:46px;height:46px;margin-right:0;justify-content:center;border-radius:50%;background:var(--ol2);color:#fff!important;box-shadow:var(--omc)}
}

/* fil d'Ariane */
nav.bg-zinc-50{background:var(--lin2)!important;border-bottom:1px solid var(--sab)!important;font-size:1rem}
nav.bg-zinc-50 a{color:var(--ol2)!important;font-weight:600;text-decoration:underline;text-underline-offset:3px}
nav.bg-zinc-50 a:hover{color:var(--ol3)!important}
nav.bg-zinc-50 span,nav.bg-zinc-50 li{color:var(--ink2)!important}

/* EN-TÊTE DE PAGE : titre serif posé, petite guirlande dessous */
main header.text-center,main header.mb-12{padding-top:1.8rem}
main header.text-center h1,main header.mb-12 h1{color:var(--ink)!important;font-family:var(--srf);font-weight:600;letter-spacing:-.01em;line-height:1.15}
main header.text-center h1::after,main header.mb-12 h1::after{content:"";display:block;width:198px;max-width:70%;height:18px;margin:16px auto 0;background:var(--fan) 0 0/66px 18px repeat-x}
main header.sticky .text-zinc-600,main header.sticky .text-zinc-700,main header.sticky p,main header.sticky div{color:var(--ink2)!important}
main header.sticky p.text-base{font-size:1.06rem;line-height:1.7}

/* SECTIONS : feuilles de lin à grands coins arrondis, ombre chaude */
main.space-y-12 > section.rounded-2xl,main.space-y-12 > div.rounded-2xl,main.space-y-12 section.rounded-2xl,section.rounded-2xl.p-6.shadow-lg{background:var(--lin2)!important;border:1px solid var(--sab)!important;border-radius:26px!important;box-shadow:var(--omb)!important}
main.space-y-12 h2,div.space-y-8 h2,section.rounded-2xl h2{color:var(--ink)!important;font-family:var(--srf);font-weight:600;letter-spacing:-.005em}
main.space-y-12 section:not(.text-center) > h2::before,main.space-y-12 section:not(.text-center) > div > h2::before,div.space-y-8 .prose h2::before{content:"";display:inline-block;width:15px;height:20px;margin-right:12px;vertical-align:-.12em;background:var(--ol);clip-path:polygon(0 0,100% 0,50% 100%)}
main.space-y-12 .text-zinc-700,main.space-y-12 .text-zinc-600,main.space-y-12 .text-zinc-900,main.space-y-12 .text-zinc-500,section.rounded-2xl .text-zinc-700,section.rounded-2xl .text-zinc-900{color:var(--ink)!important}
main.space-y-12 p,main.space-y-12 li,main.space-y-12 .text-base{font-size:1.06rem;line-height:1.7}
main.space-y-12 button[aria-label="Voir plus"]{color:var(--ol2)!important;font-size:1rem;font-weight:700;text-decoration:underline;text-underline-offset:4px;min-height:32px}
#cantons input,#departements input{background:#fff!important;border:1px solid var(--sab)!important;border-radius:999px!important;color:var(--ink)!important;min-height:48px;font-size:1.05rem!important;padding-left:1.2rem!important}
#cantons input:focus,#departements input:focus{border-color:var(--ol)!important;box-shadow:0 0 0 3px var(--olp)!important}
#cantons input::placeholder,#departements input::placeholder{color:var(--ink2)!important}
#cantons svg{color:var(--ol2)!important}
#cantons button.rounded-lg{background:var(--lin)!important;color:var(--ink)!important;border-radius:999px!important}
#cantons a{color:var(--ink)!important;font-size:1.02rem}
#cantons a:hover{color:var(--ol2)!important}
main.space-y-12 > div.rounded-2xl.mb-8 > div.w-full.rounded-lg{border-radius:18px;border:1px solid var(--sab)}

/* tri / recherche (plein) : bandeau de lin, sélecteurs en pilules hautes */
div.rounded-lg.shadow-sm.border{background:var(--lin)!important;border:1px solid var(--sab)!important;border-radius:22px!important;box-shadow:none!important}
div.rounded-lg.shadow-sm.border select,div.rounded-lg.shadow-sm.border button{background-color:#fffdf8!important;color:var(--ink)!important;border:1px solid var(--sab)!important;border-radius:999px!important;font-weight:600;font-size:1rem!important;min-height:48px}
div.rounded-lg.shadow-sm.border button:hover,div.rounded-lg.shadow-sm.border select:focus{background-color:var(--olp)!important;color:var(--ol3)!important;border-color:var(--ol)!important}

/* CARTES PROFIL : carton crème, photo encadrée, âge sur un fanion suspendu */
div.flex-shrink-0.w-40{background:#fffdf8!important;border:1px solid var(--sab)!important;border-radius:22px!important;box-shadow:0 10px 22px -16px rgba(58,52,28,.55);transition:box-shadow .25s}
div.flex-shrink-0.w-40:hover{box-shadow:var(--omb),0 0 0 3px var(--olp)!important}
div.flex-shrink-0.w-40 > div.relative{overflow:hidden;border-radius:16px;box-shadow:0 0 0 1px var(--sab)}
div.flex-shrink-0.w-40 > div.relative > img{border-radius:16px!important;transition:transform .6s ease!important}
div.flex-shrink-0.w-40:hover > div.relative > img{transform:scale(1.04)}
div.flex-shrink-0.w-40 .absolute.top-2.right-2{top:0!important;right:12px!important;min-width:48px;padding:6px 8px 15px!important;text-align:center;background:var(--ol2)!important;color:#fff!important;border-radius:0!important;font-weight:700;font-size:.85rem!important;line-height:1.2;clip-path:polygon(0 0,100% 0,100% 74%,50% 100%,0 74%)}
div.flex-shrink-0.w-40 h3{color:var(--ink)!important;font-family:var(--srf);font-weight:600;font-size:1.12rem}
div.flex-shrink-0.w-40 p.text-zinc-500{color:var(--ol2)!important;font-weight:700;font-size:.9rem}
div.flex-shrink-0.w-40 p.text-zinc-600{color:var(--ink2)!important;font-size:.9rem;line-height:1.45}

/* RECETTE « Next · cta-faq » (app/design_recettes_v3.css, copiée telle quelle) */
@media (min-width: 992px) {
  body.design-v-cta-faq main.space-y-12 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 3rem; align-items: start; }
  body.design-v-cta-faq main.space-y-12 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > section:has(.min-h-\[500px\]) { order: 1; }
  body.design-v-cta-faq main.space-y-12 > div.rounded-2xl.mb-8 { order: 2; }
  /* le texte et la FAQ sont dans un wrapper div.space-y-8 (streaming) : on l'efface (display: contents)
     pour que ses sections deviennent des items de la grille de <main> */
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 { display: contents; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > * { grid-column: 1 / -1; margin: 0; order: 6; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(.prose) { order: 3; }
  body.design-v-cta-faq main.space-y-12 > .ds-bloc { order: 3; }
  body.design-v-cta-faq main.space-y-12 > section.text-center { order: 4; grid-column: auto; align-self: center; margin-top: 2.5rem; margin-bottom: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
  body.design-v-cta-faq main.space-y-12 > div.space-y-8 > section:has(> div.space-y-0) { order: 5; grid-column: auto; align-self: stretch; }
  /* accueil (section#cantons, pas de FAQ à côté) : la carte reste centrée sur toute la largeur */
  body.design-v-cta-faq main.space-y-12:has(> section#cantons) > section.text-center { grid-column: 1 / -1; justify-self: center; width: min(100%, 640px); }
}

/* CTA : carton d'invitation, guirlande en tête, filet piqué intérieur, bouton olive en pilule */
main.space-y-12 > section.text-center{position:relative;align-items:center;overflow:hidden;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(238,240,220,.95),rgba(238,240,220,0) 72%),#fffdf8!important;border:1px solid var(--sab)!important;border-radius:28px!important;outline:1.5px dashed var(--oll);outline-offset:-12px;box-shadow:0 30px 50px -32px rgba(85,98,31,.6),var(--omb)!important;padding:4.4rem 2rem 2.8rem!important}
main.space-y-12 > section.text-center::before{content:"";position:absolute;top:14px;left:24px;right:24px;height:22px;background:var(--fan) 0 0/88px 22px repeat-x;pointer-events:none}
main.space-y-12 > section.text-center h2{color:var(--ink)!important;font-family:var(--srf);font-weight:600;font-size:clamp(1.5rem,2.4vw,2rem)!important;line-height:1.25;margin-bottom:.8rem!important}
main.space-y-12 > section.text-center p{color:var(--ink2)!important;font-size:1.1rem!important}
main.space-y-12 > section.text-center button{min-width:min(300px,100%);min-height:56px;font-size:1.12rem;background:linear-gradient(170deg,#76873a,var(--ol) 50%,var(--ol2))!important;color:#fff!important;border-radius:999px!important;font-weight:700;letter-spacing:.01em;box-shadow:var(--omc)!important;transition:transform .2s,box-shadow .2s}
main.space-y-12 > section.text-center button:hover,main.space-y-12 > section.text-center button:focus-visible{transform:translateY(-2px);box-shadow:0 20px 32px -12px rgba(85,98,31,.7),0 0 0 4px var(--olp)!important}

/* FAQ : questions séparées d'un pointillé, chevron dans une pastille */
div.space-y-0 > div{border-bottom:2px dotted var(--sab)!important}
div.space-y-0 > div:last-child{border-bottom:0!important}
div.space-y-0 button{border-radius:14px;min-height:56px;padding-left:8px!important;padding-right:8px!important}
div.space-y-0 button:hover{background:var(--olp)!important}
div.space-y-0 button h3{color:var(--ink)!important;font-weight:600;font-size:1.1rem!important}
div.space-y-0 svg{color:var(--ol2)!important;background:var(--olp);border-radius:50%;padding:4px;width:30px;height:30px;flex-shrink:0}
div.space-y-0 > div > div,div.space-y-0 > div p,section .prose,section .prose p,section .prose li,section .prose span{color:var(--ink)!important}
section .prose a{color:var(--ol2)!important;text-decoration:underline;text-underline-offset:3px}

/* Top 20 / villes proches */
nav[aria-label] a[style*="border-left"]{border-left:4px solid var(--ol)!important;background:var(--lin);color:var(--ink)!important;border-radius:4px 14px 14px 4px!important;font-weight:600;min-height:44px;transition:background-color .15s}
nav[aria-label] a[style*="border-left"]:hover{background:var(--olp)!important;color:var(--ol3)!important}

/* défilement des cantons : pastilles crème sur lin plus soutenu */
section.bg-zinc-100{background:var(--lin3)!important;border-top:1px solid var(--sab);border-bottom:1px solid var(--sab)}
section.bg-zinc-100 .pointer-events-none{display:none}
section.bg-zinc-100 a.rounded-full{background:#fffdf8!important;color:var(--ink)!important;border:1px solid var(--sab);font-size:1rem!important;font-weight:600;min-height:44px;display:inline-flex;align-items:center;transition:background-color .15s,border-color .15s}
section.bg-zinc-100 a.rounded-full:hover{background:var(--olp)!important;border-color:var(--ol);color:var(--ol3)!important}

/* engagements : trois pastilles olive */
section.py-12.border-b{background:var(--lin2)!important;border-color:var(--sab)!important}
section.py-12.border-b div.w-16.h-16{background:var(--ol2)!important;box-shadow:0 0 0 5px var(--olp),var(--omc)}
section.py-12.border-b div.w-16.h-16 svg{color:#fff!important}
section.py-12.border-b p{color:var(--ink)!important;font-size:1.04rem!important;line-height:1.6}

button.fixed.bottom-6.right-6{background-color:var(--ol2)!important;color:#fff!important;border-radius:50%!important;box-shadow:var(--omc),0 0 0 3px var(--lin2)!important}

/* PIED : guirlande au-dessus d'un parquet en chevrons ; deux blocs (carton de la maison | carnet de liens) */
footer.border-t{background:var(--parq) 0 0/56px 56px,var(--lin3)!important;border-top:0!important;position:relative}
footer.border-t::before{content:"";position:absolute;left:0;right:0;top:0;height:22px;background:var(--fan) 0 0/90px 22px repeat-x;pointer-events:none}
footer.border-t > .container{padding-top:3.4rem}
footer.border-t .grid{grid-template-columns:minmax(0,1.05fr) repeat(3,minmax(0,1fr));column-gap:0;row-gap:0;align-items:stretch}
footer.border-t .grid::before{content:"";grid-column:2 / -1;grid-row:1;background:#fffdf8;border:1px solid var(--sab);border-radius:24px;box-shadow:var(--omb)}
footer.border-t .grid > div{grid-row:1;position:relative;z-index:1;padding:1.8rem 1.3rem}
footer.border-t .grid > div:nth-child(2){grid-column:2}
footer.border-t .grid > div:nth-child(3){grid-column:3}
footer.border-t .grid > div:nth-child(4){grid-column:4}
footer div.lg\:col-span-1{grid-column:1;margin-right:1.8rem;background:#fffdf8;border:1px solid var(--sab);border-radius:24px;outline:1.5px dashed var(--oll);outline-offset:-9px;box-shadow:var(--omb);padding:2rem 1.6rem!important}
footer div.lg\:col-span-1 h3.font-semibold{color:var(--ink)!important;font-family:var(--srf);font-weight:600;font-size:1.4rem;line-height:1.25}
footer div.lg\:col-span-1 p.text-sm{color:var(--ink2)!important;font-size:1rem}
footer div.lg\:col-span-1 p.text-xs{color:var(--ink2)!important;font-size:.9rem}
footer.border-t h3.text-sm{color:var(--ol2)!important;letter-spacing:.08em;font-weight:700;font-size:.9rem}
footer.border-t ul li a{color:var(--ink)!important;font-size:1rem;padding:4px 0;min-height:32px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .15s,color .15s}
footer.border-t ul li a:hover{color:var(--ol3)!important;text-decoration-color:var(--ol)}
footer .border-zinc-200.pt-8{border-top:1px solid var(--sab)!important;background:rgba(251,248,241,.88);border-radius:18px;padding:1rem 1.2rem!important}
footer .border-zinc-200.pt-8 p,footer .border-zinc-200.pt-8 a{color:var(--ink2)!important;font-size:.92rem}
footer .border-zinc-200.pt-8 a{text-decoration:underline;text-underline-offset:3px}
@media (max-width:1023px){
 footer.border-t .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 footer div.lg\:col-span-1{grid-column:1 / -1;grid-row:1;margin:0 0 1.2rem}
 footer.border-t .grid::before{grid-column:1 / -1;grid-row:2}
 footer.border-t .grid > div:nth-child(2),footer.border-t .grid > div:nth-child(3),footer.border-t .grid > div:nth-child(4){grid-row:2}
 footer.border-t .grid > div:nth-child(2){grid-column:1}
 footer.border-t .grid > div:nth-child(3){grid-column:2}
 footer.border-t .grid > div:nth-child(4){grid-column:3}
}
@media (max-width:640px){
 footer.border-t .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 footer.border-t .grid::before{grid-row:2 / 4}
 footer.border-t .grid > div:nth-child(2){grid-column:1;grid-row:2}
 footer.border-t .grid > div:nth-child(3){grid-column:2;grid-row:2}
 footer.border-t .grid > div:nth-child(4){grid-column:1 / -1;grid-row:3;padding-top:.4rem}
 footer.border-t .grid > div{padding:1.4rem 1rem}
 footer.border-t > .container{padding-top:2.8rem}
 main.space-y-12 > section.text-center{padding:4rem 1.2rem 2.2rem!important;outline-offset:-9px}
 main.space-y-12 > section.rounded-2xl,main.space-y-12 > div.rounded-2xl,section.rounded-2xl.p-6.shadow-lg{border-radius:20px!important}
 main.space-y-12 section:not(.text-center) h2,div.space-y-8 h2{font-size:1.5rem!important;line-height:1.25}
 main header.text-center h1,main header.mb-12 h1{font-size:2.15rem!important}
}

/* POP-UPS : couleurs, bordures, rayons seulement */
#age-gate{background-color:rgba(38,39,31,.8)!important}
#age-gate > div.bg-white{background:#fffdf8!important;border:1px solid var(--sab)!important;border-radius:26px!important}
#age-gate p.font-semibold,#age-gate p.font-medium{color:var(--ink)!important}
#age-gate .w-16.h-1{background:var(--ol)!important;border-radius:999px}
#age-gate .bg-zinc-50{background:var(--lin)!important;border:1px solid var(--sab)!important;border-radius:18px!important}
#age-gate p{color:var(--ink2)!important}
#age-gate #age-yes{background:linear-gradient(170deg,#76873a,var(--ol2))!important;color:#fff!important;border-radius:999px!important;font-weight:700;min-height:52px}
#age-gate #age-no{background:var(--lin)!important;color:var(--ink)!important;border-color:var(--sab)!important;border-radius:999px!important;min-height:52px}
.pm-modal{border-radius:24px!important}
.pm-modal .pm-photo,.pm-modal .pm-photo img{border-radius:18px!important}
.pm-modal .pm-cta button,.pm-modal .pm-cta a{background:linear-gradient(170deg,#76873a,var(--ol2))!important;color:#fff!important;border-radius:999px!important;min-height:52px}
.pm-modal .pm-bio span.rounded-full{background:var(--olp)!important;color:var(--ol3)!important}

/* MENU MOBILE (.ds-m*) : carnet de bal en lin, guirlande en tête */
@media (max-width:767px){
 .ds-mburger{top:12px;left:10px;width:44px;height:44px;background:var(--lin);color:var(--ink);border-radius:12px;box-shadow:inset 0 0 0 1px var(--sab),0 6px 14px -10px rgba(38,39,31,.6)}
 .ds-mburger span{background:var(--ink)}
 .ds-moverlay{background:rgba(38,39,31,.55)}
 .ds-mdrawer{background:var(--lin2);color:var(--ink);box-shadow:8px 0 30px rgba(38,39,31,.4)}
 .ds-mhead{position:relative;border-bottom:1px solid var(--sab);padding:34px 16px 16px;background:var(--fan) 10px 6px/72px 18px repeat-x,var(--lin)}
 .ds-mbrand{font-family:var(--srf);font-weight:600;font-size:1.15rem;color:var(--ink);line-height:1.2;padding-right:8px}
 .ds-mclose{background:var(--ol2);color:#fff;width:44px;height:44px;flex-shrink:0}
 .ds-msec{padding-top:16px}
 .ds-msec-t{color:var(--ol2);opacity:1;font-weight:700;letter-spacing:.08em;font-size:.82rem}
 .ds-mlink{background:#fffdf8;color:var(--ink);border:1px solid var(--sab);border-radius:999px;min-height:46px;display:inline-flex;align-items:center;padding:8px 16px;font-size:1rem;font-weight:600}
 .ds-mnav .ds-mlink{background:var(--olp);border-color:var(--oll)}
 .ds-mlink:hover,.ds-mlink:active,.ds-mlink:focus-visible{background:var(--olp);color:var(--ol3);border-color:var(--ol)}
 .ds-mcta{background:linear-gradient(170deg,#76873a,var(--ol) 50%,var(--ol2));color:#fff;border-radius:999px;min-height:56px;font-size:1.1rem;font-weight:700;box-shadow:var(--omc)}
}

/* thème sombre du système : on garde le lin et l'encre partout */
@media (prefers-color-scheme:dark){
 main .dark\:text-zinc-50,main .dark\:text-zinc-300,main .dark\:text-zinc-400,main .dark\:text-zinc-500,header.sticky .dark\:text-zinc-300,nav.bg-zinc-50 *{color:var(--ink)!important}
 main .dark\:bg-zinc-800,main .dark\:bg-zinc-900,section.dark\:bg-zinc-900{background-color:var(--lin2)!important}
}

@media (prefers-reduced-motion:reduce){
 header.sticky a.font-bold,header.sticky nav.md\:flex > div > button,header.sticky .md\:flex.gap-4 button,div.flex-shrink-0.w-40,div.flex-shrink-0.w-40 img,main.space-y-12 > section.text-center button,footer.border-t ul li a,nav[aria-label] a[style*="border-left"],section.bg-zinc-100 a.rounded-full{transition:none!important}
 div.flex-shrink-0.w-40:hover > div.relative > img,header.sticky a.font-bold:hover,main.space-y-12 > section.text-center button:hover{transform:none}
}

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