/* Agence de nettoyage Genève — « cabinet de services sobre »
   Une seule teinte : l'indigo du favicon (#4f46e5), en nuances foncées et pâles,
   avec du blanc et des gris neutres. Typographie système Segoe UI. */

/* ---------- Palette (nuances d'indigo uniquement) ---------- */
header.site-header, footer.site-footer, .mobile-drawer, .ie-wrap {
  --in-900: #1e1b4b;   /* indigo nuit */
  --in-800: #272270;
  --in-700: #3730a3;   /* indigo foncé : fonds pleins */
  --in-600: #4f46e5;   /* teinte du favicon */
  --in-300: #a5b4fc;
  --in-200: #c7d2fe;
  --in-100: #e0e7ff;
  --in-50:  #eef2ff;   /* indigo très pâle */
  --in-txt: #312e81;   /* texte indigo lisible sur fond pâle */
}

/* ---------- Header desktop : bandeau plein indigo foncé ---------- */
header.site-header.hdr-classic {
  background: var(--in-700);
  border-bottom: 4px solid var(--in-900);
  box-shadow: 0 6px 18px rgba(30, 27, 75, .22);
  font-family: "Segoe UI", Arial, sans-serif;
}
header.site-header .header-inner { height: 68px; }
header.site-header .brand {
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .01em;
  gap: 10px;
}
header.site-header .brand:hover { color: var(--in-100); }
/* logo posé sur une pastille blanche : il reste lisible sur l'indigo */
header.site-header .brand-logo {
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 0 0 2px var(--in-300);
}
header.site-header .nav-desktop { gap: 6px; }
header.site-header .nav-link,
header.site-header .dropdown-trigger {
  color: #fff;
  font-weight: 500;
  background: transparent;
  border-radius: 6px;
}
header.site-header .nav-link:hover,
header.site-header .dropdown-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}
header.site-header .nav-sep { background: rgba(255, 255, 255, .28); }
/* menu déroulant « Nos cantons » : carte blanche bordée d'indigo */
header.site-header .dropdown-panel {
  border: 1px solid var(--in-200);
  border-top: 3px solid var(--in-600);
  border-radius: 10px;
}
header.site-header .dropdown-item-keyword { color: var(--in-900); }
header.site-header .dropdown-item-sub { color: #4b5563; }
header.site-header .dropdown-item:hover { background: var(--in-50); }

/* bouton blanc à bord indigo clair, élévation douce au survol */
header.site-header .nav-desktop .btn.btn-primary {
  background: #fff !important;
  color: var(--in-700) !important;
  border: 2px solid var(--in-300);
  border-radius: 8px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 600;
  box-shadow: 0 2px 0 var(--in-900);
  transition: transform .2s ease, box-shadow .2s ease;
}
header.site-header .nav-desktop .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(30, 27, 75, .35);
  background: var(--in-50) !important;
}
header.site-header .nav-desktop a.btn-primary::after { color: var(--in-700) !important; }

/* hamburger blanc sur l'indigo */
header.site-header .hamburger { color: #fff; }
header.site-header .hamburger:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Tiroir mobile indigo foncé ---------- */
.mobile-drawer {
  background: var(--in-900);
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
}
.mobile-drawer .mobile-close {
  background: var(--in-700);
  color: #fff;
  width: 44px;
  height: 44px;
}
.mobile-drawer .mobile-nav-link {
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  border-bottom: 1px solid rgba(165, 180, 252, .22);
}
/* flèche discrète dessinée par une bordure (aucun texte ajouté) */
.mobile-drawer .mobile-nav-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--in-300);
  border-right: 2px solid var(--in-300);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-left: 12px;
}
.mobile-drawer .mobile-nav-link:hover { background: var(--in-800); color: #fff; }
.mobile-drawer .mobile-section-title {
  color: var(--in-200);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 700;
  margin-top: 18px;
}
.mobile-drawer .mobile-auth { border-top: 1px solid rgba(165, 180, 252, .3); }
.mobile-drawer .mobile-auth .btn.btn-primary {
  background: #fff !important;
  color: var(--in-700) !important;
  border: 2px solid var(--in-300);
  min-height: 48px;
  font-weight: 600;
}
/* tous les boutons du tiroir : cible tactile de 44 px au moins */
.mobile-drawer .mobile-auth .btn { min-height: 44px; }
.mobile-drawer .mobile-auth a.btn-primary::after { color: var(--in-700) !important; }

/* ---------- Footer : colonnes sur indigo très pâle, marque en tête ---------- */
footer.site-footer.ftr-columns {
  background: var(--in-50);
  color: #374151;
  border-top: 4px solid var(--in-600);
  font-family: "Segoe UI", Arial, sans-serif;
}
/* la première colonne (marque) s'étend sur toute la largeur */
footer.site-footer .footer-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
footer.site-footer .footer-grid > div:first-child {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--in-200);
}
footer.site-footer .footer-brand {
  color: var(--in-900);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}
