/* ===== Page : fonctionnalites ===== */
.mz {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #f7f8fa;
  color: #063b5c;
  font-family: Inter, sans-serif;
  overflow: hidden;
}
.mz * {
  box-sizing: border-box;
}
.mz h1,
.mz h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  color: #063b5c;
}
.mz .hero {
  padding: 72px 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mz .zp {
  align-self: flex-start;
  color: #063b5c;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: #daf3f0;
}
.mz h1 {
  font-size: 56px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.mz .lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  color: #3e5a6c;
  max-width: 680px;
}
.mz .rows {
  /* sections larges : captures d'écran plus grandes */
  max-width: 1480px;
  margin: 0 auto;
  padding: 48px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.mz .zr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.mz .zr.rev {
  flex-direction: row-reverse;
}
.mz .zt {
  flex: 0 1 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mz .zt h2 {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.mz .zt p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #3e5a6c;
}
.mz ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mz li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: #3e5a6c;
  margin: 0;
}
.mz li > span:first-child {
  flex: none;
  color: #0a7ea3;
  margin-top: 1px;
}
.mz .zi {
  flex: 1 1 680px;
  max-width: 980px;
  min-width: 0;
}
.mz .win {
  background: #fff;
  border: 1px solid #dae4ec;
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(6, 59, 92, 0.38);
  overflow: hidden;
}
.mz .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eaf0f5;
  border-bottom: 1px solid #dae4ec;
}
.mz .bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.mz .bar span {
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  color: #3e5a6c;
}
.mz .frame {
  background: #f6f8fa;
}
.mz .frame img {
  display: block;
  width: 100%;
  height: auto;
}
/* Onglets (sans JavaScript) : les captures sont empilées dans la même cellule, le cadre prend la hauteur de la plus grande */
.mz .tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mz .tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mz .tl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mz .tl label {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #9db5c4;
  background: #fff;
  color: #063b5c;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.mz .tl label:hover {
  border-color: #0a7ea3;
}
.mz .frame.panes {
  display: grid;
}
.mz .pane {
  grid-area: 1/1;
  visibility: hidden;
}
/* Bouton actif */
.mz .tabs input:nth-of-type(1):checked ~ .tl label:nth-child(1),
.mz .tabs input:nth-of-type(2):checked ~ .tl label:nth-child(2),
.mz .tabs input:nth-of-type(3):checked ~ .tl label:nth-child(3),
.mz .tabs input:nth-of-type(4):checked ~ .tl label:nth-child(4),
.mz .tabs input:nth-of-type(5):checked ~ .tl label:nth-child(5) {
  background: linear-gradient(135deg, #063b5c 0%, #087ea4 100%);
  color: #fff;
  border-color: transparent;
}

/* Capture affichée */
.mz .tabs input:nth-of-type(1):checked ~ .win .pane:nth-child(1),
.mz .tabs input:nth-of-type(2):checked ~ .win .pane:nth-child(2),
.mz .tabs input:nth-of-type(3):checked ~ .win .pane:nth-child(3),
.mz .tabs input:nth-of-type(4):checked ~ .win .pane:nth-child(4),
.mz .tabs input:nth-of-type(5):checked ~ .win .pane:nth-child(5) {
  visibility: visible;
}
.mz .cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
}
.mz .cb {
  background: #063b5c;
  color: #fff;
  border-radius: 28px;
  padding: 56px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.mz .cb .dot {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #5adbcb;
  opacity: 0.95;
}
.mz .cb .tx {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.mz .cb h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.mz .cb p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #dcebf3;
}
.mz .bt {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.mz .bt a {
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 12px;
  display: inline-block;
  background: #fff;
  color: #063b5c;
  border: 1px solid #fff;
}
.mz .bt a + a {
  background: transparent;
  color: #fff;
}
@media (max-width: 1100px) {
  .mz .zr,
  .mz .zr.rev {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .mz .zt {
    flex: 1 1 auto;
  }
  .mz .zi {
    flex: 1 1 auto;
    max-width: none;
  }
}
@media (max-width: 700px) {
  .mz h1 {
    font-size: 38px;
  }
  .mz .zt h2 {
    font-size: 28px;
  }
  .mz .cb {
    padding: 36px 24px;
  }
  .mz .cb h2 {
    font-size: 30px;
  }
  .mz .rows {
    gap: 64px;
  }
}

/* Marge au-dessus de la capture "Statistiques 2" */
.mz .pane img[src$="Liste_produits.webp"] {
  padding-top: 10px;
}
/* .mz .pane img[src$="Statistiques_1.png"] {
  padding-top: 24px;
} */
.mz .pane img[src$="Statistiques_2.webp"] {
  padding-top: 24px;
}
/* ===== Téléphone : version compacte (≤ 600px) ===== */
@media (max-width: 600px) {
  .mz .hero { padding: 36px 20px 8px; gap: 14px; }
  .mz h1 { font-size: 30px; }
  .mz .lead { font-size: 16px; }
  .mz .rows { padding: 28px 20px 16px; gap: 44px; }
  .mz .zr, .mz .zr.rev { gap: 22px; }
  .mz .zt h2 { font-size: 24px; }
  .mz .zt p { font-size: 15px; line-height: 1.55; }
  .mz .zt li { font-size: 14.5px; }
  .mz .tabs label { font-size: 13px; padding: 8px 14px; }
  .mz .cb { padding: 28px 20px; }
  .mz .cb h2 { font-size: 24px; }
}

/* =====================================================================
   Finitions (refonte visuelle) : mêmes sections, rendu plus soigné
   ===================================================================== */
.mz .hero {
  position: relative;
}
.mz .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -10%;
  top: -60px;
  width: 640px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(90, 219, 203, 0.2), transparent);
  pointer-events: none;
}
.mz .hero > * {
  position: relative;
}
.mz .zp {
  box-shadow: inset 0 0 0 1px rgba(10, 126, 163, 0.12);
}
.mz li > span:first-child {
  color: #0aa3a3;
}

/* Captures : cadre plus fin et ombre douce */
.mz .win {
  border-color: rgba(6, 59, 92, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-shot);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.mz .zi:hover .win {
  transform: translateY(-4px);
}
.mz .bar {
  background: linear-gradient(180deg, #f3f7fa, #eaf0f5);
}

/* Onglets : pastilles plus douces */
.mz .tl label {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.mz .tl label:hover {
  border-color: var(--blue);
}
.mz .tabs input:nth-of-type(1):checked ~ .tl label:nth-child(1),
.mz .tabs input:nth-of-type(2):checked ~ .tl label:nth-child(2),
.mz .tabs input:nth-of-type(3):checked ~ .tl label:nth-child(3),
.mz .tabs input:nth-of-type(4):checked ~ .tl label:nth-child(4),
.mz .tabs input:nth-of-type(5):checked ~ .tl label:nth-child(5) {
  box-shadow: 0 8px 20px -10px rgba(8, 126, 164, 0.8);
}
.mz .pane {
  transition: opacity 0.3s ease;
  opacity: 0;
}
.mz .tabs input:nth-of-type(1):checked ~ .win .pane:nth-child(1),
.mz .tabs input:nth-of-type(2):checked ~ .win .pane:nth-child(2),
.mz .tabs input:nth-of-type(3):checked ~ .win .pane:nth-child(3),
.mz .tabs input:nth-of-type(4):checked ~ .win .pane:nth-child(4),
.mz .tabs input:nth-of-type(5):checked ~ .win .pane:nth-child(5) {
  opacity: 1;
}
