:root{--green:#005230;--green-dark:#003d24;--orange:#fd8102;--ink:#09251c;--muted:#64776f;--bg:#fff;--card:#fff;--border:#dce6e1}
*{box-sizing:border-box}
html,body{margin:0;padding:0;max-width:100%;overflow-x:hidden}
body{font-family:Arial,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.home-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--border)}
.home-header-inner{max-width:1280px;margin:auto;min-height:74px;padding:10px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand img{width:118px;height:48px;object-fit:contain;background:var(--green)}
.brand strong{display:block;font-size:18px;letter-spacing:.2px}.brand span{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.home-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.home-btn,.home-icon-btn,.visit-btn,.cta-white{border:0;border-radius:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.home-btn{min-height:43px;padding:0 15px}.home-btn.primary{background:var(--green);color:#fff}.home-btn.secondary{background:#fff;color:var(--green);border:1px solid var(--border)}
.home-icon-btn{width:43px;height:43px;background:#fff;color:var(--green);border:1px solid var(--border)}
.home-hero{background:#fff;border-bottom:1px solid var(--border)}
.hero-content{max-width:980px;margin:auto;text-align:center;padding:58px 22px 52px}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--orange);font-size:12px;font-weight:900;letter-spacing:1.5px;text-transform:uppercase}
.hero-content h1{font-size:clamp(36px,6vw,64px);line-height:1.02;margin:14px 0 16px;letter-spacing:-2px}.hero-content>p{max-width:720px;margin:0 auto 26px;color:var(--muted);font-size:18px;line-height:1.55}
.directory-search{position:relative;max-width:720px;margin:auto}.directory-search>i{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--green);font-size:18px}.directory-search input{width:100%;height:60px;border:2px solid var(--border);border-radius:16px;padding:0 54px;font-size:16px;color:var(--ink);outline:0;background:#fff}.directory-search input:focus{border-color:var(--green)}
.search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:10px;background:#eef4f1;color:var(--green);cursor:pointer}.hero-stats{display:flex;justify-content:center;gap:24px;margin-top:18px;color:var(--muted);font-size:13px}.hero-stats b{color:var(--green);font-size:16px}
.shops-section{max-width:1280px;margin:auto;padding:34px 22px 44px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px}.section-head h2{font-size:28px;margin:0 0 5px}.section-head p{margin:0;color:var(--muted)}
.shops-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.shop-card{min-width:0;background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}.shop-cover{position:relative;display:block;height:220px;background:#eaf1ee;overflow:hidden}.shop-cover>img:not(.shop-logo){width:100%;height:100%;object-fit:cover;display:block}.shop-cover-empty{width:100%;height:100%;display:grid;place-items:center;color:#9db3a9;font-size:44px}.shop-logo{position:absolute;left:16px;bottom:14px;width:62px;height:62px;object-fit:cover;background:#fff;border:4px solid #fff;border-radius:15px}
.shop-info{padding:18px;display:flex;flex-direction:column;flex:1;min-width:0}.shop-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.shop-title-row h3{font-size:21px;line-height:1.15;margin:0;overflow-wrap:anywhere}.open-badge{flex-shrink:0;background:#eaf7f0;color:var(--green);border-radius:999px;padding:6px 8px;font-size:11px;font-weight:800}.shop-location{margin:9px 0 12px;color:var(--muted);font-size:14px;line-height:1.35;min-height:38px;overflow-wrap:anywhere}.shop-location i{color:var(--orange)}
.shop-meta{display:flex;flex-wrap:wrap;gap:8px 15px;color:#52655d;font-size:13px;margin-bottom:16px}.shop-meta a{color:var(--green);font-weight:700}.visit-btn{margin-top:auto;min-height:48px;padding:0 14px;background:var(--green);color:#fff;justify-content:flex-start}.visit-btn .fa-arrow-right{margin-left:auto}.visit-btn:hover{background:var(--green-dark)}
.no-results,.empty-directory{text-align:center;background:#fff;border:1px solid var(--border);border-radius:20px;padding:46px 20px}.no-results>i,.empty-directory>i{font-size:36px;color:#a3b8ae}.no-results h3,.empty-directory h3{margin:12px 0 7px}.no-results p,.empty-directory p{color:var(--muted)}
.merchant-cta{max-width:1236px;margin:0 auto 44px;padding:28px 32px;background:var(--green);color:#fff;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:28px}.eyebrow.light{color:#fff;opacity:.9}.merchant-cta h2{margin:9px 0 7px;font-size:27px}.merchant-cta p{margin:0;color:#dcebe4;line-height:1.45}.cta-white{min-height:50px;padding:0 18px;background:#fff;color:var(--green);flex-shrink:0}
.home-footer{max-width:1280px;margin:auto;border-top:1px solid var(--border);padding:22px;display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:13px}.home-footer b{color:var(--green)}.home-footer a{color:var(--green);font-weight:800}
@media(max-width:980px){.shops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-register{display:none}.shop-cover{height:210px}}
@media(max-width:640px){.home-header-inner{min-height:66px;padding:9px 12px}.brand img{width:94px;height:40px}.brand div{display:none}.home-actions{gap:6px}.home-btn{min-height:42px;padding:0 12px;font-size:13px}.home-btn.primary i{display:none}.hero-content{padding:36px 14px 34px;text-align:left}.hero-content h1{font-size:38px;letter-spacing:-1.2px}.hero-content>p{font-size:15px;margin-bottom:20px}.directory-search input{height:55px;padding-left:48px;font-size:15px}.hero-stats{justify-content:flex-start;margin-left:3px;gap:18px}.shops-section{padding:25px 12px 32px}.section-head{align-items:flex-start}.section-head h2{font-size:23px}.install-wide{display:none!important}.shops-grid{grid-template-columns:1fr;gap:14px}.shop-card{border-radius:17px}.shop-cover{height:205px}.shop-info{padding:15px}.shop-title-row h3{font-size:20px}.shop-location{min-height:0}.merchant-cta{margin:0 12px 28px;border-radius:17px;padding:23px 18px;display:block}.merchant-cta h2{font-size:23px}.cta-white{margin-top:18px;width:100%}.home-footer{padding:20px 14px;display:block}.home-footer a{display:inline-block;margin-top:9px}}
@media(max-width:380px){.home-btn.primary{padding:0 10px}.home-icon-btn{width:40px;height:40px}.shop-cover{height:190px}.hero-content h1{font-size:34px}}


/* MOURNA VENTE v1.0.16.13 — fond blanc + badges décoratifs sans fond */
html,body,.mv-home{background:#fff!important}
.open-badge{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;color:var(--green)!important}
.search-clear{background:transparent!important}
.shop-cover-empty{background:#fff!important}

/* =========================================================
   v1.0.16.15 — Accueil annuaire en pleine largeur
   ========================================================= */
html,body,.mv-home{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;overflow-x:hidden!important}
.home-header,.home-hero{width:100%!important}
.home-header-inner,
.hero-content,
.shops-section,
.home-footer{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
.directory-search{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.merchant-cta{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  border-radius:0!important;
}
@media(max-width:640px){
  .home-header-inner,.hero-content,.shops-section,.home-footer{padding-left:0!important;padding-right:0!important}
  .merchant-cta{margin-left:0!important;margin-right:0!important}
}

/* v1.0.16.17 — petite marge latérale sur l'accueil */
:root{--mv-home-gutter:clamp(8px,1vw,16px)}
.home-header-inner,
.hero-content,
.shops-section,
.home-footer{
  padding-left:var(--mv-home-gutter)!important;
  padding-right:var(--mv-home-gutter)!important;
  box-sizing:border-box!important;
}
.merchant-cta{
  width:calc(100% - (var(--mv-home-gutter) * 2))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  border-radius:14px!important;
}
@media(max-width:640px){
  :root{--mv-home-gutter:8px}
  .home-header-inner,.hero-content,.shops-section,.home-footer{
    padding-left:var(--mv-home-gutter)!important;
    padding-right:var(--mv-home-gutter)!important;
  }
  .merchant-cta{
    width:calc(100% - 16px)!important;
    margin-left:8px!important;
    margin-right:8px!important;
  }
}

/* =========================================================
   MOURNA VENTE v1.0.16.19 — ACCUEIL MOBILE PLUS ÉPURÉ
   ========================================================= */
.home-footer{
  justify-content:center!important;
  text-align:center!important;
  font-weight:700;
  font-size:11.5px!important;
}
.shop-card{box-shadow:none!important}

@media(max-width:640px){
  .home-header-inner{min-height:58px!important;padding-top:7px!important;padding-bottom:7px!important}
  .brand img{width:86px!important;height:36px!important}
  .home-actions{gap:5px!important}
  .home-btn{min-height:38px!important;padding:0 10px!important;border-radius:10px!important;font-size:12px!important}
  .home-icon-btn{width:38px!important;height:38px!important;border-radius:10px!important}

  .hero-content{padding-top:24px!important;padding-bottom:20px!important}
  .hero-content .eyebrow{display:none!important}
  .hero-content h1{font-size:30px!important;line-height:1.05!important;letter-spacing:-.9px!important;margin:0 0 14px!important}
  .hero-stats{display:none!important}
  .directory-search input{height:50px!important;border-width:1px!important;border-radius:13px!important;padding-left:43px!important;padding-right:44px!important;font-size:14px!important}
  .directory-search>i{left:15px!important;font-size:16px!important}

  .shops-section{padding-top:18px!important;padding-bottom:22px!important}
  .section-head{margin-bottom:11px!important}
  .section-head h2{font-size:20px!important;margin:0!important}
  .section-head p{display:none!important}
  .shops-grid{gap:10px!important}
  .shop-card{border-radius:14px!important}
  .shop-cover{height:178px!important}
  .shop-logo{width:50px!important;height:50px!important;left:11px!important;bottom:10px!important;border-radius:12px!important;border-width:3px!important}
  .shop-info{padding:12px!important}
  .shop-title-row h3{font-size:18px!important}
  .open-badge{display:none!important}
  .shop-location{font-size:12px!important;margin:6px 0 8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .shop-meta{font-size:11.5px!important;margin-bottom:11px!important;gap:7px 12px!important}
  .visit-btn{min-height:42px!important;border-radius:10px!important;font-size:12px!important}

  .merchant-cta{padding:16px 14px!important;margin-bottom:18px!important;border-radius:14px!important}
  .merchant-cta .eyebrow,.merchant-cta p{display:none!important}
  .merchant-cta h2{font-size:18px!important;margin:0!important}
  .cta-white{min-height:42px!important;margin-top:12px!important;border-radius:10px!important;font-size:12px!important}

  .home-footer{padding-top:14px!important;padding-bottom:16px!important;font-size:10.5px!important}
}

/* MOURNA VENTE v1.0.16.20 — palette officielle */
:root{--green:#005230!important;--green-dark:#005230!important;--orange:#fd8102!important}
html{accent-color:#005230!important}
input[type="checkbox"],input[type="radio"],input[type="range"],progress{accent-color:#005230!important}
::selection{background:#005230;color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#005230!important}
