/* ==========================================================================
   MarcheGros — public redesign (Home · Grossistes · Demande d'achat)

   Ported from outputs/marchegros-redesign-3pages-v1/*.html, which is the
   visual source of truth. Loaded only by views that declare
   @section('mg_redesign') (see layouts/public.blade.php), so every other
   public page keeps its current look until it is migrated.

   Palette: the redesign tokens are pinned on body.mgr instead of read from
   the admin theme, so these pages render as approved whichever theme row is
   active. CONTRAST RULE: lime (--mg-accent) is a LIGHT surface — buttons on
   lime carry ink text, buttons on ink carry lime text. Never white on lime.
   ========================================================================== */

body.mgr {
    --mg-bg: #f7f8f1;
    --mg-soft: #eff2e8;
    --mg-ink: #11130f;
    --mg-muted: #4d5549;
    --mg-line: #dde5d2;
    --mg-primary: #11130f;
    --mg-accent: #c8f24a;
    --mg-secondary: #2d6a4f;
    --mg-accent-soft: color-mix(in srgb, #c8f24a 15%, #f7f8f1);
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --shell: 1200px;
    font-family: var(--font-sans);
    background: var(--mg-bg);
    color: var(--mg-ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

html:has(body.mgr) { scroll-behavior: smooth; }
body.mgr ::selection { background: var(--mg-accent); color: var(--mg-ink); }
body.mgr :focus-visible { outline: 2px solid var(--mg-secondary); outline-offset: 3px; border-radius: 2px; }
body.mgr .shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
:where(body.mgr) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }

/* ---------- reveal-on-load cascade (CSS only) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.7s var(--ease-spring) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; }
.rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
.rise.d5 { animation-delay: .40s; } .rise.d6 { animation-delay: .48s; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    font: 600 15px/1 var(--font-sans); letter-spacing: .01em;
    border: 1px solid transparent; border-radius: 8px; cursor: pointer;
    transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-spring), background .2s;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--mg-ink); color: var(--mg-accent); }
.btn-ink:hover { background: #23261f; box-shadow: 0 10px 24px -12px rgba(17,19,15,.45); }
.btn-ink .arr { color: var(--mg-accent); transition: transform .25s var(--ease-spring); }
.btn-ink:hover .arr { transform: translateX(4px); }
.btn-lime { background: var(--mg-accent); color: var(--mg-ink); }
.btn-lime:hover { box-shadow: 0 10px 24px -12px rgba(45,106,79,.5); transform: translateY(-1px); }

/* ---------- chips ---------- */
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border: 1px solid var(--mg-line); border-radius: 999px;
    background: #fff; font-size: 13px; color: var(--mg-ink);
    transition: border-color .2s, transform .2s var(--ease-spring), box-shadow .2s;
}
.chip:hover { border-color: var(--mg-ink); transform: translateY(-2px); box-shadow: 0 6px 16px -10px rgba(17,19,15,.25); }

/* ---------- eyebrow / section heads / crumbs ---------- */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mg-muted); }
.eyebrow .pulse { display: inline-flex; align-items: center; gap: 8px; color: var(--mg-secondary); }
.eyebrow .pulse i { width: 7px; height: 7px; border-radius: 50%; background: var(--mg-accent); border: 1.5px solid var(--mg-secondary); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { box-shadow: 0 0 0 0 rgba(45,106,79,.3); } 50% { box-shadow: 0 0 0 6px rgba(45,106,79,0); } }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--mg-line); }
.sec-head h2 { font: 500 clamp(26px, 3.4vw, 34px)/1.15 var(--font-serif); letter-spacing: -.015em; margin-top: 8px; }
.sec-head .link { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; transition: color .2s; flex-shrink: 0; }
.sec-head .link:hover { color: var(--mg-secondary); }
@media (min-width: 768px) { .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.crumb { font-size: 12.5px; color: var(--mg-muted); padding: 18px 24px 0; max-width: var(--shell); margin: 0 auto; }
.crumb a:hover { color: var(--mg-ink); }
.crumb .sep { margin: 0 8px; color: var(--mg-line); }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--mg-bg) 82%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mg-line);
}
.hdr-in { display: flex; align-items: center; gap: 34px; height: 68px; }
.logo { display: flex; align-items: baseline; gap: 3px; font: 600 21px/1 var(--font-serif); letter-spacing: -.02em; }
.logo em { font-style: italic; }
.logo .dot { width: 7px; height: 7px; background: var(--mg-accent); border-radius: 2px; transform: translateY(1px); }
.nav { display: none; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--mg-muted); transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--mg-ink); }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mg-accent); border-radius: 1px; }
@media (min-width: 940px) { .nav { display: flex; } }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr-act .login { display: none; font-size: 14px; font-weight: 600; }
@media (min-width: 640px) { .hdr-act .login { display: inline; } }
.hdr-act .btn { min-height: 42px; padding: 0 18px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 480px) { .hide-xs { display: none; } .hdr-act { gap: 10px; } .hdr-in { gap: 12px; } .hdr .shell { padding: 0 16px; } }
details.burger { position: relative; }
details.burger summary { list-style: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--mg-line); border-radius: 8px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
details.burger summary::-webkit-details-marker { display: none; }
details.burger .drop {
    position: absolute; right: 0; top: calc(100% + 8px); width: 230px; padding: 8px;
    background: #fff; border: 1px solid var(--mg-line); border-radius: 12px;
    box-shadow: 0 18px 40px -18px rgba(17,19,15,.22);
}
details.burger .drop a, details.burger .drop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
details.burger .drop a:hover, details.burger .drop button:hover { background: var(--mg-soft); }
@media (min-width: 940px) { details.burger { display: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.ftr { background: var(--mg-ink); color: rgba(255,255,255,.6); padding: 64px 0 30px; }
.ftr-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .ftr-grid { grid-template-columns: 1.4fr repeat(3, .86fr); } }
.ftr .logo { color: #fff; }
.ftr .pitch { margin-top: 14px; font-size: 13.5px; line-height: 1.65; max-width: 30ch; }
.ftr h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.ftr li { padding: 5px 0; font-size: 13.5px; }
.ftr li a:hover { color: var(--mg-accent); }
.ftr .base { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.38); }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero { padding: 56px 0 76px; }
.hero-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .hero { padding: 76px 0 96px; } .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; } }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-top: 20px; font: 500 clamp(44px, 6.4vw, 74px)/1.02 var(--font-serif); letter-spacing: -.028em; }
.hero h1 .qw {
    font-style: italic;
    background: linear-gradient(100deg, transparent 1%, var(--mg-accent) 7% 93%, transparent 97%);
    border-radius: 6px; padding: 0 10px;
}
.hero .sub { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--mg-ink); max-width: 46ch; }
.hero .sub strong { font-weight: 700; white-space: nowrap; }
.hero .sub .mut { color: var(--mg-muted); }