footer.site-footer .footer-tagline {
  color: #4b5563;
  margin: 0;
  flex: 1 1 280px;
}
footer.site-footer .footer-grid .btn.btn-primary {
  background: var(--in-700) !important;
  color: #fff !important;
  border-radius: 8px;
  min-height: 44px;
  margin-top: 0 !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
footer.site-footer .footer-grid .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(55, 48, 163, .3);
}
footer.site-footer .footer-heading {
  color: var(--in-txt);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
}
footer.site-footer .footer-links a { color: #374151; }
footer.site-footer .footer-links a:hover { color: var(--in-700); text-decoration: underline; }
footer.site-footer .footer-bottom { border-top: 1px solid var(--in-200); }
footer.site-footer .footer-copy { color: #4b5563; }
footer.site-footer .footer-bottom-links a { color: var(--in-txt); }
footer.site-footer .footer-bottom-links a:hover { color: var(--in-700); }
@media (max-width: 768px) {
  footer.site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page « Ajouter mon entreprise » ---------- */
/* arguments en bandeau indigo pâle AU-DESSUS, formulaire sur une colonne */
.ie-wrap.auth-wrapper { max-width: 820px; font-family: "Segoe UI", Arial, sans-serif; }
.ie-wrap .page-header h1 { color: var(--in-900); }
.ie-wrap .ie-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ie-wrap .ie-side {
  order: -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  background: var(--in-50);
  border: 1px solid var(--in-200);
  border-left: 5px solid var(--in-600);
  border-radius: 10px;
}
.ie-wrap .ie-side .card.ie-why {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
}
.ie-wrap .ie-side .card.ie-why + .card.ie-why { border-left: 1px solid var(--in-200); }
.ie-wrap .ie-why h2 { color: var(--in-txt); }
.ie-wrap .ie-why ul, .ie-wrap .ie-why p { color: #374151; }
.ie-wrap .ie-why li::marker { color: var(--in-600); }
@media (max-width: 700px) {
  .ie-wrap .ie-side { grid-template-columns: minmax(0, 1fr); }
  .ie-wrap .ie-side .card.ie-why + .card.ie-why { border-left: 0; border-top: 1px solid var(--in-200); }
}
.ie-wrap .ie-card { border-top: 4px solid var(--in-700); }
.ie-wrap .ie-form .quote-lead-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.ie-wrap .ie-form .qf-section {
  color: #fff;
  background: var(--in-700);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  margin: 8px 0 12px;
}
.ie-wrap .ie-form .qf-section + .quote-lead-grid + .qf-section { border-top: 0; margin-top: 18px; }
.ie-wrap .ie-form .quote-field label { color: var(--in-900); font-weight: 600; }
.ie-wrap .ie-form .quote-field input,
.ie-wrap .ie-form .quote-field select,
.ie-wrap .ie-form .quote-field textarea {
  min-height: 46px;
  border: 1px solid #c3c7d4;
  border-radius: 8px;
  color: #111827;
  background: #fff;
}
.ie-wrap .ie-form .quote-field input:focus,
.ie-wrap .ie-form .quote-field select:focus,
.ie-wrap .ie-form .quote-field textarea:focus {
  outline: 3px solid var(--in-200);
  border-color: var(--in-600);
}
.ie-wrap .ie-form .quote-lead-actions .btn.btn-primary {
  background: var(--in-700) !important;
  color: #fff !important;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 3px 0 var(--in-900);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ie-wrap .ie-form .quote-lead-actions .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(30, 27, 75, .3);
}

/* ---------- Sans animation si le visiteur le demande ---------- */
@media (prefers-reduced-motion: reduce) {
  header.site-header .btn.btn-primary,
  footer.site-footer .btn.btn-primary,
  .ie-wrap .btn.btn-primary { transition: none; }
  header.site-header .btn.btn-primary:hover,
  footer.site-footer .btn.btn-primary:hover,
  .ie-wrap .btn.btn-primary:hover { transform: none; }
}
