/* ============================================================================
   FELDOR — Pages légales (mentions légales · confidentialité · cookies)
   ========================================================================== */

/* Bandeau de titre sombre : le header crème reste lisible par-dessus */
.page-head {
  position: relative; background: var(--grad-night); color: var(--cream);
  padding: clamp(150px, 16vw, 200px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--night-line); overflow: hidden;
}
.page-head__glow {
  position: absolute; width: 60%; height: 120%; top: -40%; right: -6%;
  background: radial-gradient(circle, rgba(201, 163, 93, .22), transparent 62%); filter: blur(50px); pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: rgba(247, 242, 233, .55); margin-bottom: 20px; }
.breadcrumb a { color: var(--gold-soft); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span { opacity: .5; }
.page-head h1 { font-family: var(--serif); font-weight: 500; line-height: 1; letter-spacing: -.01em; font-size: clamp(38px, 6vw, 68px); }
.page-head__sub { margin-top: 16px; max-width: 620px; font-size: clamp(15px, 1.4vw, 18px); color: rgba(247, 242, 233, .7); }
.page-head__date { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: rgba(247, 242, 233, .45); }

/* Corps de texte */
.legal { padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.legal__wrap { width: min(820px, 100% - 48px); margin-inline: auto; }
.legal section + section { margin-top: clamp(34px, 4vw, 52px); }
.legal h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 2.6vw, 30px);
  color: var(--espresso); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.legal h2 .legal__n { font-family: var(--mono); font-size: 13px; color: var(--wood); font-weight: 500; }
.legal h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.legal p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.72; margin-bottom: 12px; }
.legal a { color: var(--wood-deep); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.legal a:hover { color: var(--walnut); }
.legal ul.legal__list { display: grid; gap: 9px; margin: 8px 0 14px; }
.legal ul.legal__list li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.legal ul.legal__list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); }
.legal strong { color: var(--ink); font-weight: 700; }

/* Carte d'informations (éditeur, hébergeur…) */
.legal-card {
  background: linear-gradient(165deg, var(--paper), var(--cream-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); margin-top: 8px;
}
.legal-card dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 4px 22px; }
.legal-card dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wood-deep); padding: 9px 0; border-top: 1px solid var(--line); }
.legal-card dd { font-size: 15px; color: var(--ink); padding: 9px 0; border-top: 1px solid var(--line); }
.legal-card dt:first-of-type, .legal-card dd:first-of-type { border-top: none; }
.legal-card dd a { color: var(--wood-deep); }

/* Encart d'information / à compléter */
.legal-note {
  display: flex; gap: 14px; align-items: flex-start; margin: 14px 0;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(201, 163, 93, .08); border: 1px solid rgba(201, 163, 93, .28);
}
.legal-note svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--wood-deep); margin-top: 1px; }
.legal-note p { margin: 0; font-size: 14px; color: var(--walnut); }

.legal__toc { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a {
  font-size: 13px; font-weight: 600; color: var(--wood-deep); text-decoration: none;
  padding: 7px 14px; border-radius: 999px; background: rgba(201, 163, 93, .1);
  box-shadow: inset 0 0 0 1px rgba(201, 163, 93, .22); transition: background .25s;
}
.legal__toc a:hover { background: rgba(201, 163, 93, .2); }

@media (max-width: 600px) {
  .legal-card dl { grid-template-columns: 1fr; gap: 0; }
  .legal-card dt { border-top: 1px solid var(--line); padding-bottom: 0; }
  .legal-card dd { border-top: none; padding-top: 2px; }
}
