
/* =========================================================
   V31 — Popup impacts + boutons annuler + logos/liens écosystème
   ========================================================= */

.v31-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:none;
}

.v31-modal.is-open{
  display:block;
}

.v31-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,20,33,.72);
  backdrop-filter:blur(4px);
}

.v31-modal-dialog{
  position:relative;
  width:min(980px, calc(100% - 38px));
  max-height:calc(100vh - 38px);
  overflow:auto;
  margin:19px auto;
  background:#fff;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  color:#061B2E;
}

.v31-modal-close{
  position:absolute;
  top:16px;
  right:18px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:0;
  background:#fff;
  color:#061B2E;
  font-size:28px;
  cursor:pointer;
  z-index:2;
  box-shadow:0 10px 24px rgba(0,0,0,.15);
}

.v31-impact-head{
  padding:34px;
  color:#fff;
  background:linear-gradient(135deg,#061B2E,#0B3C55);
}

.v31-impact-head span{
  color:#00C4B8;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:13px;
}

.v31-impact-head h2{
  margin:10px 0 12px;
  text-transform:uppercase;
  font-size:32px;
  line-height:1.12;
}

.v31-impact-head p{
  margin:0;
  color:rgba(255,255,255,.86);
  line-height:1.55;
}

.v31-impact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:30px 34px;
}

.v31-impact-grid article{
  border:1px solid #DDE8EE;
  border-radius:18px;
  padding:22px;
  background:#F7FBFD;
}

.v31-impact-grid strong{
  display:block;
  color:#00A9A0;
  font-size:30px;
  margin-bottom:10px;
}

.v31-impact-grid span{
  color:#425466;
  line-height:1.5;
}

.v31-impact-note{
  border-top:1px solid #DDE8EE;
  padding:22px 34px 30px;
  display:flex;
  gap:20px;
  justify-content:space-between;
  align-items:center;
}

.v31-impact-note p{
  margin:0;
  color:#425466;
  line-height:1.55;
}

.v31-impact-note button{
  border:0;
  border-radius:10px;
  background:#061B2E;
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  padding:12px 18px;
  cursor:pointer;
}

.v31-form-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:20px;
}

.v31-cancel-btn{
  border:1px solid #DDE8EE !important;
  border-radius:10px !important;
  padding:14px 18px !important;
  background:#fff !important;
  color:#061B2E !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
}

.v31-lab-link{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:10px 14px;
  align-items:start;
  color:inherit;
  text-decoration:none;
}

.v31-lab-logo{
  grid-row:1 / span 3;
  width:48px;
  height:48px;
  border-radius:14px;
  background:rgba(0,196,184,.12);
  border:1px solid rgba(0,196,184,.28);
  color:#00A9A0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
}

.v31-lab-link strong{
  margin-bottom:0 !important;
}

.v31-lab-link em{
  font-style:normal;
  color:#0B55B8;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
}

.v31-lab-link:hover strong,
.v31-lab-link:hover em{
  color:#00A9A0;
}

@media(max-width:760px){
  .v31-impact-grid{
    grid-template-columns:1fr;
  }

  .v31-impact-note{
    flex-direction:column;
    align-items:flex-start;
  }

  .v31-form-actions{
    flex-direction:column-reverse;
  }
}
