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

/* rencontre-trav.be — registre « prune et perle » : perle #f7f1f4 + prune #7a3e9d + encre.
   Signature : rubans à bouts entaillés, nœuds fins (SVG inline), filet ondulé ; arrondis 16 px.
   Composition : header en deux rangées, logo centré au-dessus d'un ruban de navigation ;
   villes en rubans ; âge en ruban suspendu ; CTA carte nouée ; footer perle, carte centrale. */
html:root{
  --rt-prune:#7a3e9d; --rt-prune-d:#5e2c7c; --rt-perle:#f7f1f4; --rt-perle2:#efe4ec; --rt-card:#fffafc;
  --rt-ink:#241a2b; --rt-mut:#5b4d62; --rt-bord:#e4d5e0;
  --primary:#241a2b; --secondary:#7a3e9d; --text:#241a2b; --text-muted:#5b4d62; --border:#e4d5e0;
  --bg:#f7f1f4; --bg-alt:#efe4ec; --bg-card:#fffafc;
  --rt-noeud:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 22'%3E%3Cg fill='none' stroke='%237a3e9d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10C12 4 4 2 3 6s4 8 13 4zM16 10c4-6 12-8 13-4s-4 8-13 4z'/%3E%3Cpath d='M15 11l-3.5 8M17 11l3.5 8'/%3E%3C/g%3E%3Ccircle cx='16' cy='10' r='2.1' fill='%237a3e9d'/%3E%3C/svg%3E");
  --rt-noeud-b:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 22'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10C12 4 4 2 3 6s4 8 13 4zM16 10c4-6 12-8 13-4s-4 8-13 4z'/%3E%3Cpath d='M15 11l-3.5 8M17 11l3.5 8'/%3E%3C/g%3E%3Ccircle cx='16' cy='10' r='2.1' fill='%23ffffff'/%3E%3C/svg%3E");
  --rt-onde:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4c5-4 15-4 20 0s15 4 20 0' fill='none' stroke='%237a3e9d' stroke-width='1.2' opacity='.55'/%3E%3C/svg%3E");
  --rt-ruban:polygon(0 0,100% 0,calc(100% - 11px) 50%,100% 100%,0 100%,11px 50%);
}
body{background:var(--rt-perle);color:var(--rt-ink);}
.bg-gradient{background:var(--rt-perle)!important;}
a{color:var(--rt-prune-d);}
.rt-serif,.page-header h1,.section h2,.cta-section h2,.site-header .header-logo,.site-footer .footer-col-brand h3{font-family:Georgia,"Times New Roman",serif;}