.search {
    margin-top: 34px; display: grid; gap: 0;
    background: #fff; border: 1px solid var(--mg-line); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(22,20,18,.04), 0 24px 48px -32px rgba(17,19,15,.18);
    overflow: hidden;
}
@media (min-width: 640px) { .search { grid-template-columns: 1fr auto; } }
.search label { display: flex; align-items: center; gap: 14px; padding: 0 20px; min-width: 0; }
.search svg { flex-shrink: 0; color: var(--mg-muted); }
.search input {
    flex: 1; min-width: 0; min-height: 64px; border: 0; background: transparent; box-shadow: none;
    font: 500 16px/1.4 var(--font-sans); color: var(--mg-ink);
}
.search input::placeholder { color: var(--mg-muted); font-weight: 400; }
.search input:focus { outline: none; }
.search .go {
    min-height: 64px; padding: 0 30px; border: 0; cursor: pointer;
    background: var(--mg-ink); color: var(--mg-accent);
    font: 700 15px/1 var(--font-sans); letter-spacing: .01em; transition: background .2s;
}
.search .go:hover { background: #23261f; }
.search .go .arr { transition: transform .25s var(--ease-spring); display: inline-block; }
.search:hover .go .arr { transform: translateX(4px); }

.hero .examples { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 8px; align-items: center; }
.hero .examples .lbl { font-size: 12.5px; color: var(--mg-muted); margin-right: 4px; }
.hero .examples .chip { padding: 6px 13px; background: transparent; font-size: 13px; color: var(--mg-muted); transition: border-color .2s, color .2s, background .2s; }
.hero .examples .chip:hover { transform: none; box-shadow: none; border-color: var(--mg-ink); color: var(--mg-ink); background: #fff; }
.trust { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid var(--mg-line); padding-top: 22px; }
.trust li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(3, 1fr); } .trust li { padding: 0; } .trust li + li { border-left: 1px solid var(--mg-line); padding-left: 20px; } }
@media (max-width: 639px) { .trust { margin-top: 36px; } .ticks { margin-top: 36px; } }
.trust .n { font: 600 20px/1 var(--font-serif); letter-spacing: -.01em; color: var(--mg-ink); white-space: nowrap; }
.trust .t { font-size: 13px; color: var(--mg-muted); }

