/* ============================================================
   Déménagement Dakar Express — design system
   Budget : 1 seul fichier, ~15 Ko, polices système (aucun webfont),
   aucune ressource externe. Performance budget (maillage_technique.json).
   ============================================================ */

:root {
  --navy: #0b2239;
  --navy-2: #123a5c;
  --navy-3: #1b4d76;
  --ink: #16232f;
  --muted: #5a6b7b;
  --sun: #f08a1d;
  --sun-d: #d9700a;
  --sun-t: #fff3e2;
  --teal: #0e7490;
  --bg: #faf6ef;
  --bg-2: #fffdf9;
  --card: #ffffff;
  --line: #e9e1d3;
  --line-2: #f2ece0;
  --ok: #157a4f;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(11, 34, 57, .05), 0 12px 28px -18px rgba(11, 34, 57, .25);
  --shadow-lg: 0 2px 6px rgba(11, 34, 57, .08), 0 30px 60px -30px rgba(11, 34, 57, .35);
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sun-t); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 99; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.crumbs { padding: 16px 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: .87rem; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b9ac96; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { flex: none; }

/* ---------------- header ---------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.brand__i { width: 34px; height: 34px; color: #fff; background: linear-gradient(135deg, var(--sun), var(--sun-d)); border-radius: 10px; padding: 6px; }
.brand__txt { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.1; }
.brand__txt b { font-size: 1.06rem; }
.brand--foot { color: #fff; }
.brand--foot .brand__i { background: rgba(255, 255, 255, .12); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 13px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; white-space: nowrap; }
.nav a:hover { background: #f0e9db; color: var(--navy); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.topbar__cta { display: flex; align-items: center; gap: 12px; }
.topbar__tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.topbar__tel .icon { width: 18px; height: 18px; color: var(--sun-d); }
.nav__toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--navy); }
.nav__toggle .nav__close { display: none; }
.nav__toggle .icon { display: block; }

/* ---------------- boutons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 13px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn .i-btn { width: 19px; height: 19px; }
.btn--primary { background: linear-gradient(180deg, var(--sun), var(--sun-d)); color: #fff; box-shadow: 0 10px 22px -12px rgba(240, 138, 29, .8); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(240, 138, 29, .9); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--sm { padding: 9px 16px; font-size: .92rem; border-radius: 11px; }
.btn--full { width: 100%; }

/* ---------------- hero ---------------- */
.hero { position: relative; background: var(--navy); color: #eef3f8; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(240, 138, 29, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(14, 116, 144, .35), transparent 60%),
    linear-gradient(180deg, #0b2239 0%, #0d2740 60%, #0b2239 100%);
}
.hero::after { content: ""; position: absolute; inset: auto -5% -60% auto; width: 70%; height: 100%;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 26px);
  transform: skewY(-8deg); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.hero--flat .hero__grid { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 52px; max-width: 880px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-d); margin: 0 0 14px; }
.eyebrow--light { color: #ffc77a; }
.hero h1 { color: #fff; margin-bottom: .45em; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.hero__lead { font-size: 1.16rem; line-height: 1.6; color: #d7e2ec; max-width: 56ch; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 20px 0 4px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: #cfe0ee; font-weight: 600; }
.hero__chips .icon { width: 17px; height: 17px; color: var(--sun); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__rating { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; color: #cfe0ee; font-weight: 600; font-size: .95rem; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 17px; height: 17px; color: var(--sun); fill: var(--sun); stroke: var(--sun); }
.hero__trust { margin: 10px 0 0; font-size: .92rem; color: #9fb4c7; }
.hero__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .18); }
.hero__media img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.hero__media figcaption { display: none; }

/* formulaire de devis (central piece) */
.quote { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.quote__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-2); padding-bottom: 14px; margin-bottom: 18px; }
.quote__head strong { font-size: 1.25rem; color: var(--navy); font-weight: 800; }
.quote__head span { font-size: .85rem; color: var(--ok); font-weight: 700; }
.quote .f { display: block; margin-bottom: 14px; }
.quote .f span { display: block; font-size: .84rem; font-weight: 700; color: var(--navy-2); margin-bottom: 6px; }
.quote input, .quote select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font: inherit; color: var(--ink); background: var(--bg-2); }
.quote input:focus, .quote select:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--sun); }
.quote .f-row { display: flex; gap: 14px; }
.quote .f-row .f { flex: 1; min-width: 0; }
.quote__alt { margin: 14px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.quote__alt a { font-weight: 700; color: var(--navy); }

/* ---------------- sections ---------------- */
.s { padding: 64px 0; }
.s + .s { padding-top: 0; }
.s__head { max-width: 720px; margin-bottom: 34px; }
.s__head .lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { margin-top: .2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card .icon { width: 30px; height: 30px; color: var(--sun-d); margin-bottom: 12px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card a { color: inherit; text-decoration: none; }
.card--link { transition: transform .15s ease, box-shadow .15s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card--link:hover h3 { color: var(--sun-d); }

/* bandeau chiffres */
.s--stats { padding: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 26px 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); font-weight: 800; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* étapes */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 14px; }
.steps li { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px 22px; }
.step__n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--sun-t); color: var(--sun-d); font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* tableau */
.table-wrap { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbf7ef; }
td strong { color: var(--navy); }
.note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 16px; }
.checks .icon { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }

/* FAQ */
.s--faq { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.faq { max-width: 860px; }
.faq__i { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--bg-2); overflow: hidden; }
.faq__i summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 700; color: var(--navy); }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary h3 { margin: 0; font-size: 1.02rem; font-weight: 700; }
.faq__i summary .icon { width: 20px; height: 20px; color: var(--sun-d); transform: rotate(90deg); transition: transform .2s ease; }
.faq__i[open] summary .icon { transform: rotate(-90deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink); }
.faq__a p { margin: 0; }

