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

/* plans-q-monaco.com — registre « MAUVE & MARBRE » (gabarit astrocfvlibertin)
   Un accent : #5e35b1 (couleur du favicon) décliné en mauve profond ; un neutre
   CHAUD : le marbre crème veiné ; une encre : #241a33. Rien d'autre.
   L'unicité vient de la COMPOSITION : barre latérale mauve à nav en 4 TUILES 2×2
   sur panneau à coin coupé · centre en marbre · cartes profil à COIN COUPÉ sur la
   photo, nom AVANT l'accroche, âge en médaillon en bas à gauche · réassurance en
   3 MÉDAILLONS centrés · CTA en carte centrée · pied de page sur UNE LIGNE.
   Formes : coin coupé, médaillon, filet court. Titres en serif (parc = Verdana). */

html:not(#_){
  --mv-800: #2b1b44; --mv-700: #372357; --mv-600: #3f2867; --mv-500: #4c2d8f;
  --mv: #5e35b1; --mv-400: #7e57c2; --mv-200: #ddd0ef; --mv-100: #efe8f9;
  --cr: #f7f3ec; --cr-2: #f2ece2; --cr-3: #e5dacb; --cr-card: #fffdf9;
  --cr-txt: #f6f1ea; --cr-txt-2: #cfc3e3; --cr-txt-3: #a992cf;  /* 11,4 / 8,1 / 5,0:1 sur mauve */
  --enc: #241a33; --enc-2: #5b5068;  /* encre / secondaire sur marbre — 7,0:1 */
  /* variables du gabarit redéfinies : tout changement de fond passe par ici */
  --bg: #f7f3ec; --bg-alt: #f2ece2; --bg-card: #fffdf9;
  --text: #241a33; --text-muted: #5b5068; --border: #e5dacb;
  --radius: 5px; --radius-sm: 4px;
  --card-radius: 4px; --card-border-w: 1px; --card-border-c: #e6dcf2;
  --shadow: 0 1px 2px #37235712;
  --shadow-lg: 0 8px 24px -12px #37235738, 0 2px 6px -4px #37235724;
  --sidebar-w: 252px;
  --pile-police: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}
