/* ============================================================
   LQS AQUITAINE — mentions.css
   Page Mentions légales
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.ml-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  overflow: hidden;
  background: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background gradient subtil */
.ml-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(197,2,2,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 100%, rgba(197,2,2,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Grille de points */
.ml-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.ml-hero__inner {
  position: relative;
  z-index: 1;
}

.ml-overline {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  padding: 0.35em 1em;
  background: rgba(197,2,2,0.08);
  border: 1px solid rgba(197,2,2,0.22);
  border-radius: 100px;
}

.ml-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.05;
  margin: 0;
}

.ml-hero__title span {
  color: var(--red);
}

/* Ligne décorative bas */
.ml-hero__line {
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(197,2,2,0.3));
  border-radius: 2px;
  margin: 1.4rem auto 0;
}

/* ── Layout contenu ────────────────────────────────────────── */
.ml-content {
  background: #0a0a0a;
  padding: 4rem 2rem 6rem;
}

.ml-content__inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Carte section ─────────────────────────────────────────── */
.ml-section {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ml-section:hover {
  border-color: rgba(197,2,2,0.18);
  box-shadow: 0 8px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(197,2,2,0.06) inset;
}

/* Reflet haut */
.ml-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Barre rouge gauche */
.ml-section__accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(197,2,2,0.2) 100%);
  border-radius: 0 2px 2px 0;
}

/* ── En-tête de section ────────────────────────────────────── */
.ml-section__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem 1.2rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ml-section__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(197,2,2,0.1);
  border: 1px solid rgba(197,2,2,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--red);
}

.ml-section__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--red);
  opacity: 0.9;
}

.ml-section__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  flex: 1;
}

/* ── Corps de section ──────────────────────────────────────── */
.ml-section__body {
  padding: 1.5rem 2rem 1.8rem 2rem;
}

.ml-section__body p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.58);
  margin: 0 0 0.6rem;
}
.ml-section__body p:last-child { margin-bottom: 0; }

.ml-section__body strong {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

.ml-section__body a {
  color: rgba(197,2,2,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(197,2,2,0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ml-section__body a:hover {
  color: var(--red);
  border-color: rgba(197,2,2,0.6);
}

/* Données en ligne (nom: valeur) */
.ml-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ml-info-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.58);
}

.ml-info-list li i {
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
  color: var(--red);
  opacity: 0.7;
  font-size: 0.8rem;
  margin-top: 0.1em;
}

/* Groupe entité (hebergeur, etc.) */
.ml-entity {
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-top: 0.8rem;
}

.ml-entity + .ml-entity { margin-top: 0.6rem; }

.ml-entity__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.6rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media screen and (max-width: 768px) {
  .ml-content__inner {
    gap: 1.5rem;
  }
  .ml-section__head {
    padding: 1.3rem 1.6rem 1.1rem;
  }
  .ml-section__body {
    padding: 1.3rem 1.6rem 1.6rem;
  }
  .ml-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media screen and (max-width: 640px) {
  .ml-hero {
    padding: calc(var(--nav-h) + 2.5rem) 1.2rem 3rem;
  }

  .ml-content {
    padding: 2.5rem 1rem 4rem;
  }

  .ml-section__head {
    padding: 1.2rem 1.2rem 1rem;
    gap: 0.7rem;
  }

  .ml-section__body {
    padding: 1.2rem 1.2rem 1.5rem;
  }

  .ml-section__title {
    font-size: 0.9rem;
  }
}
