/* IDvisu / Mentions légales — Figma Front-end page 13:16
 * Desktop Light 101:13 · Desktop Dark 101:172
 * Mobile Light 101:646 · Mobile Dark 101:732
 * Colors, focus and typography inherit IDvisu semantic Foundations / Storybook.
 * Legal copy remains a draft until editor and hosting details are verified.
 */
.legal-page .btn { border-radius:8px;min-height:44px;padding:0 12px;font-size:14px;font-weight:600; }
.legal-page .btn-outline { background:transparent;color:var(--soft-ink);border:1px solid var(--soft-ink); }
.legal-page .btn-outline:hover { background:var(--soft); }
.legal-page .btn:focus-visible { outline:2px solid var(--focus-strong);outline-offset:3px; }
.legal-hero {
  background:linear-gradient(110deg,#f9ebda 0%,#f7f6f3 57%,#ede8fc 100%);
  overflow:hidden;
}
[data-theme="dark"] .legal-hero {
  background:linear-gradient(110deg,#36282e 0%,#1c1e2a 58%,#29233b 100%);
}
.legal-hero-content {
  position:relative;
  display:flex;
  min-height:310px;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding-block:66px;
}
.legal-hero-copy {max-width:970px;position:relative;z-index:1;}
.legal-hero h1 {
  color:var(--text);
  font-size:clamp(36px,4vw,54px);
  line-height:1.15;
  font-weight:600;
  margin:16px 0;
}
.legal-hero-copy>p:last-child{font-size:18px;line-height:1.6;max-width:850px;}
.legal-mascot{display:block;width:164px;flex:0 0 164px;align-self:center;pointer-events:none;}
.legal-mascot img{display:block;width:100%;height:auto;}
.legal-notice{background:var(--surface);padding-block:40px;}
.legal-notice .eyebrow{margin-bottom:10px;}
.legal-notice p:last-child{max-width:1060px;font-size:15px;}
.legal-content{padding-block:52px;background:var(--canvas);}
.legal-cards{display:grid;gap:16px;}
.legal-card{
  min-width:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px;
}
.legal-card h2{font-size:23px;letter-spacing:-.025em;line-height:1.3;font-weight:600;margin:0 0 16px;}
.legal-index{font-variant-numeric:tabular-nums;}
.legal-card p{font-size:15px;line-height:1.65;max-width:1150px;margin:0 0 10px;}
.legal-card p:last-child{margin-bottom:0;}
.legal-card strong{color:var(--text);font-weight:600;}
.legal-details{display:grid;gap:9px;margin:18px 0 0;}
.legal-details div{display:grid;grid-template-columns:minmax(130px,0.22fr) 1fr;gap:15px;}
.legal-details dt{font-weight:600;color:var(--text);}
.legal-details dd{margin:0;color:var(--muted);}
.legal-end{background:var(--surface);padding-block:64px;}
.legal-end h2{font-size:clamp(25px,2.6vw,32px);margin:0 0 15px;}
.legal-end p{max-width:1100px;font-size:16px;}
.legal-return{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.legal-page .footer-grid nav{flex-wrap:wrap;}
.legal-page [aria-current="page"]{font-weight:600;color:var(--text);}
@media(max-width:700px){
  .legal-hero-content{min-height:300px;padding-block:35px 130px;align-items:flex-start;}
  .legal-hero-copy{max-width:100%;}
  .legal-hero h1{font-size:34px;}
  .legal-hero-copy>p:last-child{font-size:15px;max-width:310px;}
  .legal-mascot{position:absolute;right:20px;bottom:13px;width:104px;flex-basis:auto;}
  .legal-notice{padding-block:30px;}
  .legal-notice p:last-child{font-size:14px;}
  .legal-content{padding-block:26px;}
  .legal-cards{gap:12px;}
  .legal-card{padding:18px;border-radius:14px;}
  .legal-card h2{font-size:19px;}
  .legal-card p,.legal-card dt,.legal-card dd{font-size:13px;line-height:1.6;}
  .legal-details div{grid-template-columns:1fr;gap:2px;}
  .legal-end{padding-block:44px;}
  .legal-end p{font-size:14px;}
  .legal-return{flex-direction:column;align-items:stretch;}
  .legal-return .btn{width:100%;}
}
@media(prefers-reduced-motion:reduce){.legal-page .btn{transition:none;}}

/* DEC-123 — Outline Dark : texte et bordure blancs, fond transparent. */
[data-theme="dark"] .legal-page .btn-outline{color:var(--outline-fg);border-color:var(--outline-border);}
[data-theme="dark"] .legal-page .btn-outline:hover{color:var(--outline-fg);}