/* ---------- header : deux rangées, logo centré, ruban de navigation dessous ---------- */
.site-header{background:var(--rt-card);color:var(--rt-ink);border-bottom:1px solid var(--rt-bord);box-shadow:0 10px 30px rgba(122,62,157,.08);}
.site-header .logo,.site-header .header-logo{color:var(--rt-ink)!important;font-weight:600;letter-spacing:.005em;}
.site-header .header-logo:hover{color:var(--rt-prune)!important;}
.header-hamburger{background:var(--rt-perle)!important;border-radius:14px!important;}
.header-hamburger span{background:var(--rt-ink)!important;}
@media (max-width:991px){
  .site-header .header-logo{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:1.02rem;line-height:1.15;}
  .site-header .header-logo::before{content:"";width:30px;height:20px;background:var(--rt-noeud) center/30px 20px no-repeat;}
}
@media (min-width:992px){
  .tpl-header-2 .site-header,.site-header{padding:12px 0 0;}
  .site-header > .header-inner.container{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);row-gap:10px;}
  .site-header > .header-inner.container::before{content:"";grid-row:1;grid-column:1;align-self:center;height:8px;margin-right:24px;background:var(--rt-onde) repeat-x left center/40px 8px;}
  .site-header .header-logo{grid-row:1;grid-column:2;justify-self:center;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:1.55rem;}
  .site-header .header-logo::before{content:"";width:40px;height:27px;background:var(--rt-noeud) center/40px 27px no-repeat;}
  .site-header .header-actions{grid-row:1;grid-column:3;justify-self:end;}
  .site-header .header-nav-desktop{display:flex;grid-row:2;grid-column:1/-1;justify-self:stretch;justify-content:center;gap:10px;padding:10px 0 12px;border-top:1px solid var(--rt-bord);}
  .site-header .header-nav-toggle{color:var(--rt-ink);background:var(--rt-perle);border:0;border-radius:0;clip-path:var(--rt-ruban);padding:9px 30px;font-weight:600;}
  .site-header .header-nav-toggle:hover,.site-header .header-nav-group.open .header-nav-toggle{color:#fff;background:var(--rt-prune);}
  .site-header .header-nav-dropdown{background:var(--rt-card);border:1px solid var(--rt-bord);border-radius:16px;box-shadow:0 22px 44px rgba(36,26,43,.14);}
  .site-header .header-nav-dropdown a{color:var(--rt-ink)!important;border-radius:10px;}
  .site-header .header-nav-dropdown a:hover{background:var(--rt-perle);color:var(--rt-prune-d)!important;}
  .site-header .header-nav-more{color:var(--rt-prune-d)!important;font-weight:600;}
  .site-header .btn-header.header-auth-btn{padding:10px 26px!important;min-height:44px;font-size:1rem!important;}
}
.site-header .btn-header,.btn-header{background:var(--rt-prune)!important;color:#fff!important;border-radius:16px!important;box-shadow:0 10px 22px rgba(122,62,157,.3);font-weight:700;transition:transform .2s,box-shadow .2s;}
.site-header .btn-header:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(122,62,157,.38);filter:none;}