/* hero right: example-demand stack */
.demand-panel { position: relative; }
.dp-frame { background: #fff; border: 1px solid var(--mg-line); border-radius: 16px; box-shadow: 0 32px 64px -36px rgba(17,19,15,.22); overflow: hidden; }
.dp-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--mg-line); background: var(--mg-soft);
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mg-muted);
}
.dp-viewport { height: 312px; overflow: hidden; position: relative; }
.dp-track { animation: dp-loop 18s cubic-bezier(.7,0,.3,1) infinite; }
.dp-frame:hover .dp-track { animation-play-state: paused; }
@keyframes dp-loop {
    0%,16%   { transform: translateY(0); }
    22%,38%  { transform: translateY(-78px); }
    44%,60%  { transform: translateY(-156px); }
    66%,82%  { transform: translateY(-234px); }
    88%,100% { transform: translateY(-312px); }
}
.dp-item { height: 78px; display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px dashed var(--mg-line); }
.dp-item .tick { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--mg-accent-soft); color: var(--mg-secondary); }
.dp-item .q { font-size: 13.5px; line-height: 1.45; color: var(--mg-ink); }
.dp-item .q .meta { display: block; margin-top: 3px; font-size: 11.5px; color: var(--mg-muted); }
.dp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; font-size: 12.5px; color: var(--mg-muted); border-top: 1px solid var(--mg-line); }
.dp-foot a { font-weight: 700; color: var(--mg-secondary); white-space: nowrap; }
.dp-note {
    position: absolute; top: -12px; right: -12px; z-index: 2;
    background: var(--mg-ink); color: var(--mg-accent);
    font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
    padding: 9px 12px; border-radius: 8px; transform: rotate(2deg);
}

/* ============================================================
   HOME — EXPLORER (bento)
   ============================================================ */
.explore { padding: 40px 0 84px; }
.bento { display: grid; gap: 14px; }
@media (min-width: 900px) { .bento { grid-template-columns: 0.86fr 1.14fr; } }
.entry { position: relative; display: flex; flex-direction: column; background: var(--mg-ink); color: #fff; border-radius: 16px; padding: 34px 30px 30px; overflow: hidden; }
.entry::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 90% at 0% 0%, rgba(200,242,74,.14), transparent 55%); pointer-events: none; }
.entry .tag { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mg-accent); }
.entry h3 { margin-top: 16px; font: 500 clamp(24px, 2.6vw, 30px)/1.15 var(--font-serif); letter-spacing: -.015em; }
.entry p { margin-top: 14px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.62); max-width: 34ch; }
.entry .go { margin-top: auto; padding-top: 26px; font-size: 14.5px; font-weight: 700; color: var(--mg-accent); display: inline-flex; gap: 8px; }
.entry .go .arr { transition: transform .25s var(--ease-spring); }
.entry:hover .go .arr { transform: translateX(5px); }
.entry .big { position: absolute; right: -6px; bottom: -34px; font: 600 118px/1 var(--font-serif); letter-spacing: -.04em; color: rgba(200,242,74,.12); pointer-events: none; }

