/* ======================================================
   Iliade Digital — Page Mentions Légales
   File: assets/css/page-mention-legale.css
   Depends: variables.css + styles.css (globals)
   ====================================================== */

.il-ml{
  overflow-x: hidden;
}

.il-ml-hero{
  position: relative;
  padding-block: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(900px 420px at 15% 25%, rgba(23,160,81,.12), transparent 60%),
    radial-gradient(900px 420px at 80% 30%, rgba(47,128,237,.08), transparent 60%),
    linear-gradient(var(--white, #fff), var(--white, #fff));
  border-bottom: 1px solid var(--line, #E6E8EE);
}

.il-ml-title{
  margin: 6px 0 10px;
  font-family: var(--font-head, inherit);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.il-ml-sub{
  margin: 0;
  max-width: 70ch;
  color: var(--muted, #666672);
  line-height: var(--lh, 1.6);
}

.il-ml-body{
  padding-block: clamp(26px, 4.2vw, 70px);
  background: var(--bg, #fff);
}

.il-ml-grid{
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

@media (min-width: 980px){
  .il-ml-grid{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .il-ml-card--wide{
    grid-column: 1 / -1;
  }
}

.il-ml-card{
  border: 1px solid var(--line, #E6E8EE);
  border-radius: var(--r-20, 20px);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm, 0 10px 24px rgba(16,19,35,.08));
  overflow: hidden;
}

.il-ml-cardTop{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line, #E6E8EE);
  background: rgba(16,19,35,.03);
}

@media (max-width: 520px){
  .il-ml-cardTop{
    grid-template-columns: 1fr;
  }
}

.il-ml-logoWrap{
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(16,19,35,.06);
}

.il-ml-logo{
  width: 100%;
  max-width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
}

.il-ml-head h2{
  margin: 0 0 6px;
  font-family: var(--font-head, inherit);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.il-ml-head .il-muted{
  margin: 0;
}

.il-ml-list{
  list-style: none;
  padding: 16px 18px 18px;
  margin: 0;
  display: grid;
  gap: 12px;
}

.il-ml-list li{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text, #111827);
}

.il-ml-list--cols{
  grid-template-columns: 1fr;
}

@media (min-width: 760px){
  .il-ml-list--cols{
    grid-template-columns: 1fr 1fr;
  }
  .il-ml-list--cols li{
    align-items: center;
  }
}

.il-ml-ico{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(23,160,81,.10);
  border: 1px solid rgba(23,160,81,.18);
  color: var(--brand-green, #17A051);
  font-weight: 900;
}

.il-ml-link{
  color: var(--brand-green, #17A051);
  font-weight: 800;
  text-decoration: none;
}

.il-ml-link:hover{
  text-decoration: underline;
}

.il-ml-actions{
  padding: 0 18px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.il-ml-note{
  margin: 0 18px 18px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(16,19,35,.08);
  background: rgba(16,19,35,.03);
  color: var(--muted, #666672);
}

.il-ml-divider{
  height: 1px;
  background: var(--line, #E6E8EE);
  margin: 0 18px;
}

.il-ml-legalText{
  padding: 18px;
  display: grid;
  gap: 12px;
}

.il-ml-legalText h3{
  margin: 0;
  font-family: var(--font-head, inherit);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.il-ml-legalText p{
  margin: 0;
}

.il-ml-bottomCta{
  margin-top: clamp(18px, 3vw, 26px);
  padding: clamp(16px, 3vw, 26px);
  border-radius: var(--r-20, 20px);
  border: 1px solid var(--line, #E6E8EE);
  background:
    radial-gradient(700px 220px at 12% 0%, rgba(23,160,81,.12), transparent 60%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm, 0 10px 24px rgba(16,19,35,.08));

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.il-ml-bottomCta__txt{
  max-width: 70ch;
}

.il-ml-bottomCta__txt h2{
  margin: 0 0 6px;
  font-family: var(--font-head, inherit);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.il-ml-bottomCta__txt p{
  margin: 0;
}

.il-ml-bottomCta__btns{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile safe */
@media (max-width: 520px){
  .il-ml-list{
    padding: 14px 14px 16px;
  }
  .il-ml-actions{
    padding: 0 14px 14px;
  }
  .il-ml-note{
    margin: 0 14px 14px;
  }
  .il-ml-legalText{
    padding: 14px;
  }
}