/* ---- MENTIONS LÉGALES (style cohérent avec indexMain.css) ---- */

:root{
  --accent: #f18536;
  --muted: #bbb;
}

/* S'aligne sur la grille et l'espacement de indexMain.css */
.legal-main{
  max-width: 1000px;
  margin: 160px auto 60px auto; /* marge top similaire aux sections index pour compenser le header fixe */
  padding: 0 1rem;
  color: white;
}

/* En-tête de page (carte comme .your-data-box/.audit-offer-box) */
.legal-hero{
  background: rgba(26, 42, 66, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.legal-hero h2{
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 .5rem 0;
}

.legal-hero .subtitle{
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
}

/* Grille principale (2 colonnes desktop, 1 mobile) */
.legal-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Carte de section : mêmes tokens que les "box" de l'index */
.legal-card{
  background: rgba(26, 42, 66, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  padding: 1.5rem;
}

.legal-card h3{
  margin: 0 0 .75rem 0;
  font-weight: 700;
}

/* Liste clé/valeur harmonisée */
.kv{
  list-style: none;
  padding: 0;
  margin: .5rem 0 0 0;
}

.kv li{
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.kv li:last-child{
  border-bottom: none;
}

.kv .k{
  color: var(--muted);
  font-weight: 600;
}

.kv .v a{
  color: var(--accent);
  text-decoration: none;
}

.kv .v a:hover{
  text-decoration: underline;
}

/* Notes complémentaires (ton muted cohérent) */
.note{
  color: var(--muted);
  margin-top: .75rem;
  font-size: .95rem;
}

/* Responsive : pile en 1 colonne & K/V vertical */
@media (max-width: 900px){
  .legal-grid{
    grid-template-columns: 1fr;
  }
  .kv li{
    grid-template-columns: 1fr;
  }
}
