@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:#101118;background:#fcfbfa}
svg{display:block}

.regulated{
  --pink:#f50072;
  --green:#00a878;
  --blue:#1976d2;
  --orange:#e58a00;
  position:relative;
  width:100%;
  height:100vh;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#fcfbfa;
}

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

.bg-orb{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.bg-orb-1{
  width:600px;height:600px;
  top:-400px;left:39%;
  background:#f5f1ee;
}
.bg-orb-2{
  width:360px;height:360px;
  right:-90px;bottom:-220px;
  border:1px solid rgba(245,0,114,.08);
  background:#faf5f7;
}

.heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:60px;
  align-items:end;
  margin-bottom:30px;
}

.eyebrow{
  margin:0 0 11px;
  color:var(--pink);
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.06em;
}

.heading h2{
  margin:0;
  font-size:clamp(38px,4vw,54px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:900;
}
.heading h2 span{color:var(--pink)}

.lead{
  max-width:720px;
  margin:17px 0 0;
  color:#626d7e;
  font-size:14px;
  line-height:1.5;
}

.principle{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  border:1px solid #f1dce5;
  border-radius:15px;
  background:rgba(255,255,255,.84);
  box-shadow:0 12px 30px rgba(60,39,47,.04);
}
.principle-mark{
  width:42px;height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#ffe0ec;
  color:var(--pink);
  font-size:17px;
  font-weight:900;
}
.principle p{
  margin:0;
  color:#697386;
  font-size:11px;
  line-height:1.45;
}
.principle strong{color:#171820;font-size:12px}

.business-map{
  position:relative;
  display:grid;
  grid-template-columns:1fr 190px 1fr;
  grid-template-rows:1fr 1fr;
  gap:16px 42px;
  min-height:310px;
}

.trade{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  gap:17px;
  min-width:0;
  min-height:142px;
  padding:19px 21px;
  border:1px solid;
  border-radius:16px;
  background:#fff;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.trade--insurance{grid-column:1;grid-row:1;background:#fff8fb;border-color:#f2dbe5}
.trade--cif{grid-column:3;grid-row:1;background:#f7fffc;border-color:#d7eee7}
.trade--iobsp{grid-column:1;grid-row:2;background:#f7fbff;border-color:#dbe9f8}
.trade--realestate{grid-column:3;grid-row:2;background:#fffaf3;border-color:#f0e0c4}

.trade-icon{
  width:54px;height:54px;
  flex:0 0 54px;
  display:grid;
  place-items:center;
  border-radius:50%;
}
.trade-icon svg{
  width:28px;height:28px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.trade-icon--pink{background:#ffe0ec;color:var(--pink)}
.trade-icon--green{background:#ddf6ee;color:var(--green)}
.trade-icon--blue{background:#e2efff;color:var(--blue)}
.trade-icon--orange{background:#fff0d5;color:var(--orange)}

.trade-rule{
  display:block;
  margin-bottom:4px;
  color:#7a8493;
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
}
.trade h3{
  margin:0 0 7px;
  font-size:17px;
  line-height:1.15;
  font-weight:800;
}
.trade p{
  margin:0;
  color:#657184;
  font-size:11.5px;
  line-height:1.45;
}

.client-core{
  position:absolute;
  z-index:5;
  left:50%;top:50%;
  width:170px;height:170px;
  transform:translate(-50%,-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid #e5e2e0;
  border-radius:50%;
  background:#fff;
  box-shadow:0 18px 42px rgba(38,31,34,.09);
}
.client-avatar{
  width:52px;height:52px;
  display:grid;
  place-items:center;
  margin-bottom:9px;
  border-radius:50%;
  background:#efe2d7;
  color:#7e5139;
  font-size:13px;
  font-weight:800;
}
.client-core strong{font-size:14px}
.client-core span{
  max-width:125px;
  margin-top:5px;
  color:#737d8c;
  font-size:9px;
  line-height:1.35;
}

.connectors{
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;height:100%;
  pointer-events:none;
}
.connectors path{
  fill:none;
  stroke-width:1.5;
  stroke-dasharray:4 5;
}
.line-pink{stroke:rgba(245,0,114,.55)}
.line-green{stroke:rgba(0,168,120,.55)}
.line-blue{stroke:rgba(25,118,210,.55)}
.line-orange{stroke:rgba(229,138,0,.55)}

.section-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:22px;
  padding-top:17px;
  border-top:1px solid #e2dedb;
}
.section-footer p{
  margin:0;
  color:#687386;
  font-size:11px;
  line-height:1.4;
}
.section-footer strong{color:#16171d}
.section-footer a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#121319;
  text-decoration:none;
  white-space:nowrap;
  font-size:11.5px;
  font-weight:800;
}
.section-footer a span{color:var(--pink);font-size:17px}

@media(hover:hover) and (pointer:fine){
  .trade:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(40,33,36,.07);
  }
}

@media(max-width:1100px){
  .wrap{width:min(920px,calc(100% - 48px))}
  .heading{grid-template-columns:1fr 290px;gap:34px}
  .business-map{grid-template-columns:1fr 150px 1fr;gap:14px 28px}
  .client-core{width:138px;height:138px}
  .trade{padding:16px;gap:13px}
  .trade h3{font-size:15px}
  .trade p{font-size:10.5px}
}

@media(max-width:900px){
  .regulated{
    height:auto;
    min-height:0;
    padding:50px 0;
    overflow:hidden;
  }
  .wrap{width:min(720px,calc(100% - 40px))}
  .heading{
    display:block;
    margin-bottom:25px;
  }
  .principle{
    max-width:420px;
    margin-top:20px;
  }
  .business-map{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
    gap:13px;
    min-height:0;
  }
  .client-core{
    position:relative;
    left:auto;top:auto;
    grid-column:1/-1;
    grid-row:1;
    width:100%;height:auto;
    min-height:92px;
    transform:none;
    border-radius:16px;
  }
  .client-avatar{width:44px;height:44px;margin-bottom:5px}
  .client-core span{max-width:none}
  .trade--insurance,.trade--cif,.trade--iobsp,.trade--realestate{
    grid-column:auto;
    grid-row:auto;
  }
  .trade{min-height:130px}
  .connectors{display:none}
  .section-footer{margin-top:18px}
}

@media(max-width:600px){
  .regulated{padding:42px 0}
  .wrap{width:calc(100% - 28px)}
  .heading h2{font-size:32px}
  .lead{font-size:13px}
  .business-map{grid-template-columns:1fr}
  .client-core{grid-column:1}
  .trade{min-height:0;padding:15px}
  .section-footer{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
}

@media(prefers-reduced-motion:reduce){
  .trade{transition:none}
  .trade:hover{transform:none}
}


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