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

/* sex-rheinland-pfalz.de — registre « VITRAIL » (lot 22, 19/09/2026, Astro régional).
   Cobalt #1e3a8a (favicon) · ambre #f5b52a · plombs noirs #0d0d12 · verre ivoire #f3eee2.
   Chaque zone = un panneau de verre coloré séparé par des plombs (bordures épaisses, gaps noirs),
   reflet en dégradé clair, angles quasi vifs, ombres nettes décalées, titres serif.
   design_site.py préfixe chaque sélecteur par html:not(#_). */

/* ------------------------------------------------------------ 1. variables du gabarit */
html:not(#_){
  --bg: #f3eee2; --bg-alt: #fbf0d2; --bg-card: #fffdf8;
  --text: #15161c; --text-muted: #4b4f5c; --border: #15161c;
  --radius: 4px; --radius-sm: 3px;
  --card-radius: 3px; --card-border-w: 3px; --card-border-c: #0d0d12;
  --shadow: 3px 3px 0 rgba(30,58,138,.22); --shadow-lg: 5px 5px 0 rgba(30,58,138,.22);
  --srp-gloss: linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,255,255,0) 48%);
  --srp-mosaic: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='220' viewBox='0 0 360 220'><rect width='360' height='220' fill='%230d0d12'/><g stroke='%230d0d12' stroke-width='6' stroke-linejoin='round'><path d='M0 0h120l-20 90L0 70z' fill='%231e3a8a'/><path d='M120 0h130l-20 60-130 30z' fill='%23142a66'/><path d='M250 0h110v80L230 60z' fill='%232a4fb5'/><path d='M0 70l100 20-20 70H0z' fill='%23f5b52a'/><path d='M100 90l130-30 30 90-180 10z' fill='%231e3a8a'/><path d='M230 60l130 20v80l-100-10z' fill='%230f1f4d'/><path d='M0 150l80 10-20 60H0z' fill='%23142a66'/><path d='M80 160l180-10-20 70H60z' fill='%232a4fb5'/><path d='M260 150l100 10v60H240z' fill='%23d9962a'/></g><path d='M0 0h360v60L0 40z' fill='%23fff' opacity='.06'/></svg>");
}
html:not(#_) body{ background: #f3eee2; color: #15161c; }
html:not(#_) h1, html:not(#_) h2, html:not(#_) h3, html:not(#_) .sb-logo-text, html:not(#_) .mobile-guest-brand, html:not(#_) .ds-titre, html:not(#_) .popup-title, html:not(#_) .modal-name, html:not(#_) .rcs-title, html:not(#_) .footer-col h4{
  font-family: Georgia, "Times New Roman", "DejaVu Serif", serif; letter-spacing: .005em;
}
html:not(#_) a{ color: #1e3a8a; }

/* ------------------------------------------------------------ 2. sidebar desktop = panneaux empilés
   .sidebar-inner devient le cadre noir (plomb), chaque bloc un panneau de verre d'une couleur. */
html:not(#_) .sidebar{ background: #0d0d12; padding: 8px; border-radius: 4px; }
html:not(#_) .sidebar-inner{
  background: #0d0d12; border: 0; border-radius: 4px; box-shadow: none; padding: 6px;
  scrollbar-width: thin; scrollbar-color: rgba(245,181,42,.55) #0d0d12;
  animation: srp-slide .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes srp-slide { from { transform: translateX(-14px); } to { transform: none; } }
html:not(#_) .sb-logo{
  margin: 0 0 5px; padding: 14px 12px; border-radius: 3px; gap: 12px;
  background-color: #1e3a8a; background-image: var(--srp-gloss);
}
html:not(#_) .sb-logo-dot{ width: 34px; height: 34px; border-radius: 3px; background: #f5b52a; border: 2px solid #0d0d12; }
html:not(#_) .sb-logo-dot svg{ color: #0d0d12; }
html:not(#_) .sb-logo-text{ color: #fff; font-size: 1.25rem; font-weight: 700; text-shadow: 2px 2px 0 rgba(245,181,42,.85); }
html:not(#_) .sb-nav{
  gap: 2px; margin: 0 0 5px; padding: 8px 6px; border-radius: 3px;
  background-color: #f5b52a; background-image: var(--srp-gloss);
}
html:not(#_) .sb-link{ color: #0d0d12; font-weight: 600; font-size: .9rem; padding: 11px 12px; border-radius: 3px; }
html:not(#_) .sb-link:hover{ background: rgba(13,13,18,.10); color: #0d0d12; }
html:not(#_) .sb-link.active{ background: #1e3a8a; color: #fff; font-weight: 700; box-shadow: 2px 2px 0 #0d0d12; }
html:not(#_) .sb-link .sb-ico{ color: currentColor; }
html:not(#_) .sb-section{
  margin: 0 0 5px; padding: 10px 6px 8px; border: 0; border-radius: 3px;
  background-color: #f3eee2; background-image: var(--srp-gloss);
}
html:not(#_) .sb-section + .sb-section{ background-color: #142a66; }
html:not(#_) .sb-section-title{ color: #1e3a8a; font-size: .74rem; letter-spacing: .10em; padding: 6px 10px 8px; }
html:not(#_) .sb-map-quick-link{ color: #0d0d12; background: #fff; border: 2px solid #0d0d12; border-radius: 3px; padding: 8px 10px; font-size: .84rem; }
html:not(#_) .sb-map-quick-link:hover{ background: #f5b52a; }
html:not(#_) .sb-silo-region{ color: #1e3a8a; font-weight: 700; font-size: .9rem; padding: 9px 10px; border-radius: 3px; border-bottom: 2px solid #0d0d12; }
html:not(#_) .sb-silo-region:hover{ background: rgba(30,58,138,.08); color: #1e3a8a; }
html:not(#_) .sb-chevron{ color: #1e3a8a; }
html:not(#_) .sb-silo-villes{ padding-left: 8px; }
html:not(#_) .sb-silo-ville{ color: #2b2e3a; font-size: .86rem; padding: 10px 10px; border-radius: 3px; }
html:not(#_) .sb-silo-ville:hover{ background: #f5b52a; color: #0d0d12; }
html:not(#_) .sb-silo-more{ color: #1e3a8a; font-size: .84rem; padding: 10px; font-weight: 700; }
html:not(#_) .sb-section + .sb-section .sb-section-title{ color: #f5b52a; }
html:not(#_) .sb-section + .sb-section .sb-top-item{ color: #eef0f8; font-size: .88rem; padding: 10px 10px; border-radius: 3px; }
html:not(#_) .sb-section + .sb-section .sb-top-item:hover{ background: #f5b52a; color: #0d0d12; }
html:not(#_) .sb-spacer{ min-height: 0; }

/* ------------------------------------------------------------ 3. barre mobile haute : noire, liens ambre */
html:not(#_) .mobile-guest-top{ background: #0d0d12; color: #f3eee2; box-shadow: 0 3px 0 #f5b52a; }
html:not(#_) .mobile-guest-head{ border-bottom: 2px solid #f5b52a; }
html:not(#_) .mobile-guest-brand{ color: #f5b52a !important; font-size: 1.15rem; text-shadow: 1px 1px 0 #1e3a8a; }   /* le gabarit force #fff !important */
html:not(#_) .mobile-guest-login{ color: #f5b52a !important; font-size: .82rem; border: 2px solid #f5b52a; border-radius: 3px; padding: 5px 10px; }
html:not(#_) .mobile-guest-cta-offer{ color: #e0d6bd; }
html:not(#_) .mobile-guest-cta-kw{ color: #fff; }
html:not(#_) .mobile-guest-timer-label{ color: #c9c2ad; }
html:not(#_) .mobile-guest-timer{ color: #f5b52a; }
html:not(#_) .mobile-guest-cta-btn{
  background: #f5b52a; color: #0d0d12 !important; border: 2px solid #f5b52a; border-radius: 3px;
  font-size: .9rem; line-height: 1.4; padding: .8rem .8rem; box-shadow: 3px 3px 0 #1e3a8a;
}
html:not(#_) .ds-burger{ color: #f5b52a; border: 2px solid #f5b52a; border-radius: 3px; height: 36px; }
html:not(#_) .ds-menu-overlay{ background: rgba(13,13,18,.72); }
html:not(#_) .ds-menu-close{ background: #f5b52a; color: #0d0d12; border: 2px solid #0d0d12; }
html:not(#_) body:has(#ds-menu:checked) .ds-menu-close{ border-radius: 3px; top: 12px; right: 12px; }
@media (min-width: 769px) { html:not(#_) .ds-menu-close{ display: none; } }   /* le socle ne masque la croix que sous 768 px : elle apparaissait en haut de la sidebar desktop (planche 1) */
/* barre basse : noire, onglets ambre */
html:not(#_) .bottom-bar{ background: #0d0d12; border-top: 3px solid #f5b52a; box-shadow: none; }
html:not(#_) .btab{ color: #e6c469; border-radius: 3px; padding: 5px 12px; }
html:not(#_) .btab:hover{ color: #f5b52a; }
html:not(#_) .btab.active{ color: #0d0d12; background: #f5b52a; }
html:not(#_) .btab-lbl{ font-size: .64rem; font-weight: 700; }

/* ------------------------------------------------------------ 4. footer = mosaïque de panneaux */
html:not(#_) .footer-v1{ background: #0d0d12; color: #e8e1cf; padding: 0 0 1.2rem; margin-top: 3rem; border-top: 6px solid #f5b52a; }
html:not(#_) .footer-inner{ padding: 6px 6px 0; max-width: 1400px; }
html:not(#_) .footer-grid{ gap: 6px; margin-bottom: 6px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
html:not(#_) .footer-col{ padding: 1.4rem 1.25rem; border-radius: 3px; background-image: var(--srp-gloss); min-height: 120px; }
html:not(#_) .footer-col:nth-child(1){ background-color: #1e3a8a; color: #eef0f8; }
html:not(#_) .footer-col:nth-child(1) h4{ color: #f5b52a; font-size: 1.5rem; }
html:not(#_) .footer-col:nth-child(2){ background-color: #f5b52a; color: #0d0d12; }
html:not(#_) .footer-col:nth-child(2) h4{ color: #0d0d12; }
html:not(#_) .footer-col:nth-child(2) a{ color: #0d0d12; font-weight: 600; }
html:not(#_) .footer-col:nth-child(2) a:hover{ color: #1e3a8a; }
html:not(#_) .footer-col:nth-child(3){ background-color: #142a66; color: #eef0f8; }
html:not(#_) .footer-col:nth-child(3) h4{ color: #f5b52a; }
html:not(#_) .footer-col:nth-child(3) a{ color: #eef0f8; }
html:not(#_) .footer-col:nth-child(3) a:hover{ color: #f5b52a; }
html:not(#_) .footer-col:nth-child(4){ background-color: #0d0d12; background-image: var(--srp-mosaic); background-size: 360px 220px; }
html:not(#_) .footer-col h4{ font-size: 1.05rem; margin-bottom: .8rem; }
html:not(#_) .footer-col ul{ padding-left: 0; }
html:not(#_) .footer-col li{ margin-bottom: .45rem; }
html:not(#_) .footer-col a{ text-decoration: none; }
html:not(#_) .footer-col a:hover{ text-decoration: underline; text-decoration-thickness: 2px; }
html:not(#_) .footer-bottom{ border-top: 0; color: #c9c2ad; padding: 1rem 0 0; font-size: .85rem; }

/* ------------------------------------------------------------ 5. héros : vitrail plein + cartouche sombre */
html:not(#_) .region-hero, html:not(#_) .ville-hero{
  color: #fff; padding: 2.2rem max(16px, env(safe-area-inset-right, 0px)) 2.2rem max(16px, env(safe-area-inset-left, 0px));
  background-color: #0d0d12;
  background-image: linear-gradient(110deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 62%), var(--srp-mosaic);
  background-size: 220% 100%, 360px 220px; background-position: 100% 0, 0 0;
  animation: srp-sweep 2.6s ease-out 1 both;
}
@keyframes srp-sweep { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
html:not(#_) .region-hero > .container, html:not(#_) .ville-hero > .container{
  background: rgba(10,12,28,.84); border: 3px solid #0d0d12; border-left: 10px solid #f5b52a; border-radius: 4px;
  padding: 1.1rem 1.4rem 1.3rem; box-shadow: 6px 6px 0 #f5b52a;
}
html:not(#_) .region-hero h1, html:not(#_) .ville-hero h1{ color: #fff; text-shadow: 3px 3px 0 rgba(245,181,42,.9); font-size: 2.3rem; line-height: 1.1; }
html:not(#_) .region-stats{ color: #f3eee2; opacity: 1; }
html:not(#_) .meta-item{ background: #f5b52a; color: #0d0d12; border-radius: 3px; font-weight: 700; }
html:not(#_) .breadcrumb{ padding-top: 4px; }

/* ------------------------------------------------------------ 6. panneaux de contenu, titres, listes */
html:not(#_) .section{
  background-color: rgba(255,253,248,.86); background-image: var(--srp-gloss);
  border: 3px solid #0d0d12; border-radius: 4px; box-shadow: 5px 5px 0 rgba(30,58,138,.22); margin-bottom: 26px;
}
html:not(#_) .section h2, html:not(#_) .region-sidebar h3, html:not(#_) .regional-map-head h2{
  color: #1e3a8a; font-weight: 700; position: relative; padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 3px solid #0d0d12;
}
html:not(#_) .section h2::after, html:not(#_) .region-sidebar h3::after, html:not(#_) .regional-map-head h2::after{
  content: ""; position: absolute; left: 0; bottom: -3px; width: 64px; height: 3px; background: #f5b52a;
}
html:not(#_) .region-main > p{ color: #2f3240; }
/* colonne des villes du Land : panneau ivoire, villes en petites tuiles */
html:not(#_) .region-sidebar{ background: #f3eee2; border: 3px solid #0d0d12; border-radius: 4px; box-shadow: 5px 5px 0 rgba(30,58,138,.22); padding: 1.2rem; }
html:not(#_) .ville-list{ display: flex; flex-wrap: wrap; gap: 6px; max-height: min(72vh, 900px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #1e3a8a #f3eee2; }
html:not(#_) .ville-list li{ margin: 0; }
html:not(#_) .ville-list a{ display: inline-block; padding: 5px 9px; background: #fffdf8; border: 1.5px solid #0d0d12; border-radius: 3px; color: #1e3a8a; font-size: .8rem; font-weight: 600; line-height: 1.3; }
html:not(#_) .ville-list a:hover{ background: #f5b52a; color: #0d0d12; text-decoration: none; }
html:not(#_) .links-grid{ gap: 8px; }
html:not(#_) .link-tag{ background: #fffdf8; border: 2px solid #0d0d12; border-radius: 3px; color: #1e3a8a; font-weight: 600; transition: background .15s, box-shadow .15s, transform .15s; }
html:not(#_) .link-tag:hover{ background: #f5b52a; color: #0d0d12; border-color: #0d0d12; transform: translate(-2px, -2px); box-shadow: 3px 3px 0 #1e3a8a; text-decoration: none; }
/* bandeau de toutes les villes : plomb noir, tuiles ivoire */
html:not(#_) .regional-cities-strip{ background: #0d0d12; border-top: 5px solid #f5b52a; border-bottom: 5px solid #1e3a8a; }
html:not(#_) .rcs-title{ color: #f5b52a; font-size: 1.1rem; }
html:not(#_) .rcs-fade-left{ background: linear-gradient(to right, #0d0d12, rgba(13,13,18,0)); }
html:not(#_) .rcs-fade-right{ background: linear-gradient(to left, #0d0d12, rgba(13,13,18,0)); }
html:not(#_) .rcs-chip{ background: #f3eee2; border: 2px solid #f3eee2; border-radius: 3px; color: #1e3a8a; }
html:not(#_) .rcs-chip:hover{ background: #f5b52a; border-color: #f5b52a; color: #0d0d12; }

/* ------------------------------------------------------------ 7. filtres (mode « aucun » : masqués par le socle) + pagination */
html:not(#_) .filter-btn{ border: 2px solid #0d0d12; border-radius: 3px; background: #fffdf8; color: #15161c; font-weight: 600; padding: 8px 14px; }
html:not(#_) .filter-btn:hover, html:not(#_) .filter-btn.active{ background: #1e3a8a; border-color: #0d0d12; color: #fff; }
html:not(#_) select.ds-fsel{ border: 2px solid #0d0d12; border-radius: 3px; background-color: #fffdf8; }
html:not(#_) .pagination-link, html:not(#_) .pagination-current{ border-radius: 3px; border: 2px solid #0d0d12; }
html:not(#_) .pagination-link{ background: #fffdf8; }
html:not(#_) .pagination-link:hover{ background: #f5b52a; }
html:not(#_) .pagination-current{ background: #1e3a8a; box-shadow: 3px 3px 0 #f5b52a; }
html:not(#_) .pagination-ellipsis{ color: #4b4f5c; }

/* ------------------------------------------------------------ 8. cartes profil = petits vitraux */
html:not(#_) .profile-card{
  background-color: #fffdf8; background-image: linear-gradient(160deg, rgba(255,255,255,.9), rgba(243,238,226,.9));
  border: 3px solid #0d0d12; border-radius: 3px; box-shadow: 4px 4px 0 #1e3a8a;
  transition: transform .2s, box-shadow .2s;
}
html:not(#_) .profile-card:hover{ transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #f5b52a; }
html:not(#_) .profile-photo{ border-bottom: 3px solid #0d0d12; background: #142a66; }
html:not(#_) .profile-photo::after{ content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%, rgba(13,13,18,.18)); }
html:not(#_) .profile-age{ z-index: 1; background: #f5b52a; color: #0d0d12; border: 2px solid #0d0d12; border-radius: 3px; font-weight: 800; font-size: .74rem; top: 8px; right: 8px; }
html:not(#_) .profile-lock{ z-index: 1; left: 8px; right: auto; background: #1e3a8a; border: 2px solid #0d0d12; border-radius: 3px; width: 24px; height: 24px; }
html:not(#_) .profile-title{ color: #1e3a8a; }
html:not(#_) .profile-name{ color: #0d0d12; font-size: 1.08rem; }
html:not(#_) .profile-ville{ color: #4b4f5c; }
html:not(#_) .profile-bio{ color: #2f3240; }
html:not(#_) .profile-footer{ border-top: 2px solid #0d0d12; background: rgba(30,58,138,.06); }
html:not(#_) .profile-cta{ background: #f5b52a; border: 2px solid #0d0d12; border-radius: 3px; color: #0d0d12; font-weight: 700; box-shadow: 2px 2px 0 #0d0d12; transition: background .15s, color .15s; }
html:not(#_) .profile-card:hover .profile-cta{ background: #1e3a8a; color: #fff; }

/* ------------------------------------------------------------ 9. boutons + CTA de milieu de page (carte à ombre décalée) */
html:not(#_) .btn{ border-radius: 3px; }
html:not(#_) .btn-primary{ background: #1e3a8a; color: #fff; border: 2px solid #0d0d12; box-shadow: 3px 3px 0 #0d0d12; }
html:not(#_) .btn-primary:hover{ filter: none; background: #2a4fb5; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #0d0d12; }
html:not(#_) .btn-outline{ border: 2px solid #0d0d12; color: #0d0d12; }
html:not(#_) .btn-outline:hover{ background: #0d0d12; color: #f5b52a; }
html:not(#_) .cta-section{
  position: relative; overflow: hidden; text-align: left;
  background-color: #1e3a8a; background-image: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%, rgba(13,13,18,.22));
  border: 4px solid #0d0d12; border-radius: 4px; box-shadow: 8px 8px 0 #f5b52a;
  padding: 2.2rem 2.2rem 2.2rem 2.6rem; margin: 0 8px 32px 0;
}
html:not(#_) .cta-section::before{ content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: #f5b52a; border-right: 4px solid #0d0d12; }
html:not(#_) .cta-section::after{ content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; background: #142a66; border: 4px solid #0d0d12; transform: rotate(45deg); opacity: .9; }
html:not(#_) .cta-section h2, html:not(#_) .cta-section p{ position: relative; z-index: 1; }
html:not(#_) .cta-section h2{ color: #fff; text-shadow: 2px 2px 0 rgba(13,13,18,.6); font-size: 1.7rem; border: 0; padding: 0; }
html:not(#_) .cta-section h2::after{ display: none; }
html:not(#_) .cta-section p{ color: #eef0f8; }
html:not(#_) .cta-section .btn-primary.btn-lg{
  position: relative; z-index: 1; background: #f5b52a; color: #0d0d12; border: 3px solid #0d0d12; box-shadow: 4px 4px 0 #0d0d12;
  min-height: 48px; font-size: 1.05rem; padding: 12px 30px;
}
html:not(#_) .cta-section .btn-primary.btn-lg:hover{ background: #ffd166; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #0d0d12; }
/* carte régionale (accueil) */
html:not(#_) .regional-map-section{ background: #f3eee2; border: 3px solid #0d0d12; border-radius: 4px; box-shadow: 5px 5px 0 rgba(30,58,138,.22); padding: 1.2rem; }
html:not(#_) .regional-map-head p{ color: #4b4f5c; }
html:not(#_) .regional-map-stage{ border: 3px solid #0d0d12; border-radius: 3px; }
html:not(#_) .regional-map-canvas{ border-radius: 0; }
html:not(#_) .regional-map-cta .btn{ border-radius: 3px; background: #f5b52a; color: #0d0d12; border: 3px solid #0d0d12; box-shadow: 4px 4px 0 #0d0d12; }
html:not(#_) .regional-map-cta .btn:hover{ background: #ffd166; }

/* ------------------------------------------------------------ 10. bloc de réassurance (socle des recettes + habillage vitrail) */
html:not(#_) .ds-bloc{ margin: 24px 0; padding: 24px; border-radius: 16px; }
html:not(#_) .ds-titre{ margin: 0 0 6px; font-size: 1.35rem; line-height: 1.25; }
html:not(#_) .ds-sous{ margin: 0 0 16px; opacity: .85; }
html:not(#_) .ds-liste{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
html:not(#_) .ds-item{ display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start; }
html:not(#_) .ds-ico{ grid-row: 1 / 3; width: 28px; height: 28px; }
html:not(#_) .ds-ico svg{ width: 28px; height: 28px; display: block; }
html:not(#_) .ds-item-t{ display: block; font-weight: 700; }
html:not(#_) .ds-item-p{ display: block; font-size: .93rem; opacity: .85; }
/* habillage : le bloc est un vitrail à quatre panneaux, plombs = fond noir dans les gaps */
html:not(#_) .ds-bloc{ background: #0d0d12; padding: 6px; border-radius: 4px; margin: 30px 8px 30px 0; box-shadow: 6px 6px 0 #1e3a8a; }
html:not(#_) .ds-titre{ background-color: #1e3a8a; background-image: var(--srp-gloss); color: #fff; margin: 0; padding: 18px 20px 4px; border-radius: 3px 3px 0 0; font-size: 1.45rem; text-shadow: 2px 2px 0 rgba(245,181,42,.85); }
html:not(#_) .ds-sous{ background-color: #1e3a8a; color: #eef0f8; opacity: 1; margin: 0 0 6px; padding: 0 20px 18px; border-radius: 0 0 3px 3px; font-size: .98rem; }
html:not(#_) .ds-liste{ gap: 6px; grid-template-columns: 1fr; }
@media (min-width: 560px) { html:not(#_) .ds-liste{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html:not(#_) .ds-item{ padding: 18px 16px; border-radius: 3px; background-image: var(--srp-gloss); column-gap: 14px; }
html:not(#_) .ds-item:nth-child(1){ background-color: #f5b52a; color: #0d0d12; }
html:not(#_) .ds-item:nth-child(2){ background-color: #f3eee2; color: #2f3240; }
html:not(#_) .ds-item:nth-child(3){ background-color: #142a66; color: #eef0f8; }
html:not(#_) .ds-item:nth-child(4){ background-color: #dfe7fb; color: #2f3240; }
html:not(#_) .ds-item:nth-child(2) .ds-item-t, html:not(#_) .ds-item:nth-child(4) .ds-item-t, html:not(#_) .ds-item:nth-child(2) .ds-ico, html:not(#_) .ds-item:nth-child(4) .ds-ico{ color: #1e3a8a; }
html:not(#_) .ds-item:nth-child(3) .ds-item-t, html:not(#_) .ds-item:nth-child(3) .ds-ico{ color: #f5b52a; }
html:not(#_) .ds-item:nth-child(1) .ds-item-t{ color: #0d0d12; }
html:not(#_) .ds-item-t{ font-size: 1.02rem; margin-bottom: 4px; }
html:not(#_) .ds-item-p{ opacity: 1; line-height: 1.5; }

/* ------------------------------------------------------------ 11. FAQ + carte de ville (page ville) */
html:not(#_) .info-duo-col{ background: #fffdf8; border: 3px solid #0d0d12; border-radius: 4px; box-shadow: 5px 5px 0 rgba(30,58,138,.22); }
/* ⚠️ .info-duo-title est un h2 dans .section : la règle « .section h2 » (cobalt, filet) gagnait → titre cobalt sur cobalt (planche 1) */
html:not(#_) .section h2.info-duo-title{ background: #1e3a8a; color: #fff; border-bottom: 3px solid #0d0d12; font-size: 1.15rem; padding: 14px 18px; margin: 0; }
html:not(#_) .section h2.info-duo-title::after{ display: none; }
html:not(#_) .accordion-item{ border-bottom: 2px solid #0d0d12; border-left: 0 solid #f5b52a; transition: border-left-width .2s, background .2s; }
html:not(#_) .accordion-item[open]{ border-left-width: 8px; background: rgba(245,181,42,.14); }
html:not(#_) .accordion-header{ color: #0d0d12; font-weight: 700; padding: 14px 16px; }
html:not(#_) .accordion-header:hover{ background: rgba(30,58,138,.08); }
html:not(#_) .accordion-header::after{ width: 10px; height: 10px; border-right: 3px solid #1e3a8a; border-bottom: 3px solid #1e3a8a; }
html:not(#_) .accordion-body{ color: #2f3240; }
html:not(#_) .ville-map-card{ border: 3px solid #0d0d12; border-radius: 4px; }
html:not(#_) .ville-map-header{ background: #0d0d12; color: #fff; border-bottom: 3px solid #f5b52a; }
html:not(#_) .ville-map-header h3{ color: #f5b52a; }
html:not(#_) .ville-map-badge{ background: #1e3a8a; border-radius: 3px; border: 1px solid #f5b52a; }
html:not(#_) .ville-map-container{ border-radius: 0; }
html:not(#_) .ville-map-spinner{ border-top-color: #1e3a8a; }

/* ------------------------------------------------------------ 12. retour en haut, pop-up profil, pop-ups, age gate (couleurs/bordures/rayons seulement) */
html:not(#_) .back-to-top{ background: #f5b52a; color: #0d0d12; border: 3px solid #0d0d12; border-radius: 3px; box-shadow: 3px 3px 0 #1e3a8a; font-weight: 800; }
html:not(#_) .modal-content{ background: #f7f3ea; border: 4px solid #0d0d12; border-radius: 6px; }
html:not(#_) .modal-carousel{ border-radius: 0; background: #142a66; }
html:not(#_) .modal-close{ background: #f5b52a; color: #0d0d12; border: 2px solid #0d0d12; border-radius: 3px; font-weight: 800; }
html:not(#_) .modal-nav{ background: rgba(30,58,138,.85); border-radius: 3px; border: 2px solid #f5b52a; }
html:not(#_) .modal-nav:hover{ background: #1e3a8a; }
html:not(#_) .modal-dot{ background: rgba(255,255,255,.55); border-radius: 2px; }
html:not(#_) .modal-dot.active{ background: #f5b52a; border-radius: 2px; }
html:not(#_) .modal-body h3{ color: #1e3a8a; }
html:not(#_) .modal-body .modal-meta{ color: #142a66; font-weight: 700; }
html:not(#_) .modal-body .modal-bio{ color: #2f3240; }
html:not(#_) .modal-body .modal-tag{ background: #fbf0d2; border: 1.5px solid #0d0d12; border-radius: 3px; color: #15161c; }
html:not(#_) .modal-favori:hover{ color: #f5b52a; }
html:not(#_) .modal-actions.modal-actions-sticky{ background: #f7f3ea; }
html:not(#_) .modal-action-primary{ background: #f5b52a; color: #0d0d12; border: 3px solid #0d0d12; border-radius: 3px; box-shadow: 4px 4px 0 #1e3a8a; }
html:not(#_) .modal-action-primary:hover{ background: #ffd166; }
html:not(#_) .btn-cta-overlay{ background: #f5b52a; color: #0d0d12 !important; border: 3px solid #0d0d12; border-radius: 3px; box-shadow: 4px 4px 0 #0d0d12; }
html:not(#_) .popup-card{ background: #f7f3ea; border: 4px solid #0d0d12; border-radius: 6px; box-shadow: 8px 8px 0 #f5b52a; }
html:not(#_) .popup-close{ background: #f5b52a; color: #0d0d12; border: 2px solid #0d0d12; border-radius: 3px; }
html:not(#_) .popup-close:hover{ background: #ffd166; color: #0d0d12; }
html:not(#_) .popup-icon, html:not(#_) .popup-icon-login{ background: #1e3a8a; border: 2px solid #0d0d12; border-radius: 3px; }
html:not(#_) .popup-icon svg, html:not(#_) .popup-icon-login svg{ color: #f5b52a; }
html:not(#_) .popup-title{ color: #1e3a8a; }
html:not(#_) .popup-desc{ color: #4b4f5c; }
html:not(#_) .popup-footer{ border-top: 2px solid #0d0d12; color: #2f3240; }
html:not(#_) .popup-footer a{ color: #1e3a8a; }
html:not(#_) .popup-field input{ border: 2px solid #0d0d12; border-radius: 3px; }
html:not(#_) .popup-field input:focus{ border-color: #1e3a8a; box-shadow: 3px 3px 0 #f5b52a; }
html:not(#_) .popup-btn{ background: #f5b52a; color: #0d0d12; border: 2px solid #0d0d12; border-radius: 3px; box-shadow: 3px 3px 0 #1e3a8a; }
html:not(#_) .popup-alert{ border-radius: 3px; }
html:not(#_) .age-gate{ background: rgba(13,13,18,.9); }
html:not(#_) .age-gate-modal{ background: #f7f3ea; border: 4px solid #0d0d12; border-radius: 6px; box-shadow: 8px 8px 0 #f5b52a; }
html:not(#_) .age-gate-modal h2{ color: #1e3a8a; }
html:not(#_) .age-gate-link{ color: #1e3a8a; }
html:not(#_) .age-gate .btn-outline{ border-color: #0d0d12; color: #0d0d12; }

/* ------------------------------------------------------------ 13. mobile ≤ 768 px : tiroir = la sidebar, lisible à 340 px */
@media (max-width: 768px) {
  html:not(#_) .region-hero h1, html:not(#_) .ville-hero h1{ font-size: 1.55rem; }
  html:not(#_) .region-hero > .container, html:not(#_) .ville-hero > .container{ padding: .9rem 1rem 1rem; box-shadow: 4px 4px 0 #f5b52a; border-left-width: 8px; }
  html:not(#_) .cta-section{ padding: 1.6rem 1.2rem 1.6rem 1.6rem; margin-right: 8px; box-shadow: 6px 6px 0 #f5b52a; }
  html:not(#_) .cta-section::after{ width: 80px; height: 80px; right: -24px; top: -24px; }
  html:not(#_) .cta-section .btn-primary.btn-lg{ width: 100%; }
  html:not(#_) .ds-bloc{ margin-right: 6px; box-shadow: 5px 5px 0 #1e3a8a; }
  html:not(#_) .section{ box-shadow: 4px 4px 0 rgba(30,58,138,.22); }
  html:not(#_) .region-sidebar{ position: static; }
  html:not(#_) .sidebar{ padding: 6px; }
  html:not(#_) .sb-logo-text{ font-size: 1.3rem; }
  html:not(#_) .sb-link{ font-size: .95rem; padding: 12px 12px; }
  html:not(#_) .sb-silo-ville, html:not(#_) .sb-section + .sb-section .sb-top-item{ font-size: .92rem; padding: 11px 10px; }
  html:not(#_) .sb-silo-region{ font-size: .95rem; }
}

/* ------------------------------------------------------------ 14. mouvement coupé */
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .sidebar-inner, html:not(#_) .region-hero, html:not(#_) .ville-hero{ animation: none !important; }
  html:not(#_) .profile-card, html:not(#_) .link-tag, html:not(#_) .btn, html:not(#_) .btn-primary, html:not(#_) .cta-section .btn-primary.btn-lg, html:not(#_) .accordion-item, html:not(#_) .profile-cta{ transition: none !important; }
  html:not(#_) .profile-card:hover, html:not(#_) .link-tag:hover, html:not(#_) .btn-primary:hover, html:not(#_) .cta-section .btn-primary.btn-lg:hover{ transform: none; }
  html:not(#_) .region-hero, html:not(#_) .ville-hero{ background-position: 0 0, 0 0; }
}

@media (prefers-reduced-motion: reduce){html:not(#_) .sidebar-inner{animation:none !important;transition:none !important;}}
/* __END_DESIGN_SITE__ */
