html {
  scroll-behavior: smooth;
}

body {
  background: #f5f1e8;
  color: #11100d;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1rem;
}

.row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-12 { grid-column: span 12 / span 12; }
.col-8 { grid-column: span 8 / span 8; }
.col-6 { grid-column: span 6 / span 6; }
.col-4 { grid-column: span 4 / span 4; }
.col-3 { grid-column: span 3 / span 3; }
.col-auto { grid-column: span 12 / span 12; }

@media (min-width: 768px) {
  .col-md-6 { grid-column: span 6 / span 6; }
  .col-md-4 { grid-column: span 4 / span 4; }
  .col-md-3 { grid-column: span 3 / span 3; }
  .offset-md-3 { grid-column-start: 4; }
  .d-md-block { display: block; }
}

.d-none { display: none; }
.text-center { text-align: center; }
.text-start { text-align: start; }
.fw-semibold { font-weight: 700; }
.fw-bold { font-weight: 800; }
.small { font-size: 0.875rem; }
.lead { color: #5a5349; font-size: 1.125rem; line-height: 1.7; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.py-5 { padding-block: 1.25rem; }
.p-4 { padding: 1rem; }
.border { border: 1px solid #ddd4c4; }
.border-top { border-top: 1px solid #ddd4c4; }
.border-bottom { border-bottom: 1px solid #ddd4c4; }
.rounded { border-radius: 0.9rem; }
.bg-white { background: #fffdf8; }
.text-success { color: #596a4f; }
.text-white { color: #fffdf8; }

.contact-form__trap {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 0;
}

.form-label,
label {
  color: #3f3a31;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="file"],
select,
textarea {
  background: #fffdf8;
  border: 1px solid #d8cdb9;
  border-radius: 0.9rem;
  color: #11100d;
  display: block;
  padding: 0.85rem 1rem;
  width: 100%;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #596a4f;
  box-shadow: 0 0 0 4px rgba(89, 106, 79, 0.14);
  outline: none;
}

.help-block,
.form-text,
.text-muted {
  color: #6f685c;
  font-size: 0.875rem;
}

.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.2rem;
}

.btn:hover {
  text-decoration: none;
}

.btn-success,
.btn-primary {
  background: #11100d;
  color: #fffdf8;
}

.btn-secondary,
.btn-light {
  background: #fffdf8;
  border: 1px solid #d8cdb9;
  color: #11100d;
}

.btn-link {
  color: #596a4f;
  font-weight: 800;
  padding-inline: 0.5rem;
}

.alert {
  border-radius: 0;
  font-weight: 700;
  padding: 1rem;
  text-align: center;
}

.alert-success {
  background: #e6eddf;
  color: #263421;
}

.alert-info,
.alert-danger {
  background: #f1dfd6;
  color: #5d2f20;
}

.twitter-typeahead {
  width: 100%;
}

.tt-menu {
  background: #fffdf8;
  border: 1px solid #d8cdb9;
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(17, 16, 13, 0.14);
  margin-top: 0.5rem;
  overflow: hidden;
  width: 100%;
  z-index: 50;
}

.tt-suggestion {
  cursor: pointer;
  padding: 0.85rem 1rem;
}

.tt-suggestion:hover,
.tt-cursor {
  background: #f5f1e8;
}

.ljp-address-suggestions {
  background: #fffdf8;
  border: 1px solid #d8cdb9;
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(17, 16, 13, 0.14);
  margin-top: 0.5rem;
  overflow: hidden;
}

.ljp-address-suggestion {
  cursor: pointer;
  display: block;
  font-weight: 700;
  padding: 0.9rem 1rem;
  text-align: left;
  width: 100%;
}

.ljp-address-suggestion:hover,
.ljp-address-suggestion.is-active {
  background: #f5f1e8;
}

.is-invalid {
  border-color: #a95f42 !important;
  box-shadow: 0 0 0 4px rgba(169, 95, 66, 0.14) !important;
}

.category-image {
  background-image: url(/images/sprite-categories.webp);
  background-repeat: no-repeat;
  display: block;
  height: 50px;
  width: 70px;
}

#category-image-architectes { background-position: center 0; }
#category-image-ascenseurs { background-position: center -450px; }
#category-image-petits-travaux { background-position: center -1350px; }
#category-image-bois { background-position: center -900px; }
#category-image-carrelage { background-position: center -1800px; }
#category-image-charpente { background-position: center -250px; }
#category-image-chauffage { background-position: center -50px; }
#category-image-cheminees { background-position: center -500px; }
#category-image-climatisation { background-position: center -950px; }
#category-image-cloisons { background-position: center -1400px; }
#category-image-coffres-forts { background-position: center -500px; }
#category-image-construction { background-position: center -1850px; }
#category-image-cuisines { background-position: center -100px; }
#category-image-demenagement { background-position: center -1000px; }
#category-image-depannage { background-position: center -50px; }
#category-image-demolition { background-position: center -1450px; }
#category-image-decoration { background-position: center -550px; }
#category-image-deratisation { background-position: center -1900px; }
#category-image-diagnostics { background-position: center 0; }
#category-image-electromenager { background-position: center -600px; }
#category-image-electricite { background-position: center -150px; }
#category-image-etancheite { background-position: center -1500px; }
#category-image-entretien { background-position: center -1050px; }
#category-image-fenetres { background-position: center -1950px; }
#category-image-incendie { background-position: center -200px; }
#category-image-isolation { background-position: center -650px; }
#category-image-jardin { background-position: center -1100px; }
#category-image-maconnerie { background-position: center -1550px; }
#category-image-moquette { background-position: center -2000px; }
#category-image-nuisibles { background-position: center -1900px; }
#category-image-papier-peint { background-position: center -250px; }
#category-image-parquet { background-position: center -700px; }
#category-image-peinture { background-position: center -1150px; }
#category-image-photovoltaique { background-position: center -1600px; }
#category-image-piscines { background-position: center -2050px; }
#category-image-menuiserie { background-position: center -300px; }
#category-image-placards { background-position: center -300px; }
#category-image-portes { background-position: center -1650px; }
#category-image-portails { background-position: center -1200px; }
#category-image-plomberie { background-position: center -750px; }
#category-image-ravalement { background-position: center -2100px; }
#category-image-renovation { background-position: center -350px; }
#category-image-sanitaire { background-position: center -1250px; }
#category-image-serrurerie { background-position: center -1700px; }
#category-image-surveillance { background-position: center -850px; }
#category-image-stores { background-position: center -400px; }
#category-image-vitrerie { background-position: center -1750px; }
#category-image-spa { background-position: center -2150px; }
#category-image-salle-de-bain { background-position: center -800px; }
#category-image-toiture { background-position: center -1300px; }
#category-image-volets { background-position: center -2200px; }
#category-image-travaux-difficiles-d-acces,
#category-image-metallerie { background-position: center -1350px; }

.ljp-lead-step {
  display: none;
}

.ljp-lead-step.is-active {
  display: block;
}

[data-lead-form-target="indicator"].is-active {
  background: #fffdf8;
  border-color: #596a4f;
  color: #11100d;
}

[data-lead-form-target="indicator"].is-complete {
  background: #e6eddf;
  border-color: rgba(89, 106, 79, 0.32);
  color: #263421;
}

.is-invalid {
  border-color: #a95f42 !important;
  box-shadow: 0 0 0 4px rgba(169, 95, 66, 0.14) !important;
}

.ljp-photo-preview {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
}

.ljp-file-preview {
  min-width: 0;
  position: relative;
}

.ljp-photo-preview img {
  aspect-ratio: 1;
  border-radius: 1rem;
  object-fit: cover;
  width: 100%;
}

.ljp-file-preview__document {
  align-items: center;
  aspect-ratio: 1;
  background: #f5f1e8;
  border: 1px solid #d8cdb9;
  border-radius: 1rem;
  color: #596a4f;
  display: flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 100%;
}

.ljp-file-preview__caption {
  color: rgba(17, 16, 13, 0.72);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ljp-file-preview__remove {
  align-items: center;
  background: #11100d;
  border: 0;
  border-radius: 999px;
  color: #fffdf8;
  display: flex;
  font-size: 1.25rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0.35rem;
  top: 0.35rem;
  width: 2rem;
  z-index: 2;
}

.ljp-file-preview__remove:hover {
  background: #a95f42;
}