.sectors { background: #fff; border: 1px solid var(--mg-line); border-radius: 16px; padding: 28px 26px; }
.sectors .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.sectors .hd h3 { font: 500 21px/1.2 var(--font-serif); letter-spacing: -.01em; }
.sectors .hd a { font-size: 12.5px; font-weight: 700; color: var(--mg-secondary); white-space: nowrap; }
.sectors ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 1200px) { .sectors ul { grid-template-columns: repeat(3, 1fr); } }
.sectors li a {
    display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; min-height: 64px;
    padding: 16px; border-radius: 10px; border: 1px solid var(--mg-line);
    transition: border-color .2s, background .2s, transform .2s var(--ease-spring);
}
.sectors li a:hover { border-color: var(--mg-ink); background: var(--mg-bg); transform: translateY(-2px); }
.sectors .nm { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.sectors .ct { font-size: 11.5px; color: var(--mg-muted); font-variant-numeric: tabular-nums; }

.cities { grid-column: 1 / -1; background: var(--mg-soft); border: 1px solid var(--mg-line); border-radius: 16px; padding: 28px 26px; }
.cities .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.cities .hd h3 { font: 500 21px/1.2 var(--font-serif); letter-spacing: -.01em; }
.cities .hd a { font-size: 12.5px; font-weight: 700; color: var(--mg-secondary); white-space: nowrap; }
.cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 26px; }
.cloud a { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.cloud a:hover { color: var(--mg-secondary); }
.cloud .sz { font-family: var(--font-sans); font-weight: 500; font-size: 11px; color: var(--mg-muted); margin-left: 5px; font-variant-numeric: tabular-nums; }
.cloud .xl { font-size: clamp(30px, 4vw, 44px); }
.cloud .l  { font-size: clamp(22px, 2.6vw, 30px); }
.cloud .m  { font-size: clamp(18px, 2vw, 22px); }
.cloud .s  { font-size: clamp(16px, 1.7vw, 18px); }
.empty-note { font-size: 14px; color: var(--mg-muted); }

/* ============================================================
   HOME — DATA BAND
   ============================================================ */
.band { background: var(--mg-ink); color: #fff; padding: 72px 0; }
.band-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 64px; } }
.band .rule { width: 3px; height: 44px; background: var(--mg-accent); margin-bottom: 26px; }
.band h2 { font: 500 clamp(26px, 3vw, 34px)/1.15 var(--font-serif); letter-spacing: -.015em; max-width: 20ch; }
.band .intro { margin-top: 16px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 46ch; }
.band .src { margin-top: 18px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; }
.stat { background: var(--mg-ink); padding: 26px 24px; transition: background .3s; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat:hover { background: #1b1e18; }
.stat .v { font: 500 clamp(28px, 3.2vw, 38px)/1 var(--font-serif); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat .v em { font-style: normal; color: var(--mg-accent); }
.stat .k { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.55); }

/* ============================================================
   HOME — MERCHANT CTA
   ============================================================ */
.mcht { padding: 84px 0; }
.mcht-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .mcht-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.mcht .eyebrow span { color: var(--mg-secondary); }
.mcht h2 { margin-top: 16px; font: 500 clamp(28px, 3.2vw, 38px)/1.12 var(--font-serif); letter-spacing: -.02em; max-width: 16ch; }
.mcht p { margin-top: 16px; color: var(--mg-muted); font-size: 15px; line-height: 1.7; max-width: 44ch; }
.mcht .links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.mcht .quiet { font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--mg-line); }
.mcht .quiet:hover { text-decoration-color: var(--mg-ink); }
.mcht-card { background: #fff; border: 1px solid var(--mg-line); border-radius: 16px; padding: 26px; box-shadow: 0 28px 56px -34px rgba(17,19,15,.2); }
.mcht-card .lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mg-muted); margin-bottom: 14px; }
.mcht-card .fake-search { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border: 1px dashed var(--mg-line); border-radius: 10px; color: var(--mg-muted); font-size: 14px; background: var(--mg-bg); }
.mcht-card .steps { margin-top: 18px; display: grid; gap: 0; }
.mcht-card .steps li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; font-size: 13.5px; }
.mcht-card .steps li + li { border-top: 1px solid var(--mg-line); }
.mcht-card .steps .idx { font: 600 12px/1 var(--font-sans); color: var(--mg-secondary); font-variant-numeric: tabular-nums; }

/* ============================================================
   GROSSISTES — GEO HERO + MAP
   ============================================================ */
