@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

*{box-sizing:border-box}
html,body{margin:0;width:100%;min-width:0}
body{font-family:'Montserrat',sans-serif;color:#fff;background:#111216;overflow-x:hidden}

.wm-market{
  --pink:#f40078;
  --ink:#ffffff;
  --muted:#c9cbd2;
  position:relative;
  width:100%;
  height:100vh;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#111216;
}

.wm-orb{
  position:absolute;
  width:520px;
  height:520px;
  right:-145px;
  top:-315px;
  border-radius:50%;
  border:1px solid rgba(244,0,120,.22);
  background:radial-gradient(circle,rgba(244,0,120,.10) 0 44%,rgba(244,0,120,.035) 45% 64%,transparent 65%);
}

.wm-wrap{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100% - 64px));
  margin:0 auto;
}

.wm-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  align-items:end;
  gap:60px;
}

.wm-kicker{
  margin:0 0 11px;
  color:var(--pink);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

.wm-head h2{
  margin:0;
  font-size:clamp(38px,4vw,55px);
  line-height:1.01;
  letter-spacing:-.045em;
  font-weight:900;
}

.wm-head h2 span{color:var(--pink)}

.wm-client{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:0 14px;
  align-items:center;
  padding:16px 18px;
  border:1px solid #34363d;
  border-radius:16px;
  background:rgba(31,32,38,.94);
  box-shadow:0 12px 30px rgba(30,24,22,.04);
}

.wm-avatar{
  grid-row:1/3;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f1d1bc;
  color:#7d4327;
  font-size:13px;
  font-weight:800;
}

.wm-client-copy{display:flex;flex-direction:column;gap:3px}
.wm-client-copy strong{font-size:14px}
.wm-client-copy span{font-size:11px;color:var(--muted)}

.wm-client-tags{
  grid-column:2;
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:8px;
}

.wm-client-tags span,.wm-chip{
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  background:#292b31;
  color:#e7e8ec;
  font-size:9.5px;
  line-height:1;
}

.wm-lead{
  max-width:730px;
  margin:17px 0 30px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.wm-flow{
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) 42px minmax(0,1.12fr) 42px minmax(0,1fr);
  align-items:center;
}

.wm-step{
  min-height:190px;
  padding:20px 20px 18px;
  border:1px solid #34363d;
  border-radius:17px;
  background:#1d1f24;
  box-shadow:0 12px 30px rgba(30,24,22,.035);
}

.wm-step--wendee{
  border:1.5px solid rgba(244,0,120,.42);
  box-shadow:0 14px 34px rgba(244,0,120,.075);
}

.wm-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}

.wm-num{font-size:11px;font-weight:800}

.wm-icon,.wm-logo{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
}

.wm-icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.wm-step--pink .wm-icon{background:#ffe0ec;color:#e6006e}
.wm-step--blue .wm-icon{background:#e5f1ff;color:#0874c9}
.wm-step--green .wm-icon{background:#ddf5ed;color:#009c77}

.wm-logo{
  background:var(--ink);
  border:2px solid var(--pink);
  color:#fff;
  font-size:17px;
  font-weight:900;
}

.wm-step h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.1;
  font-weight:800;
}

.wm-step p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.wm-chip{
  margin-top:14px;
  color:#d6cbd0;
  background:#30242b;
}

.wm-link{
  position:relative;
  height:1px;
  background:#44464d;
}

.wm-link span{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-54%);
  padding:0 6px;
  background:#111216;
  color:var(--pink);
  font-size:23px;
}

.wm-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:23px;
  padding-top:17px;
  border-top:1px solid #34363d;
}

.wm-message{
  display:flex;
  align-items:center;
  gap:11px;
}

.wm-message-icon{
  width:38px;
  height:38px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#ffe0ec;
  color:var(--pink);
}

.wm-message-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
}

.wm-message>div:last-child{display:flex;flex-direction:column;gap:2px}
.wm-message strong{font-size:12.5px}
.wm-message span{color:var(--muted);font-size:10.5px}

.wm-footer a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.wm-footer a span{color:var(--pink);font-size:18px}

