/* ==========================================================================
   entreprise-de-nettoyage-geneve.ch — habillage « bureau net, genevois »
   Une seule teinte : le bleu du favicon (#2563eb) et ses nuances,
   plus blanc et gris ardoise. Polices système uniquement (Arial).
   ========================================================================== */

:root {
  --nt-bleu: #2563eb;       /* teinte du favicon */
  --nt-bleu-fonce: #1e40af; /* header */
  --nt-bleu-nuit: #172554;  /* footer */
  --nt-bleu-pale: #eef3fe;  /* bandeau d'arguments */
  --nt-bleu-clair: #93b4f8; /* liseré */
  --nt-ardoise: #334155;
  --nt-gris: #e2e8f0;
}

/* ---------- 1. Header desktop : plein bleu profond, une rangée ---------- */
header.site-header.hdr-minimal {
  position: sticky;
  background: var(--nt-bleu-fonce);
  border-bottom: 0;
  box-shadow: 0 2px 10px rgba(23, 37, 84, .25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Liseré bleu clair qui s'étire sous le header au chargement */
header.site-header.hdr-minimal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--nt-bleu-clair);
  transform-origin: left center;
  animation: nt-lisere .9s cubic-bezier(.4, 0, .2, 1) both;
}
@keyframes nt-lisere {
  from { transform: scaleX(0); opacity: .3; }
  to   { transform: scaleX(1); opacity: 1; }
}
header.site-header.hdr-minimal .header-inner {
  min-height: 64px;
  height: 64px;
  gap: 24px;
}

/* Logo à gauche, capitales espacées */
header.site-header.hdr-minimal .brand {
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
header.site-header.hdr-minimal .brand:hover { opacity: .88; }
header.site-header.hdr-minimal .brand-logo {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 0;
  padding: 3px;
}

/* Navigation blanche à droite */
header.site-header.hdr-minimal .nav-desktop {
  gap: 4px;
  margin-left: auto;
}
header.site-header.hdr-minimal .nav-link,
header.site-header.hdr-minimal .dropdown-trigger {
  position: relative;
  background: transparent;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
}
/* Soulignement blanc au survol */
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: #fff;
  transform: scaleX(0);
  transition: transform .2s ease;
}
header.site-header.hdr-minimal .nav-link:hover,
header.site-header.hdr-minimal .dropdown-trigger:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: none;
}
header.site-header.hdr-minimal .nav-link:hover::after,
header.site-header.hdr-minimal .dropdown-trigger:hover::after { transform: scaleX(1); }
header.site-header.hdr-minimal .nav-sep {
  background: rgba(255, 255, 255, .3);
}

/* Menu déroulant « Cantons » : panneau blanc net */
header.site-header.hdr-minimal .dropdown-panel {
  border-radius: 0;
  border-top: 3px solid var(--nt-bleu);
}
header.site-header.hdr-minimal .dropdown-item-keyword { color: var(--nt-bleu-nuit); }

/* Bouton blanc, texte bleu, coins droits */
header.site-header.hdr-minimal .nav-desktop .btn.btn-primary {
  background: #fff;
  color: var(--nt-bleu-fonce);
  border: 2px solid #fff;
  border-radius: 0;
  min-height: 44px;
  padding: 10px 18px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s ease, background .18s ease;
}
header.site-header.hdr-minimal .nav-desktop .btn.btn-primary:hover {
  background: var(--nt-bleu-pale);
  color: var(--nt-bleu-nuit);
  transform: translateY(-1px);
}

/* ---------- 2. Barre + tiroir mobile ---------- */
header.site-header.hdr-minimal .hamburger {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 0;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
header.site-header.hdr-minimal .hamburger:hover { background: rgba(255, 255, 255, .12); }

nav.mobile-drawer {
  background: #fff;
  border-left: 4px solid var(--nt-bleu);
  font-family: Arial, sans-serif;
}
nav.mobile-drawer .mobile-close {
  background: var(--nt-bleu-pale);
  color: var(--nt-bleu-nuit);
  border-radius: 0;
  width: 44px;
  height: 44px;
}
nav.mobile-drawer .mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  color: var(--nt-bleu-fonce);
  font-weight: 600;
  border-radius: 0;
  border-bottom: 1px solid var(--nt-gris);
}
/* Chevron dessiné en bordure (aucun texte ajouté) */
nav.mobile-drawer .mobile-nav-link::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--nt-bleu);
  border-right: 2px solid var(--nt-bleu);
  transform: rotate(45deg);
}
nav.mobile-drawer .mobile-nav-link:hover { background: var(--nt-bleu-pale); }
nav.mobile-drawer .mobile-section-title {
  color: var(--nt-ardoise);
  letter-spacing: .14em;
  border-bottom: 2px solid var(--nt-bleu);
  padding-bottom: 8px;
  margin-top: 8px;
}
nav.mobile-drawer .mobile-auth .btn.btn-primary {
  background: var(--nt-bleu);
  border-color: var(--nt-bleu);
  color: #fff;
  border-radius: 0;
  min-height: 48px;
  font-weight: 700;
}
nav.mobile-drawer .mobile-auth .btn.btn-primary:hover { background: var(--nt-bleu-fonce); }

