:root {
  --navy: #0b1d36;
  --navy-2: #122744;
  --navy-3: #1a3558;
  --gold: #c4a35a;
  --gold-2: #d4b978;
  --gold-dark: #9a7b38;
  --cream: #f7f3eb;
  --cream-2: #efe8d8;
  --ink: #1c2430;
  --muted: #5c6674;
  --line: rgba(11, 29, 54, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 29, 54, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.serif { font-family: "Playfair Display", Georgia, serif; }

/* Header */
.topbar {
  background: var(--navy);
  color: #d7deea;
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; flex-wrap: wrap;
}
.topbar a:hover { color: var(--gold); }
.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(247, 243, 235, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
  position: relative;
}
.logo {
  display: flex; align-items: center; gap: 12px;
}
.logo-mark, .logo-mark-img {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--navy); font-weight: 700; letter-spacing: .08em;
  font-size: 13px;
}
.logo-mark {
  border: 1.5px solid var(--gold);
}
.logo-mark-img { object-fit: cover; border-radius: 2px; }
.logo-text strong { display: block; font-size: 15px; letter-spacing: .18em; color: var(--navy); }
.logo-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { font-size: 15px; color: var(--navy); font-weight: 500; }
nav a:hover, nav a.active { color: var(--gold-dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { border-color: var(--gold); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-3); }
.menu-toggle {
  display: none; background: none; border: 0; font-size: 26px; color: var(--navy);
  position: relative; z-index: 100; pointer-events: auto; cursor: pointer;
  padding: 8px; line-height: 1; -webkit-tap-highlight-color: transparent;
}

/* Hero */
.hero {
  background:
    linear-gradient(105deg, rgba(11,29,54,.88) 0%, rgba(11,29,54,.55) 55%, rgba(11,29,54,.35) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: var(--cream);
  padding: 88px 0 80px;
  position: relative;
}
.hero-kicker {
  color: var(--gold); letter-spacing: .22em; text-transform: uppercase;
  font-size: 12px; font-weight: 600; margin-bottom: 16px;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12; max-width: 16ch; font-weight: 500;
}
.hero p.lead {
  margin: 22px 0 32px; max-width: 54ch; font-size: 18px; color: #e6e1d4;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px; margin-top: 56px; max-width: 720px;
}
.stat { border-top: 1px solid rgba(196,163,90,.45); padding-top: 14px; }
.stat b { display: block; font-size: 26px; color: var(--gold); font-family: "Playfair Display", serif; }
.stat span { font-size: 13px; color: #d0c8b6; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow {
  color: var(--gold-dark); letter-spacing: .2em; text-transform: uppercase;
  font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 500; color: var(--navy);
}
.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(11,29,54,.05);
}
.icon-num {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 16px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; color: var(--navy); font-family: "Playfair Display", serif; }

/* Offers */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
}
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 14px;
}
.chip.active, .chip:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border: 1px solid rgba(11,29,54,.06);
}
.offer-photo {
  height: 168px; background-size: cover; background-position: center;
  position: relative;
}
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--gold); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px;
}
.offer-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.offer h3 { font-size: 18px; color: var(--navy); }
.offer .meta { font-size: 13px; color: var(--muted); }
.offer .price { font-size: 22px; color: var(--navy); font-family: "Playfair Display", serif; margin-top: auto; }

.offer .price small { font-size: 12px; color: var(--muted); font-family: "Source Sans 3", sans-serif; display: block; }

