/**
 * Charte Valeco (Ferrière-en-Parthenay).
 * Activer : copier ce fichier vers theme-client.css (même dossier).
 * theme-client.css est gitignored ; ne pas le committer.
 *
 * Couleurs logo : primary #213A8F, secondary #F6A600, accent #FE8F11.
 * Format DaisyUI 4 : L% C H.
 */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

html,
body,
.font-sans {
  font-family: Raleway, ui-sans-serif, system-ui, sans-serif;
}

html[data-theme='liv-consultation'],
html[data-theme='liv-concertation'],
html[data-theme='liv-enquete'] {
  --p: 38.5% 0.1440 266.85;
  --pc: 99% 0.005 267;
  --s: 78.4% 0.1658 74.43;
  --sc: 25% 0.08 267;
  --a: 75.4% 0.1750 59.18;
  --ac: 25% 0.08 267;
  --n: 31% 0.08 267;
  --nc: 97% 0.012 267;
  --b1: 99.5% 0.008 267;
  --b2: 97.0% 0.018 267;
  --b3: 93.0% 0.028 267;
  --bc: 31% 0.08 267;
  --in: 45% 0.12 267;
  --inc: 99% 0.005 267;
}

/* Logo d’en-tête hors navbar (page maintenance). */
header:not(.navbar) .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
header:not(.navbar) .custom-logo-link img.custom-logo {
  height: 2rem;
  min-height: 2rem;
  width: auto;
  max-width: min(62vw, 14rem);
  object-fit: contain;
}
@media (min-width: 640px) {
  header:not(.navbar) .custom-logo-link img.custom-logo {
    height: 2.5rem;
    max-width: 18rem;
  }
}

/* Logo navbar : aligne le thème (h-8 / sm:h-10 / md:h-12, min 2rem). */
.navbar .custom-logo-link img.custom-logo {
  height: 2rem;
  min-height: 2rem;
  width: auto;
  max-width: none;
  object-fit: contain;
}
@media (min-width: 640px) {
  .navbar .custom-logo-link img.custom-logo {
    height: 2.5rem;
  }
}
@media (min-width: 768px) {
  .navbar .custom-logo-link img.custom-logo {
    height: 3rem;
  }
}
