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

/* ============================================================================
   annoncecoquine-suisse.ch — BOÎTES AUX LETTRES D'UN IMMEUBLE LAUSANNOIS
   (lot CH/LU, 12/10) · gabarit vvphp (fleetpanelbe) · variante villes-bas · filtres tri.
   Accent = favicon #b0306a (framboise) · neutre = crème #fbf5ea · encre #2a1d22.
   Formes signature : étiquette nominative vissée (logo, nav, titres de casier,
   badge d'âge, villes), fente de boîte aux lettres (titres, casiers du pied),
   enveloppe à rabat + cachet en cœur (CTA).
   ============================================================================ */

html:root {
  --bl-creme: #fbf5ea;
  --bl-creme-2: #f3e8d4;
  --bl-carte: #fffcf6;
  --bl-fr: #b0306a;
  --bl-fr-2: #8a2253;
  --bl-fr-pale: #f6dfe9;
  --bl-laiton: #b8954a;
  --bl-laiton-pale: #e2cf9f;
  --bl-encre: #2a1d22;
  --bl-muted: #5f4d50;
  --bl-serif: Georgia, "Iowan Old Style", "DejaVu Serif", serif;
  --bl-ombre: 0 10px 26px rgba(138, 34, 83, .10), 0 2px 6px rgba(42, 29, 34, .06);
  --bl-vis: radial-gradient(circle at 9px 50%, var(--bl-laiton) 0 2.2px, transparent 2.9px), radial-gradient(circle at calc(100% - 9px) 50%, var(--bl-laiton) 0 2.2px, transparent 2.9px);
  --bl-fente: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'><rect x='1' y='1' width='78' height='12' rx='6' fill='%23e2cf9f'/><rect x='7' y='4.5' width='66' height='5' rx='2.5' fill='%233a2a2e'/></svg>");

  --primary: var(--bl-fr);
  --secondary: var(--bl-fr);
  --bg: var(--bl-creme);
  --bg-alt: var(--bl-creme-2);
  --bg-card: var(--bl-carte);
  --text: var(--bl-encre);
  --text-color: var(--bl-encre);
  --text-muted: var(--bl-muted);
  --border: var(--bl-laiton-pale);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgba(42, 29, 34, .07);
  --shadow-lg: var(--bl-ombre);
}
body { background: var(--bl-creme); color: var(--bl-encre); }
.bg-gradient { background: var(--bl-creme); }
a { color: var(--bl-fr); }
::selection { background: var(--bl-fr); color: #fff; }

/* -- HEADER
   Desktop : rangée 1 = étiquette du nom au centre, bouton à droite ;
   rangée 2 = nav en « rangée de plaques » centrée. */
.site-header.site-header {
  background: var(--bl-creme);
  color: var(--bl-encre);
  border-bottom: 1px solid var(--bl-laiton);
  box-shadow: 0 3px 0 -1px var(--bl-laiton-pale), 0 10px 22px rgba(138, 34, 83, .07);
}
.site-header .logo.header-logo {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
  padding: 8px 26px;
  color: var(--bl-encre);
  background: var(--bl-vis), var(--bl-carte);
  border: 1px solid var(--bl-laiton);
  border-radius: 6px;
  box-shadow: inset 0 0 0 3px var(--bl-carte), inset 0 0 0 4px var(--bl-laiton-pale), 0 4px 12px rgba(42, 29, 34, .08);
  font-family: var(--bl-serif);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  line-height: 1.3;
  text-align: center;
}
.site-header .logo.header-logo:hover { color: var(--bl-fr-2); }
.header-hamburger.header-hamburger {
  background: var(--bl-fr);
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px var(--bl-fr), inset 0 0 0 3px rgba(255, 255, 255, .35);
}
.header-hamburger.header-hamburger span { background: #fff; }

@media (min-width: 992px) {
  .site-header.site-header { padding: 14px 0 12px; }
  .site-header > .header-inner.container {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 12px;
  }
  .site-header .logo.header-logo {
    grid-column: 2; grid-row: 1; justify-self: center;
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    padding: 12px 40px;
    background: radial-gradient(circle at 14px 50%, var(--bl-laiton) 0 2.6px, transparent 3.3px), radial-gradient(circle at calc(100% - 14px) 50%, var(--bl-laiton) 0 2.6px, transparent 3.3px), linear-gradient(110deg, transparent 40%, rgba(226, 207, 159, .35) 50%, transparent 60%) 200% 0 / 250% 100% no-repeat, var(--bl-carte);
    transition: background-position .9s ease;
  }
  .site-header .logo.header-logo:hover { background-position: 0 0, 0 0, -60% 0, 0 0; }
  .site-header .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  .site-header .header-nav-desktop.header-nav-desktop {
    display: flex;
    grid-column: 1 / -1; grid-row: 2; justify-self: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--bl-creme-2);
    border: 1px solid var(--bl-laiton-pale);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 #fff;
  }
  .site-header .header-nav-toggle {
    color: var(--bl-encre);
    background: var(--bl-vis), var(--bl-carte);
    border: 1px solid var(--bl-laiton-pale);
    border-radius: 6px;
    font-family: var(--bl-serif);
    font-weight: 600;
    padding: 8px 30px;
    min-height: 40px;
  }
  .site-header .header-nav-toggle:hover,
  .site-header .header-nav-group.open .header-nav-toggle { color: var(--bl-fr-2); border-color: var(--bl-laiton); background: var(--bl-vis), var(--bl-fr-pale); }
  .site-header .header-nav-dropdown { background: var(--bl-carte); border: 1px solid var(--bl-laiton-pale); border-radius: 12px; box-shadow: var(--bl-ombre); }
  .site-header .header-nav-dropdown a { border-radius: 6px; color: var(--bl-encre) !important; }
  .site-header .header-nav-dropdown a:hover { background: var(--bl-fr-pale); color: var(--bl-fr-2) !important; }
  .site-header .header-nav-more { color: var(--bl-fr) !important; border-top-color: var(--bl-laiton-pale); }
  .site-header .btn-header.header-auth-btn { padding: 10px 24px !important; font-size: .95rem !important; min-height: 44px; }
}
.site-header .btn-header.header-auth-btn {
  background: var(--bl-fr) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(176, 48, 106, .28);
  transition: background .2s, transform .2s;
}
.site-header .btn-header.header-auth-btn:hover { background: var(--bl-fr-2) !important; transform: translateY(-1px); }
@media (max-width: 600px) {
  .profile-card { padding: 4px; }
  .profile-card .profile-age-badge { bottom: 8px; left: 8px; padding: 3px 9px; }
}
@media (max-width: 991px) {
  .site-header .logo.header-logo { justify-self: center; max-width: min(254px, 100%); font-size: .86rem; padding: 7px 22px; }
}

/* bandeau d'appel mobile : une carte postale crème, sans compteur de membres */
.header-guest-cta.header-guest-cta { background: var(--bl-creme-2); color: var(--bl-encre); border-bottom: 1px solid var(--bl-laiton-pale); }
.header-guest-cta-online.header-guest-cta-online { display: none; }
.header-guest-cta-button.header-guest-cta-button {
  background: var(--bl-fr);
  border: 0;
  border-radius: 999px;
  color: #fff !important;
  font-size: 1rem;
  text-transform: none;
  min-height: 48px;
  box-shadow: 0 8px 18px rgba(176, 48, 106, .28);
}
.header-guest-cta-button.header-guest-cta-button:hover { background: var(--bl-fr-2); }
.header-guest-cta-note { color: var(--bl-muted); font-size: .82rem; text-transform: none; font-weight: 600; }

/* -- BARRE BASSE MOBILE : crème, filet laiton */
.mobile-public-nav.mobile-public-nav { background: var(--bl-carte); border-top: 1px solid var(--bl-laiton); box-shadow: 0 -2px 0 var(--bl-creme-2), 0 -8px 20px rgba(138, 34, 83, .10); }
.mobile-public-nav a { color: var(--bl-muted); }
.mobile-public-nav a.active { color: var(--bl-fr-2); background: var(--bl-fr-pale); border-radius: 8px; }
.mobile-public-nav a.active::before { background: var(--bl-laiton); width: 26px; height: 4px; }

/* -- TIROIR MOBILE : un tableau d'étiquettes */
.header-drawer { background: var(--bl-creme); color: var(--bl-encre); }
.header-drawer-head { background: var(--bl-fr); color: #fff; font-family: var(--bl-serif); border-bottom: 3px solid var(--bl-laiton-pale); }
.header-drawer-close { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .6); border-radius: 10px; }
.header-drawer-search { background: var(--bl-creme-2); }
.header-drawer-search .search-input { background: var(--bl-carte); color: var(--bl-encre); border: 1px solid var(--bl-laiton-pale); border-radius: 10px; }
.header-drawer-section { border-bottom: 1px solid var(--bl-laiton-pale); }
.header-drawer-toggle { color: var(--bl-fr-2); font-family: var(--bl-serif); font-weight: 700; }
.header-drawer-chevron { color: var(--bl-laiton); }
.header-drawer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.header-drawer-link.header-drawer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 8px 22px;
  box-sizing: border-box;
  border: 1px solid var(--bl-laiton-pale);
  border-radius: 6px;
  background: var(--bl-vis), var(--bl-carte) !important;
  box-shadow: inset 0 0 0 2px var(--bl-carte), inset 0 0 0 3px var(--bl-creme-2), 0 2px 6px rgba(42, 29, 34, .05);
  color: var(--bl-encre) !important;
  font-family: var(--bl-serif);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}
