/* ═══════════════════════════════════════════════════════
   3devis-demenagement.fr — Feuille de styles partagée
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --navy:    #1a3260;
  --navy-dk: #0e1e3d;
  --navy-md: #254590;
  --orange:  #e86019;
  --orange-h:#c94f0f;
  --white:   #ffffff;
  --g50:     #f7f9fc;
  --g100:    #eef1f7;
  --g200:    #dde3ef;
  --g400:    #8fa0bb;
  --g600:    #4c5e7a;
  --g800:    #1e2a3a;
  --text:    #18253e;
  --r:       10px;
  --rl:      18px;
  --sh:      0 4px 22px rgba(0,0,0,.09);
  --shl:     0 10px 48px rgba(0,0,0,.13);
  --tr:      .2s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--g50); padding-bottom: 68px; }
h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ─── HEADER ─── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy-dk);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 28px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: #fff; }
.logo-text strong { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.78); font-size: .85rem; font-weight: 500; transition: color var(--tr); }
.nav a:hover { color: #fff; }
.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 9px 20px; border-radius: 7px; font-weight: 700 !important;
  transition: background var(--tr) !important;
}
.nav-cta:hover { background: var(--orange-h) !important; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--tr); }
.mobile-nav { display: none; background: var(--navy-dk); border-top: 1px solid rgba(255,255,255,.06); }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 28px;
  color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background var(--tr);
}
.mobile-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.mobile-nav .m-cta {
  margin: 12px 28px 16px; display: block; text-align: center;
  background: var(--orange); color: #fff !important;
  border-radius: 8px; font-weight: 700 !important; padding: 12px;
}

/* ─── BREADCRUMB ─── */
.bc-bar { background: #fff; border-bottom: 1px solid var(--g200); padding: 12px 28px; }
.bc {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--g600); flex-wrap: wrap;
}
.bc a { color: var(--navy); font-weight: 500; transition: color var(--tr); }
.bc a:hover { color: var(--orange); }
.bc-sep { color: var(--g400); }

/* ─── HERO COMMUN ─── */
.hero {
  background: linear-gradient(155deg, var(--navy-dk) 0%, var(--navy) 55%, #1e407a 100%);
  padding: 56px 28px 72px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232,96,25,.18); border: 1px solid rgba(232,96,25,.42);
  color: #ffaa72; padding: 5px 16px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px; position: relative;
}
.hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.9rem); font-weight: 800;
  color: #fff; line-height: 1.18; margin-bottom: 16px; position: relative;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.7);
  max-width: 530px; margin: 0 auto 46px;
  line-height: 1.65; position: relative;
}

/* ─── FORM CARD (iframe devis) ─── */
.form-card {
  max-width: 920px; margin: 0 auto;
  background: #fff; border-radius: var(--rl);
  box-shadow: 0 24px 72px rgba(0,0,0,.28);
  overflow: hidden; position: relative;
}
.form-header {
  background: var(--orange); padding: 16px 24px;
  display: flex; align-items: center; gap: 14px;
}
.form-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.form-title { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .98rem; }
.form-sub { color: rgba(255,255,255,.82); font-size: .78rem; margin-top: 2px; }
.form-card iframe { width: 100%; min-height: 735px; border: none; display: block; }
@media (max-width: 768px) { .form-card iframe { min-height: 770px; } }
@media (max-width: 480px)  { .form-card iframe { min-height: 1190px; } }

/* ─── SECTIONS ─── */
.section { padding: 76px 28px; }
.section-alt { background: #fff; }
.section-white { background: #fff; }
.container { max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 50px; }
.badge {
  display: inline-block;
  background: rgba(26,50,96,.08); color: var(--navy);
  padding: 4px 14px; border-radius: 100px;
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.42rem, 2.8vw, 2.1rem); font-weight: 800;
  color: var(--text); line-height: 1.22; margin-bottom: 12px;
}
.section-sub {
  font-size: .97rem; color: var(--g600);
  max-width: 520px; margin: 0 auto; line-height: 1.65;
}

/* ─── CARDS ─── */
.card {
  background: #fff; border: 1px solid var(--g200);
  border-radius: var(--rl); padding: 28px; margin-bottom: 24px;
}
.card:last-child { margin-bottom: 0; }
.card-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--g400); margin-bottom: 20px;
}