.g-hero { padding: 40px 0 56px; }
.g-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .g-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; } }
.g-grid > * { min-width: 0; }
.g-hero h1 { margin-top: 16px; font: 500 clamp(38px, 5.2vw, 60px)/1.05 var(--font-serif); letter-spacing: -.025em; }
.g-hero h1 .fr { font-style: italic; color: var(--mg-secondary); }
.g-hero .intro { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--mg-muted); max-width: 46ch; }
.g-search { margin-top: 28px; display: grid; background: #fff; border: 1px solid var(--mg-line); border-radius: 12px; box-shadow: 0 20px 40px -30px rgba(17,19,15,.2); overflow: hidden; }
@media (min-width: 620px) { .g-search { grid-template-columns: 1fr auto; } }
.g-search label { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-width: 0; }
.g-search svg { flex-shrink: 0; color: var(--mg-muted); }
.g-search input { flex: 1; min-width: 0; min-height: 58px; border: 0; background: transparent; box-shadow: none; font: 500 16px/1.4 var(--font-sans); color: var(--mg-ink); }
.g-search input::placeholder { color: var(--mg-muted); font-weight: 400; }
.g-search input:focus { outline: none; }
.g-search button { min-height: 58px; padding: 0 24px; border: 0; cursor: pointer; background: var(--mg-ink); color: var(--mg-accent); font: 700 14px/1 var(--font-sans); transition: background .2s; }
.g-search button:hover { background: #23261f; }
.g-quick { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.g-quick a { padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--mg-line); color: var(--mg-muted); transition: .2s; }
.g-quick a:hover { border-style: solid; border-color: var(--mg-ink); color: var(--mg-ink); }

/* real region map (partials/map.blade.php + public/js/geo-map.js), on the redesign palette */
.map-wrap { position: relative; }
.map-card { background: #fff; border: 1px solid var(--mg-line); border-radius: 20px; padding: 30px 26px 20px; box-shadow: 0 30px 60px -40px rgba(17,19,15,.18); }
.map-card .geo-map { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.map-card .geo-map-svg { display: block; width: 100%; height: auto; max-height: 480px; overflow: visible; }
.map-card .geo-map-shape {
    fill: var(--mg-soft); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer;
    transform-box: fill-box; transform-origin: center;
    transition: fill .2s ease, opacity .2s ease, transform .22s ease;
}
.map-card .geo-map-shape[data-level="1"] { fill: color-mix(in srgb, var(--mg-secondary) 16%, var(--mg-bg)); }
.map-card .geo-map-shape[data-level="2"] { fill: color-mix(in srgb, var(--mg-secondary) 34%, var(--mg-bg)); }
.map-card .geo-map-shape[data-level="3"] { fill: color-mix(in srgb, var(--mg-secondary) 60%, var(--mg-bg)); }
.map-card .geo-map-shape[data-level="4"] { fill: var(--mg-secondary); }
.map-card .geo-map-shape:focus-visible { outline: none; stroke: var(--mg-ink); stroke-width: 2; }
.map-card .geo-map[data-active] .geo-map-shape:not(.is-active) { opacity: .45; }
.map-card .geo-map-shape.is-active { fill: var(--mg-accent); stroke: var(--mg-ink); }
.map-card .geo-map.is-leaving .geo-map-shape.is-active { transform: scale(1.035); }
.map-card .geo-map-tip {
    position: absolute; z-index: 5; max-width: min(11rem, 78%); min-width: 8rem; padding: .6rem .75rem;
    background: #fff; border: 1px solid var(--mg-ink); border-radius: 8px; pointer-events: none;
    visibility: hidden; opacity: 0; transform: translate(-50%, calc(-100% - .6rem)); transition: opacity .16s ease;
}
.map-card .geo-map-tip.is-visible { visibility: visible; opacity: 1; }
.map-card .geo-map-tip-name { display: block; font-size: .8125rem; font-weight: 700; line-height: 1.25; }
.map-card .geo-map-tip-count { display: block; margin-top: .15rem; font-size: .75rem; color: var(--mg-muted); }
.map-card .geo-map-tip-go { display: block; margin-top: .35rem; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mg-secondary); }
.map-card .geo-map-note { margin-top: .75rem; font-size: .75rem; color: var(--mg-muted); text-align: center; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 14px 4px 4px; border-top: 1px solid var(--mg-line); margin-top: 10px; font-size: 11.5px; color: var(--mg-muted); }
.map-legend .ramp { display: inline-flex; align-items: center; gap: 6px; }
.map-legend .ramp i { display: inline-block; width: 18px; height: 8px; border-radius: 2px; }
.om-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: var(--mg-ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 8px 12px; border-radius: 8px; }
.om-badge b { color: var(--mg-accent); font-variant-numeric: tabular-nums; }

/* regions: rows with proportional bars */
.regions { padding: 26px 0 60px; }
.reg-grid { display: grid; gap: 0 44px; }
@media (min-width: 900px) { .reg-grid { grid-template-columns: 1fr 1fr; } }
.reg-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 15px 12px 15px 14px; border-bottom: 1px solid var(--mg-line); border-radius: 10px; transition: background .25s, transform .25s var(--ease-spring); }
.reg-row:hover, .reg-row.is-active { background: #fff; transform: translateX(4px); }
@media (min-width: 900px) { .reg-row { grid-template-columns: minmax(150px, .8fr) 1fr auto auto; } }
.reg-name { font-weight: 700; font-size: 15px; }
.reg-bar { height: 6px; border-radius: 3px; background: var(--mg-soft); overflow: hidden; display: none; }
@media (min-width: 900px) { .reg-bar { display: block; } }
.reg-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--mg-secondary), color-mix(in srgb, var(--mg-secondary) 65%, var(--mg-accent))); }
.reg-n { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.reg-n small { display: block; font-weight: 400; font-size: 10.5px; color: var(--mg-muted); letter-spacing: .04em; }
.reg-arrow { color: var(--mg-muted); transition: transform .25s var(--ease-spring), color .2s; }
.reg-row:hover .reg-arrow { transform: translateX(4px); color: var(--mg-ink); }
.reg-top .reg-name::after { content: "top"; margin-left: 8px; font: 700 9.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mg-secondary); background: var(--mg-accent-soft); padding: 4px 7px; border-radius: 4px; vertical-align: 2px; }

