/* ABM Déménagement Lille — reprise du thème de demenageur-lille-59.fr */
:root {
  --navy: #010345;
  --navy-a: rgba(1, 3, 69, .88);
  --sky: #d5f0ff;
  --red: #e71414;
  --red-dark: #af0303;
  --blue-hover: #1c00ff;
  --text: #000;
  --grey: #54595f;
  --white: #fff;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 .7em; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 16px; }

/* ---------- En-tête ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 54px; }
.brand-name { font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.brand-name small { display: block; font-size: 1rem; font-weight: 500; color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 18px/1 Arial, sans-serif;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-plain { background: #fff; color: var(--navy); }
.btn-plain:hover { color: #ff0000; }
.btn-red { background: var(--red); color: #fff; border: 3px solid var(--red); }
.btn-red:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

/* ---------- Bandeau principal ---------- */
.hero {
  background: url("../images/fond-1.jpg") center / cover no-repeat;
  padding-block: 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.quote-box {
  background: var(--navy-a);
  color: #fff;
  border-radius: 9px;
  padding: 20px 30px;
  scroll-margin-top: 100px;
}
.quote-box h2 { text-align: left; font-size: 1.5rem; margin-bottom: .6em; }
.intro {
  background: rgba(255, 255, 255, .93);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.intro h1 { text-align: center; color: var(--navy); }
.intro .strong { font-weight: 700; color: var(--navy); }

/* Formulaire de devis */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .9rem; margin-bottom: 3px; }
.field input, .field select {
  width: 100%;
  font: 500 17px Arial, sans-serif;
  color: var(--text);
  padding: 9px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; font-weight: 600; margin: 12px 0; }
.consent input { margin-top: 4px; }
.btn-submit {
  background: var(--red);
  color: #fff;
  border: 1px solid #000;
  border-radius: var(--radius);
  font: 700 18px Arial, sans-serif;
  padding: 11px 26px;
  cursor: pointer;
}
.btn-submit:hover { background: var(--red-dark); }
.form-msg { margin: 10px 0 4px; font-weight: 600; }
.form-msg[hidden] { display: none; }
.form-done {
  background: var(--navy);
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
}
.form-done[hidden] { display: none; }
.form-done p:first-child { font-size: 1.4rem; }
.form-done p:last-child { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit:disabled { opacity: .7; cursor: wait; }

/* ---------- Bandeau Google ---------- */
.trust { background: var(--navy); color: #fff; }
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 40px;
  padding-block: 16px;
  text-align: center;
}
.trust a { text-decoration: none; }
.trust a:hover { text-decoration: underline; }
.stars { color: #fbbc04; letter-spacing: 2px; font-size: 1.2rem; }
.rating { font-size: 1.15rem; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding-block: 50px; }
.card {
  border-radius: var(--radius);
  padding: 34px 38px;
  font-size: 19px;
  font-weight: 500;
}
.card-navy { background: var(--navy); color: #fff; }
.card-sky { background: var(--sky); color: var(--navy); }

.values { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: center; color: var(--navy); font-size: 19px; font-weight: 500; }
.values img { margin-inline: auto; max-height: 486px; width: auto; }

.formulas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 26px 0;
}
.formula {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border-top: 5px solid var(--red);
  font-size: 17px;
}
.formula h3 { color: var(--navy); }
.formula p:last-child { margin-bottom: 0; font-weight: 700; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { padding-left: 1.6em; position: relative; margin-bottom: .45em; }
.checks li::before { content: "✔"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.card-navy .checks li::before { color: #ff6b6b; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.cta-center { text-align: center; margin-top: 10px; }

/* ---------- Contact / plan ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: stretch; }
.contact-info { color: var(--navy); font-size: 18px; }
.contact-info p { margin-bottom: .8em; }
.contact-info a { font-weight: 700; }
.map {
  border: 0;
  width: 100%;
  min-height: 340px;
  height: 100%;
  border-radius: var(--radius);
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #fff; padding-block: 24px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.site-footer nav { display: flex; gap: 8px; flex-wrap: wrap; }

/* Barre d'appel fixe (mobile) */
.call-bar { display: none; }

/* ---------- Villes ---------- */
.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.city-card {
  display: block;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  border-top: 5px solid var(--red);
  padding: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s;
}
.city-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(1, 3, 69, .18); }
.city-card h3 { margin-bottom: .4em; }
.city-card p { margin: 0 0 .3em; }
.city-card .more { color: var(--red); font-weight: 700; margin-top: .6em; }
.region { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }

.communes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.communes li { background: #fff; color: var(--navy); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.card-navy .communes li { background: rgba(255, 255, 255, .12); color: #fff; }

.breadcrumb { font-size: 14px; color: var(--grey); padding-block: 12px 0; }
.breadcrumb a { color: var(--navy); }

/* ---------- Page mentions légales ---------- */
.legal { max-width: 900px; }
.legal h1 { text-align: center; color: var(--navy); }
.legal h2 { text-align: left; font-size: 1.3rem; color: var(--navy); margin-top: 1.6em; }
.legal h3 { color: var(--navy); margin-top: 1.4em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .values, .cols-2, .contact { grid-template-columns: minmax(0, 1fr); }
  .values img { max-height: 340px; }
  .card { padding: 26px 22px; font-size: 17px; }
  .values { font-size: 17px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .header-actions .btn-plain { display: none; }
  .header-actions .btn-red { font-size: 16px; padding: 10px 14px; }
  .brand img { width: 40px; height: 42px; }
  .brand-name { font-size: 1.1rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-box, .intro { padding: 18px; }
  .section { padding-block: 34px; }
  .call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--navy);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: #fff; text-decoration: none; font-weight: 700; padding: 16px 8px;
  }
  .call-bar a:first-child { background: var(--red); }
  .call-bar svg { width: 18px; height: 18px; fill: currentColor; }
}