.header-drawer-link.header-drawer-link:hover { background: var(--bl-vis), var(--bl-fr-pale) !important; color: var(--bl-fr-2) !important; border-color: var(--bl-laiton); }
.header-drawer-link.header-drawer-more { grid-column: 1 / -1; background: transparent !important; box-shadow: none; border-style: dashed; color: var(--bl-fr-2) !important; }
.header-drawer-footer { background: var(--bl-creme-2); border-top: 1px solid var(--bl-laiton); }
.header-drawer-cta.header-drawer-cta-primary { background: var(--bl-fr); color: #fff !important; border-radius: 999px; min-height: 48px; box-shadow: 0 8px 18px rgba(176, 48, 106, .28); }

/* -- RECETTE PHP · villes-bas (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; }

/* -- TITRES : serif calme + fente de boîte aux lettres */
.page-header h1, .section h2, .section-header h2, .info-duo-title.info-duo-title {
  font-family: var(--bl-serif);
  color: var(--bl-encre);
  font-weight: 700;
  letter-spacing: -.005em;
}
.page-header h1 { color: var(--bl-fr-2); }
.section > h2, .section-header h2, .section h2.info-duo-title { padding-bottom: 22px; background: var(--bl-fente) left bottom / 70px 12px no-repeat; }
.home-intro-text, .home-intro-body, .seo-text, .seo-text p { color: var(--bl-muted); }
.breadcrumb, .breadcrumb a { color: var(--bl-muted); }
.breadcrumb a:hover { color: var(--bl-fr); }

/* -- FILTRES (tri) : étiquette vissée */
.filters .filter-btn {
  background: var(--bl-carte);
  color: var(--bl-encre);
  border: 1px solid var(--bl-laiton-pale);
  border-radius: 8px;
  min-height: 42px;
}
.filters .filter-btn:hover { border-color: var(--bl-fr); color: var(--bl-fr-2); }
.filters .filter-btn.active { background: var(--bl-fr); color: #fff; border-color: var(--bl-fr); }
.filters select.ds-fsel { background-color: var(--bl-carte); color: var(--bl-encre); border: 1px solid var(--bl-laiton); border-radius: 8px; padding-left: 16px; min-height: 44px; box-shadow: inset 0 0 0 2px var(--bl-carte), inset 0 0 0 3px var(--bl-creme-2); font-family: var(--bl-serif); }
.pagination a, .pagination span { border-radius: 8px; border: 1px solid var(--bl-laiton-pale); background: var(--bl-carte); color: var(--bl-encre); }
.pagination .active, .pagination a:hover { background: var(--bl-fr); border-color: var(--bl-fr); color: #fff; }
.btn-voir-plus { border-radius: 999px; border: 1px solid var(--bl-fr); color: var(--bl-fr-2); background: var(--bl-carte); }

/* -- CARTES PROFIL : photo encadrée, étiquette d'âge en bas */
.profile-card {
  background: var(--bl-carte);
  border: 1px solid var(--bl-laiton-pale);
  border-radius: 14px;
  padding: 7px;
  box-shadow: var(--bl-ombre);
  transition: transform .25s ease, box-shadow .25s ease;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(138, 34, 83, .17); }
.profile-card-media { border-radius: 9px; background: var(--bl-creme-2); }
.profile-card-media img { transition: transform .5s ease; }
.profile-card:hover .profile-card-media img { transform: scale(1.05); }
.profile-card .profile-age-badge {
  top: auto; right: auto;
  bottom: 10px; left: 10px;
  padding: 4px 12px;
  border-radius: 5px;
  background: var(--bl-carte);
  color: var(--bl-encre);
  border: 1px solid var(--bl-laiton);
  box-shadow: inset 0 0 0 2px var(--bl-carte), inset 0 0 0 3px var(--bl-laiton-pale), 0 4px 10px rgba(42, 29, 34, .25);
  font-family: var(--bl-serif);
  font-size: .78rem;
  font-weight: 700;
}
.profile-card .profile-badge { background: var(--bl-fr); color: #fff; border-radius: 999px; }
.profile-info { padding-left: 6px; padding-right: 6px; }
.profile-headline, .profile-bio-name { color: var(--bl-encre); font-family: var(--bl-serif); }
.profile-bio, .profile-location-line, .profile-location-label { color: var(--bl-muted); }
.profile-location-value { color: var(--bl-fr-2); }

/* -- CTA : enveloppe crème, rabat framboise pâle, cachet en cœur */
.cta-section.cta-section {
  position: relative;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><circle cx='24' cy='24' r='22' fill='%23b0306a'/><circle cx='24' cy='24' r='18' fill='none' stroke='%23f6dfe9' stroke-width='1'/><path fill='%23fffcf6' d='M24 33s-8-4.8-10-9.3C12.7 20.4 14.6 17 18 17c2 0 3.8 1.1 6 3.3 2.2-2.2 4-3.3 6-3.3 3.4 0 5.3 3.4 4 6.7C32 28.2 24 33 24 33z'/></svg>") center 52px / 46px 46px no-repeat,
    linear-gradient(to bottom right, var(--bl-fr-pale) 49.6%, var(--bl-laiton-pale) 50%, transparent 50.6%) left top / 50.2% 78px no-repeat,
    linear-gradient(to bottom left, var(--bl-fr-pale) 49.6%, var(--bl-laiton-pale) 50%, transparent 50.6%) right top / 50.2% 78px no-repeat,
    var(--bl-carte);
  color: var(--bl-encre);
  border: 1px solid var(--bl-laiton-pale);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(138, 34, 83, .13), 0 2px 6px rgba(42, 29, 34, .06);
  max-width: 720px;
  width: 100%;
  box-sizing: border-box;
  margin: 2.5rem auto;
  padding: 116px 28px 38px;
  align-self: center;
}
.cta-section.cta-section h2 { color: var(--bl-fr-2); font-family: var(--bl-serif); font-size: clamp(1.35rem, 3vw, 1.8rem); }
.cta-section.cta-section p { color: var(--bl-muted); }
.btn.btn-primary {
  background: var(--bl-fr);
  border-color: var(--bl-fr);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(176, 48, 106, .30);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn.btn-primary:hover { background: var(--bl-fr-2); border-color: var(--bl-fr-2); transform: translateY(-2px); }
.btn.btn-secondary, .btn.btn-outline { border-radius: 999px; border-color: var(--bl-fr); color: var(--bl-fr-2); background: transparent; }
.btn.btn-secondary:hover, .btn.btn-outline:hover { background: var(--bl-fr-pale); }

/* un seul CTA par zone : le bandeau défilant disparaît, le bloc pré-footer devient la plaque de la boîte */
.scrolling-bar { display: none !important; }
.footer-signup-cta.footer-signup-cta { background: var(--bl-creme-2); border-top: 1px solid var(--bl-laiton-pale); padding: 36px 16px; }
.footer-signup-cta.footer-signup-cta > .container {
  max-width: 820px;
  box-sizing: border-box;
  padding: 40px 26px 28px;
  background: var(--bl-fente) center 16px / 84px 15px no-repeat, var(--bl-carte);
  border: 1px solid var(--bl-laiton);
  border-radius: 14px;
  box-shadow: inset 0 0 0 4px var(--bl-carte), inset 0 0 0 5px var(--bl-laiton-pale), var(--bl-ombre);
}
.footer-signup-cta h2 { color: var(--bl-encre); font-family: var(--bl-serif); }
.footer-signup-cta p { color: var(--bl-muted); }
@media (min-width: 769px) {
  .footer-signup-cta.footer-signup-cta > .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center; text-align: left; padding: 44px 34px 28px; }
  .footer-signup-cta.footer-signup-cta > .container > h2 { grid-column: 1; }
  .footer-signup-cta.footer-signup-cta > .container > p { grid-column: 1; margin-left: 0; margin-bottom: 0; }
  .footer-signup-cta.footer-signup-cta > .container > .btn { grid-column: 2; grid-row: 1 / 3; }
}

/* -- VILLES : étiquettes de casier */
.links-grid .link-tag, .link-tag {
  background: var(--bl-carte);
  border: 1px solid var(--bl-laiton-pale);
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--bl-carte), inset 0 0 0 3px var(--bl-creme-2);
  color: var(--bl-encre);
  font-weight: 600;
}
.link-tag::before { background: var(--bl-fr-pale); color: var(--bl-fr-2); border-radius: 4px; }
.link-tag:hover { background: var(--bl-fr); border-color: var(--bl-fr); box-shadow: 0 6px 14px rgba(176, 48, 106, .22); color: #fff; }
.link-tag:hover::before { background: #fff; color: var(--bl-fr); }
.links-grid-collapsed::after { background: linear-gradient(to bottom, transparent, var(--bl-creme)); }
.search-input { background: var(--bl-carte); color: var(--bl-encre); border: 1px solid var(--bl-laiton-pale); border-radius: 10px; }
.search-input::placeholder { color: var(--bl-muted); }

/* badges de confiance : petites plaques ; les clones du carrousel restent cachés sur desktop */
.trust-badges { background: var(--bl-creme); }
.trust-item { background: var(--bl-carte); border: 1px solid var(--bl-laiton-pale); border-radius: 12px; box-shadow: inset 0 3px 0 var(--bl-fr-pale); }
.trust-title { color: var(--bl-encre); font-family: var(--bl-serif); }
.trust-desc { color: var(--bl-muted); }
.trust-carousel-btn { background: var(--bl-fr); color: #fff; border-radius: 10px; }
@media (min-width: 769px) { .trust-grid .trust-item:nth-child(n+6), .trust-item[aria-hidden="true"] { display: none; } }

/* -- FAQ, météo, carte, retour en haut */
.accordion-item { background: var(--bl-carte); border: 1px solid var(--bl-laiton-pale); border-radius: 10px; }
.accordion-header { color: var(--bl-encre); font-weight: 600; }
.accordion-header:hover { color: var(--bl-fr-2); }
.accordion-header::after { color: var(--bl-fr); }
.accordion-item[open] { border-color: var(--bl-laiton); box-shadow: inset 4px 0 0 var(--bl-fr), 0 8px 20px rgba(138, 34, 83, .09); }
.accordion-body, .accordion-body span { color: var(--bl-muted); }
.weather-card { background: var(--bl-carte); border: 1px solid var(--bl-laiton); border-radius: 14px; box-shadow: inset 0 0 0 4px var(--bl-carte), inset 0 0 0 5px var(--bl-laiton-pale); color: var(--bl-encre); }
.weather-card .weather-city, .weather-card .weather-label, .weather-card .weather-v { color: var(--bl-encre); }
.weather-card .weather-k, .weather-card .weather-foot, .weather-card .weather-status, .weather-card .weather-error { color: var(--bl-muted); }
.weather-card .weather-item { background: var(--bl-creme-2); border: 1px solid var(--bl-laiton-pale); border-radius: 8px; }
.ville-map-card { background: var(--bl-carte); border-radius: 14px; border: 1px solid var(--bl-laiton-pale); }
.ville-map-header, .ville-map-header * { color: var(--bl-encre); }
.btn-map-toggle { background: var(--bl-fr); color: #fff; border-radius: 999px; }
.back-to-top.back-to-top { background: var(--bl-fr); color: #fff; border-radius: 12px; box-shadow: 0 0 0 3px var(--bl-creme), 0 0 0 4px var(--bl-laiton), 0 8px 18px rgba(138, 34, 83, .3); }

/* -- FOOTER : casiers alignés */
.site-footer.site-footer { background: var(--bl-creme-2); color: var(--bl-muted); border-top: 1px solid var(--bl-laiton); box-shadow: inset 0 3px 0 var(--bl-carte); }
.site-footer .footer-col {
  background: var(--bl-fente) center 14px / 70px 12px no-repeat, linear-gradient(180deg, var(--bl-carte), var(--bl-creme));
  border: 1px solid var(--bl-laiton-pale);
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px var(--bl-carte), 0 6px 16px rgba(42, 29, 34, .06);
  box-sizing: border-box;
}
.site-footer .footer-col-brand { background: var(--bl-fente) center 14px / 70px 12px no-repeat, linear-gradient(180deg, var(--bl-fr-pale), var(--bl-carte) 70%); border-color: var(--bl-fr); box-shadow: inset 0 3px 0 var(--bl-fr), 0 8px 20px rgba(138, 34, 83, .14); }
.site-footer .footer-col-brand h3 { color: var(--bl-fr-2); font-family: var(--bl-serif); font-size: 1.2rem; }
.site-footer .footer-col-brand .footer-tagline { color: var(--bl-muted); }
.site-footer .footer-col a { color: var(--bl-encre); }
.site-footer .footer-col a:hover { color: var(--bl-fr); }
.site-footer .footer-toggle {
  color: var(--bl-encre);
  font-family: var(--bl-serif);
  font-weight: 700;
  background: var(--bl-vis), var(--bl-carte);
  border: 1px solid var(--bl-laiton);
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--bl-carte), inset 0 0 0 3px var(--bl-laiton-pale);
  padding-left: 26px; padding-right: 26px;
}
.site-footer .footer-chevron { color: var(--bl-laiton); }
.site-footer .footer-bottom { color: var(--bl-muted); border-top: 1px solid var(--bl-laiton-pale); text-align: center; }
@media (min-width: 769px) {
  .site-footer .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .site-footer .footer-col { padding: 44px 20px 22px; }
  .site-footer .footer-toggle { display: block; padding-top: 8px; padding-bottom: 8px; margin-bottom: 14px; text-align: center; }
  .site-footer .footer-panel a { display: block; padding: 4px 0; text-align: center; }
  .site-footer .footer-col-brand { text-align: center; }
}
@media (max-width: 768px) {
  .site-footer .footer-grid { gap: 10px; }
  .site-footer .footer-col { padding: 36px 14px 14px; }
  .site-footer .footer-toggle { min-height: 44px; }
  .site-footer .footer-panel { padding-top: 10px; }
}

/* -- POP-UPS (couleurs, bordures, rayons) */
#profileModal .modal-content { background: var(--bl-carte); color: var(--bl-encre); border-radius: 18px; border: 1px solid var(--bl-laiton-pale);
  --text: var(--bl-encre); --text-muted: var(--bl-muted); --bg-card: var(--bl-carte); --bg-alt: var(--bl-creme); --border: var(--bl-laiton-pale); }
#profileModal .modal-name, #profileModal .modal-display-name, #profileModal .modal-headline { color: var(--bl-encre); font-family: var(--bl-serif); }
#profileModal .modal-body .modal-meta, #profileModal .modal-age, #profileModal .modal-tags-label { color: var(--bl-muted); }
#profileModal .modal-bio, #profileModal .modal-bio-wrap { color: var(--bl-encre); background: var(--bl-creme); border-radius: 10px; }
#profileModal .modal-tag, #profileModal .modal-tags span { background: var(--bl-creme); color: var(--bl-encre); border: 1px solid var(--bl-laiton-pale); border-radius: 6px; }
#profileModal .modal-actions { background: var(--bl-carte); }
#profileModal .modal-contact-btn.btn-primary, #profileModal .btn-cta-overlay { background: var(--bl-fr); border-color: var(--bl-fr); color: #fff; border-radius: 999px; }
#profileModal .modal-fav-btn.btn-outline { color: var(--bl-fr-2); border-color: var(--bl-laiton-pale); background: transparent; }
#profileModal .modal-close { background: var(--bl-carte); color: var(--bl-encre); border-radius: 10px; }
#signupOverlay .signup-popup { background: var(--bl-carte); color: var(--bl-encre); border-radius: 18px; border: 1px solid var(--bl-laiton); }
#signupOverlay .signup-popup h2, #signupOverlay .signup-popup h3 { color: var(--bl-fr-2); font-family: var(--bl-serif); }
#signupOverlay .form-input { background: #fff; color: var(--bl-encre); border: 1px solid var(--bl-laiton-pale); border-radius: 10px; }
.age-gate .age-gate-content { background: var(--bl-carte); color: var(--bl-encre); border: 1px solid var(--bl-laiton); border-radius: 18px; box-shadow: inset 0 0 0 4px var(--bl-carte), inset 0 0 0 5px var(--bl-laiton-pale); }
.age-gate .age-gate-content h1, .age-gate .age-gate-content h2 { color: var(--bl-fr-2); font-family: var(--bl-serif); }
.age-gate .age-gate-content p { color: var(--bl-muted); }

@media (prefers-reduced-motion: reduce) {
  .profile-card, .profile-card-media img, .btn.btn-primary, .site-header .btn-header.header-auth-btn, .site-header .logo.header-logo { transition: none !important; }
  .profile-card:hover, .profile-card:hover .profile-card-media img, .btn.btn-primary:hover, .site-header .btn-header.header-auth-btn:hover { transform: none !important; }
}

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