
/* __DESIGN_SITE__ */
/* socle filtres (ajouté par design_site.py) */
html:not(#_) .ds-hide{ display: none !important; }
html:not(#_) body[data-ds-filtres="aucun"] .filters{ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-genre"] .filters .filter-btn[data-filter="type"]{ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-age"] .filters .filter-btn[data-filter="age"]{ display: none !important; }
html:not(#_) 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; }
html:not(#_) body[data-ds-filtres="ligne"] .filters::-webkit-scrollbar{ display: none; }
html:not(#_) body[data-ds-filtres="ligne"] .filters .filter-btn{ flex: 0 0 auto; white-space: nowrap; }
html:not(#_) .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; }
html:not(#_) .filters .ds-fgroup{ display: contents; }
/* Next : barre React (div.shadow-sm > div.scrollbar-hide > .form-group > select ×2 + bouton Recherche) */
html:not(#_) body[data-ds-filtres="aucun"] div.rounded-lg.shadow-sm:has(> div.scrollbar-hide > div.form-group > select){ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-genre"] div.scrollbar-hide > div.form-group:first-child:has(> select){ display: none !important; }
html:not(#_) body[data-ds-filtres="sans-tri"] div.scrollbar-hide > div.form-group:nth-child(2):has(> select){ display: none !important; }
html:not(#_) 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é) */
html:not(#_) .ds-fnext{ display: flex; gap: 8px; flex-wrap: nowrap; }
html:not(#_) .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; }
html:not(#_) .ds-fnext .ds-fchip.active{ background: var(--secondary-color, #18181b); color: #fff; border-color: transparent; }

/* socle menu mobile Astro (ajouté par design_site.py) */
/* 19/09 : la croix du tiroir (label x injecte dans .sidebar-inner) n'etait cachee QUE sous 768 px -> visible en haut
   de la sidebar desktop (3 agents du lot 22 l'ont masquee a la main). Cachee hors tiroir, toutes largeurs. */
html:not(#_) .ds-menu-close{ display: none; }
@media (max-width: 768px) {
  html:not(#_) .ds-burger{ display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 34px; padding: 0 9px; margin-right: 8px; cursor: pointer; border-radius: 8px; color: inherit; flex-shrink: 0; }
  html:not(#_) .ds-burger span{ display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(2){ opacity: 0; }
  html:not(#_) body:has(#ds-menu:checked) .ds-burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
  html:not(#_) .ds-menu-overlay{ display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1290; }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-overlay{ display: block; }
  html:not(#_) .ds-menu-close{ display: none; }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar{ display: block !important; position: fixed !important; top: 0 !important; left: 0; bottom: 0; height: auto !important; width: min(86vw, 340px) !important; max-width: none; margin: 0 !important; padding: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 1300; overflow-y: auto !important; max-height: 100vh; max-height: 100dvh; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; border-radius: 0; box-shadow: 8px 0 30px rgba(0,0,0,.35); }
  html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{ display: flex; align-items: center; justify-content: center; position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
  html:not(#_) body:has(#ds-menu:checked) aside.sidebar .sidebar-inner{ height: auto; min-height: 100%; }
  html:not(#_) body:has(#ds-menu:checked){ overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { html:not(#_) .ds-burger span{ transition: none; } }

/* cruisinggay.be — registre « bleu marine & pavés » : sable + bleu #2964ae + encre ; pavés décalés en filet, angles 4 px */
html:not(#_):root{
  --cg-acc:#2964ae; --cg-acc-d:#1d4b85; --cg-nav:#16243a; --cg-sab:#f3ede1; --cg-sab2:#e9e0cf; --cg-card:#fffcf6;
  --cg-ink:#1b2333; --cg-mut:#4b5466;
  --primary:#2964ae; --secondary:#1d4b85; --text:#1b2333; --text-muted:#4b5466; --border:#ddd2bd;
  --bg:#f3ede1; --bg-alt:#e9e0cf; --bg-card:#fffcf6;
  --cg-paves:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 14'%3E%3Cg fill='none' stroke='%232964ae' stroke-width='1.4'%3E%3Crect x='1' y='1' width='9' height='5' rx='1'/%3E%3Crect x='13' y='1' width='9' height='5' rx='1'/%3E%3Crect x='25' y='1' width='9' height='5' rx='1'/%3E%3Crect x='7' y='8' width='9' height='5' rx='1'/%3E%3Crect x='19' y='8' width='9' height='5' rx='1'/%3E%3Crect x='31' y='8' width='9' height='5' rx='1'/%3E%3C/g%3E%3C/svg%3E");
}
html:not(#_) body{background:var(--cg-sab);color:var(--cg-ink);}

/* ---------- sidebar desktop : logo centré, nav en grille centrée dessous ---------- */
html:not(#_) .sidebar{background:var(--cg-sab2);border-right:0;box-shadow:8px 0 30px rgba(22,36,58,.08);}
html:not(#_) .sidebar-inner{background:transparent;}
html:not(#_) .sb-logo{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:22px 12px 10px;}
html:not(#_) .sb-logo-dot{background:var(--cg-acc)!important;color:#fff!important;border-radius:4px;transform:rotate(45deg);}
html:not(#_) .sb-logo-dot svg{transform:rotate(-45deg);}
html:not(#_) .sb-logo-text{color:var(--cg-nav)!important;font-weight:700;font-size:1.15rem;letter-spacing:.01em;}
html:not(#_) .sb-logo::after{content:"";display:block;width:56px;height:14px;background:var(--cg-paves) no-repeat center/contain;}
html:not(#_) .sb-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px 12px 14px;}
html:not(#_) .sb-link{flex-direction:column;justify-content:center;text-align:center;gap:4px;color:var(--cg-ink);background:var(--cg-card);
  border:1px solid var(--border);border-radius:4px;padding:10px 6px;font-size:.82rem;transition:background .2s,color .2s,box-shadow .2s;}
html:not(#_) .sb-link:hover, html:not(#_) .sb-link.active{background:var(--cg-acc);color:#fff;border-color:var(--cg-acc);box-shadow:0 6px 16px rgba(41,100,174,.25);}
html:not(#_) .sb-section-title{color:var(--cg-mut);font-weight:600;font-size:.78rem;letter-spacing:.06em;text-align:center;}
html:not(#_) .sb-silo-list a, html:not(#_) .sb-silo-region, html:not(#_) .sb-map-quick-link, html:not(#_) .sb-top-item, html:not(#_) .sb-top-item *{color:var(--cg-ink);}
html:not(#_) .sb-silo-list a:hover, html:not(#_) .sb-top-item:hover{color:var(--cg-acc-d);}
html:not(#_) .sb-map-quick-link{border-radius:4px;}

/* ---------- barre mobile ---------- */
html:not(#_) .mobile-guest-top{background:var(--cg-nav);color:#fff;box-shadow:0 6px 20px rgba(22,36,58,.25);}
html:not(#_) .mobile-guest-top a, html:not(#_) .mobile-guest-top *{color:#fff;}
html:not(#_) .ds-burger{color:#fff;}
html:not(#_) .ds-burger span{background:#fff;}
html:not(#_) .bottom-bar{background:var(--cg-nav);border-top:3px solid var(--cg-acc);}
html:not(#_) .btab, html:not(#_) .btab *{color:#e9e0cf;}
html:not(#_) .btab.active, html:not(#_) .btab:hover, html:not(#_) .btab.active *{color:#fff;}

/* ---------- titres, sections ---------- */
html:not(#_) h1, html:not(#_) h2, html:not(#_) h3{color:var(--cg-ink);font-weight:700;}
html:not(#_) .page-header h1{letter-spacing:-.01em;}
html:not(#_) .section h2::after, html:not(#_) .page-header h1::after{content:"";display:block;width:56px;height:14px;margin-top:10px;background:var(--cg-paves) no-repeat left/contain;}
html:not(#_) .section{padding-top:2.2rem;padding-bottom:2.2rem;}

/* ---------- cartes profil : cadre droit, angles 4 px, ombre douce ---------- */
html:not(#_) .profile-card{background:var(--cg-card);border:1px solid var(--border);border-radius:4px;overflow:hidden;
  box-shadow:0 10px 26px rgba(22,36,58,.09);transition:transform .25s,box-shadow .25s;}
html:not(#_) .profile-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(41,100,174,.20);}
html:not(#_) .profile-card img{transition:transform .5s;}
html:not(#_) .profile-card:hover img{transform:scale(1.04);}
html:not(#_) .profile-age{background:var(--cg-sab)!important;color:var(--cg-acc-d)!important;border-radius:4px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.14);}
html:not(#_) .profile-cta{background:var(--cg-acc)!important;color:#fff!important;border-radius:999px;}
html:not(#_) .profile-card h3, html:not(#_) .profile-card .profile-name, html:not(#_) .profile-title{color:var(--cg-ink)!important;}
html:not(#_) .profile-ville, html:not(#_) .profile-bio{color:var(--cg-mut)!important;}

/* ---------- boutons / CTA : carte pavée centrée ---------- */
html:not(#_) .btn-primary{background:var(--cg-acc);border-color:var(--cg-acc);color:#fff;border-radius:999px;box-shadow:0 10px 24px rgba(41,100,174,.30);}
html:not(#_) .btn-primary:hover{background:var(--cg-acc-d);color:#fff;}
html:not(#_) .cta-section{position:relative;background:radial-gradient(circle at 50% 0%,#fffcf6,var(--cg-sab2));border:1px solid var(--border);
  border-radius:4px;padding:2.8rem 1.6rem 2.4rem;margin:2.5rem auto;max-width:640px;text-align:center;box-shadow:0 14px 36px rgba(22,36,58,.10);}
html:not(#_) .cta-section::before{content:"";display:block;width:84px;height:21px;margin:0 auto 14px;background:var(--cg-paves) no-repeat center/contain;}
html:not(#_) .cta-section h2, html:not(#_) .cta-section p{color:var(--cg-ink);}

/* ---------- villes en pavés ---------- */
html:not(#_) .ville-pills .pill, html:not(#_) .links-grid .link-tag, html:not(#_) .rcs-chip{background:var(--cg-card);color:var(--cg-ink);border:1px solid var(--border);
  border-bottom:3px solid var(--cg-acc);border-radius:4px;padding:8px 14px;transition:background .2s,color .2s;}
html:not(#_) .ville-pills .pill:hover, html:not(#_) .links-grid .link-tag:hover, html:not(#_) .rcs-chip:hover{background:var(--cg-acc);color:#fff;}
html:not(#_) .trust-badges .badge{background:var(--cg-card);color:var(--cg-ink);border:1px solid var(--border);border-radius:4px;}
html:not(#_) .trust-badges .badge *{color:var(--cg-ink);}

/* ---------- FAQ ---------- */
html:not(#_) .accordion-item{background:var(--cg-card);border:1px solid var(--border);border-left:4px solid var(--cg-acc);border-radius:4px;margin-bottom:10px;}
html:not(#_) .accordion-item *{color:var(--cg-ink);}
html:not(#_) .info-duo{background:transparent;}

/* ---------- filtres, pagination ---------- */
html:not(#_) .filters .filter-btn, html:not(#_) .ds-fchip{background:var(--cg-card);color:var(--cg-ink);border:1px solid var(--border);border-radius:999px;min-height:40px;}
html:not(#_) .filters .filter-btn.active, html:not(#_) .ds-fchip.active{background:var(--cg-acc);color:#fff;border-color:var(--cg-acc);}
html:not(#_) .ds-fsel{border-radius:4px;border:1px solid var(--border);background:var(--cg-card);color:var(--cg-ink);}
html:not(#_) .pagination-link, html:not(#_) .pagination-arrow{border-radius:4px;color:var(--cg-ink);border:1px solid var(--border);background:var(--cg-card);}
html:not(#_) .pagination-current{border-radius:4px;background:var(--cg-acc);color:#fff;}
html:not(#_) #back-to-top{background:var(--cg-acc);color:#fff;border-radius:4px;box-shadow:0 8px 20px rgba(41,100,174,.3);}

/* ---------- footer marine, une ligne ---------- */
html:not(#_) footer, html:not(#_) .footer-v1{background:var(--cg-nav);color:#e9e0cf;border-top:4px solid var(--cg-acc);}
html:not(#_) footer *, html:not(#_) .footer-v1 *{color:#e9e0cf;}
html:not(#_) footer h4{color:#fff;}
html:not(#_) footer a{color:#c9d8ee;}
html:not(#_) footer a:hover{color:#fff;}
@media (min-width:1100px){
  html:not(#_) .footer-grid{display:flex;flex-wrap:nowrap;gap:28px;align-items:flex-start;}
  html:not(#_) .footer-col{flex:1 1 0;min-width:0;}
}

/* ---------- menu mobile ---------- */
@media (max-width:768px){
  html:not(#_) .sidebar{background:var(--cg-sab);box-sizing:border-box;}
  html:not(#_) .sidebar-inner{box-sizing:border-box;padding:20px 18px 40px;}
  html:not(#_) .sb-link{font-size:.95rem;min-height:56px;}
  html:not(#_) .ds-menu-close{color:#fff;background:var(--cg-acc);border-radius:4px;}
}

/* ---------- pop-ups : couleurs seulement ---------- */
html:not(#_) #profileModal .modal-content{background:var(--cg-card);color:var(--cg-ink);border-radius:6px;}
html:not(#_) .popup-card{background:var(--cg-card);color:var(--cg-ink);border-radius:6px;}

@media (prefers-reduced-motion:reduce){
  html:not(#_) .profile-card, html:not(#_) .profile-card img, html:not(#_) .sb-link, html:not(#_) .pill{transition:none!important;}
  html:not(#_) .profile-card:hover, html:not(#_) .profile-card:hover img{transform:none!important;}
}

/* ---------- recette Astro · cta-faq (copiée telle quelle) ---------- */
@media (min-width: 992px) {
  html:not(#_) body.design-v-cta-faq div.container.ds-cf{ display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  html:not(#_) body.design-v-cta-faq div.container.ds-cf > *{ grid-column: 1 / -1; }
  html:not(#_) body.design-v-cta-faq div.container > section.cta-section, html:not(#_) body.design-v-cta-faq div.container > section.section.ds-faq{ grid-column: auto; align-self: stretch; }
  html:not(#_) body.design-v-cta-faq div.container > section.cta-section{ display: flex; flex-direction: column; justify-content: center; align-self: center; margin-top: 2.5rem; margin-bottom: 2.5rem; }
  html:not(#_) body.design-v-cta-faq div.container > section.section > .info-duo{ grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 992px) {
  html:not(#_) body.design-v-cta-faq div.container.ds-ct{ display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  html:not(#_) body.design-v-cta-faq div.container.ds-ct > *{ grid-column: 1 / -1; }
  html:not(#_) body.design-v-cta-faq div.container > .tabs .tab[data-tab="faq"]{ display: none; }
  html:not(#_) body.design-v-cta-faq div.container > #tab-faq{ display: block; grid-column: auto; align-self: stretch; }
  html:not(#_) body.design-v-cta-faq div.container > section.cta-section{ grid-column: auto; align-self: center; margin-top: 2.5rem; margin-bottom: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
}

/* tour 2 : hero et en-tête de région en marine (le dégradé violet du gabarit sortait du registre), badge d'âge à gauche du cadenas */
html:not(#_) .hero-fullscreen, html:not(#_) .region-hero{background:linear-gradient(160deg,#1d4b85 0%,#16243a 70%)!important;}
html:not(#_) .hero-overlay{background:radial-gradient(circle at 50% 30%,rgba(41,100,174,.35),transparent 70%)!important;}
html:not(#_) .hero-fullscreen h1, html:not(#_) .region-hero h1, html:not(#_) .hero-content h1{color:#fff!important;}
html:not(#_) .hero-tagline, html:not(#_) .region-hero p, html:not(#_) .region-hero span, html:not(#_) .region-hero a{color:#e9e0cf!important;}
html:not(#_) .region-hero h1::after{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 14'%3E%3Cg fill='none' stroke='%23f3ede1' stroke-width='1.4'%3E%3Crect x='1' y='1' width='9' height='5' rx='1'/%3E%3Crect x='13' y='1' width='9' height='5' rx='1'/%3E%3Crect x='25' y='1' width='9' height='5' rx='1'/%3E%3Crect x='7' y='8' width='9' height='5' rx='1'/%3E%3Crect x='19' y='8' width='9' height='5' rx='1'/%3E%3Crect x='31' y='8' width='9' height='5' rx='1'/%3E%3C/g%3E%3C/svg%3E") no-repeat left/contain;}
html:not(#_) .btn-hero-primary{background:#f3ede1!important;color:#1d4b85!important;border-radius:999px;box-shadow:0 10px 26px rgba(0,0,0,.25);}
html:not(#_) .profile-age{right:auto!important;left:10px!important;}

html:not(#_) #profileModal .modal-content [class*="loc"], html:not(#_) #profileModal .modal-content [class*="ville"], html:not(#_) #profileModal .modal-content [class*="city"]{color:#1d4b85!important;}
html:not(#_) .sidebar-inner{scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.45) transparent;}
/* __END_DESIGN_SITE__ */