/* cities cloud */
.g-cities { padding: 0 0 64px; }
.cloud-box { background: var(--mg-soft); border: 1px solid var(--mg-line); border-radius: 18px; padding: 30px 28px; }
.cloud-box .cloud { gap: 14px 30px; }
.cloud-box .cloud .xl { font-size: clamp(32px, 4.4vw, 48px); }
.cloud-box .cloud .l  { font-size: clamp(23px, 2.8vw, 31px); }
.cloud-box .cloud .m  { font-size: clamp(19px, 2.1vw, 23px); }
.cloud-box .cloud .s  { font-size: clamp(16px, 1.8vw, 19px); }
.cloud-box .cloud .sz { margin-left: 6px; }
.cloud-note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--mg-line); font-size: 12.5px; color: var(--mg-muted); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.cloud-note a { font-weight: 700; color: var(--mg-secondary); }

/* sectors strip */
.strip { padding: 0 0 64px; }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px; }
.strip a { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 18px; background: #fff; border: 1px solid var(--mg-line); border-radius: 10px; font-size: 13.5px; font-weight: 600; transition: .2s var(--ease-spring); }
.strip a small { font-weight: 400; color: var(--mg-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.strip a:hover { border-color: var(--mg-ink); transform: translateY(-2px); }

/* editorial */
.editorial { padding: 0 0 84px; }
.ed-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .ed-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.ed-grid h2 { font: 500 clamp(24px, 3vw, 32px)/1.2 var(--font-serif); letter-spacing: -.015em; }
.ed-block + .ed-block { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--mg-line); }
.ed-block h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ed-block p { font-size: 14.5px; line-height: 1.7; color: var(--mg-muted); max-width: 60ch; }
.ed-block p a { color: var(--mg-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--mg-accent); }
.ed-block p a:hover { text-decoration-color: var(--mg-ink); }
.ed-cta { background: var(--mg-ink); color: #fff; border-radius: 16px; padding: 34px 30px; align-self: start; }
@media (min-width: 900px) { .ed-cta { position: sticky; top: 92px; } }
.ed-cta h3 { font: 500 22px/1.2 var(--font-serif); letter-spacing: -.01em; }
.ed-cta p { margin-top: 12px; font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.6); }
.ed-cta .btn { margin-top: 22px; width: 100%; }

/* ============================================================
   DEMANDE D'ACHAT
   ============================================================ */
.b-hero { padding: 52px 0 72px; }
.b-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .b-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.b-grid > * { min-width: 0; }
.b-hero h1 { margin-top: 20px; font: 500 clamp(36px, 4.6vw, 58px)/1.06 var(--font-serif); letter-spacing: -.025em; max-width: 16ch; }
.b-hero h1 .hl { font-style: italic; background: linear-gradient(100deg, transparent 1%, var(--mg-accent) 7% 93%, transparent 97%); border-radius: 6px; padding: 0 8px; }
.b-hero .sub { margin-top: 20px; font-size: 16.5px; line-height: 1.7; color: var(--mg-muted); max-width: 44ch; }
.b-hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.b-hero .cta .alt { font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--mg-line); }
.b-hero .cta .alt:hover { text-decoration-color: var(--mg-ink); }
.ticks { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--mg-line); display: grid; gap: 12px; }
@media (min-width: 640px) { .ticks { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 600; color: var(--mg-ink); }
.ticks svg { flex-shrink: 0; margin-top: 2px; color: var(--mg-secondary); }

.compose { background: #fff; border: 1px solid var(--mg-line); border-radius: 18px; box-shadow: 0 36px 72px -42px rgba(17,19,15,.28); overflow: hidden; }
.cp-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--mg-line); background: var(--mg-soft); }
.cp-head .t { font: 600 14px/1 var(--font-serif); letter-spacing: -.01em; }
.cp-head .free { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mg-secondary); background: var(--mg-accent); padding: 6px 10px; border-radius: 999px; }
.cp-body { padding: 22px; display: grid; gap: 16px; }
.f { display: grid; gap: 7px; min-width: 0; }
.f label, .f .lab { font-size: 12.5px; font-weight: 700; color: var(--mg-ink); }
.f .req { color: var(--mg-secondary); }
.f input, .f textarea, .f select, .f .fake {
    width: 100%; border: 1px solid var(--mg-line); border-radius: 10px; background: var(--mg-bg);
    padding: 13px 14px; font: 500 14px/1.5 var(--font-sans); color: var(--mg-ink);
    transition: border-color .2s, box-shadow .2s;
}
.f textarea { resize: vertical; min-height: 76px; }
.f input::placeholder, .f textarea::placeholder { color: var(--mg-muted); font-weight: 400; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--mg-secondary); box-shadow: 0 0 0 3px var(--mg-accent-soft); }
.f .filled { border-color: color-mix(in srgb, var(--mg-secondary) 45%, var(--mg-line)); background: #fff; }
.f .fake { min-height: 46px; }
.f .fake.tall { min-height: 76px; }
.f .fake.empty { color: var(--mg-muted); font-weight: 400; }
.f-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .f-row { grid-template-columns: 1fr 1fr; } }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--mg-line); }
.cp-foot .note { font-size: 11.5px; color: var(--mg-muted); max-width: 32ch; line-height: 1.5; }
.cp-foot .btn { min-height: 46px; padding: 0 20px; font-size: 14px; }
.cp-tag { position: absolute; top: -14px; left: 26px; background: var(--mg-ink); color: var(--mg-accent); font: 700 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 11px; border-radius: 6px; transform: rotate(-1.5deg); z-index: 2; }
.compose-wrap { position: relative; }

