/* ============================================================
   Entreprise de nettoyage Jura — direction « Atelier chaleureux »
   Teinte unique : orange #ea580c (favicon), en nuances :
   crème #fff7ed, pêche #ffedd5, orange clair #fdba74,
   orange soutenu #c2410c (boutons, contraste blanc 5,2:1),
   brun orangé #9a3412 / #7c2d12, orange très foncé #431407.
   Police système Verdana, franche et nette comme un sol propre.
   Header minimal crème : nav à gauche, logo à droite.
   ============================================================ */

/* ── HEADER : bandeau crème, liseré orange, logo à droite ── */
header.site-header.hdr-minimal {
  background: #fff7ed;
  border-bottom: 3px solid #ea580c;
  box-shadow: 0 2px 10px rgba(154, 52, 18, .08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
  animation: nj-apparition .5s ease-out both;
}
header.site-header.hdr-minimal .header-inner {
  min-height: 64px;
  gap: 20px;
}
/* La marque passe à droite, la nav à gauche */
header.site-header.hdr-minimal .brand {
  order: 2;
  margin-left: auto;
  color: #7c2d12;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  flex-direction: row-reverse;
  gap: 10px;
  min-width: 0;
}
header.site-header.hdr-minimal .brand:hover { opacity: 1; color: #9a3412; }
header.site-header.hdr-minimal .brand-logo {
  width: 34px;
  height: 34px;
  background: #ffffff;
  border: 2px solid #fdba74;
  border-radius: 6px;
  padding: 3px;
}
header.site-header.hdr-minimal .hdr-minimal-nav {
  order: 1;
  gap: 4px;
}
header.site-header.hdr-minimal .hamburger { order: 0; color: #7c2d12; }
header.site-header.hdr-minimal .hamburger:hover { background: #ffedd5; }

/* Liens : soulignement orange qui grandit depuis le centre */
header.site-header.hdr-minimal .nav-link,
header.site-header.hdr-minimal .dropdown-trigger {
  position: relative;
  background: transparent;
  color: #7c2d12;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
  font-size: .84rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: none;
}
header.site-header.hdr-minimal .nav-link::after,
header.site-header.hdr-minimal .dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: #ea580c;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
header.site-header.hdr-minimal .nav-link:hover,
header.site-header.hdr-minimal .dropdown-trigger:hover,
header.site-header.hdr-minimal .dropdown.open .dropdown-trigger {
  background: transparent;
  color: #9a3412;
  box-shadow: none;
}
header.site-header.hdr-minimal .nav-link:hover::after,
header.site-header.hdr-minimal .dropdown-trigger:hover::after,
header.site-header.hdr-minimal .dropdown.open .dropdown-trigger::after {
  transform: scaleX(1);
}
header.site-header.hdr-minimal .nav-sep { background: #fdba74; height: 26px; margin: 0 8px; }

/* Menu déroulant des districts (couleurs seulement) */
header.site-header.hdr-minimal .dropdown-panel {
  background: #ffffff;
  border: 1px solid #fdba74;
  border-top: 3px solid #ea580c;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(124, 45, 18, .16);
  left: 0;
  right: auto;
}
header.site-header.hdr-minimal .dropdown-item { border-radius: 6px; }
header.site-header.hdr-minimal .dropdown-item:hover { background: #fff7ed; }
header.site-header.hdr-minimal .dropdown-item-keyword { color: #7c2d12; }
header.site-header.hdr-minimal .dropdown-item-sub { color: #9a3412; }
header.site-header.hdr-minimal .dropdown-dot { background: #ea580c; }

/* Bouton plein orange, coins 6 px */
header.site-header.hdr-minimal .btn.btn-primary {
  background: #c2410c;
  border-color: #c2410c;
  color: #ffffff;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 18px;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
  font-size: .84rem;
  box-shadow: 0 3px 0 #9a3412;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
header.site-header.hdr-minimal .btn.btn-primary:hover {
  background: #9a3412;
  border-color: #9a3412;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #7c2d12;
}

/* ── TIROIR MOBILE : orange très foncé, liens crème ── */
nav.mobile-drawer {
  background: #431407;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
}
nav.mobile-drawer .mobile-close {
  background: #7c2d12;
  color: #fff7ed;
  width: 44px;
  height: 44px;
  border-radius: 6px;
}
nav.mobile-drawer .mobile-nav-link {
  color: #fff7ed;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 0;
  border-bottom: 1px solid rgba(253, 186, 116, .35);
  font-size: .95rem;
}
nav.mobile-drawer .mobile-nav-link:hover { background: #7c2d12; color: #ffffff; }
nav.mobile-drawer .mobile-section-title {
  color: #fdba74;
  border-bottom: 2px solid #ea580c;
  margin: 8px 14px 4px;
  padding: 16px 0 6px;
}
nav.mobile-drawer .mobile-auth .btn.btn-primary {
  background: #fff7ed;
  border-color: #fff7ed;
  color: #7c2d12;
  border-radius: 6px;
  min-height: 48px;
  font-weight: 700;
}
nav.mobile-drawer .mobile-auth .btn.btn-primary:hover { background: #ffedd5; }

/* ── FOOTER : crème, bande orange fine, trois colonnes ── */
footer.site-footer.ftr-rich {
  background: #fff7ed;
  color: #7c2d12;
  border-top: 5px solid #ea580c;
  padding-top: 44px;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
}
footer.site-footer.ftr-rich .ftr-rich-top {
  border-bottom: 1px solid #fdba74;
  flex-direction: row-reverse;
  justify-content: space-between;
  text-align: right;
}
footer.site-footer.ftr-rich .ftr-rich-brand .brand-logo {
  background: #ffffff;
  border: 2px solid #fdba74;
  border-radius: 6px;
  padding: 4px;
}
footer.site-footer.ftr-rich .footer-brand { color: #7c2d12; margin-bottom: 0; }
footer.site-footer.ftr-rich .footer-tagline { color: #9a3412; max-width: 520px; text-align: left; }
footer.site-footer.ftr-rich .ftr-rich-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
footer.site-footer.ftr-rich .ftr-rich-grid > div {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 18px 20px;
}
footer.site-footer.ftr-rich .footer-heading {
  color: #c2410c;
  font-size: .78rem;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffedd5;
}
footer.site-footer.ftr-rich .footer-links a {
  color: #7c2d12;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
footer.site-footer.ftr-rich .footer-links a:hover { color: #c2410c; text-decoration: underline; }
footer.site-footer.ftr-rich .footer-bottom {
  border-top: 1px solid #fdba74;
  padding-bottom: 22px;
}
footer.site-footer.ftr-rich .footer-copy { color: #9a3412; font-size: .8rem; }
footer.site-footer.ftr-rich .footer-bottom-links a {
  color: #ffffff;
  background: #c2410c;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}
footer.site-footer.ftr-rich .footer-bottom-links a:hover { background: #9a3412; color: #ffffff; }

/* ── PAGE « AJOUTER MON ENTREPRISE » : colonne étroite centrée ── */
div.auth-wrapper.ie-wrap {
  max-width: 600px;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
}
div.ie-wrap .ie-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* Les arguments passent AU-DESSUS du formulaire */
div.ie-wrap .ie-side { order: -1; display: grid; gap: 12px; }
div.ie-wrap .ie-side .ie-why { margin: 0; }
div.ie-wrap .ie-why {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-left: 5px solid #ea580c;
  border-radius: 6px;
}
div.ie-wrap .ie-why h2 { color: #7c2d12; font-family: Verdana, "Segoe UI", Arial, sans-serif; }
div.ie-wrap .ie-why p { color: #7c2d12; }
/* Liste numérotée orange */
div.ie-wrap .ie-why ul { list-style: none; padding-left: 0; counter-reset: nj-arg; }
div.ie-wrap .ie-why li {
  counter-increment: nj-arg;
  position: relative;
  padding: 6px 0 6px 40px;
  color: #431407;
  border-bottom: 1px dashed #fed7aa;
}
div.ie-wrap .ie-why li:last-child { border-bottom: none; }
div.ie-wrap .ie-why li::before {
  content: counter(nj-arg);
  position: absolute;
  left: 0;
  top: 6px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 6px;
  background: #c2410c;
  color: #ffffff;
  font-weight: 700;
  font-size: .82rem;
}
div.ie-wrap .ie-card {
  border: 1px solid #fed7aa;
  border-top: 5px solid #ea580c;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(124, 45, 18, .08);
}
div.ie-wrap .quote-lead-grid { grid-template-columns: minmax(0, 1fr); }
div.ie-wrap .qf-section {
  color: #9a3412;
  background: #ffedd5;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: .8rem;
}
div.ie-wrap .qf-section + .quote-lead-grid + .qf-section { border-top: none; margin-top: 18px; }
div.ie-wrap .quote-field label { color: #431407; font-weight: 600; }
div.ie-wrap .quote-field input,
div.ie-wrap .quote-field select,
div.ie-wrap .quote-field textarea {
  min-height: 46px;
  border: 1px solid #fdba74;
  border-radius: 6px;
  background: #ffffff;
  color: #1c1917;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
}
div.ie-wrap .quote-field input:focus,
div.ie-wrap .quote-field select:focus,
div.ie-wrap .quote-field textarea:focus {
  outline: 3px solid #fdba74;
  outline-offset: 1px;
  border-color: #c2410c;
}
div.ie-wrap .quote-lead-actions .btn.btn-primary {
  width: 100%;
  min-height: 52px;
  background: #c2410c;
  border-color: #c2410c;
  color: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: 0 4px 0 #9a3412;
}
div.ie-wrap .quote-lead-actions .btn.btn-primary:hover { background: #9a3412; border-color: #9a3412; }
div.ie-wrap .quote-lead-actions small { color: #7c2d12; }

/* ── Mobile ── */
@media (max-width: 991px) {
  header.site-header.hdr-minimal .header-inner { min-height: 58px; }
  /* Le nom long se replie à droite au lieu de passer sous le bouton de menu */
  header.site-header.hdr-minimal .brand {
    font-size: .9rem;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    white-space: normal;
    text-align: right;
    line-height: 1.25;
  }
  header.site-header.hdr-minimal .hamburger {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 720px) {
  footer.site-footer.ftr-rich .ftr-rich-grid { grid-template-columns: minmax(0, 1fr); }
  footer.site-footer.ftr-rich .ftr-rich-top { flex-direction: column; align-items: flex-start; text-align: left; }
}

@keyframes nj-apparition {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  header.site-header.hdr-minimal { animation: none; }
  header.site-header.hdr-minimal .nav-link::after,
  header.site-header.hdr-minimal .dropdown-trigger::after,
  header.site-header.hdr-minimal .btn.btn-primary { transition: none; }
  header.site-header.hdr-minimal .btn.btn-primary:hover { transform: none; }
}