/* National offers — fiche technique list layout */
.offer-grid.national-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
.offer-national {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  flex-direction: unset;
}
.offer-national .offer-photo {
  height: 100%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
}
.offer-national .offer-body {
  padding: 22px 24px;
  gap: 10px;
}
.offer-national-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.badge-inline {
  position: static;
  display: inline-flex;
}
.cat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fiche-mini, .fiche-table {
  display: grid;
  gap: 0;
  margin: 6px 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
}
.fiche-row {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.fiche-row:last-child { border-bottom: 0; }
.fiche-row dt {
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.fiche-row dd {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
}
.offer-national .btn { align-self: flex-start; margin-top: 4px; }

/* Deadline countdown on listing cards */
.deadline-countdown {
  margin: 4px 0 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.deadline-countdown-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--muted);
}
.deadline-countdown-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  color: var(--muted);
}
.deadline-clock {
  flex: 0 0 auto;
  color: var(--muted);
}
.deadline-countdown-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.deadline-countdown-track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(11, 29, 54, 0.08);
  overflow: hidden;
}
.deadline-countdown-fill {
  height: 100%;
  border-radius: inherit;
  transition: width .25s ease;
  min-width: 0;
}
.deadline-countdown-text {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .01em;
}
.deadline-countdown.is-ok .deadline-countdown-fill {
  background: #1f9d5a;
}
.deadline-countdown.is-ok .deadline-countdown-text {
  color: #1f9d5a;
}
.deadline-countdown.is-urgent .deadline-countdown-fill,
.deadline-countdown.is-expired .deadline-countdown-fill {
  background: #d64545;
}
.deadline-countdown.is-urgent .deadline-countdown-text,
.deadline-countdown.is-expired .deadline-countdown-text {
  color: #d64545;
}
.deadline-countdown.is-expired .deadline-countdown-fill {
  width: 0 !important;
}
.offer-national .deadline-countdown {
  max-width: 420px;
}


.offer-detail-national {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.15fr;
  gap: 28px;
  align-items: start;
}
.fiche-technique, .offer-description { margin-top: 8px; }
.fiche-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 12px;
}
.offer-description p {
  color: var(--muted);
  white-space: pre-wrap;
}


/* Process */
.process { background: var(--navy); color: var(--cream); }
.process h2, .process .eyebrow { color: var(--gold); }
.process p { color: #d7deea; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 8px 0; }
.step .n { color: var(--gold); font-family: "Playfair Display", serif; font-size: 28px; }

/* About */
.about-visual {
  min-height: 420px; border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11,29,54,.15), rgba(11,29,54,.35)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80") center/cover;
}

/* Form */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 15px;
}
textarea { min-height: 140px; resize: vertical; }
.notice { font-size: 13px; color: var(--muted); }

/* Footer */
footer {
  background: #081526; color: #c9d0db; padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
footer h4 { color: var(--gold); margin-bottom: 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
footer a:hover { color: var(--gold); }
.legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; font-size: 12px; color: #8b95a5; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.page-hero {
  background: var(--navy); color: var(--cream); padding: 56px 0 44px;
}
.page-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; }
.page-hero p { color: #d7deea; margin-top: 10px; max-width: 60ch; }

.legal-block h3 { margin: 22px 0 8px; color: var(--navy); }
.legal-block p, .legal-block li { color: var(--muted); margin-bottom: 8px; }
.legal-block ul { padding-left: 18px; }


nav { position: relative; }
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > a::after { content: "▾"; font-size: 11px; opacity: .7; }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: -12px;
  min-width: 230px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px;
  z-index: 90;
}
.nav-drop-menu a {
  display: block; padding: 10px 12px; border-radius: 8px; white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--cream); }
.nav-drop.open .nav-drop-menu { display: block; }
.gallery { display:grid; grid-template-columns: 1fr 1fr; gap:8px; }
.gallery .main { grid-column: 1 / -1; height: 280px; border-radius: 16px; background-size:cover; background-position:center; }
.gallery .thumb { height: 110px; border-radius: 10px; background-size:cover; background-position:center; }

.page-visual {
  width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); margin: 8px 0 8px;
}
.page-hero.with-photo {
  background-size: cover; background-position: center;
  position: relative;
}
.page-hero.with-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,29,54,.86) 0%, rgba(11,29,54,.55) 70%);
}
.page-hero.with-photo .container { position: relative; z-index: 1; }
.page-hero.hero-cabinet { background-image: url("../img/arc-triomphe.jpg"); }
.page-hero.hero-procedure { background-image: url("../img/tribunal-commerce.jpg"); }

.cat-card { display:block; }
.cat-card:hover { transform: translateY(-2px); transition: .2s ease; }

