/* Identité commune Odratta / Odra, 29 octobre 2026. Couleur secondaire des deux sites : bleu #2E57E7
   (décision de Joseph du 29/10/2026 : « Odratta noir et bleu / Odrahost blanc et bleu »). */
:root {
  --brand-background: #0a0b0e;
  --brand-surface: #15151d;
  --brand-foreground: #f4f3ef;
  --brand-muted: #c8c6d0;
  --brand-secondary: #2e57e7;
  --brand-secondary-hover: #2549c9;
  --brand-secondary-text: #8dafff;
  --brand-border: #34333d;
  --brand-width: 1320px;
  --brand-radius: 12px;
}
.brand-switch {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 242px;
  min-height: 52px;
  padding: 9px 16px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: var(--brand-secondary) !important;
  color: #fff !important;
  font-family: 'Hanken Grotesk', sans-serif;
  text-decoration: none;
  flex: none;
  line-height: 1.1;
  transition: background-color 160ms ease, transform 160ms ease;
}
.brand-switch:hover { background: var(--brand-secondary-hover) !important; }
.brand-switch:active { transform: translateY(1px); }
.brand-switch:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.brand-switch-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 4px; }
.brand-switch-copy > svg, .brand-switch-copy > img { width: 76px !important; height: 17px !important; object-fit: contain; object-position: left; }
.brand-switch-copy > span { font-size: 13px !important; font-weight: 500; white-space: nowrap; }
.brand-switch > svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 767px) {
  .brand-switch { width: 184px; min-height: 48px; padding: 8px 11px !important; gap: 8px; }
  .brand-switch-copy > span { font-size: 11px !important; }
  .brand-switch-copy > svg, .brand-switch-copy > img { width: 65px !important; height: 15px !important; }
  .brand-switch > svg { width: 15px; height: 15px; }
}
@media (max-width: 375px) {
  .brand-switch { width: 172px; padding-inline: 9px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-switch { transition: none; }
}

/* Accès direct au panneau complet, dans la continuité du bleu Hosting. */
.brand-switch-gestion {
  width: 184px;
  height: 64px;
  min-height: 0;
  padding: 6px 16px !important;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .brand-switch-gestion { width: 160px; height: 56px; padding: 4px 11px !important; gap: 8px; font-size: 16px; }
}
@media (max-width: 375px) {
  .brand-switch-gestion { width: 136px; height: 52px; padding-inline: 9px !important; font-size: 14px; }
}