.b-steps { padding: 10px 0 78px; }
.rail { display: grid; gap: 26px; }
@media (min-width: 860px) { .rail { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.step { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--mg-line); border-radius: 14px; transition: transform .3s var(--ease-spring), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(17,19,15,.24); }
@media (min-width: 860px) {
    .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -35px; width: 34px; height: 1px; background: repeating-linear-gradient(90deg, var(--mg-muted) 0 5px, transparent 5px 10px); opacity: .5; }
}
.step .no { font: 600 13px/1 var(--font-sans); letter-spacing: .14em; color: var(--mg-secondary); }
.step .no em { font: 500 34px/1 var(--font-serif); font-style: normal; letter-spacing: -.02em; color: var(--mg-ink); display: block; margin-bottom: 10px; }
.step h3 { margin-top: 14px; font: 500 19px/1.25 var(--font-serif); letter-spacing: -.01em; }
.step p { margin-top: 9px; font-size: 13.5px; line-height: 1.65; color: var(--mg-muted); }
.step .chip-in { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--mg-secondary); background: var(--mg-accent-soft); padding: 7px 12px; border-radius: 999px; }

.ex { padding: 0 0 84px; }
.ex-grid { display: grid; gap: 22px 16px; }
@media (min-width: 800px) { .ex-grid { grid-template-columns: 1fr 1fr; gap: 20px 26px; } .ex-item:nth-child(2n) { transform: translateY(22px); } }
.ex-item { background: var(--mg-soft); border: 1px solid var(--mg-line); border-radius: 14px; padding: 24px 22px 18px; position: relative; transition: border-color .25s, transform .3s var(--ease-spring), box-shadow .3s; }
@media (min-width: 800px) { .ex-item:nth-child(2n):hover { transform: translateY(16px); } }
.ex-item:hover { border-color: var(--mg-secondary); box-shadow: 0 18px 36px -24px rgba(45,106,79,.35); }
.ex-item .qm { position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--mg-accent); color: var(--mg-ink); border-radius: 9px; font: 600 19px/1 var(--font-serif); transform: rotate(-3deg); }
.ex-item blockquote { font: 500 italic 15.5px/1.55 var(--font-serif); letter-spacing: -.01em; }
.ex-item .meta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--mg-line); display: flex; flex-wrap: wrap; gap: 8px; }
.ex-item .tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--mg-muted); background: #fff; border: 1px solid var(--mg-line); padding: 5px 10px; border-radius: 999px; }
.ex-note { margin-top: 34px; text-align: center; font-size: 13px; color: var(--mg-muted); }
.ex-note a { font-weight: 700; color: var(--mg-secondary); text-decoration: underline; text-underline-offset: 4px; }