@media(max-width:1050px){
  .wm-market{height:100vh;min-height:100vh}
  .wm-wrap{width:min(900px,calc(100% - 48px))}
  .wm-head{grid-template-columns:1fr 350px;gap:34px}
  .wm-flow{grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr}
  .wm-step{padding:17px 15px;min-height:195px}
}

@media(max-width:820px){
  .wm-market{height:auto;min-height:75vh;padding:52px 0}
  .wm-head{grid-template-columns:1fr;gap:20px}
  .wm-client{max-width:460px}
  .wm-lead{margin-bottom:22px}
  .wm-flow{
    grid-template-columns:1fr 24px 1fr;
    row-gap:14px;
  }
  .wm-link:nth-of-type(2){display:none}
  .wm-step{min-height:170px}
  .wm-footer{margin-top:18px}
}

@media(max-width:560px){
  .wm-market{padding:40px 0}
  .wm-wrap{width:calc(100% - 28px)}
  .wm-head h2{font-size:32px}
  .wm-client{padding:12px 13px}
  .wm-lead{font-size:12.5px;margin:14px 0 18px}
  .wm-flow{display:flex;flex-direction:column;gap:7px}
  .wm-step{
    width:100%;
    min-height:0;
    padding:13px 14px;
  }
  .wm-top{margin-bottom:7px}
  .wm-icon,.wm-logo{width:38px;height:38px}
  .wm-icon svg{width:19px;height:19px}
  .wm-step h3{font-size:15px;margin-bottom:4px}
  .wm-step p{font-size:10.5px}
  .wm-chip{margin-top:8px;font-size:8.5px}
  .wm-link{
    width:1px;
    height:15px;
    background:#44464d;
  }
  .wm-link span{
    transform:translate(-50%,-50%) rotate(90deg);
    font-size:18px;
  }
  .wm-footer{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin-top:14px;
    padding-top:12px;
  }
  .wm-footer a{margin-left:49px;font-size:10.5px}
}

.wm-head h2,.wm-step h3,.wm-client-copy strong,.wm-message strong,.wm-footer a,.wm-num{color:#fff}
.wm-client-copy span,.wm-lead,.wm-step p,.wm-message span{color:#bfc2ca}
.wm-link span{background:#111216}
.wm-step--wendee{background:#211a20}


/* =========================================================
   VOTRE MARCHÉ — micro-interactions
   ========================================================= */

/* Logo W : contraste dans le disque blanc */
.wm-logo{
  color:#111216 !important;
}

/* Animation légère des 4 tuiles */
.wm-step{
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background-color .22s ease;
}

@media (hover:hover) and (pointer:fine){
  .wm-step:hover{
    transform:translateY(-5px);
    border-color:rgba(244,0,120,.42);
    box-shadow:0 14px 30px rgba(0,0,0,.18);
  }

  .wm-step--wendee:hover{
    border-color:rgba(244,0,120,.78);
    box-shadow:0 14px 34px rgba(244,0,120,.10);
  }
}

/* Pas d'animation de déplacement si l'utilisateur réduit les animations */
@media (prefers-reduced-motion:reduce){
  .wm-step{
    transition:none;
  }
  .wm-step:hover{
    transform:none;
  }
}


/* Responsive pass — VOTRE MARCHÉ */
@media (min-width:821px) and (max-width:1500px){
  .wm-wrap{width:min(1120px,calc(100% - 64px))}
  .wm-head h2{font-size:46px}
  .wm-head{gap:42px}
  .wm-flow{gap:0}
  .wm-step{min-width:0}
}
@media (min-width:821px) and (max-height:820px){
  .wm-head{margin-bottom:24px}
  .wm-head h2{font-size:42px}
  .wm-lead{font-size:12px}
  .wm-step{min-height:170px;padding:14px}
  .wm-footer{margin-top:14px;padding-top:12px}
}


/* ===== LARGEUR COMMUNE = HERO ===== */
@media (min-width:761px){
  .wm-wrap{width:min(1440px,calc(100% - 96px)) !important;}
}