/* ---------- 3. Footer : une seule ligne large sur bleu très foncé ---------- */
footer.site-footer.ftr-columns {
  background: var(--nt-bleu-nuit);
  border-top: 4px solid var(--nt-bleu);
  font-family: Arial, sans-serif;
}
footer.site-footer.ftr-columns .footer-inner { padding-top: 26px; padding-bottom: 18px; }
footer.site-footer.ftr-columns .footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
footer.site-footer.ftr-columns .footer-grid > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
/* Marque : capitales espacées, comme au header */
footer.site-footer.ftr-columns .footer-brand {
  color: #fff;
  font-size: .86rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0;
}
footer.site-footer.ftr-columns .footer-tagline { display: none; }
footer.site-footer.ftr-columns .footer-grid .btn.btn-primary {
  margin-top: 0 !important;
  background: #fff;
  color: var(--nt-bleu-fonce);
  border-color: #fff;
  border-radius: 0;
  min-height: 40px;
}
footer.site-footer.ftr-columns .footer-grid .btn.btn-primary:hover { background: var(--nt-bleu-pale); }
footer.site-footer.ftr-columns .footer-heading {
  color: var(--nt-bleu-clair);
  font-size: .72rem;
  letter-spacing: .14em;
  margin: 0;
}
footer.site-footer.ftr-columns .footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 16px;
}
footer.site-footer.ftr-columns .footer-links a {
  color: #dbe4f5;
  font-size: .85rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
footer.site-footer.ftr-columns .footer-links a:hover {
  color: #fff;
  border-bottom-color: var(--nt-bleu-clair);
}
footer.site-footer.ftr-columns .footer-bottom {
  border-top: 0;
  padding-top: 14px;
}
footer.site-footer.ftr-columns .footer-copy { color: #b8c6e3; }
footer.site-footer.ftr-columns .footer-bottom-links a { color: #dbe4f5; }
footer.site-footer.ftr-columns .footer-bottom-links a:hover { color: #fff; }

/* ---------- 4. Page « Ajouter mon entreprise » ---------- */
/* Arguments en bandeau horizontal bleu pâle AU-DESSUS du formulaire */
.ie-wrap .ie-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 18px;
}
.ie-wrap .ie-side {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  background: var(--nt-bleu-pale);
  border-left: 5px solid var(--nt-bleu);
}
.ie-wrap .ie-side .card.ie-why {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 18px 22px;
}
.ie-wrap .ie-side .card.ie-why + .card.ie-why { border-left: 1px solid #c9d7f7; }
.ie-wrap .ie-why h2 {
  color: var(--nt-bleu-fonce);
  font-family: Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ie-wrap .ie-why ul,
.ie-wrap .ie-why p { color: var(--nt-ardoise); font-size: .9rem; }

.ie-wrap .card.ie-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border-top: 4px solid var(--nt-bleu);
  animation: nt-apparition .5s ease both;
}
@keyframes nt-apparition {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.ie-wrap .ie-form .qf-section {
  font-family: Arial, sans-serif;
  color: var(--nt-bleu-fonce);
  letter-spacing: .16em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--nt-gris);
}
/* Champs sur deux colonnes */
.ie-wrap .ie-form .quote-lead-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}
.ie-wrap .ie-form .quote-field-wide { grid-column: 1 / -1; }
.ie-wrap .ie-form .quote-field label { color: var(--nt-ardoise); font-weight: 600; }
.ie-wrap .ie-form input,
.ie-wrap .ie-form select,
.ie-wrap .ie-form textarea {
  min-height: 44px;
  border-radius: 0;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  background: #fff;
}
.ie-wrap .ie-form input:focus,
.ie-wrap .ie-form select:focus,
.ie-wrap .ie-form textarea:focus {
  outline: 2px solid var(--nt-bleu);
  outline-offset: 1px;
  border-color: var(--nt-bleu);
}
.ie-wrap .ie-form .quote-lead-actions .btn.btn-primary {
  background: var(--nt-bleu);
  border-color: var(--nt-bleu);
  color: #fff;
  border-radius: 0;
  min-height: 48px;
  padding: 12px 28px;
  font-weight: 700;
  letter-spacing: .04em;
}
.ie-wrap .ie-form .quote-lead-actions .btn.btn-primary:hover { background: var(--nt-bleu-fonce); }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  /* Nom sur deux lignes plutôt que tronqué ; bouton menu carré à droite */
  header.site-header.hdr-minimal .brand {
    flex: 1 1 auto;
    white-space: normal;
    line-height: 1.25;
    font-size: .74rem;
    letter-spacing: .1em;
  }
  header.site-header.hdr-minimal .hamburger {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }
  header.site-header.hdr-minimal .header-inner { gap: 12px; }
}
@media (max-width: 768px) {
  .ie-wrap .ie-side { grid-template-columns: 1fr; }
  .ie-wrap .ie-side .card.ie-why + .card.ie-why {
    border-left: 0;
    border-top: 1px solid #c9d7f7;
  }
  .ie-wrap .ie-form .quote-lead-grid { grid-template-columns: 1fr; }
  footer.site-footer.ftr-columns .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mouvement réduit : tout est coupé ---------- */
@media (prefers-reduced-motion: reduce) {
  header.site-header.hdr-minimal::after,
  .ie-wrap .card.ie-card { animation: none; }
  header.site-header.hdr-minimal .nav-link::after,
  header.site-header.hdr-minimal .dropdown-trigger::after,
  header.site-header.hdr-minimal .nav-desktop .btn.btn-primary,
  footer.site-footer.ftr-columns .footer-links a { transition: none; }
}
