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

/* trans-argentina.lat — « TÔLES DE CAMINITO » (lot .lat, Argentine). Astro national, villes-bas, sans filtres.
   Ámbar #e0a21a (favicon) + crème de conventillo #fbf5ea + encre de fonte #2a2118.
   Formes : tôle ondulée (fines cannelures, une touche), médaillons (âge, logo), vague en séparateur des titres.
   Composition : sidebar en deux rangées — ACTIONS en haut (tuiles icône sur libellé, posées sur une tôle),
   logo en médaillon cerclé dessous, vague, puis régions ; cartes à bandeau bas ambré ; footer sombre à filet d'accent. */
html:not(#_){
  --tc-crema:#fbf5ea; --tc-crema-f:#f3e8d4; --tc-carte:#fffdf8; --tc-filet:#eadbc0; --tc-filet-f:#d6c09a;
  --tc-ambar:#e0a21a; --tc-ambar-c:#f2c45a; --tc-ambar-p:#fbefd2; --tc-ambar-t:#845607;
  --tc-encre:#2a2118; --tc-muet:#665847; --tc-nuit:#231c16; --tc-nuit-c:#3a2f25;
  --tc-ombre:0 18px 34px -22px rgba(132,86,7,.45),0 2px 6px -2px rgba(42,33,24,.08);
  --tc-ombre-b:0 12px 24px -12px rgba(224,162,26,.75);
  --tc-degr:linear-gradient(170deg,#efb43a,var(--tc-ambar) 55%,#cf9012);
  --tc-tole:repeating-linear-gradient(90deg,rgba(42,33,24,.055) 0 2px,rgba(255,255,255,.35) 2px 4px,transparent 4px 9px);
  --tc-tole-n:repeating-linear-gradient(90deg,rgba(242,196,90,.07) 0 2px,transparent 2px 9px);
  --tc-vague:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='10' viewBox='0 0 64 10'><path d='M0 5 Q8 0 16 5 T32 5 T48 5 T64 5' fill='none' stroke='%23e0a21a' stroke-width='2.4' stroke-linecap='round'/></svg>");
  --text:var(--tc-encre); --text-muted:var(--tc-muet); --border:var(--tc-filet); --bg:var(--tc-crema); --bg-alt:var(--tc-crema-f); --bg-card:var(--tc-carte);
  --primary:var(--tc-ambar); --secondary:var(--tc-ambar-t);
  --radius:16px; --radius-sm:10px; --shadow-lg:var(--tc-ombre);
  --card-radius:16px; --card-border-c:var(--tc-filet);
}
html:not(#_) body{background:var(--tc-crema);color:var(--tc-encre);}
html:not(#_) a{color:var(--tc-ambar-t);}
html:not(#_) h1, html:not(#_) h2, html:not(#_) h3{color:var(--tc-encre);}
html:not(#_) .text-muted{color:var(--tc-muet) !important;}
html:not(#_) .btn{border-radius:999px;font-weight:700;}
html:not(#_) .btn-primary{background:var(--tc-degr);color:var(--tc-encre) !important;border:0;box-shadow:var(--tc-ombre-b);}
html:not(#_) .btn-primary:hover{background:linear-gradient(170deg,var(--tc-ambar),#c98a0e);transform:translateY(-1px);}
html:not(#_) .btn-outline{border-color:var(--tc-filet-f);color:var(--tc-encre);}
html:not(#_) .btn-outline:hover{border-color:var(--tc-ambar);color:var(--tc-ambar-t);}

/* 1. sidebar en deux rangées : actions en haut (sur une tôle), logo médaillon + vague, puis régions */
html:not(#_) .sidebar-inner{background:var(--tc-carte);border:1px solid var(--tc-filet);border-radius:20px;box-shadow:var(--tc-ombre);padding:0 12px 16px;scrollbar-width:thin;scrollbar-color:var(--tc-filet-f) transparent;box-sizing:border-box;}
html:not(#_) .sb-nav{order:-1;display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 -12px 16px;padding:12px 12px 14px;background:var(--tc-tole),var(--tc-crema-f);border-bottom:3px solid var(--tc-ambar);border-radius:19px 19px 0 0;}
html:not(#_) .sb-link{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:52px;padding:6px 4px;border:1px solid var(--tc-filet-f);border-radius:12px;background:var(--tc-carte);color:var(--tc-encre);font-size:.72rem;font-weight:700;text-align:center;line-height:1.15;transition:background .18s,border-color .18s,box-shadow .18s;}
html:not(#_) .sb-link .sb-ico{width:18px;height:18px;color:var(--tc-ambar-t);flex-shrink:0;}
html:not(#_) .sb-link:hover{background:var(--tc-ambar-p);border-color:var(--tc-ambar);}
html:not(#_) .sb-link.active{background:var(--tc-encre);border-color:var(--tc-encre);color:var(--tc-ambar-c);}
html:not(#_) .sb-link.active .sb-ico{color:var(--tc-ambar-c);}
html:not(#_) .sb-link[href="/register"]{background:var(--tc-degr);border-color:transparent;color:var(--tc-encre);box-shadow:var(--tc-ombre-b);}
html:not(#_) .sb-link[href="/register"] .sb-ico{color:var(--tc-encre);}
html:not(#_) .sb-logo{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:8px;padding:2px 6px 22px;margin-bottom:6px;background:var(--tc-vague) center bottom / 64px 10px no-repeat;}
html:not(#_) .sb-logo-dot{width:58px;height:58px;border-radius:50%;background:var(--tc-degr);box-shadow:0 0 0 4px var(--tc-carte),0 0 0 6px var(--tc-ambar),0 12px 22px -10px rgba(132,86,7,.7);}
html:not(#_) .sb-logo-dot svg{color:var(--tc-encre);}
html:not(#_) .sb-logo-text{color:var(--tc-encre);font-weight:700;font-size:1.3rem;font-family:Georgia,"Times New Roman",serif;letter-spacing:.02em;}
html:not(#_) .sb-section{margin:0 0 10px;padding:6px 2px;}
html:not(#_) .sb-map-quick-link{box-sizing:border-box;display:flex;justify-content:center;width:100%;min-height:40px;margin:2px 0 12px;padding:7px 12px;border:1.5px solid var(--tc-ambar);border-radius:999px;background:var(--tc-carte);color:var(--tc-ambar-t);font-size:.8rem;font-weight:700;}
html:not(#_) .sb-map-quick-link .sb-ico{color:var(--tc-ambar-t);}
html:not(#_) .sb-map-quick-link:hover{background:var(--tc-ambar-p);}
html:not(#_) .sb-section-title{padding:4px 6px 6px;color:var(--tc-muet);font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;}
html:not(#_) .sb-silo-region{min-height:36px;padding:7px 10px;border-radius:10px;color:var(--tc-encre);font-size:.86rem;font-weight:700;}
html:not(#_) .sb-silo-region:hover{background:var(--tc-crema-f);color:var(--tc-ambar-t);}
html:not(#_) .sb-chevron{color:var(--tc-ambar-t);}
html:not(#_) .sb-silo-ville, html:not(#_) .sb-top-item{box-sizing:border-box;min-height:30px;padding:5px 10px;border-left:2px solid var(--tc-filet);border-radius:0 8px 8px 0;color:var(--tc-muet);font-size:.78rem;line-height:1.25;}
html:not(#_) .sb-silo-ville:hover, html:not(#_) .sb-top-item:hover{border-left-color:var(--tc-ambar);background:var(--tc-ambar-p);color:var(--tc-encre);}
html:not(#_) .sb-top-item .sb-ico{color:var(--tc-ambar-t);}
html:not(#_) .sb-silo-more{color:var(--tc-ambar-t);font-size:.76rem;font-weight:700;}

/* 2. barre mobile : rangée d'actions (connexion + burger) au-dessus, marque + CTA dessous ; barre basse */
html:not(#_) .mobile-guest-top{background:var(--tc-carte);color:var(--tc-encre);border-bottom:3px solid var(--tc-ambar);box-shadow:0 12px 24px -18px rgba(132,86,7,.55);}
html:not(#_) .mobile-guest-head{height:48px;padding:0 10px;background:var(--tc-tole),var(--tc-crema-f);border-bottom:1px solid var(--tc-filet);}
html:not(#_) .mobile-guest-brand{color:var(--tc-encre) !important;font-size:1.16rem;font-weight:700;font-family:Georgia,"Times New Roman",serif;margin-right:auto;max-width:52%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html:not(#_) .mobile-guest-login{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid var(--tc-encre);border-radius:999px;color:var(--tc-encre) !important;font-size:.78rem;font-weight:700;background:var(--tc-carte);}
html:not(#_) .mobile-guest-cta{padding:.5rem 12px .65rem;background:var(--tc-carte);}
html:not(#_) .mobile-guest-cta-offer, html:not(#_) .mobile-guest-timer-label{color:var(--tc-muet);}
html:not(#_) .mobile-guest-cta-kw{color:var(--tc-encre);font-weight:700;}
html:not(#_) .mobile-guest-timer{color:var(--tc-encre);background:var(--tc-ambar-p);border:1px solid var(--tc-filet-f);border-radius:999px;padding:3px 12px;font-size:.92rem;}
html:not(#_) .mobile-guest-cta-btn{display:flex;align-items:center;justify-content:center;min-height:46px;padding:.5rem 1rem;background:var(--tc-degr);color:var(--tc-encre) !important;border:0;border-radius:999px;font-size:.92rem;font-weight:800;box-shadow:var(--tc-ombre-b);}
@media (max-width:768px){html:not(#_) body.has-mobile-guest-top{padding-top:calc(136px + env(safe-area-inset-top,0px));}}
html:not(#_) .ds-burger{color:var(--tc-encre);background:var(--tc-carte);border:1px solid var(--tc-filet-f);border-radius:12px;width:44px;height:36px;}
html:not(#_) .ds-menu-close{color:var(--tc-encre);background:var(--tc-ambar);border-radius:50%;box-shadow:var(--tc-ombre-b);}
html:not(#_) .ds-menu-overlay{background:rgba(35,28,22,.55);}
html:not(#_) .bottom-bar{background:var(--tc-carte);border-top:3px solid var(--tc-ambar);box-shadow:0 -10px 24px -18px rgba(132,86,7,.5);padding-bottom:env(safe-area-inset-bottom,0px);}
html:not(#_) .btab{box-sizing:border-box;min-height:52px;color:var(--tc-muet);border-radius:12px;}
html:not(#_) .btab-lbl{font-size:.64rem;font-weight:700;}
html:not(#_) .btab:hover, html:not(#_) .btab.active{color:var(--tc-encre);background:var(--tc-ambar-p);}

/* 3. hero : texte sur crème, colonne de chiffres sur tôle sombre */
html:not(#_) .hv3-hero{background:var(--tc-crema);border-bottom:1px solid var(--tc-filet);}
html:not(#_) .hv3-hero__badge{background:var(--tc-encre);color:var(--tc-ambar-c);border-radius:999px;box-shadow:none;font-weight:700;letter-spacing:.08em;}
html:not(#_) .hv3-hero__title{color:var(--tc-encre);font-weight:800;font-family:Georgia,"Times New Roman",serif;letter-spacing:-.01em;}
html:not(#_) .hv3-hero__title::after{content:"";display:block;width:96px;height:10px;margin-top:.7rem;background:var(--tc-vague) left center / 48px 10px repeat-x;}
html:not(#_) .hv3-hero__desc{color:var(--tc-muet);}
html:not(#_) .hv3-hero__cta{border-radius:999px;box-shadow:var(--tc-ombre-b);}
html:not(#_) .hv3-hero__search-zone{border-top:1px dashed var(--tc-filet-f);}
html:not(#_) .search-input{background:var(--tc-carte);border:1px solid var(--tc-filet-f);border-radius:999px;color:var(--tc-encre);}
html:not(#_) .search-input::placeholder{color:var(--tc-muet);}
html:not(#_) .search-input:focus{border-color:var(--tc-ambar);outline:2px solid var(--tc-ambar-p);}
html:not(#_) .hv3-hero__aside{background:var(--tc-tole-n),linear-gradient(160deg,var(--tc-nuit-c),var(--tc-nuit));}
html:not(#_) .hv3-stats__card{background:rgba(255,253,248,.06);border:1px solid rgba(242,196,90,.35);border-radius:999px 999px 18px 18px;color:#fbf5ea;backdrop-filter:none;-webkit-backdrop-filter:none;}
html:not(#_) .hv3-stats__num{color:var(--tc-ambar-c);}
html:not(#_) .hv3-stats__lbl{color:#efe4cf;}
html:not(#_) .trust-badges .badge{background:var(--tc-carte);border:1px solid var(--tc-filet);border-radius:999px;color:var(--tc-encre);box-shadow:0 8px 16px -14px rgba(132,86,7,.6);}
html:not(#_) .trust-badges .badge-label{color:var(--tc-encre);}

/* 4. titres de section : vague sous le titre, alignés à gauche */
html:not(#_) .section{margin-bottom:2.6rem;}
html:not(#_) .section > h2, html:not(#_) .maps-section h2, html:not(#_) .map-section-head h2{color:var(--tc-encre);font-weight:700;font-family:Georgia,"Times New Roman",serif;padding-bottom:16px;background:var(--tc-vague) left bottom / 64px 10px no-repeat;}
html:not(#_) .breadcrumb a{color:var(--tc-ambar-t);}
html:not(#_) .breadcrumb, html:not(#_) .breadcrumb strong{color:var(--tc-muet);}

/* 5. cartes profil : médaillon d'âge, bandeau bas ambré */
html:not(#_) .profile-card{background:var(--tc-carte);border:1px solid var(--tc-filet);border-radius:16px;box-shadow:var(--tc-ombre);transition:transform .25s,box-shadow .25s;}
html:not(#_) .profile-card:hover{transform:translateY(-4px);box-shadow:0 24px 40px -22px rgba(132,86,7,.6);}
html:not(#_) .profile-photo{background:var(--tc-crema-f);}
html:not(#_) .profile-photo img{transition:transform .5s ease;}
html:not(#_) .profile-card:hover .profile-photo img{transform:scale(1.1);}
html:not(#_) .profile-age{top:10px;left:10px;right:auto;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:4px;box-sizing:border-box;border-radius:50%;background:var(--tc-ambar);color:var(--tc-encre);font-size:.66rem;font-weight:800;line-height:1.05;text-align:center;box-shadow:0 0 0 3px rgba(255,253,248,.9),0 8px 16px -8px rgba(42,33,24,.6);}
html:not(#_) .profile-lock{background:rgba(35,28,22,.72);}
html:not(#_) .profile-info{padding:.75rem .85rem .6rem;}
html:not(#_) .profile-title{color:var(--tc-ambar-t);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
html:not(#_) .profile-name{color:var(--tc-encre);}
html:not(#_) .profile-ville{color:var(--tc-muet);}
html:not(#_) .profile-bio{color:var(--tc-muet);}
html:not(#_) .profile-footer{border-top:0;padding:0;background:var(--tc-degr);}
html:not(#_) .profile-cta{background:transparent;border:0;border-radius:0;color:var(--tc-encre);font-weight:800;padding:.7rem .6rem;letter-spacing:.02em;}
html:not(#_) .profile-card:hover .profile-cta{background:var(--tc-tole);}

/* 6. listes de villes / régions, filtres, pagination, onglets */
html:not(#_) .link-tag{background:var(--tc-carte);border:1px solid var(--tc-filet);border-radius:999px;color:var(--tc-encre);min-height:40px;box-sizing:border-box;}
html:not(#_) .link-tag:hover{border-color:var(--tc-ambar);background:var(--tc-ambar-p);color:var(--tc-encre);}
html:not(#_) .ville-pills .pill, html:not(#_) .rcs-chip{background:var(--tc-carte);border:1px solid var(--tc-filet-f);border-radius:999px;color:var(--tc-encre);}
html:not(#_) .ville-pills .pill:hover, html:not(#_) .rcs-chip:hover{border-color:var(--tc-ambar);background:var(--tc-ambar-p);}
html:not(#_) .filters .filter-btn{min-height:40px;background:var(--tc-carte);border:1px solid var(--tc-filet-f);border-radius:999px;color:var(--tc-encre);font-weight:600;}
html:not(#_) .filters .filter-btn.active, html:not(#_) .filters .filter-btn:hover{background:var(--tc-encre);border-color:var(--tc-encre);color:var(--tc-ambar-c);}
html:not(#_) .tabs{border-bottom:1px solid var(--tc-filet);}
html:not(#_) .tab{color:var(--tc-muet);font-weight:700;border-radius:12px 12px 0 0;}
html:not(#_) .tab.active{color:var(--tc-encre);border-bottom:3px solid var(--tc-ambar);background:var(--tc-ambar-p);}
html:not(#_) .pagination-link{min-width:40px;min-height:40px;box-sizing:border-box;background:var(--tc-carte);border:1px solid var(--tc-filet);border-radius:50%;color:var(--tc-encre);}
html:not(#_) .pagination-link:hover{border-color:var(--tc-ambar);background:var(--tc-ambar-p);}
html:not(#_) .pagination-current{min-width:40px;min-height:40px;box-sizing:border-box;border-radius:50%;background:var(--tc-encre);color:var(--tc-ambar-c);border-color:var(--tc-encre);}
html:not(#_) .pagination-arrow{color:var(--tc-ambar-t);}
html:not(#_) .pagination-ellipsis{color:var(--tc-muet);}

/* 7. CTA milieu de page : carte crème à tôle, bouton ambré */
html:not(#_) .cta-section{position:relative;background:var(--tc-tole),linear-gradient(160deg,var(--tc-carte),var(--tc-crema-f));color:var(--tc-encre);border:1px solid var(--tc-filet);border-top:4px solid var(--tc-ambar);border-radius:22px;box-shadow:var(--tc-ombre);padding:44px 28px 40px;}
html:not(#_) .cta-section h2{color:var(--tc-encre);font-family:Georgia,"Times New Roman",serif;font-weight:700;padding-bottom:16px;background:var(--tc-vague) center bottom / 64px 10px no-repeat;}
html:not(#_) .cta-section p{color:var(--tc-muet);}
html:not(#_) .cta-section .btn.btn-primary{min-height:48px;padding-left:2.2rem;padding-right:2.2rem;}

/* 8. FAQ, carte, météo, section éditoriale éventuelle */
html:not(#_) .info-duo, html:not(#_) .accordion-item, html:not(#_) .ville-map-card, html:not(#_) .map-card, html:not(#_) .weather-card{background:var(--tc-carte);border:1px solid var(--tc-filet);border-radius:16px;color:var(--tc-encre);}
html:not(#_) .accordion-item{margin-bottom:10px;box-shadow:0 10px 20px -18px rgba(132,86,7,.5);}
html:not(#_) .accordion-header, html:not(#_) .accordion-q{color:var(--tc-encre);font-weight:700;}
html:not(#_) .accordion-item[open]{border-color:var(--tc-ambar);}
html:not(#_) .accordion-body{color:var(--tc-muet);}
html:not(#_) .ville-map-header h3{color:var(--tc-encre);}
html:not(#_) .ville-map-badge{background:var(--tc-ambar);color:var(--tc-encre);border-radius:999px;}
html:not(#_) .map-list-title{color:var(--tc-encre);}
html:not(#_) .map-list-link{color:var(--tc-ambar-t);}
html:not(#_) .map-hint{color:var(--tc-muet);}
html:not(#_) main > section[class^="c"]:not(.cta-section){color:var(--tc-encre);}
html:not(#_) main > section[class^="c"]:not(.cta-section) a{color:var(--tc-ambar-t);text-decoration:underline;text-decoration-color:var(--tc-filet-f);text-underline-offset:3px;}
html:not(#_) .back-to-top, html:not(#_) #back-to-top{background:var(--tc-encre);color:var(--tc-ambar-c);border-radius:50%;box-shadow:var(--tc-ombre-b);}

/* 9. footer sombre à filet d'accent */
html:not(#_) .footer-v2{background:var(--tc-nuit);color:#efe4cf;border-top:4px solid var(--tc-ambar);margin-top:4rem;padding:2.2rem 0 2rem;box-shadow:inset 0 10px 0 -6px rgba(224,162,26,.25);}
html:not(#_) .footer-row{gap:1.2rem 1.6rem;}
html:not(#_) .footer-logo{color:var(--tc-ambar-c) !important;font-family:Georgia,"Times New Roman",serif;font-size:1.35rem;font-weight:700;padding-bottom:12px;background:var(--tc-vague) left bottom / 48px 8px no-repeat;}
html:not(#_) .footer-links{gap:.35rem 1.2rem;}
html:not(#_) .footer-links a{color:#efe4cf;display:inline-flex;align-items:center;min-height:36px;}
html:not(#_) .footer-links a:hover{color:var(--tc-ambar-c);}
html:not(#_) .footer-copy{color:#c9baa2;}

/* 10. pop-ups : couleurs et rayons seulement */
html:not(#_) #profileModal .modal-content{background:var(--tc-carte);color:var(--tc-encre);border-radius:20px;--text:var(--tc-encre);--text-muted:var(--tc-muet);--bg-card:var(--tc-carte);--bg-alt:var(--tc-crema-f);--border:var(--tc-filet);}
html:not(#_) #profileModal .modal-name{color:var(--tc-encre);}
html:not(#_) #profileModal .modal-meta, html:not(#_) #profileModal .modal-bio{color:var(--tc-muet);}
html:not(#_) #profileModal .modal-tags span{background:var(--tc-ambar-p);color:var(--tc-encre);border-color:var(--tc-filet-f);}
html:not(#_) .popup-card{background:var(--tc-carte);color:var(--tc-encre);border-radius:22px;border-top:4px solid var(--tc-ambar);}
html:not(#_) .popup-title{color:var(--tc-encre);}
html:not(#_) .popup-desc{color:var(--tc-muet);}
html:not(#_) .popup-close{color:var(--tc-encre);}
html:not(#_) .age-gate-modal{background:var(--tc-carte);color:var(--tc-encre);border-radius:22px;border-top:4px solid var(--tc-ambar);}
html:not(#_) .age-gate-lead, html:not(#_) .age-gate-footnote{color:var(--tc-muet);}
html:not(#_) .age-gate-link{color:var(--tc-ambar-t);}

/* 11. correctifs après planche : variables inline de <main>, bandeau de région, bandeau bas collé en bas */
html:not(#_) main, html:not(#_) .mobile-guest-top, html:not(#_) .layout-wrap{--secondary:var(--tc-ambar-t) !important;--primary:var(--tc-ambar) !important;}
html:not(#_) .region-hero{background:var(--tc-tole-n),linear-gradient(160deg,var(--tc-nuit-c),var(--tc-nuit));color:#fbf5ea;border-bottom:4px solid var(--tc-ambar);}
html:not(#_) .region-hero h1{color:#fbf5ea;font-family:Georgia,"Times New Roman",serif;padding-bottom:16px;background:var(--tc-vague) left bottom / 64px 10px no-repeat;}
html:not(#_) .region-hero p, html:not(#_) .region-hero span{color:#e6d8bf;}
html:not(#_) .region-hero a, html:not(#_) .region-hero .breadcrumb a{color:var(--tc-ambar-c);}
html:not(#_) .region-hero .breadcrumb, html:not(#_) .region-hero .breadcrumb strong{color:#e6d8bf;}
html:not(#_) .profile-card{display:flex;flex-direction:column;}
html:not(#_) .profile-footer{margin-top:auto;}

@media (max-width:768px){
  html:not(#_) .sb-link{font-size:.8rem;min-height:56px;}
  html:not(#_) .sb-nav{padding-top:60px;}
  html:not(#_) .profile-age{min-width:44px;min-height:44px;font-size:.62rem;}
  html:not(#_) .cta-section{padding:34px 18px 30px;}
  html:not(#_) .footer-row{align-items:center;}
  html:not(#_) .footer-logo{background-position:center bottom;}
}

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

/* recette « astro · villes-bas » (copiée telle quelle depuis app/design_recettes_v3.css) */
html:not(#_) body.design-v-villes-bas .container > section.section.ds-villes:first-child{ order: 6; }
html:not(#_) body.design-v-villes-bas div.container.ds-c{ display: flex; flex-direction: column; }
html:not(#_) body.design-v-villes-bas div.container.ds-c > *{ order: 6; }
html:not(#_) body.design-v-villes-bas div.container > .page-header{ order: 0; }
html:not(#_) body.design-v-villes-bas div.container > section.section.ds-profils{ order: 1; }
html:not(#_) body.design-v-villes-bas div.container > .ds-bloc{ order: 2; }
html:not(#_) body.design-v-villes-bas div.container > section.cta-section{ order: 3; }
html:not(#_) body.design-v-villes-bas div.container > section.section.ds-faq{ order: 4; }
html:not(#_) body.design-v-villes-bas div.region-layout{ display: flex; flex-direction: column; }
html:not(#_) body.design-v-villes-bas div.region-layout > aside.region-sidebar{ order: 2; position: static; width: auto; max-width: none; }
html:not(#_) body.design-v-villes-bas div.region-layout > aside.region-sidebar ul.ville-list{ display: flex; flex-wrap: wrap; gap: 8px; }
/* __END_DESIGN_SITE__ */