/* le marbre : veines blanches fines + veines mauves rares, UNE déclaration */
html:not(#_) body{ color: var(--enc); background-color: var(--cr); background-image:
  repeating-linear-gradient(107deg, #ffffff00 0 62px, #ffffff5c 62px 63.5px, #ffffff00 63.5px 158px),
  repeating-linear-gradient(97deg, #37235700 0 210px, #3723570f 210px 212px, #37235700 212px 470px),
  linear-gradient(170deg, #fbf8f4 0%, #f3ede3 56%, #f8f3ec 100%); }
html:not(#_) h1, html:not(#_) h2, html:not(#_) h3, html:not(#_) h4{ font-family: var(--serif); letter-spacing: -.005em; }
html:not(#_) a{ color: var(--mv); }
html:not(#_) a:hover{ color: var(--mv-500); }
html:not(#_) .breadcrumb{ color: var(--enc-2); }
html:not(#_) .breadcrumb a{ color: var(--mv); font-weight: 600; }

html:not(#_) .sidebar{ width: var(--sidebar-w, 252px); padding: 14px 12px; box-sizing: border-box; }
/* gabarit en content-box : sans border-box, mon padding fait déborder .sidebar-inner
   de .sidebar (overflow:hidden) et la gouttière droite est rognée à 2 px */
html:not(#_) .sidebar-inner{ box-sizing: border-box; }
html:not(#_) .sidebar-inner{ background: linear-gradient(168deg, var(--mv-600), var(--mv-700) 52%, var(--mv-800)); border: none; border-radius: 4px; padding: 16px 14px 14px; color: var(--cr-txt);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  scrollbar-color: #f6f1ea59 transparent; scrollbar-width: thin; }
html:not(#_) .sidebar-inner::-webkit-scrollbar{ width: 6px; }
html:not(#_) .sidebar-inner::-webkit-scrollbar-thumb{ background: #f6f1ea4c; border-radius: 3px; }
html:not(#_) .sb-logo{ gap: 11px; padding: 2px 4px 15px; align-items: center; position: relative; }
html:not(#_) .sb-logo-dot{ width: 38px; height: 38px; border-radius: 50%; background: var(--cr-txt); box-shadow: 0 0 0 1px #f6f1ea73, 0 3px 12px #140a284c; }
html:not(#_) .sb-logo-dot svg{ color: var(--mv-500); width: 19px; height: 19px; }
html:not(#_) .sb-logo-text{ font-family: var(--serif); font-weight: 700; font-size: 1.04rem; color: var(--cr-txt); letter-spacing: .012em; }
html:not(#_) .sb-logo::after{ content: ''; position: absolute; left: 4px; bottom: 7px; width: 42px; height: 3px; border-radius: 2px; background: var(--mv-400); }
html:not(#_) .sb-nav{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 0; }
html:not(#_) .sb-link{ flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 11px 5px 9px; min-height: 62px; border-radius: 3px; background: #f6f1ea12; color: var(--cr-txt-2); font-size: .76rem; font-weight: 600; line-height: 1.15;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%); transition: background-color .16s ease, color .16s ease; }
html:not(#_) .sb-link .sb-ico{ width: 21px; height: 21px; }
html:not(#_) .sb-link:hover{ background: #f6f1ea29; color: var(--cr-txt); }
html:not(#_) .sb-link.active{ background: var(--cr-txt); color: var(--mv-600); font-weight: 700; }
html:not(#_) .sb-link.active .sb-ico{ color: var(--mv-500); }
html:not(#_) .sb-section{ border-top: 1px solid #f6f1ea29; padding-top: 12px; margin-bottom: 10px; }
html:not(#_) .sb-section-title{ color: var(--cr-txt-3); font-size: .7rem; letter-spacing: .1em; padding: 4px 4px 8px; }
html:not(#_) .sb-section-title .sb-ico{ color: var(--cr-txt-3); }
html:not(#_) .sb-map-quick-link{ display: flex; width: 100%; box-sizing: border-box; padding: 9px 11px; margin-bottom: 10px; background: #7e57c257; color: var(--cr-txt); font-size: .8rem; font-weight: 700; border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: background-color .16s ease; }
html:not(#_) .sb-map-quick-link:hover{ background: #7e57c28c; }
html:not(#_) .sb-map-quick-link .sb-ico{ color: var(--cr-txt); }
html:not(#_) .sb-silo-region{ color: var(--cr-txt); font-size: .84rem; font-weight: 700; padding: 8px 10px; border-radius: 3px; background: #f6f1ea0f; transition: background-color .16s ease; }
html:not(#_) .sb-silo-region:hover{ background: #f6f1ea26; color: var(--cr-txt); }
html:not(#_) .sb-chevron{ color: var(--cr-txt-2); }
html:not(#_) .sb-silo-villes{ padding-left: 11px; margin: 4px 0 2px; border-left: 2px solid #7e57c28c; }
html:not(#_) .sb-silo-ville, html:not(#_) .sb-top-item{ color: var(--cr-txt-2); font-size: .82rem; padding: 6px 9px; border-radius: 3px; transition: background-color .16s ease, color .16s ease; }
html:not(#_) .sb-silo-ville:hover, html:not(#_) .sb-top-item:hover{ background: #f6f1ea21; color: var(--cr-txt); }
html:not(#_) .sb-silo-more{ color: var(--mv-200); font-size: .78rem; font-weight: 700; padding: 6px 9px; }
html:not(#_) .sb-top-item .sb-ico{ color: var(--cr-txt-3); }

/* Hauteur totale conservée : les 11 px pris par le bouton à 44 px sont rendus
   sur les marges internes — inutile de toucher body.has-mobile-guest-top. */
html:not(#_) .mobile-guest-top{ background: linear-gradient(140deg, var(--mv-600), var(--mv-800)); color: var(--cr-txt); box-shadow: 0 2px 14px #140a2873; }
html:not(#_) .mobile-guest-head{ height: 42px; border-bottom: 1px solid #f6f1ea29; }
html:not(#_) .mobile-guest-brand{ color: var(--cr-txt) !important; font-family: var(--serif); font-size: 1rem; font-weight: 700; }
html:not(#_) .mobile-guest-login{ color: var(--cr-txt-2) !important; font-size: .78rem; }
html:not(#_) .mobile-guest-cta{ padding: .25rem .8rem .4rem; }
html:not(#_) .mobile-guest-cta-row{ margin-bottom: .25rem; }
html:not(#_) .mobile-guest-cta-offer, html:not(#_) .mobile-guest-timer-label{ color: var(--cr-txt-3); line-height: 1.1; }
html:not(#_) .mobile-guest-cta-kw, html:not(#_) .mobile-guest-timer{ color: var(--cr-txt); line-height: 1.12; }
html:not(#_) .mobile-guest-cta-btn{ display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .3rem .9rem; background: var(--cr-txt); color: var(--mv-600) !important; border-radius: 999px; font-size: .9rem; font-weight: 800; box-shadow: 0 4px 14px #140a2857; }

html:not(#_) .footer-v3{ background: linear-gradient(178deg, var(--mv-800), #20143a); color: var(--cr-txt-2); margin-top: 2.6rem; border-top: 3px solid var(--mv-400); }
html:not(#_) .footer-top{ padding: 1.5rem 0 1.2rem; border-bottom: 1px solid #f6f1ea24; align-items: center; }
html:not(#_) .footer-brand h3{ color: var(--cr-txt); font-family: var(--serif); font-size: 1.3rem; }
html:not(#_) .footer-brand p{ color: var(--cr-txt-3); font-size: .86rem; }
html:not(#_) .footer-newsletter{ display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
html:not(#_) .footer-newsletter p{ color: var(--cr-txt-2); margin: 0; font-size: .86rem; }
html:not(#_) .footer-newsletter .btn-primary{ background: var(--cr-txt); color: var(--mv-600) !important; border-radius: 999px; font-weight: 800; padding: .6rem 1.35rem; min-height: 44px; box-shadow: 0 4px 16px #140a2866; }
html:not(#_) .footer-newsletter .btn-primary:hover{ background: #fff; filter: none; }
html:not(#_) .footer-grid{ display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1.6rem; padding: 1.25rem 0 1.1rem; }
html:not(#_) .footer-col{ display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; min-width: 0; }
html:not(#_) .footer-col h4{ color: var(--cr-txt-3); font-family: var(--pile-police); font-size: .66rem; letter-spacing: .12em; margin: 0 .15rem 0 0; white-space: nowrap; }
html:not(#_) .footer-col ul{ display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin: 0; list-style: none; }
html:not(#_) .footer-col li{ margin: 0; }
html:not(#_) .footer-col a, html:not(#_) .contact-email a{ color: var(--cr-txt-2); font-size: .84rem; }
html:not(#_) .footer-col a:hover, html:not(#_) .contact-email a:hover{ color: var(--cr-txt); }
html:not(#_) .contact-email{ margin: 0; }
html:not(#_) .footer-bottom{ border-top: 1px solid #f6f1ea24; color: var(--cr-txt-3); padding: .9rem 0; font-size: .78rem; }

/* b) recette « astro · reassurance » : socle copié tel quel, puis
   habillé en TROIS MÉDAILLONS centrés (ma disposition). =*/
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; }
html:not(#_) .ds-bloc{ margin: 2rem auto 2.2rem; padding: 2.1rem 1.6rem 1.9rem; max-width: 1000px; background: linear-gradient(168deg, var(--cr-card), #fbf6ef); border: 1px solid var(--cr-3); border-radius: 5px; text-align: center;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
html:not(#_) .ds-titre{ font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--enc); margin: 0 0 .45rem; font-weight: 700; }
html:not(#_) .ds-sous{ color: var(--enc-2); opacity: 1; font-size: .96rem; max-width: 46ch; margin: 0 auto 1.1rem; }
html:not(#_) .ds-bloc .ds-liste{ position: relative; padding-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem 1.4rem; }
html:not(#_) .ds-bloc .ds-liste::before{ content: ''; position: absolute; top: .35rem; left: 50%; transform: translateX(-50%); width: 58px; height: 3px; border-radius: 2px; background: var(--mv-400); }
html:not(#_) .ds-item{ grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: center; text-align: center; row-gap: .55rem; }
html:not(#_) .ds-ico{ grid-row: auto; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(150deg, var(--mv-400), var(--mv-500)); color: var(--cr-txt); box-shadow: 0 8px 20px -8px #4c2d8f8c, 0 0 0 5px var(--mv-100); transition: transform .2s ease; }
html:not(#_) .ds-ico svg{ width: 26px; height: 26px; }
html:not(#_) .ds-item:hover .ds-ico{ transform: translateY(-2px) scale(1.04); }
html:not(#_) .ds-item-t{ font-family: var(--serif); font-size: 1.02rem; font-weight: 700; color: var(--mv-500); line-height: 1.3; max-width: 22ch; }
html:not(#_) .ds-item-p{ color: var(--enc-2); opacity: 1; font-size: .91rem; line-height: 1.55; max-width: 32ch; }

/* c) thème de toutes les zones ===*/
html:not(#_) .magazine-layout{ padding: 2rem 1rem 0; }
html:not(#_) .magazine-header{ margin-bottom: 1.6rem; padding-bottom: 1.1rem; border-bottom: 2px solid var(--cr-3); }
html:not(#_) .magazine-header::after{ content: ''; display: block; width: 74px; height: 4px; border-radius: 2px; background: var(--mv); margin: 1.1rem 0 -3px; }
html:not(#_) .magazine-meta{ gap: .7rem; }
html:not(#_) .region-tag{ background: var(--mv-500); color: var(--cr-txt); border-radius: 999px; padding: .26rem .85rem; letter-spacing: .09em; box-shadow: 0 4px 12px -6px #4c2d8f99; }
html:not(#_) .profile-count{ color: var(--enc-2); font-weight: 600; }
html:not(#_) .magazine-header h1{ font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--enc); line-height: 1.12; }
html:not(#_) .magazine-intro{ color: var(--enc-2); font-size: 1.04rem; }
html:not(#_) .ville-hero{ background: linear-gradient(126deg, var(--mv-600), var(--mv-500) 58%, var(--mv)); color: var(--cr-txt); padding: 2.6rem 0 2.3rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%); }
html:not(#_) .ville-hero h1{ font-family: var(--serif); font-weight: 700; color: var(--cr-txt); font-size: clamp(1.5rem, 3.6vw, 2.15rem); line-height: 1.15; }
html:not(#_) .ville-meta{ display: flex; flex-wrap: wrap; gap: .5rem; }
html:not(#_) .ville-meta .meta-item{ background: #f6f1eaf0; color: var(--mv-600); border-radius: 999px; padding: .3rem .85rem; font-size: .8rem; font-weight: 700; }
html:not(#_) .section{ background: var(--cr-card); border: 1px solid var(--cr-3); border-radius: 5px; box-shadow: var(--shadow-lg); }
html:not(#_) .section > h2{ font-family: var(--serif); color: var(--enc); font-weight: 700; padding-left: .85rem; border-left: 4px solid var(--mv-400); line-height: 1.2; }
html:not(#_) .section p, html:not(#_) .seo-text{ color: var(--enc-2); }
html:not(#_) .section > p[style]{ color: var(--enc-2) !important; }
html:not(#_) .ville-pills{ gap: .45rem; margin-bottom: 1.6rem; }
html:not(#_) .pill, html:not(#_) .link-tag, html:not(#_) .rcs-chip{ background: var(--cr-card); border: 1px solid var(--mv-200); color: var(--mv-500); border-radius: 3px; font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); transition: background-color .16s ease, color .16s ease; }
html:not(#_) .pill{ padding: .42rem .9rem; font-size: .8rem; }
html:not(#_) .link-tag{ min-height: 42px; }
html:not(#_) .pill:hover, html:not(#_) .link-tag:hover, html:not(#_) .rcs-chip:hover{ background: var(--mv-500); color: var(--cr-txt) !important; border-color: var(--mv-500); }
html:not(#_) .regional-cities-strip{ background: var(--cr-2); border-top: 1px solid var(--cr-3); border-bottom: 1px solid var(--cr-3); }
html:not(#_) .rcs-title{ font-family: var(--serif); color: var(--enc); font-size: 1rem; }
html:not(#_) .rcs-fade-left{ background: linear-gradient(to right, var(--cr-2), #f2ece200); }
html:not(#_) .rcs-fade-right{ background: linear-gradient(to left, var(--cr-2), #f2ece200); }
/* CARTES PROFIL : coin coupé sur la photo, nom avant l'accroche, âge en médaillon */
html:not(#_) .profile-card{ background: var(--cr-card); border: 1px solid var(--card-border-c); border-radius: 4px; box-shadow: 0 1px 2px #37235712; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
html:not(#_) .profile-card:hover{ transform: translateY(-4px); border-color: var(--mv-200); box-shadow: 0 16px 34px -18px #4c2d8f80, 0 3px 10px -6px #37235738; }
html:not(#_) .profile-photo{ background: var(--cr-2);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
html:not(#_) .profile-age{ top: auto; right: auto; bottom: 10px; left: 10px; background: #f6f1eaf2; color: var(--mv-600); border-radius: 999px; padding: .24rem .62rem; font-size: .73rem; font-weight: 800; box-shadow: 0 3px 10px #140a2847; }
html:not(#_) .profile-lock{ top: 9px; left: 9px; right: auto; background: #372357b8; width: 24px; height: 24px; }
html:not(#_) .profile-info{ padding: .85rem .85rem .6rem; display: flex; flex-direction: column; }
html:not(#_) .profile-name{ order: 1; font-family: var(--serif); font-size: 1.06rem; font-weight: 700; color: var(--enc); margin: 0 0 .1rem; }
html:not(#_) .profile-title{ order: 2; color: var(--mv-500); font-weight: 700; font-size: .88rem; line-height: 1.25; margin: .1rem 0 .25rem; }
html:not(#_) .profile-ville{ order: 3; color: var(--enc-2); font-size: .8rem; margin-bottom: .2rem; }
html:not(#_) .profile-bio{ order: 4; color: var(--enc-2); font-size: .85rem; margin-top: .3rem; }
html:not(#_) .profile-footer{ border-top: 1px solid var(--cr-3); padding: .6rem .85rem .75rem; }
html:not(#_) .profile-cta{ background: var(--cr-card); border: 1px solid var(--mv-200); color: var(--mv-500); border-radius: 3px; font-weight: 700; padding: .55rem .6rem; min-height: 40px; box-sizing: border-box; line-height: 1.5;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: background-color .16s ease, color .16s ease; }
html:not(#_) .profile-card:hover .profile-cta{ background: var(--mv-500); color: var(--cr-txt); border-color: var(--mv-500); }
html:not(#_) .cta-section{ background-image: radial-gradient(62% 86% at 50% 116%, #5e35b124, #5e35b100 72%), linear-gradient(166deg, var(--cr-card), #faf4ec); border: 1px solid var(--mv-200); border-radius: 5px; color: var(--enc); max-width: 760px; margin: 2.6rem auto; padding: 2.5rem 1.8rem 2.3rem;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
html:not(#_) .cta-section h2{ color: var(--enc) !important; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; margin-bottom: .6rem; }
html:not(#_) .cta-section h2::after{ content: ''; display: block; width: 56px; height: 3px; border-radius: 2px; background: var(--mv-400); margin: .85rem auto 0; }
html:not(#_) .cta-section p{ color: var(--enc-2) !important; font-size: 1rem; margin-bottom: 1.5rem; }
html:not(#_) .cta-section .btn-primary{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff !important; border-radius: 999px; font-weight: 800; padding: .95rem 2.3rem; min-height: 48px; box-shadow: 0 12px 28px -12px #4c2d8fbf; transition: transform .16s ease, box-shadow .16s ease; }
html:not(#_) .cta-section .btn-primary:hover{ transform: translateY(-2px); filter: none; box-shadow: 0 16px 34px -12px #4c2d8fd9; }
html:not(#_) .btn{ border-radius: 999px; font-weight: 700; }
html:not(#_) .btn-primary{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff !important; box-shadow: 0 8px 20px -10px #4c2d8fb2; }
html:not(#_) .btn-primary:hover{ filter: brightness(1.06); }
html:not(#_) .btn-outline{ border: 2px solid var(--mv-500); color: var(--mv-500); background: transparent; }
html:not(#_) .btn-outline:hover{ background: var(--mv-500); color: #fff; }
html:not(#_) .btn-lg{ min-height: 48px; }
html:not(#_) .pagination-link{ background: var(--cr-2); color: var(--enc) !important; border: 1px solid var(--cr-3); border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
html:not(#_) .pagination-link:hover{ background: var(--mv-100); color: var(--mv-600) !important; }
html:not(#_) .pagination-current{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff !important; border-radius: 999px; box-shadow: 0 6px 16px -8px #4c2d8fcc; }
html:not(#_) .pagination-arrow{ color: var(--mv-500) !important; }
html:not(#_) .pagination-ellipsis{ color: var(--enc-2); }
html:not(#_) .info-duo-col, html:not(#_) .ville-map-card, html:not(#_) .regional-map-section{ background: var(--cr-card); border: 1px solid var(--cr-3); border-radius: 5px; }
html:not(#_) .info-duo-title{ background: linear-gradient(120deg, var(--mv-600), var(--mv-500)); color: var(--cr-txt); border-bottom: none; font-family: var(--serif); font-size: 1.08rem; padding: 14px 20px; }
html:not(#_) .accordion-item{ border-bottom: 1px solid var(--cr-3); }
html:not(#_) .accordion-header{ color: var(--enc); font-weight: 700; font-size: .93rem; }
html:not(#_) .accordion-header:hover{ background: var(--mv-100); }
html:not(#_) .accordion-item[open] > .accordion-header{ background: var(--cr-2); color: var(--mv-500); }
html:not(#_) .accordion-header::after{ border-right-color: var(--mv-400); border-bottom-color: var(--mv-400); }
html:not(#_) .accordion-body{ color: var(--enc-2); }
html:not(#_) .accordion-badge{ background: var(--mv-500); color: var(--cr-txt); }
html:not(#_) .ville-map-header{ background: linear-gradient(120deg, var(--mv-600), var(--mv-500)); border-bottom: none; padding: 13px 20px; }
html:not(#_) .ville-map-header h3{ font-family: var(--serif); color: var(--cr-txt); font-size: 1.05rem; }
html:not(#_) .ville-map-badge{ background: var(--cr-txt); color: var(--mv-600); }
html:not(#_) .regional-map-head h2{ font-family: var(--serif); color: var(--enc); padding-left: .85rem; border-left: 4px solid var(--mv-400); }
html:not(#_) .ville-map-container, html:not(#_) .regional-map-canvas{ background: var(--cr-2); }
html:not(#_) .regional-map-head p{ color: var(--enc-2); }
html:not(#_) .regional-map-cta .btn{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff !important; }
html:not(#_) .back-to-top{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: var(--cr-txt); box-shadow: 0 8px 22px -8px #4c2d8fcc, 0 0 0 4px #f6f1ead9; }
html:not(#_) .bottom-bar{ background: #fbf8f3; border-top: 2px solid var(--cr-3); box-shadow: 0 -2px 14px #3723571a; }
html:not(#_) .btab{ color: #665a78; }
html:not(#_) .btab-ico{ border-radius: 999px; transition: background-color .16s ease; }
html:not(#_) .btab.active, html:not(#_) .btab:hover{ color: var(--mv-500); }
html:not(#_) .btab.active .btab-ico{ background: var(--mv-100); }
/* fiche profil : variables du gabarit RESCOPÉES ici, sinon --bg-alt / --text du
   socle clair reviennent sur la dalle de marbre */
html:not(#_) #profileModal .modal-content{ --bg-alt: #f2ece2; --bg-card: #fffdf9; --text: #241a33; --text-muted: #5b5068; --border: #e5dacb;
  background: var(--cr-card); color: var(--enc); border: 1px solid var(--mv-200); border-radius: 5px; }
html:not(#_) #profileModal .modal-carousel{ background: var(--mv-800); border-radius: 4px 4px 0 0; }
html:not(#_) #profileModal .modal-close, html:not(#_) #profileModal .modal-nav{ background: #372357c7; color: var(--cr-txt); }
html:not(#_) #profileModal .modal-close:hover, html:not(#_) #profileModal .modal-nav:hover{ background: var(--mv-500); }
html:not(#_) #profileModal .modal-body h3{ font-family: var(--serif); color: var(--enc); }
html:not(#_) #profileModal .modal-body .modal-meta{ color: var(--mv-500); font-weight: 700; }
html:not(#_) #profileModal .modal-body .modal-bio{ color: var(--enc-2); }
html:not(#_) #profileModal .modal-body .modal-tag{ background: var(--mv-100); color: var(--mv-600); border-radius: 999px; font-weight: 600; }
html:not(#_) #profileModal .modal-favori{ color: #cdc3d8; }
html:not(#_) #profileModal .modal-favori:hover{ color: var(--mv-400); }
html:not(#_) #profileModal .modal-actions.modal-actions-sticky{ background: var(--cr-card); border-top: 1px solid var(--cr-3); }
html:not(#_) #profileModal .modal-action-primary{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff !important; border-radius: 999px; font-weight: 800; min-height: 48px; box-shadow: 0 10px 24px -12px #4c2d8fcc; }
html:not(#_) #profileModal .modal-cta-overlay{ background: #241a3373; }
html:not(#_) #profileModal .btn-cta-overlay{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff !important; border-radius: 999px; font-weight: 800; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
html:not(#_) .popup-overlay{ background: #241a339e; }
html:not(#_) .popup-card{ background: var(--cr-card); color: var(--enc); border: 1px solid var(--mv-200); border-radius: 6px; box-shadow: 0 24px 60px #241a3359; }
html:not(#_) .popup-icon{ background: linear-gradient(150deg, var(--mv-400), var(--mv-500)); border-radius: 50%; width: 54px; height: 54px; box-shadow: 0 8px 20px -10px #4c2d8fb2, 0 0 0 5px var(--mv-100); }
html:not(#_) .popup-icon-login{ background: linear-gradient(150deg, var(--mv-500), var(--mv-700)); }
html:not(#_) .popup-icon svg, html:not(#_) .popup-icon-login svg{ color: var(--cr-txt); }
html:not(#_) .popup-title{ font-family: var(--serif); color: var(--enc); }
html:not(#_) .popup-desc{ color: var(--enc-2); }
html:not(#_) .popup-dot{ background: var(--cr-3); }
html:not(#_) .popup-dot.active{ background: var(--mv-500); }
html:not(#_) .popup-field label{ color: var(--enc); }
html:not(#_) .popup-field input{ background: #fffefb; border: 2px solid var(--cr-3); color: var(--enc); border-radius: 8px; }
html:not(#_) .popup-field input:focus{ border-color: var(--mv-400); box-shadow: 0 0 0 3px var(--mv-100); }
html:not(#_) .popup-field input::placeholder{ color: #a79ab4; }
html:not(#_) .popup-btn{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff; border-radius: 999px; min-height: 48px; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 24px -12px #4c2d8fcc; }
html:not(#_) .popup-btn-ghost{ color: var(--enc-2); }
html:not(#_) .popup-btn-ghost:hover{ color: var(--mv-500); background: var(--mv-100); }
html:not(#_) .popup-close{ background: var(--cr-2); color: var(--enc-2); }
html:not(#_) .popup-close:hover{ background: var(--mv-100); color: var(--mv-600); }
html:not(#_) .popup-email-recap{ color: var(--enc-2); }
html:not(#_) .popup-edit, html:not(#_) .popup-footer a{ color: var(--mv-500); font-weight: 700; }
html:not(#_) .popup-footer{ border-top: 1px solid var(--cr-3); color: var(--enc-2); }
html:not(#_) .popup-opt{ color: #8d80a0; }
html:not(#_) .age-gate-modal{ background: var(--cr-card); border: 1px solid var(--mv-200); border-radius: 6px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
html:not(#_) .age-gate-modal h2{ font-family: var(--serif); color: var(--enc); font-weight: 700; }
html:not(#_) .age-gate-lead{ color: var(--enc); }
html:not(#_) .age-gate-body, html:not(#_) .age-gate-actions, html:not(#_) .age-gate-footnote{ color: var(--enc-2); }
html:not(#_) .age-gate-link{ color: var(--mv-500); }
html:not(#_) .age-gate-buttons .btn{ min-height: 48px; }

/* d) menu mobile Astro */
html:not(#_) .ds-burger{ color: var(--cr-txt); background: #f6f1ea1a; border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); }
html:not(#_) .ds-menu-overlay{ background: #241a338c; }
html:not(#_) .ds-menu-close{ background: #f6f1ea29; color: var(--cr-txt); }
@media (max-width: 768px) {
  /* le tiroir EST la barre latérale : on la relit à 340 px de large */
  html:not(#_) body:has(#ds-menu:checked) .sidebar-inner{ clip-path: none; border-radius: 0; padding: 14px 14px 22px; }
  html:not(#_) body:has(#ds-menu:checked) .sb-logo{ padding-right: 46px; }
  html:not(#_) body:has(#ds-menu:checked) .sb-link{ font-size: .84rem; min-height: 68px; }
  html:not(#_) body:has(#ds-menu:checked) .sb-silo-ville, html:not(#_) body:has(#ds-menu:checked) .sb-top-item{ font-size: .88rem; padding: 9px 10px; }
  html:not(#_) body:has(#ds-menu:checked) .sb-silo-region{ font-size: .9rem; padding: 10px 11px; }
  html:not(#_) body:has(#ds-menu:checked) .sb-section-title{ font-size: .74rem; }
  html:not(#_) body:has(#ds-menu:checked) .sb-map-quick-link{ font-size: .86rem; min-height: 44px; align-items: center; }
}

/* e) filtres (chips) =*/
html:not(#_) .filters{ gap: .45rem; margin-bottom: 1.2rem; }
html:not(#_) .filter-btn, html:not(#_) .filters select.ds-fsel, html:not(#_) .filters .ds-fchip{ background: var(--cr-card); border: 1px solid var(--mv-200); color: var(--mv-500); border-radius: 3px; min-height: 40px; padding: 8px 16px; font-size: .85rem; font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%); transition: background-color .16s ease, color .16s ease; }
html:not(#_) .filter-btn:hover, html:not(#_) .filters select.ds-fsel:hover{ background: var(--mv-100); color: var(--mv-600); border-color: var(--mv-200); }
html:not(#_) .filter-btn.active, html:not(#_) .filters .ds-fchip.active, html:not(#_) .filter-btn.active:hover{ background: linear-gradient(140deg, var(--mv), var(--mv-500)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px -9px #4c2d8fd9; }

/* ====== mobile =*/
@media (max-width: 768px) {
  html:not(#_) .magazine-layout{ padding: 1.4rem .2rem 0; }
  html:not(#_) .magazine-header{ padding-bottom: .9rem; margin-bottom: 1.2rem; }
  html:not(#_) .magazine-header::after{ margin-top: .9rem; }
  html:not(#_) .ville-hero{ padding: 1.9rem 0 1.7rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
  html:not(#_) .ds-bloc{ padding: 1.6rem 1.1rem 1.5rem; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
  html:not(#_) .ds-bloc .ds-liste{ grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  html:not(#_) .ds-item-t, html:not(#_) .ds-item-p{ max-width: 30ch; }
  html:not(#_) .cta-section{ padding: 1.9rem 1.2rem 1.8rem; margin: 2rem auto; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
  html:not(#_) .cta-section .btn-primary{ width: 100%; box-sizing: border-box; padding: .95rem 1.2rem; }
  html:not(#_) .profile-photo{ clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
  html:not(#_) .profile-name{ font-size: .98rem; }
  html:not(#_) .footer-top{ padding: 1.3rem 0 1.1rem; }
  html:not(#_) .footer-newsletter{ width: 100%; }
  html:not(#_) .footer-newsletter .btn-primary{ width: 100%; box-sizing: border-box; }
  html:not(#_) .footer-grid{ gap: .8rem 1.1rem; padding: 1.1rem 0 1rem; }
  html:not(#_) .footer-col{ width: 100%; }
}

/* f) mouvement réduit ==*/
@media (prefers-reduced-motion: reduce) {
  html:not(#_) .sb-link, html:not(#_) .sb-map-quick-link, html:not(#_) .sb-silo-region, html:not(#_) .sb-silo-ville, html:not(#_) .sb-top-item, html:not(#_) .profile-card, html:not(#_) .profile-cta, html:not(#_) .pill, html:not(#_) .link-tag, html:not(#_) .rcs-chip, html:not(#_) .filter-btn, html:not(#_) .ds-ico, html:not(#_) .btab-ico, html:not(#_) .cta-section .btn-primary{ transition: none !important; }
  html:not(#_) .ds-item:hover .ds-ico, html:not(#_) .profile-card:hover, html:not(#_) .cta-section .btn-primary:hover{ transform: none !important; }
  html:not(#_) .rcs-track{ animation: none !important; }
}

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