/* bandeau d'accueil mobile : carte perle, pas d'aplat en capitales */
.header-guest-cta{background:radial-gradient(120% 90% at 50% 0%,#fff 0%,var(--rt-perle2) 100%)!important;color:var(--rt-ink)!important;border-bottom:1px solid var(--rt-bord)!important;}
.header-guest-cta-inner{padding:14px 0 16px;}
.header-guest-cta-online{color:var(--rt-ink)!important;font-family:Georgia,"Times New Roman",serif;text-transform:none;letter-spacing:0;font-weight:600;font-size:1.35rem;}
.header-guest-cta .header-guest-cta-button{background:var(--rt-prune);color:#fff!important;border:0;border-radius:16px;text-transform:none;letter-spacing:0;min-height:46px;box-shadow:0 10px 22px rgba(122,62,157,.3);}
.header-guest-cta-note{color:var(--rt-mut)!important;text-transform:none;font-weight:600;}

/* ---------- titres calmes, nœud sous le H1 ---------- */
h1,h2,h3{color:var(--rt-ink);}
.page-header{text-align:center;}
.page-header h1{font-weight:600;letter-spacing:-.005em;}
.page-header h1::after{content:"";display:block;width:200px;height:24px;margin:12px auto 0;background:var(--rt-noeud) center/36px 24px no-repeat,linear-gradient(var(--rt-prune),var(--rt-prune)) left center/36% 1px no-repeat,linear-gradient(var(--rt-prune),var(--rt-prune)) right center/36% 1px no-repeat;opacity:.85;}
.section h2,.info-duo-title,.section-header h2,.section .info-duo-title{color:var(--rt-ink)!important;font-weight:600;}
.info-duo-title svg{color:var(--rt-prune);}
.home-intro-text,.home-intro-body,.seo-text,.seo-text p,.section-header p{color:var(--rt-mut);}
.section{padding-top:2.3rem;padding-bottom:2.3rem;}
.btn-map-toggle,.btn-voir-plus,.home-intro-toggle{background:var(--rt-card)!important;color:var(--rt-ink)!important;border:1px solid var(--rt-bord)!important;border-radius:16px!important;}
.map-card,.ville-map-card{background:var(--rt-card);border:1px solid var(--rt-bord);border-radius:16px;box-shadow:0 10px 26px rgba(122,62,157,.07);}
.ville-map-badge{background:var(--rt-prune)!important;color:#fff!important;border-radius:16px;}

/* ---------- cartes profil : photo cadrée, âge en ruban suspendu ---------- */
.profile-card{background:var(--rt-card);border:1px solid var(--rt-bord);border-radius:16px;padding:7px;box-shadow:0 12px 28px rgba(122,62,157,.09);transition:transform .25s,box-shadow .25s;}
.profile-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(122,62,157,.2);}
.profile-card-media{border-radius:12px;overflow:hidden;}
.profile-card-media img{transition:transform .6s ease;}
.profile-card:hover .profile-card-media img{transform:scale(1.05);}
.profile-card .profile-age-badge{top:0;right:14px;left:auto;bottom:auto;border-radius:0;padding:9px 9px 15px;min-width:40px;text-align:center;line-height:1.05;
  clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);background:var(--rt-prune);color:#fff;font-size:.74rem;font-weight:700;box-shadow:none;}
.profile-card .profile-badge{background:var(--rt-card);color:var(--rt-prune-d);border-radius:16px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.14);}
.profile-headline{color:var(--rt-ink)!important;font-weight:700;}
.profile-bio,.profile-location-line,.profile-location-label{color:var(--rt-mut)!important;}
.profile-bio-name{color:var(--rt-ink)!important;}
a.profile-location-value{color:var(--rt-prune-d)!important;font-weight:600;}

/* ---------- filtres (tri) ---------- */
.filters .filter-btn,.filters .ds-fsel{background:var(--rt-card)!important;color:var(--rt-ink)!important;border:1px solid var(--rt-bord)!important;border-radius:16px!important;min-height:42px;padding:8px 18px;}
.filters select.ds-fsel{padding-right:2.3em;}
.filters .filter-btn:hover{border-color:var(--rt-prune)!important;color:var(--rt-ink)!important;}
.filters .filter-btn.active{background:var(--rt-prune)!important;border-color:var(--rt-prune)!important;color:#fff!important;font-weight:700;}
.pagination a,.pagination span{border-radius:12px;color:var(--rt-ink);background:var(--rt-card);border-color:var(--rt-bord);}
.pagination .active{background:var(--rt-prune)!important;color:#fff!important;border-color:var(--rt-prune)!important;}

/* ---------- boutons ---------- */
.btn.btn-primary,.btn-primary{background:var(--rt-prune);border-color:var(--rt-prune);color:#fff;border-radius:16px;font-weight:700;box-shadow:0 12px 26px rgba(122,62,157,.3);}
.btn.btn-primary:hover{background:var(--rt-prune-d);color:#fff;}
.btn-outline,.btn-secondary{color:var(--rt-ink);border:1.5px solid var(--rt-ink);background:transparent;border-radius:16px;}

/* ---------- CTA : carte nouée, centrée ---------- */
.cta-section{background:linear-gradient(90deg,transparent calc(50% - 8px),rgba(122,62,157,.16) calc(50% - 8px) calc(50% + 8px),transparent calc(50% + 8px)) center top/100% 2.6rem no-repeat,radial-gradient(130% 100% at 50% 0%,#fff 0%,var(--rt-perle2) 100%)!important;
  color:var(--rt-ink);border:1px solid var(--rt-bord);border-radius:22px;padding:2.4rem 1.6rem 2.3rem!important;margin:2.5rem auto!important;max-width:600px;width:100%;text-align:center;box-shadow:0 18px 40px rgba(122,62,157,.13);}
.cta-section::before{content:"";display:block;width:62px;height:42px;margin:0 auto 10px;background:var(--rt-noeud) center/62px 42px no-repeat;}
.cta-section h2{color:var(--rt-ink)!important;font-size:1.6rem;font-weight:600;}
.cta-section p{color:var(--rt-mut)!important;}
.cta-section .btn{min-height:48px;}
/* un seul CTA par zone : le bloc pré-footer part */
.footer-signup-cta{display:none!important;}

/* ---------- bandeau défilant : un ruban prune ---------- */
.scrolling-bar{background:var(--rt-prune)!important;padding:11px 0!important;border-top:1px solid var(--rt-prune-d);border-bottom:1px solid var(--rt-prune-d);}
.scrolling-bar a{color:#fff!important;font-weight:600;display:inline-flex;align-items:center;gap:10px;}
.scrolling-bar a::before{content:"";width:22px;height:15px;background:var(--rt-noeud-b) center/22px 15px no-repeat;opacity:.85;}
.scrolling-bar a:hover{color:#fff!important;text-decoration:underline;}

/* ---------- villes en rubans ---------- */
.search-box input,.search-input{background:var(--rt-card);color:var(--rt-ink);border:1px solid var(--rt-bord);border-radius:16px;}
.links-grid{gap:10px 12px;}
.links-grid .link-tag{background:linear-gradient(180deg,#f3e8f0 0 48%,#ead9e6 48% 100%);color:var(--rt-ink)!important;border:0;border-radius:0;clip-path:var(--rt-ruban);padding:10px 22px;font-weight:600;transition:background .2s,color .2s;}
.links-grid .link-tag::before{content:"";width:20px;height:14px;background:var(--rt-noeud) center/20px 14px no-repeat;border-radius:0;flex:0 0 20px;}
.links-grid .link-tag:hover{background:var(--rt-prune);color:#fff!important;transform:none;box-shadow:none;}
.links-grid .link-tag:hover::before{background:var(--rt-noeud-b) center/20px 14px no-repeat;}
.link-chip{background:var(--rt-card);color:var(--rt-ink);border-color:var(--rt-bord);border-radius:16px;}
.link-chip:hover{border-color:var(--rt-prune);color:var(--rt-prune-d);}
@media (max-width:768px){.links-grid .link-tag{padding:9px 16px;}}

/* ---------- FAQ, météo, réassurance ---------- */
.accordion-item,details.accordion-item{background:var(--rt-card);border:1px solid var(--rt-bord);border-radius:16px;margin-bottom:10px;box-shadow:0 4px 14px rgba(36,26,43,.04);}
details.accordion-item[open]{border-color:var(--rt-prune);box-shadow:inset 4px 0 0 var(--rt-prune),0 8px 20px rgba(122,62,157,.1);}
.accordion-header{color:var(--rt-ink)!important;font-weight:600;}
.accordion-body,.accordion-body *{color:var(--rt-mut)!important;}
.weather-card{background:var(--rt-card)!important;border:1px solid var(--rt-bord);border-radius:16px;color:var(--rt-ink);}
.weather-card *{color:var(--rt-ink)!important;}
.weather-card .weather-k,.weather-card .weather-label,.weather-card .weather-foot,.weather-card .weather-status{color:var(--rt-mut)!important;}
.weather-item{background:var(--rt-perle)!important;border-radius:12px;border:0;}
.trust-badges{background:var(--rt-perle2)!important;}
.trust-item{background:var(--rt-card)!important;border:1px solid var(--rt-bord);border-radius:16px;box-shadow:0 8px 20px rgba(122,62,157,.06);}
.trust-icon{color:var(--rt-prune)!important;}
.trust-title{color:var(--rt-ink)!important;}
.trust-desc{color:var(--rt-mut)!important;}
.trust-carousel-btn{background:var(--rt-card)!important;color:var(--rt-ink)!important;border:1px solid var(--rt-bord)!important;}
@media (min-width:769px){.trust-badges .trust-grid > .trust-item:nth-child(n+6){display:none;}}
button.back-to-top{background:var(--rt-prune)!important;color:#fff!important;border-radius:16px;box-shadow:0 10px 22px rgba(122,62,157,.3);}

/* ---------- barre mobile : perle, onglet actif en ruban ---------- */
.mobile-public-nav{background:var(--rt-card)!important;border-top:1px solid var(--rt-bord)!important;box-shadow:0 -8px 24px rgba(122,62,157,.12);}
.mobile-public-nav a{color:var(--rt-mut)!important;}
.mobile-public-nav a.active{color:var(--rt-prune-d)!important;background:var(--rt-perle);}
.mobile-public-nav a.active::before{background:var(--rt-prune)!important;}

/* ---------- footer perle : carte centrale ---------- */
.site-footer{background:var(--rt-perle)!important;color:var(--rt-mut);border-top:1px solid var(--rt-bord);}
.site-footer .footer-grid{background:var(--rt-card);border:1px solid var(--rt-bord);border-radius:22px;padding:26px 24px;box-shadow:0 16px 36px rgba(122,62,157,.08);}
.site-footer .footer-col-brand{text-align:center;}
.site-footer .footer-col-brand h3{color:var(--rt-ink)!important;font-weight:600;}
.site-footer .footer-col-brand h3::before{content:"";display:block;width:36px;height:24px;margin:0 auto 8px;background:var(--rt-noeud) center/36px 24px no-repeat;}
.site-footer .footer-tagline{color:var(--rt-mut)!important;}
.site-footer .footer-toggle,.site-footer .footer-toggle span{color:var(--rt-ink)!important;}
.site-footer .footer-chevron{color:var(--rt-prune)!important;}
.site-footer .footer-col a{color:var(--rt-mut)!important;}
.site-footer .footer-col a:hover{color:var(--rt-prune-d)!important;}
.site-footer .footer-bottom{color:var(--rt-mut);border-top:0;text-align:center;}
@media (min-width:769px){
  .site-footer .footer-grid{max-width:920px;margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px;}
  .site-footer .footer-col-brand{grid-column:1/-1;padding-bottom:16px;margin-bottom:4px;background:var(--rt-onde) repeat-x center bottom/40px 8px;}
  .site-footer .footer-col-brand .footer-tagline{max-width:520px;margin-left:auto;margin-right:auto;}
  .site-footer .footer-col-accordion{text-align:center;}
}
@media (max-width:768px){
  .site-footer .footer-grid{padding:20px 16px;}
  .site-footer .footer-col-brand{padding-bottom:12px;border-bottom:1px solid var(--rt-bord);}
  .site-footer .footer-col-accordion{border-bottom:1px solid var(--rt-bord);}
  .site-footer .footer-col-accordion:last-child{border-bottom:0;}
}

/* ---------- menu mobile (tiroir) : rangées nettes, liseré ruban ---------- */
.header-drawer{background:var(--rt-perle)!important;color:var(--rt-ink);}
.header-drawer .header-drawer-head{background:var(--rt-card)!important;color:var(--rt-ink)!important;border-bottom:1px solid var(--rt-bord);}
.header-drawer .header-drawer-head strong{color:var(--rt-ink)!important;display:flex;align-items:center;gap:10px;font-family:Georgia,"Times New Roman",serif;font-size:1.2rem;font-weight:600;}
.header-drawer .header-drawer-head strong::before{content:"";width:30px;height:20px;background:var(--rt-noeud) center/30px 20px no-repeat;}
.header-drawer .header-drawer-close{background:var(--rt-prune)!important;color:#fff!important;width:42px;height:42px;border-radius:14px!important;}
.header-drawer-search .search-input{background:var(--rt-card)!important;color:var(--rt-ink)!important;border:1px solid var(--rt-bord)!important;border-radius:16px!important;min-height:44px;}
.header-drawer .header-drawer-section{border-color:var(--rt-bord)!important;}
.header-drawer .header-drawer-toggle{color:var(--rt-ink)!important;background:transparent!important;font-weight:700;min-height:46px;}
.header-drawer .header-drawer-chevron{color:var(--rt-prune)!important;}
.header-drawer .header-drawer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.header-drawer a.header-drawer-link{background:var(--rt-card)!important;color:var(--rt-ink)!important;border:1px solid var(--rt-bord)!important;border-left:4px solid var(--rt-prune)!important;border-radius:12px!important;
  min-height:44px;padding:10px 12px!important;font-size:.92rem;font-weight:600;box-shadow:0 3px 10px rgba(122,62,157,.06);min-width:0;overflow-wrap:anywhere;}
.header-drawer a.header-drawer-link:hover{background:#fff!important;color:var(--rt-prune-d)!important;}
.header-drawer .header-drawer-more{color:var(--rt-prune-d)!important;border-left-style:dashed!important;}
.header-drawer-footer{background:var(--rt-card);border-top:1px solid var(--rt-bord);}
.header-drawer a.header-drawer-cta{background:var(--rt-card)!important;color:var(--rt-ink)!important;border:1.5px solid var(--rt-ink)!important;border-radius:16px!important;min-height:48px;}
.header-drawer a.header-drawer-cta.header-drawer-cta-primary{background:var(--rt-prune)!important;border-color:var(--rt-prune)!important;color:#fff!important;box-shadow:0 10px 22px rgba(122,62,157,.3);}

/* ---------- pop-ups : couleurs, bordures, rayons ---------- */
#profileModal .modal-content{--text:#241a2b;--text-muted:#5b4d62;--bg-card:#fffafc;--bg-alt:#f7f1f4;--bg:#fffafc;--border:#e4d5e0;--secondary:#7a3e9d;--primary:#241a2b;background:var(--rt-card);color:var(--rt-ink);border-radius:18px;}
#profileModal .modal-actions .modal-contact-btn,#profileModal .modal-contact-btn{background:var(--rt-prune)!important;border-color:var(--rt-prune)!important;color:#fff!important;border-radius:16px!important;font-weight:700;}
#profileModal .modal-actions .modal-fav-btn{color:var(--rt-ink)!important;border-color:var(--rt-bord)!important;background:transparent!important;border-radius:16px!important;}
.btn-cta-overlay{background:var(--rt-prune)!important;color:#fff!important;border-radius:16px!important;}
#profileModal .modal-header-block{border-bottom-color:var(--rt-prune)!important;}
.signup-popup{background:var(--rt-card);color:var(--rt-ink);border-radius:20px;--text:#241a2b;--text-muted:#5b4d62;--bg-card:#fffafc;--bg-alt:#f7f1f4;--border:#e4d5e0;--secondary:#7a3e9d;}
.age-gate .age-gate-content{background:var(--rt-card);color:var(--rt-ink);border-radius:22px;border:1px solid var(--rt-bord);box-shadow:0 24px 60px rgba(36,26,43,.3);}
.age-gate .age-gate-content::before{content:"";display:block;width:52px;height:35px;margin:0 auto 12px;background:var(--rt-noeud) center/52px 35px no-repeat;}
.age-gate .age-gate-content h2{color:var(--rt-ink);}

@media (prefers-reduced-motion:reduce){
  .profile-card,.profile-card-media img,.site-header .btn-header,.links-grid .link-tag{transition:none!important;}
  .profile-card:hover,.profile-card:hover .profile-card-media img,.site-header .btn-header:hover{transform:none!important;}
}

/* ---------- recette PHP · villes-bas (copiée telle quelle) ---------- */
body.design-v-villes-bas .bg-gradient > .container { display: flex; flex-direction: column; }
body.design-v-villes-bas .bg-gradient > .container > * { order: 6; }
body.design-v-villes-bas .bg-gradient > .container > .page-header { order: 0; }
body.design-v-villes-bas .bg-gradient > .container > section:has(.profile-grid) { order: 1; }
body.design-v-villes-bas .bg-gradient > .container > .ds-bloc { order: 2; }
body.design-v-villes-bas .bg-gradient > .container > .cta-section { order: 3; }
body.design-v-villes-bas .bg-gradient > .container > section:has(.accordion) { order: 4; }
body.design-v-villes-bas .bg-gradient > .container > section:has(.weather-card) { order: 5; }

/* tour 2 : rubans à leur largeur naturelle (desktop), footer centré, cartes mobiles plus calmes */
@media (min-width:769px){
  .links-grid{display:flex;flex-wrap:wrap;gap:12px 10px;}
  .links-grid .link-tag{flex:0 0 auto;padding:10px 26px 10px 22px;}
  .site-footer .footer-col-accordion .footer-toggle{justify-content:center!important;text-align:center!important;width:100%;gap:8px;}
  .site-footer .footer-col-accordion .footer-toggle > span:first-child{flex:0 1 auto!important;text-align:center!important;}
}
@media (max-width:768px){
  .profile-card{padding:5px;}
  .profile-headline{font-size:.92rem;line-height:1.3;}
}
/* 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__ */