/* zone avis d'expert */
.expert { background: linear-gradient(180deg, var(--sun-t), #fff 80%); border: 1px solid #f5dfbd; border-radius: var(--radius); padding: 28px; }
.expert h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.expert h2 .icon { width: 26px; height: 26px; color: var(--sun-d); }
.expert__sig { margin: 8px 0 0; font-weight: 700; color: var(--navy-2); font-size: .95rem; }

/* liens contextuels */
.s--rel { padding-top: 40px; }
.rel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 20px; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease; }
.rel:hover { transform: translateY(-2px); }
.rel span { font-weight: 700; color: var(--navy); }
.rel em { font-style: normal; font-size: .88rem; color: var(--muted); }
.rel .icon { align-self: flex-end; width: 18px; height: 18px; color: var(--sun-d); }

/* vidéo (bas de page d'accueil) */
.s--video { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.s--video .s__head { margin-bottom: 26px; }
.video-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; align-items: center; }
.video-txt p { color: var(--ink); }
.video-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.video-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.video-points .icon { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }
.video-card { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-card video { width: 100%; aspect-ratio: 16/9; display: block; height: auto; }
.video-card figcaption { font-size: .86rem; color: var(--muted); padding: 12px 16px; background: #fff; }

/* pages internes : hero réduit sans formulaire */
.s--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
figure.s-figure { margin: 10px auto 0; max-width: 920px; }
figure.s-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
figure.s-figure figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }

/* ---------------- footer ---------------- */
.foot { background: var(--navy); color: #c6d5e2; margin-top: 64px; padding: 56px 0 0; font-size: .95rem; }
.foot h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot a { color: #e6eef5; text-decoration: none; }
.foot a:hover { color: var(--sun); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.foot__brand p { color: #a9bccd; }
.foot__tel { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.foot__tel a { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.foot__tel .icon { width: 18px; height: 18px; color: var(--sun); }
.foot__info p { display: flex; gap: 10px; align-items: flex-start; color: #a9bccd; }
.foot__info .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--sun); }
.foot__meta { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 42px; padding-top: 26px; }
.foot__meta p { color: #8fa6ba; font-size: .84rem; line-height: 1.75; margin: 0; }
.foot__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 20px; padding-top: 20px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot__legal p { margin: 0; font-size: .86rem; }

/* barre mobile */
.bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); gap: 8px; }
.bar__a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 6px; border-radius: 12px; font-weight: 800; font-size: .92rem; text-decoration: none; }
.bar__a .icon { width: 18px; height: 18px; }
.bar__a--wa { background: #e8f7ef; color: #0f7a4d; }
.bar__a--dev { background: linear-gradient(180deg, var(--sun), var(--sun-d)); color: #fff; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 34px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .s--split { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .grid--3, .rel-list { grid-template-columns: repeat(2, 1fr); }
  .nav { position: fixed; inset: 70px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); margin: 0; display: none; z-index: 49; }
  .nav ul { flex-direction: column; padding: 14px; gap: 4px; }
  .nav a[aria-current="page"] { background: var(--sun-t); color: var(--sun-d); }
  body.nav-open .nav { display: block; }
  body.nav-open { overflow: hidden; }
  .nav__toggle { display: inline-flex; }
  .topbar__in { gap: 12px; }
  .topbar__cta { margin-left: auto; gap: 8px; }
  .topbar__tel span, .topbar__cta .btn { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .s { padding: 44px 0; }
  .grid--2, .grid--3, .grid--4, .rel-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .quote { padding: 20px; }
  .quote .f-row { flex-direction: column; gap: 0; }
  .bar { display: flex; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__grid { padding-top: 44px; padding-bottom: 44px; }
  .crumbs { padding: 14px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card--link, .rel { transition: none; }
}