.fin { background: var(--mg-ink); color: #fff; padding: 70px 0; }
.fin-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .fin-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.fin .rule { width: 3px; height: 40px; background: var(--mg-accent); margin-bottom: 22px; }
.fin h2 { font: 500 clamp(26px, 3.2vw, 36px)/1.15 var(--font-serif); letter-spacing: -.018em; max-width: 22ch; }
.fin h2 i { color: var(--mg-accent); }
.fin p { margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 46ch; }
.fin .go { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
@media (min-width: 900px) { .fin .go { justify-content: flex-end; } }
.fin .btn-lime { min-height: 56px; padding: 0 30px; font-size: 15.5px; }
.fin .btn-out { min-height: 56px; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.fin .btn-out:hover { border-color: var(--mg-accent); color: var(--mg-accent); }
.fin .fine { grid-column: 1/-1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 12px; color: rgba(255,255,255,.45); }
.fin .fine b { color: var(--mg-accent); font-weight: 700; }

/* compose state (logged-in, real Livewire form) — same shell, narrower column */
.compose-shell { padding: 48px 0 84px; }
.compose-shell .inner { max-width: 640px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
    .rise, .dp-track, .eyebrow .pulse i { animation: none !important; }
    body.mgr *, body.mgr *::before, body.mgr *::after { transition-duration: .01ms !important; }
}

/* ---------- real compose form (Livewire) inside .compose ---------- */
.compose .cp-title { font: 500 24px/1.2 var(--font-serif); letter-spacing: -.015em; }
.compose .cp-sub { margin-top: 4px; font-size: 13.5px; color: var(--mg-muted); }
.compose .cp-form { display: grid; gap: 16px; }
.compose .cp-submit { width: 100%; }
@media (min-width: 560px) { .compose .cp-submit { width: auto; justify-self: start; } }
.compose .cp-banner { padding: 12px 14px; border: 1px solid var(--mg-line); border-radius: 10px; background: var(--mg-soft); font-size: 13.5px; }
.compose .cp-steps { display: flex; align-items: center; gap: 8px; }
.compose .cp-steps span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--mg-soft); color: var(--mg-muted); }
.compose .cp-steps span.on { background: var(--mg-accent); color: var(--mg-ink); }
.compose .cp-steps i { width: 32px; height: 1px; background: var(--mg-line); }
.compose .cp-back { font-size: 12.5px; font-weight: 700; color: var(--mg-muted); margin-bottom: 8px; }
.compose .cp-back:hover { color: var(--mg-ink); }
.compose .err { font-size: 12.5px; color: #b42318; }
.compose .cp-done { padding: 40px 24px; text-align: center; }
.compose .cp-done h2 { margin-top: 14px; font: 500 26px/1.2 var(--font-serif); letter-spacing: -.015em; }
.compose .cp-done p { margin: 8px auto 0; max-width: 44ch; font-size: 14px; color: var(--mg-muted); }
.compose .cp-check { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mg-accent); color: var(--mg-ink); font-size: 20px; font-weight: 700; }
.compose .cp-done-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.compose .cp-link { font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* hero form: steps label, in-form footer, honeypot, guest account nudge */
.compose .cp-steps em { margin-left: 6px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--mg-muted); }
.compose .cp-form .cp-foot { padding: 14px 0 0; border-top: 1px solid var(--mg-line); }
.compose .cp-fine { margin-top: 14px !important; font-size: 12.5px !important; }
.compose .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 559px) { .compose .cp-foot { flex-direction: column; align-items: stretch; } .compose .cp-foot .btn { width: 100%; } .compose .cp-foot .note { max-width: none; } }

/* targeted enquiry banner: a long supplier name wraps inside the card */
.compose .cp-banner { overflow-wrap: anywhere; min-width: 0; }
.compose .cp-banner strong:first-of-type { display: block; margin-top: 2px; font: 600 17px/1.3 var(--font-serif); }
