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

/* conocer-trans.es — habillage unique (gabarit Next, national España, public trans)
   Registre : cerámica de Manises. Faïence à reflets métalliques : lustre doré posé en filets et en
   rinceaux fins sur un rouge profond, fond d'émail ivoire. rojo #c62828 (favicon) + marfil + tinta granate.
   Composition : en-tête sur UNE rangée inversée — actions à GAUCHE (pastilles cerclées d'or), nav au
   centre, logo à DROITE précédé d'un petit plat lustré ; frise de rinceaux sous l'en-tête ; cartes
   « assiette » (photo dans un marli ivoire cerclé d'or, âge en médaillon rouge à gauche) ; CTA = plat
   rouge profond au lustre doré, médaillon central ; footer en CARTE CENTRÉE (assiette ivoire à double filet). */

html:root{
  --rojo:#c62828;
  --rojo-boton:#b71c1c;
  --rojo-hondo:#7f1717;
  --rojo-tinta:#8e1c1c;
  --rojo-velo:#fbe7e2;
  --rojo-borde:#efc2b9;
  --rojo-luz:rgba(183,28,28,.30);
  --oro:#a8792c;
  --oro-claro:#e2c27a;
  --marfil:#fbf6ea;
  --marfil-2:#f3e8d1;
  --papel:#fffdf7;
  --filete:#e4d0a5;
  --tinta:#2b1614;
  --tinta-2:#5c3a30;
  --primary-color:#b71c1c;
  --secondary-color:#b71c1c;
  --serif:"Cormorant Garamond","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  --rinceau:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cpath d='M0 8C6 1 14 1 18 6s-1 7-4 5 0-5 3-3M24 8c6 7 14 7 18 2s1-7 4-5 0 5-3 3' fill='none' stroke='%23a8792c' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M18 8h6M42 8h6' stroke='%23a8792c' stroke-width='1.1'/%3E%3Ccircle cx='21' cy='8' r='1.3' fill='%23c62828'/%3E%3Ccircle cx='45' cy='8' r='1.3' fill='%23c62828'/%3E%3C/svg%3E");
  --rinceau-oro:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cpath d='M0 8C6 1 14 1 18 6s-1 7-4 5 0-5 3-3M24 8c6 7 14 7 18 2s1-7 4-5 0 5-3 3' fill='none' stroke='%23e2c27a' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M18 8h6M42 8h6' stroke='%23e2c27a' stroke-width='1.1'/%3E%3Ccircle cx='21' cy='8' r='1.3' fill='%23fbf6ea'/%3E%3Ccircle cx='45' cy='8' r='1.3' fill='%23fbf6ea'/%3E%3C/svg%3E");
  --plato:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%23c62828'/%3E%3Ccircle cx='16' cy='16' r='12.2' fill='none' stroke='%23e2c27a' stroke-width='1' stroke-dasharray='1.6 1.6'/%3E%3Ccircle cx='16' cy='16' r='8.4' fill='%23fbf6ea'/%3E%3Cpath d='M16 10.5c-2.4 2.6-2.4 8.4 0 11M16 10.5c2.4 2.6 2.4 8.4 0 11M10.6 16h10.8' fill='none' stroke='%23a8792c' stroke-width='1'/%3E%3C/svg%3E");
  --flor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23a8792c' stroke-width='1.1'%3E%3Cpath d='M10 2c2.5 3 2.5 5 0 8-2.5-3-2.5-5 0-8zM10 18c2.5-3 2.5-5 0-8-2.5 3-2.5 5 0 8zM2 10c3-2.5 5-2.5 8 0-3 2.5-5 2.5-8 0zM18 10c-3-2.5-5-2.5-8 0 3 2.5 5 2.5 8 0z'/%3E%3C/g%3E%3Ccircle cx='10' cy='10' r='1.6' fill='%23c62828'/%3E%3C/svg%3E");
  --corazon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c62828' d='M12 20.5s-7.5-4.6-7.5-10.1A4.2 4.2 0 0 1 12 8a4.2 4.2 0 0 1 7.5 2.4c0 5.5-7.5 10.1-7.5 10.1z'/%3E%3C/svg%3E");
  color-scheme:light;
}
body{ background:var(--marfil) !important; color:var(--tinta); }
main.min-h-screen.bg-white, main.bg-white{ background:transparent !important; }
div.bg-gradient-to-b{ background:radial-gradient(80% 360px at 50% 0%, #f7e4dc 0%, var(--marfil) 70%) !important; }

/* ===================== EN-TÊTE : une rangée inversée, frise de rinceaux ===================== */
header.sticky{
  background:rgba(255,253,247,.97) !important; border-bottom:0 !important;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  box-shadow:0 18px 30px -26px rgba(43,22,20,.55);
  border-top:4px solid var(--rojo) !important;
}
header.sticky::after{
  content:""; position:absolute; left:0; right:0; bottom:-14px; height:14px; pointer-events:none;
  background:var(--rinceau) center/48px 14px repeat-x, linear-gradient(var(--marfil-2),var(--marfil-2));
  border-top:1px solid var(--filete); border-bottom:1px solid var(--filete);
}
header.sticky a.font-bold[href="/"]{ color:var(--rojo-tinta) !important; font-family:var(--serif) !important; font-weight:700 !important; letter-spacing:.01em; }
@media (min-width:768px){
  header.sticky .flex.h-16{ height:72px !important; }
  header.sticky .flex.h-16 > div.hidden.md\:flex:first-child{ order:3; }
  header.sticky .flex.h-16 > nav{ order:2; flex:1 1 auto !important; justify-content:center; }
  header.sticky .flex.h-16 > div.hidden.md\:flex:last-child{ order:1; gap:.5rem !important; }
  header.sticky a.font-bold[href="/"]{ font-size:1.75rem !important; display:inline-flex; align-items:center; gap:.7rem; }
  header.sticky a.font-bold[href="/"]::before{
    content:""; width:34px; height:34px; flex:0 0 34px; background:var(--plato) center/contain no-repeat;
    border-radius:50%; box-shadow:0 6px 12px -6px var(--rojo-luz); transition:transform .6s ease;
  }
  header.sticky a.font-bold[href="/"]:hover::before{ transform:rotate(90deg); }
  header.sticky nav .relative > button{
    color:var(--tinta) !important; padding:.45rem 1.2rem; border-radius:999px; min-height:40px; font-weight:600 !important;
    border:1px solid var(--filete); background:var(--papel); box-shadow:inset 0 0 0 3px var(--papel), inset 0 0 0 4px var(--marfil-2);
    transition:border-color .2s, color .2s;
  }
  header.sticky nav .relative > button:hover{ border-color:var(--oro); color:var(--rojo-tinta) !important; }
  header.sticky .flex.h-16 > div.hidden.md\:flex:last-child button{
    color:var(--rojo-tinta) !important; width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
    border-radius:50%; background:var(--papel); border:1px solid var(--oro);
    box-shadow:0 0 0 3px var(--papel), 0 0 0 4px var(--filete), 0 10px 16px -10px rgba(43,22,20,.5);
    transition:background .2s, color .2s;
  }
  header.sticky .flex.h-16 > div.hidden.md\:flex:last-child button:hover{ background:var(--rojo-boton); color:#fff !important; }
  header.sticky div.relative.-m-\[10px\] > div.absolute.top-full{
    background:var(--rojo-boton) !important; color:#fff !important; border-radius:999px !important;
    left:0 !important; right:auto !important; translate:none !important;
    box-shadow:0 10px 18px -10px var(--rojo-luz) !important;
  }
}
header.sticky .absolute.bg-white, header.sticky div[class*="shadow-xl"]{
  background:var(--papel) !important; border:1px solid var(--filete) !important; border-radius:20px !important;
  box-shadow:0 26px 44px -26px rgba(43,22,20,.45) !important;
}
header.sticky .absolute a{ color:var(--tinta) !important; }
header.sticky .absolute a:hover{ color:var(--rojo-tinta) !important; background:var(--rojo-velo) !important; }
header.sticky .absolute h3, header.sticky .absolute p{ color:var(--tinta-2) !important; }

@media (max-width:767px){
  header.sticky::after{ height:10px; bottom:-10px; background-size:36px 10px; }
  header.sticky div.md\:hidden.flex > button:last-child{
    order:2; flex:0 0 auto; min-height:42px; min-width:42px; justify-content:center; padding:0 .65rem; margin-left:.4rem;
    border-radius:999px; color:var(--rojo-tinta) !important; background:var(--papel); border:1px solid var(--oro);
    box-shadow:0 0 0 2px var(--papel), 0 0 0 3px var(--filete);
  }
  header.sticky div.md\:hidden.flex > button:last-child svg{ color:var(--rojo-tinta); }
  header.sticky div.md\:hidden.flex > a.font-bold[href="/"]{
    order:3; position:static !important; translate:none !important; left:auto !important;
    flex:1 1 auto !important; min-width:0 !important; max-width:none !important; margin:0 0 0 .6rem !important;
    text-align:right; color:var(--rojo-tinta) !important; font-size:1.05rem !important;
    white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
  }
}

/* ===================== TITRES : sérif calme, fleuron lustré ===================== */
main h1, div.container > header h1{ color:var(--tinta) !important; font-family:var(--serif) !important; font-weight:700 !important; }
div.container > header{ padding-top:2rem; text-align:center; }
div.container > header h1::after{
  content:""; display:block; width:min(240px,64%); height:16px; margin:.75rem auto 0;
  background:var(--flor) center/16px 16px no-repeat, var(--rinceau) left center/48px 12px repeat-x;
  -webkit-mask:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent); mask:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent);
}
div.container > header .text-zinc-600, div.container > header .text-zinc-700, div.container > header p{ color:var(--tinta-2) !important; }
main h2{ color:var(--tinta) !important; font-family:var(--serif); font-weight:700 !important; }
main section.rounded-2xl.shadow-lg:not(.text-center) > h2::before,
main div.rounded-2xl.shadow-lg h2::before{
  content:""; display:inline-block; width:.8em; height:.8em; margin-right:.5rem; vertical-align:-.04em;
  background:var(--flor) center/contain no-repeat;
}
main section.rounded-2xl.shadow-lg:not(.text-center),
main div.rounded-2xl.shadow-lg{
  background:var(--papel) !important; border:1px solid var(--filete) !important; border-radius:26px !important;
  box-shadow:inset 0 0 0 6px var(--papel), inset 0 0 0 7px rgba(168,121,44,.35), 0 26px 44px -34px rgba(43,22,20,.5) !important;
}
main .text-zinc-600, main .text-zinc-700, main .text-zinc-500{ color:var(--tinta-2) !important; }
main .text-zinc-900, main .text-zinc-800{ color:var(--tinta) !important; }
main button[style*="color:#E35D8F"], main button[style*="color: rgb(227"]{ color:var(--rojo-tinta) !important; }
main .prose, main .prose p, main .prose li{ color:var(--tinta-2) !important; }
main .prose h2, main .prose h3, main .prose strong{ color:var(--tinta) !important; }
main .prose a, main a.text-blue-600, main a.underline{ color:var(--rojo-tinta) !important; }
main .prose ul li::marker{ color:var(--rojo); }
main input[type="text"]{
  background:var(--marfil) !important; color:var(--tinta) !important; border-color:var(--filete) !important; border-radius:999px !important;
}
main input[type="text"]::placeholder{ color:#6e4a3d !important; }
nav.bg-zinc-50{ background:var(--marfil-2) !important; border-color:var(--filete) !important; padding-top:1.5rem !important; }
nav.bg-zinc-50 a, nav.bg-zinc-50 span{ color:var(--tinta-2) !important; }
nav.bg-zinc-50 span.font-medium{ color:var(--tinta) !important; }
nav.bg-zinc-50 a:hover{ color:var(--rojo-tinta) !important; }

/* ===================== CARTES PROFIL : « assiette » au marli ivoire ===================== */
main div.flex-shrink-0.w-40{
  background:var(--papel) !important; border:1px solid var(--filete) !important; border-radius:24px !important; padding:9px 9px 6px !important;
  box-shadow:0 16px 28px -22px rgba(43,22,20,.55); transition:box-shadow .3s ease, translate .3s ease;
}
main div.flex-shrink-0.w-40:hover{ box-shadow:0 26px 38px -20px var(--rojo-luz); translate:0 -2px; }
main div.flex-shrink-0.w-40 > .relative{
  overflow:hidden; border-radius:18px;
  box-shadow:0 0 0 1px var(--oro), 0 0 0 5px var(--marfil-2), 0 0 0 6px rgba(168,121,44,.45);
}
main div.flex-shrink-0.w-40 img{ border-radius:0 !important; transition:transform .6s ease !important; }
main div.flex-shrink-0.w-40:hover img{ transform:scale(1.05); }
main div.flex-shrink-0.w-40 .absolute.top-2.right-2{
  right:auto !important; left:8px !important; top:8px !important;
  min-width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  background:var(--rojo-boton) !important; color:#fff !important; border:1.5px solid var(--oro-claro);
  border-radius:50% !important; padding:0 .3rem !important; font-weight:700 !important; font-size:.72rem !important;
  box-shadow:0 0 0 2px var(--rojo-boton), 0 8px 14px -6px rgba(43,22,20,.55); white-space:nowrap;
}
main div.flex-shrink-0.w-40 h3{ color:var(--tinta) !important; font-family:var(--serif); font-weight:700 !important; }
main div.flex-shrink-0.w-40 p.text-zinc-500{ color:var(--rojo-tinta) !important; font-weight:600; }
main div.flex-shrink-0.w-40 p.line-clamp-2{ color:var(--tinta-2) !important; }

/* ===================== barre de tri ===================== */
main div.rounded-lg.shadow-sm{
  background:var(--papel) !important; border:1px solid var(--filete) !important; border-radius:22px !important;
  box-shadow:0 12px 24px -18px rgba(43,22,20,.45) !important; padding:.6rem .85rem !important;
}
main div.rounded-lg.shadow-sm select{
  border:1px solid var(--rojo-borde) !important; border-radius:999px !important; min-height:42px;
  color:var(--tinta) !important; background-color:var(--marfil) !important;
}
main div.rounded-lg.shadow-sm select:focus{ border-color:var(--rojo) !important; box-shadow:0 0 0 3px var(--rojo-velo) !important; outline:none; }
main div.rounded-lg.shadow-sm button{ border-radius:999px !important; min-height:42px; }
main div.rounded-lg.shadow-sm button[style]:not(.ds-fchip), main div.rounded-lg.shadow-sm button.bg-zinc-900{
  background:var(--rojo-boton) !important; color:#fff !important; border-color:var(--rojo-boton) !important;
}
.ds-fnext .ds-fchip.ds-fchip{ border:1px solid var(--filete) !important; border-radius:999px !important; background:var(--papel) !important; color:var(--tinta) !important; min-height:40px; }
.ds-fnext .ds-fchip.ds-fchip:hover{ border-color:var(--oro) !important; }
.ds-fnext .ds-fchip.ds-fchip.active{ background:var(--rojo-boton) !important; color:#fff !important; border-color:var(--rojo-boton) !important; }

/* ===================== recette Next · villes-bas (copiée telle quelle) ===================== */
body.design-v-villes-bas main.space-y-12:where(:has(> section#departements)) { display: flex; flex-direction: column; }
body.design-v-villes-bas main.space-y-12:where(:has(> section#departements)) > * { order: 6; }
body.design-v-villes-bas main.space-y-12 > section.scroll-mt-20:not(#departements) { order: 1; }
body.design-v-villes-bas main.space-y-12 > .ds-bloc { order: 2; }
body.design-v-villes-bas main.space-y-12 > section.text-center { order: 3; }
body.design-v-villes-bas main.space-y-12 > section#departements { order: 7; margin-top: 2rem; }

/* ===================== régions, maillage, confiance ===================== */
section.bg-zinc-100{ background:var(--marfil-2) !important; border:0 !important; }
section.bg-zinc-100 .bg-gradient-to-r{ background:linear-gradient(90deg,var(--marfil-2),rgba(243,232,209,0)) !important; }
section.bg-zinc-100 .bg-gradient-to-l{ background:linear-gradient(270deg,var(--marfil-2),rgba(243,232,209,0)) !important; }
main a.rounded-full, section.bg-zinc-100 a.rounded-full{
  background:var(--papel) !important; color:var(--tinta) !important; border:1px solid var(--filete) !important;
  transition:border-color .2s, color .2s;
}
main a.rounded-full:hover, section.bg-zinc-100 a.rounded-full:hover{ border-color:var(--rojo) !important; color:var(--rojo-tinta) !important; }
section#departements a{ color:var(--tinta) !important; }
section#departements a:hover{ color:var(--rojo-tinta) !important; }
main section.border-t.border-b{ background:var(--papel) !important; border-color:var(--filete) !important; }
section.bg-white.border-t.border-b{
  background:var(--rinceau) center top/48px 14px repeat-x, var(--rinceau) center bottom/48px 14px repeat-x, var(--marfil-2) !important;
  border-color:var(--filete) !important; padding-top:2.4rem; padding-bottom:2.4rem;
}
section.bg-white.border-t.border-b div.flex.flex-col.items-center{
  background:var(--papel); border:1px solid var(--filete); border-radius:28px; padding:1.4rem 1rem 1.1rem;
  outline:1px solid rgba(168,121,44,.35); outline-offset:-7px;
  box-shadow:0 18px 30px -24px rgba(43,22,20,.5);
}
section.bg-white.border-t.border-b div.w-16.h-16.rounded-full{
  background:var(--rojo-velo) !important; border:1px solid var(--oro); box-shadow:0 0 0 4px var(--papel), 0 0 0 5px var(--filete);
}
section.bg-white.border-t.border-b div.w-16.h-16.rounded-full svg{ color:var(--rojo-tinta) !important; }
section.bg-white.border-t.border-b p{ color:var(--tinta) !important; }
nav[aria-label] a[style*="border-left"]{
  border-left-color:var(--rojo) !important; color:var(--tinta) !important; border-radius:0 14px 14px 0; background:var(--papel);
}
nav[aria-label] a[style*="border-left"]:hover{ background:var(--rojo-velo) !important; }
nav[aria-label] a:not([style*="border-left"]){ color:var(--tinta-2); }

/* ===================== CTA : plat rouge profond au lustre doré ===================== */
main section.text-center.rounded-2xl{
  position:relative; overflow:hidden !important;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(226,194,122,.30) 0%, rgba(226,194,122,0) 60%),
    radial-gradient(120% 120% at 50% 50%, #a52020 0%, var(--rojo-hondo) 75%) !important;
  border:0 !important; border-radius:36px !important;
  box-shadow:inset 0 0 0 10px var(--rojo-hondo), inset 0 0 0 11px var(--oro-claro), inset 0 0 0 26px rgba(127,23,23,0), 0 34px 56px -30px var(--rojo-luz) !important;
  padding:5.4rem 1.6rem 2.6rem !important;
}
main section.text-center.rounded-2xl::before{
  content:""; position:absolute; left:22px; right:22px; top:24px; height:14px; pointer-events:none;
  background:var(--rinceau-oro) center/48px 14px repeat-x; opacity:.85;
}
main section.text-center.rounded-2xl::after{
  content:""; position:absolute; left:50%; top:24px; width:44px; height:44px; margin-left:-22px; margin-top:-15px; pointer-events:none;
  background:var(--corazon) center/22px 22px no-repeat, var(--marfil); border-radius:50%;
  box-shadow:0 0 0 2px var(--oro-claro), 0 0 0 7px var(--rojo-hondo), 0 0 0 8px rgba(226,194,122,.6);
}
main section.text-center.rounded-2xl h2{ color:var(--marfil) !important; font-family:var(--serif); font-weight:700 !important; }
main section.text-center.rounded-2xl p{ color:#f6e6d3 !important; }
main section.text-center.rounded-2xl button{
  background:var(--marfil) !important; color:var(--rojo-tinta) !important; font-weight:700 !important;
  border-radius:999px !important; min-height:52px; padding-inline:2.4rem !important; border:1px solid var(--oro-claro) !important;
  box-shadow:0 0 0 4px rgba(226,194,122,.25), 0 16px 28px -14px rgba(0,0,0,.55) !important; transition:transform .2s ease, background .2s ease;
}
main section.text-center.rounded-2xl button:hover{ transform:translateY(-2px); background:#fff !important; }
@media (min-width:992px){
  main section.text-center.rounded-2xl{ max-width:760px; margin-left:auto !important; margin-right:auto !important; }
}

/* ===================== FAQ ===================== */
main section:has(> div.space-y-0){ border-radius:26px !important; }
main div.space-y-0 > div{ border-color:var(--filete) !important; }
main div.space-y-0 h3, main div.space-y-0 button{ color:var(--tinta) !important; }
main div.space-y-0 button:hover{ background:var(--rojo-velo) !important; }
main div.space-y-0 svg{ color:var(--rojo-tinta) !important; }
main div.space-y-0 p{ color:var(--tinta-2) !important; }

button.fixed.bottom-6.right-6{
  background:var(--rojo-boton) !important; color:#fff !important; border-radius:50% !important;
  box-shadow:0 0 0 2px var(--oro-claro), 0 12px 22px -10px rgba(183,28,28,.8) !important; border:2px solid var(--rojo-boton) !important;
}

/* ===================== FOOTER : carte centrée (assiette ivoire à double filet) ===================== */
footer.border-t{
  background:var(--rinceau) center top/48px 14px repeat-x, var(--marfil-2) !important;
  border-top:1px solid var(--filete) !important; padding-top:14px;
}
footer.border-t > .container{
  max-width:980px !important; margin:2.2rem auto 2rem !important; padding:2.2rem 2rem 1.4rem !important;
  background:var(--papel); border:1px solid var(--oro); border-radius:34px; text-align:center;
  box-shadow:inset 0 0 0 7px var(--papel), inset 0 0 0 8px var(--filete), 0 30px 50px -36px rgba(43,22,20,.5);
}
footer .grid.mb-8{ gap:1.4rem 1.6rem !important; margin-bottom:1.2rem !important; justify-items:center; }
footer .grid.mb-8 > div{ min-width:0; width:100%; }
footer .grid.mb-8 > div:first-child h3{ display:flex; flex-direction:column; align-items:center; gap:.5rem; font-size:1.5rem !important; }
footer .grid.mb-8 > div:first-child h3::before{ content:""; width:40px; height:40px; background:var(--plato) center/contain no-repeat; }
@media (min-width:1024px){
  footer .grid.mb-8{ grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.4fr) !important; }
}
footer .grid.mb-8 > div:last-child ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:.3rem .9rem; }
footer .grid.mb-8 > div:last-child ul > li{ margin-top:0 !important; min-width:0; }
footer .grid.mb-8 > div:last-child ul a{ display:inline-block; white-space:nowrap; }
footer ul.space-y-2\.5 > li + li{ margin-top:.25rem !important; }
footer h3.mb-4{ margin-bottom:.6rem !important; }
footer h3.font-semibold, footer h3[style]{ color:var(--rojo-tinta) !important; font-family:var(--serif); }
footer h3.text-sm.font-semibold{ color:var(--tinta) !important; letter-spacing:.1em; font-size:.74rem !important; font-family:inherit; }
footer h3.text-sm.font-semibold::after{ content:""; display:block; width:36px; height:1px; margin:.45rem auto 0; background:var(--oro); }
footer p, footer .text-zinc-500, footer .text-zinc-600{ color:var(--tinta-2) !important; }
footer a{ color:var(--tinta) !important; font-size:.86rem !important; transition:color .2s; }
footer a:hover{ color:var(--rojo-tinta) !important; }
footer .border-t.border-zinc-200{ border-top:1px solid var(--filete) !important; padding-top:1rem !important; }
footer .border-t.border-zinc-200 .md\:text-left{ text-align:center !important; }
@media (max-width:767px){
  footer.border-t > .container{ margin:1.6rem 14px 1.4rem !important; padding:1.8rem 1.1rem 1.2rem !important; border-radius:28px; width:auto !important; }
}

/* ===================== MENU MOBILE ===================== */
@media (max-width:767px){
  .ds-mburger{ background:var(--papel); color:var(--rojo-tinta); border:1px solid var(--oro); border-radius:50%; box-shadow:0 0 0 2px var(--papel), 0 0 0 3px var(--filete), 0 6px 14px -8px rgba(43,22,20,.5); }
  .ds-mburger span{ background:var(--rojo-tinta); }
  .ds-moverlay{ background:rgba(43,22,20,.55); }
  .ds-mdrawer{ background:var(--marfil); color:var(--tinta); }
  .ds-mhead{
    background:radial-gradient(90% 140% at 70% 30%, rgba(226,194,122,.28) 0%, rgba(226,194,122,0) 60%), linear-gradient(160deg,#a52020,var(--rojo-hondo));
    color:var(--marfil); border-bottom:0; padding-top:18px; padding-bottom:22px; position:relative;
  }
  .ds-mhead::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:10px; background:var(--rinceau-oro) center/36px 10px repeat-x; }
  .ds-mbrand{ background:var(--marfil); color:var(--rojo-tinta); font-family:var(--serif); font-weight:700; padding:.35rem .95rem; border-radius:999px; box-shadow:0 0 0 1px var(--oro-claro); }
  .ds-mclose{ background:var(--marfil); color:var(--rojo-tinta); }
  .ds-msec-t{ color:var(--rojo-tinta); opacity:1; font-weight:700; }
  .ds-msec-t::before{ content:""; display:inline-block; width:12px; height:12px; margin-right:.45rem; vertical-align:-1px; background:var(--flor) center/contain no-repeat; }
  .ds-mlink{ min-height:40px; display:inline-flex; align-items:center; background:var(--papel); border-color:var(--filete); color:var(--tinta); border-radius:999px; }
  .ds-mnav .ds-mlink{ background:var(--rojo-velo); border-color:var(--rojo-borde); color:var(--rojo-tinta); }
  .ds-mcta{ background:var(--rojo-boton); color:#fff; border-radius:999px; box-shadow:0 0 0 2px var(--oro-claro), 0 12px 22px -12px rgba(183,28,28,.85); }
  main section.text-center.rounded-2xl{ border-radius:28px !important; padding-top:4.8rem !important; }
}

/* fiche profil : couleurs/rayons seulement */
.pm-modal{ border-radius:22px !important; }
.pm-modal .pm-cta button{ background:var(--rojo-boton) !important; color:#fff !important; border-radius:999px !important; box-shadow:0 12px 22px -14px rgba(183,28,28,.8) !important; }

@media (prefers-reduced-motion: reduce){
  main div.flex-shrink-0.w-40, main div.flex-shrink-0.w-40 img, header.sticky a.font-bold[href="/"]::before,
  main section.text-center.rounded-2xl button, header.sticky nav .relative > button, footer a, main a.rounded-full,
  header.sticky .flex.h-16 > div.hidden.md\:flex:last-child button{ transition:none !important; }
  main div.flex-shrink-0.w-40:hover, main div.flex-shrink-0.w-40:hover img, main section.text-center.rounded-2xl button:hover,
  header.sticky a.font-bold[href="/"]:hover::before{ transform:none; translate: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__ */
