/* DLK Distribution – styles complémentaires à Tailwind */

/* Fond pointillé du héros (accueil) */
.bg-radial-grid {
  background-color: #0e1014;
  background-image: radial-gradient(rgba(185, 28, 28, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Curseurs du simulateur */
.range-amber {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #fbbf24 var(--fill, 0%), #334155 var(--fill, 0%));
  outline: none;
  cursor: pointer;
}
.range-amber::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fbbf24; border: 3px solid #0e1014;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, .4);
}
.range-amber::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fbbf24; border: 3px solid #0e1014;
}
.range-amber:focus-visible { box-shadow: 0 0 0 3px rgba(251, 191, 36, .5); }

/* Contour clavier visible partout */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

button, select { cursor: pointer; }

/* Ancres sous l'en-tête collant */
[id] { scroll-margin-top: 7rem; }

/* Respect du réglage « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Classes absentes du CSS Tailwind compilé (ajout 31/10/2026) */
.mt-4 { margin-top: 1rem; }
.mb-10 { margin-bottom: 2.5rem; }
.hover\:border-amber-400\/40:hover { border-color: rgb(251 191 36 / 0.4); }

/* Logo de l'en-tête agrandi dans un en-tête plus haut, sans toucher la bannière ni le texte (14/11/2026) */
header .h-24 { height: 6rem; }
.logo-header { width: 80px; height: 80px; margin-left: -0.25rem; }
@media (min-width: 640px) {
  header .h-24 { height: 7rem; }
  .logo-header { width: 100px; height: 100px; margin-left: -0.75rem; }
}
@media (min-width: 1024px) {
  .logo-header { width: 96px; height: 96px; margin-left: -1.75rem; }
}
@media (min-width: 1200px) {
  header .h-24 { height: 7.5rem; }
  .logo-header { width: 110px; height: 110px; }
}
[id] { scroll-margin-top: 8.5rem; }

/* Nom « DLK DISTRIBUTION » sur une seule ligne, sans toucher le bandeau (14/11/2026) */
header a > div.min-w-0, header nav a { white-space: nowrap; }
header a > div.min-w-0 { position: relative; top: 4px; }
@media (min-width: 1024px) and (max-width: 1199px) {
  header nav a { padding-left: 0.4rem !important; padding-right: 0.4rem !important; font-size: 0.8125rem; }
  .titre-header { font-size: 1.05rem !important; }
  header nav > :not([hidden]) ~ :not([hidden]) { margin-left: 0.125rem !important; }
  header a.bg-red-700 { padding-left: 0.6rem; padding-right: 0.6rem; white-space: nowrap; letter-spacing: 0.03em; }
}

/* Accueil : bloc « 20 Bouchers diplômés… » remonté (14/11/2026) */
.hero-accueil { padding-top: 1rem !important; }
@media (min-width: 1024px) {
  .hero-accueil { padding-top: 1.25rem !important; }
  .hero-accueil .grid { align-items: start; }
}
