/* ============================
   SALON SPORT NATURE 2027
   CSS MENTIONS LÉGALES — ssn-mentions-legales.php uniquement
   ============================ */

/* ============================
   HERO MENTIONS LÉGALES
   ============================ */
.hero-legal {
  background: var(--navy); padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}

.hero-legal::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,123,103,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-legal::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--gold), var(--green), var(--gold));
}

.hero-legal-inner { position: relative; z-index: 1; }

.hero-legal-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(241,192,104,0.12); border: 1px solid rgba(241,192,104,0.35);
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.25rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}

.hero-legal-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 1rem;
}

.hero-legal-title span { color: var(--gold); }

.hero-legal-sub {
  color: rgba(255,255,255,0.65); font-size: 0.95rem;
  max-width: 560px; margin-bottom: 1.5rem;
}

.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; }

/* ============================
   CONTENU LÉGAL
   ============================ */
.legal-wrap { padding: 5rem 0 6rem; background: var(--white); }

.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; align-items: start; }

/* Sidebar sommaire */
.legal-toc {
  position: sticky; top: 110px;
  background: #f8fbff; border-radius: 8px;
  padding: 1.75rem; border: 1px solid rgba(0,46,82,0.09);
}

.legal-toc-title {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 2px solid var(--gold);
}

.legal-toc ul { list-style: none; }
.legal-toc li { margin-bottom: 0.4rem; }

.legal-toc a {
  font-size: 0.82rem; color: var(--muted-teal); transition: color 0.3s;
  display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0;
}

.legal-toc a:hover { color: var(--navy); }
.legal-toc a i { font-size: 0.6rem; color: var(--gold); flex-shrink: 0; }

.legal-toc .update-note {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(0,46,82,0.08);
  font-size: 0.72rem; color: var(--muted-teal); line-height: 1.5;
}

/* Sections */
.legal-section { padding: 2.5rem 0; border-bottom: 1px solid rgba(0,46,82,0.08); }
.legal-section:last-child { border-bottom: none; }

.legal-section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }

.legal-icon {
  width: 48px; height: 48px; background: var(--light-teal);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1.2rem; flex-shrink: 0;
}

.legal-section h2 { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }

.legal-section h3 {
  font-size: 0.9rem; font-weight: 700; color: var(--navy);
  margin: 1.25rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.08em;
}

.legal-section p { font-size: 0.92rem; color: #445; line-height: 1.8; margin-bottom: 1rem; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul { list-style: none; margin: 0.75rem 0 1rem 0; }

.legal-section ul li {
  font-size: 0.92rem; color: #445; line-height: 1.8;
  padding-left: 1.4rem; position: relative; margin-bottom: 0.35rem;
}

.legal-section ul li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}

/* Tableau */
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }

.legal-table th {
  background: var(--navy); color: var(--white); padding: 0.75rem 1rem;
  text-align: left; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}

.legal-table td { padding: 0.7rem 1rem; border-bottom: 1px solid rgba(0,46,82,0.07); color: #445; vertical-align: top; }
.legal-table tr:nth-child(even) td { background: #f8fbff; }
.legal-table strong { color: var(--navy); }

/* Champs à compléter */
.to-fill {
  background: rgba(241,192,104,0.15); border: 1.5px dashed var(--gold);
  border-radius: 4px; padding: 0.15rem 0.5rem; font-weight: 700;
  color: #8b5e00; white-space: nowrap;
}

/* Info box */
.legal-alert {
  background: rgba(15,123,103,0.07); border-left: 4px solid var(--green);
  border-radius: 0 6px 6px 0; padding: 1rem 1.25rem; margin: 1rem 0;
  font-size: 0.88rem; color: #2a5248; line-height: 1.7;
}

.legal-alert strong { color: var(--green-dark); }
.legal-alert a { color: var(--green); text-decoration: underline; }
.legal-alert a:hover { color: var(--green-dark); }

/* Droits */
.rights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 1rem 0; }

.right-item {
  background: #f8fbff; border-radius: 6px; padding: 0.9rem 1rem;
  border: 1px solid rgba(0,46,82,0.07); display: flex; gap: 0.75rem; align-items: flex-start;
}

.right-item i { color: var(--green); font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.right-item strong { display: block; font-size: 0.82rem; color: var(--navy); margin-bottom: 0.2rem; }
.right-item span { font-size: 0.78rem; color: #667; line-height: 1.5; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .rights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-legal { padding: 6rem 0 3rem; }
}