/* ─── INFO FIELDS (fiche) ─── */
.info-field {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--g100);
}
.info-field:last-child { border-bottom: none; padding-bottom: 0; }
.info-field:first-of-type { padding-top: 0; }
.info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--g50); border: 1px solid var(--g200);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.info-label { font-size: .72rem; font-weight: 700; color: var(--g400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.info-value { font-size: .95rem; font-weight: 600; color: var(--text); }
.info-value a { color: var(--navy); transition: color var(--tr); }
.info-value a:hover { color: var(--orange); }
.info-value .website-link { color: var(--orange); font-size: .85rem; display: inline-flex; align-items: center; gap: 5px; }

/* ─── MOVER CARDS (grille) ─── */
.movers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mover-card {
  background: #fff; border: 1px solid var(--g200);
  border-radius: var(--r); padding: 20px 18px;
  transition: box-shadow var(--tr), transform var(--tr);
  display: flex; flex-direction: column;
}
.mover-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.mover-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mover-rank {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mover-city-tag { font-size: .74rem; color: var(--g400); font-weight: 500; }
.mover-name { font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 5px; }
.mover-addr { font-size: .76rem; color: var(--g600); margin-bottom: 8px; line-height: 1.5; }
.mover-phone { font-size: .82rem; font-weight: 600; color: var(--g800); margin-bottom: 14px; }
.mover-link {
  margin-top: auto; display: inline-block;
  font-size: .78rem; font-weight: 700; color: var(--orange);
  border: 1.5px solid var(--orange); padding: 6px 14px;
  border-radius: 6px; transition: all var(--tr); align-self: flex-start;
}
.mover-link:hover { background: var(--orange); color: #fff; }

/* ─── MOVER ROWS (liste verticale — page ville) ─── */
.mover-list { display: flex; flex-direction: column; gap: 16px; }
.mover-row {
  background: #fff; border: 1px solid var(--g200);
  border-radius: var(--rl); padding: 24px 28px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: center;
  transition: box-shadow var(--tr), transform var(--tr);
}
.mover-row:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.mover-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mover-row-name { font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.mover-fields { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mover-field { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--g600); }
.mover-field strong { color: var(--text); font-weight: 600; }
.mover-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 11px 20px; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .82rem;
  transition: background var(--tr); white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-h); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--g200); color: var(--navy);
  padding: 10px 18px; border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  transition: all var(--tr); white-space: nowrap;
}
.btn-outline:hover { border-color: var(--navy); background: var(--g50); }

/* ─── EMPTY STATE ─── */
.empty-state {
  background: #fff; border: 1px solid var(--g200);
  border-radius: var(--rl); padding: 48px 32px; text-align: center;
}
.empty-state h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--g800); }
.empty-state p { font-size: .88rem; color: var(--g600); line-height: 1.6; max-width: 400px; margin: 0 auto; }

/* ─── FOOTER ─── */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.65); padding: 56px 28px 32px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-about p { font-size: .84rem; line-height: 1.7; margin-top: 14px; max-width: 270px; }
.footer-col h4 {
  color: #fff; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .85rem; margin-bottom: 16px; letter-spacing: .02em;
}
.footer-col a { display: block; font-size: .83rem; margin-bottom: 11px; transition: color var(--tr); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px; margin: 24px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; font-size: .76rem;
}

/* ─── STICKY CTA ─── */
.sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--orange);
  box-shadow: 0 -4px 24px rgba(232,96,25,.38);
  transition: transform .28s ease;
}
.sticky.hide { transform: translateY(100%); }
.sticky-btn {
  width: 100%; border: none; cursor: pointer; background: none;
  padding: 18px 24px; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .98rem;
  transition: background var(--tr);
}
.sticky-btn:hover { background: rgba(0,0,0,.09); }
.pulse {
  width: 10px; height: 10px; background: #fff; border-radius: 50%;
  flex-shrink: 0; animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.55); }
}

/* ─── LEAFLET POPUP ─── */
.leaflet-popup-content-wrapper { border-radius: 10px !important; box-shadow: var(--sh) !important; }
.leaflet-popup-content { font-family: 'Inter', sans-serif; font-size: .84rem; line-height: 1.6; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .movers-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .movers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 40px 20px 56px; }
  .section { padding: 52px 20px; }
  .mover-row { grid-template-columns: auto 1fr; gap: 16px; }
  .mover-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .sticky-btn { font-size: .83rem; gap: 8px; padding: 16px 16px; }
}
@media (max-width: 480px) {
  .movers-grid { grid-template-columns: 1fr; }
  .mover-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { justify-content: center; }
}