@media (max-width: 900px) {
  nav { display: none; }
  .nav-drop-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 12px; background: transparent; }
  .nav-drop.open .nav-drop-menu { display: block; }


  nav.open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--cream); padding: 18px 20px 24px; border-bottom: 1px solid var(--line);
    align-items: flex-start;
    z-index: 90;
  }
  .menu-toggle { display: block; }
  body.nav-open { overflow: hidden; }
  .grid-3, .offer-grid, .steps, .footer-grid, .grid-2, .form-row, .hero-stats,
  .offer-national, .offer-detail-national {
    grid-template-columns: 1fr;
  }
  .offer-national .offer-photo {
    height: 200px;
    min-height: 180px;
  }
  .fiche-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .hero { padding: 64px 0 56px; }
}

/* Offres nationales — sous-rubriques régionales (Île-de-France / Normandie / Rhône-Alpes / Hauts-de-France) */
.region-tabs {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.region-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; margin-bottom: -1px;
  font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 500;
  color: var(--muted); border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.region-tab:hover { color: var(--navy); }
.region-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.region-count {
  font-family: "Source Sans 3", sans-serif; font-size: 12px; font-weight: 700;
  min-width: 26px; padding: 2px 8px; border-radius: 999px; text-align: center;
  background: var(--cream); color: var(--navy); border: 1px solid var(--line);
}
.region-count:empty { display: none; }
.region-tab.active .region-count { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.region-intro { font-size: 14px; margin: 0 0 18px; }


/* Sous-onglets départements (uniquement onglet Île-de-France) */
.dept-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px;
}
.dept-tabs[hidden] { display: none !important; }
.dept-tab {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  padding: 7px 12px; border-radius: 999px; cursor: pointer; font-size: 13.5px;
  font-family: "Source Sans 3", sans-serif; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.dept-tab:hover { border-color: var(--navy); }
.dept-tab.active {
  background: var(--navy); color: var(--cream); border-color: var(--navy);
}
.dept-count {
  font-size: 11px; font-weight: 700;
  min-width: 22px; padding: 1px 7px; border-radius: 999px; text-align: center;
  background: var(--cream); color: var(--navy); border: 1px solid var(--line);
}
.dept-tab.active .dept-count {
  background: var(--gold); color: var(--navy); border-color: transparent;
}
@media (max-width: 560px) {
  .dept-tabs { gap: 6px; margin-bottom: 14px; }
  .dept-tab { font-size: 12.5px; padding: 6px 10px; }
  .dept-count { font-size: 10px; padding: 1px 6px; min-width: 0; }
}


/* Desktop : sous-menu au survol (le clic sur "Offres nationales" suit le lien) */
@media (min-width: 901px) and (hover: hover) {
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu { display: block; }
  .nav-drop-menu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
  }
}
@media (max-width: 900px) {
  .nav-drop { width: 100%; }
  .nav-drop-menu a { padding: 8px 4px; }
  .region-tab { flex: 1 1 0; justify-content: center; padding: 10px 8px; font-size: 18px; }
}
@media (max-width: 560px) {
  /* 4 sous-rubriques : nom au-dessus, compteur en dessous ; police réduite */
  .region-tab { flex: 1 1 22%; flex-direction: column; gap: 3px; padding: 8px 1px 10px; font-size: 12.5px; text-align: center; line-height: 1.15; }
  .region-count { font-size: 10px; min-width: 0; padding: 1px 6px; }
}

/* Desktop : le sous-menu reste ouvert un instant quand la souris le quitte */
@media (min-width: 901px) and (hover: hover) {
  .nav-drop-menu {
    display: block; visibility: hidden; opacity: 0;
    transition: opacity .15s ease .4s, visibility 0s linear .55s;
  }
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu,
  .nav-drop.open .nav-drop-menu {
    visibility: visible; opacity: 1; transition-delay: 0s, 0s;
  }
  .nav-drop-menu::before { top: -18px; height: 18px; }
}

/* ===== Navigation mobile (maquette) ===== */
.mnav-head, .mnav-foot, .mnav-ico, .mnav-sub, .mnav-count, .mnav-chev, .mnav-all,
.mnav-overlay, .mbar { display: none; }
.mnav-txt, .mnav-lbl { display: inline; }

@media (max-width: 900px) {
  .topbar { display: none; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .header .container { min-height: 66px; }
  .logo-mark-img { width: 40px; height: 40px; }

  /* Bouton « Menu » : icône + mot, pilule 44 px */
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
    border: 1.5px solid var(--navy); background: #fff; color: var(--navy);
    font-size: 15px; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 4px 14px rgba(11,29,54,.10);
  }
  .menu-toggle:active { transform: scale(.97); }
  .mt-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
  .mt-bars i { display: block; height: 2px; border-radius: 2px; background: var(--navy); }
  .mt-bars i:nth-child(2) { width: 70%; background: var(--gold-dark); }

  /* Panneau latéral plein écran */
  .header nav, .header nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(88vw, 380px); padding: 0; margin: 0;
    background: var(--cream); border: 0; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -20px 0 50px rgba(11,29,54,.25); z-index: 100;
  }
  .header nav { transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
  .header nav.open { transform: none; visibility: visible; transition: transform .28s ease; }

  .mnav-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 2; min-height: 66px; padding: 0 14px 0 20px;
    background: var(--navy); color: var(--cream);
  }
  .mnav-title { font-family: "Playfair Display", Georgia, serif; font-size: 22px; color: var(--gold); }
  .mnav-close {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
    border-radius: 999px; border: 1px solid rgba(247,243,235,.35); background: transparent;
    color: var(--cream); font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .mnav-close .mnav-ico { color: var(--cream); width: 18px; height: 18px; }

  .mnav-ico { display: block; width: 22px; height: 22px; flex: 0 0 auto; color: var(--gold-dark); }
  .mnav-ico.sm { width: 16px; height: 16px; }

  .header nav a.mnav-row {
    display: flex; align-items: center; gap: 14px; width: 100%;
    min-height: 58px; padding: 10px 20px; border-bottom: 1px solid var(--line);
    font-size: 17px; font-weight: 600; color: var(--navy); position: relative;
  }
  .header nav a.mnav-row:active { background: var(--cream-2); }
  .header nav a.mnav-row.active { color: var(--navy); background: #fff; }
  .header nav a.mnav-row.active::before {
    content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px;
    border-radius: 0 4px 4px 0; background: var(--gold);
  }
  .mnav-txt { display: flex; flex-direction: column; flex: 1 1 auto; line-height: 1.25; min-width: 0; }
  .mnav-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
  .mnav-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px;
    background: var(--navy); color: var(--cream); font-size: 12.5px; font-weight: 700;
  }
  .mnav-count.is-gold { background: var(--gold); color: var(--navy); }

  /* « Offres en cours » mise en avant */
  .header nav a.mnav-hl {
    background: linear-gradient(90deg, rgba(196,163,90,.22), rgba(196,163,90,.06));
    font-size: 18px;
  }
  .header nav a.mnav-hl .mnav-ico { color: var(--navy); }

  /* Offres nationales en accordéon */
  .nav-drop { width: 100%; }
  .nav-drop > a::after { content: none; }
  .mnav-chev { display: block; width: 20px; height: 20px; color: var(--navy); transition: transform .2s ease; margin-left: 4px; }
  .nav-drop.open .mnav-chev { transform: rotate(180deg); }
  .nav-drop.open > a.mnav-row { background: #fff; border-bottom-color: transparent; }
  .header nav .nav-drop-menu {
    display: none; position: static; background: #fff; border: 0; border-radius: 0;
    box-shadow: none; padding: 0 0 8px; min-width: 0; border-bottom: 1px solid var(--line);
  }
  .header nav .nav-drop.open .nav-drop-menu { display: block; }
  .header nav .nav-drop-menu a {
    display: flex; align-items: center; gap: 12px; min-height: 48px;
    padding: 0 20px 0 56px; border-radius: 0; font-size: 16px; font-weight: 500; white-space: normal;
  }
  .header nav .nav-drop-menu a .mnav-count { margin-left: auto; background: var(--cream-2); color: var(--navy); }
  .header nav .nav-drop-menu a.mnav-all { display: flex; color: var(--gold-dark); font-weight: 700; font-size: 15px; }

  .mnav-hide { display: none !important; }

  /* Pied du panneau : appel + contact */
  .mnav-foot { display: block; margin-top: auto; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
  .mnav-call {
    display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 10px 18px;
    border-radius: 16px; background: var(--navy); color: var(--cream);
  }
  .mnav-call .mnav-ico { color: var(--gold); width: 26px; height: 26px; }
  .mnav-call b { display: block; font-size: 16.5px; line-height: 1.2; }
  .mnav-call small { display: block; font-size: 14px; color: var(--gold-2); letter-spacing: .03em; }
  .mnav-foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .mnav-mini {
    display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px;
    border-radius: 12px; border: 1px solid var(--line); background: #fff;
    font-size: 14px; font-weight: 600; color: var(--navy) !important;
  }
  .mnav-hours { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }

  /* Voile derrière le panneau */
  .mnav-overlay {
    display: block; position: fixed; inset: 0; z-index: 95;
    background: rgba(11,29,54,.55); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  body.nav-open .mnav-overlay { opacity: 1; visibility: visible; transition: opacity .25s ease; }

  /* Barre fixe en bas d’écran */
  body.has-mbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11,29,54,.10);
    transition: transform .25s ease;
  }
  body.nav-open .mbar { transform: translateY(110%); }
  .mbar-btn {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-height: 54px; border-radius: 12px; color: var(--navy); font-size: 12.5px; font-weight: 700;
  }
  .mbar-btn .mnav-ico { color: var(--navy); }
  .mbar-btn .mnav-count { position: absolute; top: 2px; right: calc(50% - 30px); height: 20px; min-width: 22px; font-size: 11px; padding: 0 6px; }
  .mbar-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px;
    border-radius: 14px; background: var(--gold); color: var(--navy); font-size: 15px; font-weight: 700;
  }
  .mbar-cta .mnav-ico { color: var(--navy); width: 20px; height: 20px; }
}
@media (min-width: 901px) {
  .header nav .nav-drop-menu a.mnav-all { display: none; }
}
@media (max-width: 900px) {
  .mbar-btn .mnav-count { top: 0; right: calc(50% - 36px); }
}

/* Ordinateur : logo « CABINET ECI » toujours sur 2 lignes (titre + sous-titre) et menu sur une seule ligne.
   Le conteneur est plafonné à 1180 px : mêmes réglages de 1200 px à l’infini, version compacte de 901 à 1199 px. */
@media (min-width: 901px) {
  .header .logo { flex: 0 0 auto; }
  .header .logo-text { white-space: nowrap; }
  .header nav { flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; }
  .header nav > a, .header nav > .nav-drop > a { white-space: nowrap; }
}
@media (min-width: 1200px) {
  .header nav { gap: 16px; }
  .header nav a { font-size: 14.5px; }
  .header nav > a.btn { padding: 10px 16px; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .header .container { gap: 14px; }
  .header .logo { gap: 9px; }
  .header .logo-mark-img { width: 38px; height: 38px; }
  .header .logo-text strong { font-size: 13.5px; letter-spacing: .14em; }
  .header .logo-text span { font-size: 10.5px; letter-spacing: .02em; }
  .header nav { gap: 12px; }
  .header nav a { font-size: 13.5px; }
  .header nav > a.btn { padding: 9px 14px; font-size: 13.5px; }
}
@media (min-width: 901px) and (max-width: 1099px) {
  .header nav { gap: 10px; }
  .header nav a { font-size: 13px; }
  .header nav > a.btn { padding: 8px 12px; font-size: 13px; }
}
/* 1024-1099 px (iPad paysage, petits portables) : une seule ligne, le logo sert de lien Accueil */
@media (min-width: 1024px) and (max-width: 1099px) {
  .header nav > a[href="index.html"] { display: none; }
}
/* 901-1023 px : pas la place pour tout sur une ligne -> logo en haut, menu complet sur une 2e ligne (jamais coupé) */
@media (min-width: 901px) and (max-width: 1023px) {
  .header .container { flex-wrap: wrap; row-gap: 0; min-height: 0; padding: 10px 0 0; }
  .header nav { flex: 1 1 100%; justify-content: space-between; padding: 8px 0 10px; margin-top: 8px; border-top: 1px solid var(--line); }
}

/* Carte des offres : bouton « Voir sur la carte » (offres.html) + pastille « Nouveau » du menu */
.hero-map-cta { margin-top: 18px !important; }
.map-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mnav-new { display: none; }
@media (max-width: 900px) {
  .hero-map-cta .map-cta { width: 100%; min-height: 48px; font-size: 15.5px; }
  .mnav-new {
    display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
    background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  }
}
