:root { color-scheme: light; }
/* Quiet controls: accessible names stay available without visible labels. */
.site-preferences { display:flex;align-items:center;gap:4px;flex-shrink:0;font:500 10px/1.2 var(--sans); }
.language-switch { display:flex;align-items:center; }
.language-switch a { min-width:30px;min-height:40px;display:flex;align-items:center;justify-content:center;padding:4px;color:var(--ink); }
.language-switch a[aria-current] { text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px; }
.theme-toggle { display:flex;align-items:center;justify-content:center;width:36px;height:40px;padding:8px;background:transparent;border:0; }
.theme-icon { display:block;width:19px;height:19px; }
.theme-icon svg { display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.theme-icon .sun { display:none; }
html[data-theme=dark] .theme-icon .sun { display:block; }
html[data-theme=dark] .theme-icon .moon { display:none; }
.site-header { gap:20px; }
.navigation { gap:16px; }
.translation-note { display:block;font:400 10px/1.7 var(--sans);opacity:.8;margin-top:8px; }
.podcast-section > .translation-note { margin-bottom:20px; }
@media(max-width:600px) { html[lang=en] .price-table td:nth-child(2)::before { content:'Duration'; } html[lang=en] .price-table td:nth-child(3)::before { content:'Price'; } }
html[data-theme=dark] { color-scheme:dark;--ink:#FBFBF9;--paper:#212121;--sand:#302e2b;--stone:#b9b2a8;--line:rgba(251,251,249,.23);--heading-ink:#d3c7b6;--surface:rgba(43,42,40,.96);--surface-line:rgba(148,133,112,.5);--surface-shadow:0 12px 35px rgba(0,0,0,.15);--charcoal:var(--ink);--ivory:var(--paper);background:#212121; }
html[data-theme=dark] body::before { background:linear-gradient(rgba(33,33,33,.93),rgba(33,33,33,.93)),url('/assets/ombre-lumiere-poster.webp') center/cover no-repeat; }
html[data-theme=dark] .site-header,html[data-theme=dark] .navigation { background:#212121; }
html[data-theme=dark] .soft,html[data-theme=dark] .closing,html[data-theme=dark] .page-neighbours { background:rgba(33,33,33,.76); }
html[data-theme=dark] .notice,html[data-theme=dark] .note { background:#302e2b; }
html[data-theme=dark] .shadow-break { background:linear-gradient(rgba(33,33,33,.9),rgba(33,33,33,.9)),url('/assets/ombre-lumiere-poster.webp') center/cover; }
html[data-theme=dark] .footer,html[data-theme=dark] .announce,html[data-theme=dark] .formation-feature { background:#212121;color:#FBFBF9;border-color:var(--line); }
html[data-theme=dark] .formation-feature h2,html[data-theme=dark] .formation-feature .eyebrow { color:#FBFBF9; }
html[data-theme=dark] .formation-feature .button { background:#FBFBF9;color:#212121;border-color:#FBFBF9; }
html[data-theme=dark] .cookie-banner { background:#2b2a28; }
html[data-theme=dark] .cookie-actions button { background:#FBFBF9;color:#212121;border-color:#FBFBF9; }
html[data-theme=dark] .contact-form input,html[data-theme=dark] .contact-form textarea,html[data-theme=dark] .contact-form select { background:#212121;color:#FBFBF9;border-color:var(--line); }
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder { color:#b9b2a8; }
html[data-theme=dark] .button:hover { color:#212121; }
html[data-theme=dark] .brand-logo { filter:none; }
@media(max-width:1180px) {
 .site-header { flex-wrap:wrap;gap:14px; }
 .brand { margin-right:auto; }
 .menu-toggle { order:2;display:flex;align-items:center;gap:10px;margin-left:0;border:0;background:none;padding:8px 0 8px 8px;min-height:44px;font-size:12px; }
 .menu-lines { width:20px;height:9px;border-top:1px solid currentColor;border-bottom:1px solid currentColor; }
 .site-preferences { order:1; }
 .navigation { order:4;position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:var(--paper);padding:16px 22px 25px;border-bottom:1px solid var(--line);max-height:calc(100dvh - 140px);overflow-y:auto;gap:0; }
 .navigation.is-open { display:flex; }
 .navigation a { font-size:15px;padding:15px 0!important;border-bottom:1px solid var(--line)!important; }
 .navigation .nav-about { display:block; }
 .navigation .nav-contact { margin-top:15px;padding:13px 18px!important;align-self:start; }
}
@media(max-width:600px) {
 .site-header { display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 8px;padding-block:12px; }
 .brand { grid-column:1;grid-row:1 / 3;min-width:0;margin:0;gap:9px; }
 .brand-name { font-size:clamp(21px,6vw,25px); }
 .menu-toggle { grid-column:2;grid-row:1;justify-self:end;min-height:30px;padding:0 4px; }
 .site-preferences { grid-column:2;grid-row:2;justify-self:end; }
 .language-switch a { min-width:28px;min-height:32px; }
 .theme-toggle { width:30px;height:32px;padding:6px; }
 .navigation { grid-column:auto; }
}

html[data-theme=dark] .button:not(.secondary) { background:#FBFBF9;color:#212121; }
html[data-theme=dark] .button.secondary { background:transparent;color:#FBFBF9; }
html[data-theme=dark] .review-card,html[data-theme=dark] .panel-beige,html[data-theme=dark] .detail-box { background:var(--surface); }

/* Urban’Care: anthracite action buttons in both themes; quiet controls keep their outlines. */
:root {
  --ucs-action-bg:#414548;
  --ucs-action-hover:#50565A;
  --ucs-action-ink:#FBF8F2;
  --ucs-action-edge:#414548;
}
html[data-theme=dark] { --ucs-action-edge:#A5A29A; }
html[data-theme] .button:not(.secondary),
html[data-theme] .navigation .nav-contact,
html[data-theme=dark] .cookie-actions button,
#hydraface-offer .button {
  background:var(--ucs-action-bg);
  color:var(--ucs-action-ink);
  border-color:var(--ucs-action-edge);
}
html[data-theme=dark] .navigation .nav-contact {
  box-shadow:inset 0 0 0 1px var(--ucs-action-edge);
}
html[data-theme] .button:not(.secondary):hover,
html[data-theme] .navigation .nav-contact:hover,
html[data-theme=dark] .cookie-actions button:hover,
#hydraface-offer .button:hover {
  background:var(--ucs-action-hover);
  color:var(--ucs-action-ink);
  border-color:var(--ucs-action-edge);
}
#hydraface-offer .button { border-color:var(--ucs-action-bg); }
#hydraface-offer .button:hover { border-color:var(--ucs-action-hover); }
