/* Legal pages "En bref" (maquette 2): tabs between the policies, an "In short" box,
   then the full text in numbered sections that open and close (assets/js/legal.js). */
.lg2 { --o: #ff6a2b; --o2: #e8642d; --line: rgba(170,190,220,.08); --line2: rgba(170,190,220,.17); --mu: rgba(225,232,245,.58); --card: #0f1013; --ease: cubic-bezier(.22,1,.36,1); padding-bottom: 30px; overflow-x: clip; }
.lg2.is-still * { transition: none !important; }
.lg2-wrap { width: min(calc(100% - 56px), 1040px); margin-inline: auto; }
.lg2-tabs { position: sticky; top: var(--head-h, 76px); z-index: 20; border-bottom: 1px solid var(--line); background: rgba(11,12,15,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lg2-tabs .lg2-wrap { display: flex; gap: 4px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.lg2-tabs .lg2-wrap::-webkit-scrollbar { display: none; }
.lg2-tabs a { flex: none; padding: 8px 14px; border-radius: 99px; color: var(--mu); font-size: .86rem; font-weight: 700; text-decoration: none; transition: color .2s, background .2s; }
.lg2-tabs a:not(.on):hover { color: #fff; background: rgba(255,255,255,.05); }
.lg2-tabs a.on { background: #fff; color: #0b0c0f; }
.lg2-hero { padding: 54px 0 0; text-align: center; }
.lg2-k { margin: 0; color: #ff7a45; font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.lg2-hero h1 { margin: 12px 0 0; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; }
.lg2-lede { margin: 16px auto 0; max-width: 680px; color: var(--mu); font-size: 1.05rem; line-height: 1.65; }
.lg2-upd { display: inline-block; margin: 16px 0 0; padding: 6px 12px; border: 1px solid var(--line2); border-radius: 99px; color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 700; }
.lg2-intro { max-width: 680px; margin: 18px auto 0; padding: 0; text-align: left; }
.lg2-sum { margin-top: 34px; padding: 26px; border: 1px solid rgba(255,106,43,.4); border-radius: 26px; background: radial-gradient(600px 260px at 0 0, rgba(255,106,43,.15), transparent), #0f1013; text-align: left; }
.lg2-sumh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lg2-sumh h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.lg2-sumh small { color: var(--mu); font-size: .8rem; }
.lg2-sg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.lg2-sg > div { padding: 16px; border: 1px solid var(--line2); border-radius: 16px; background: rgba(0,0,0,.25); }
.lg2-sg i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,106,43,.14); color: #ff8a55; font-style: normal; font-weight: 800; }
.lg2-sg b { display: block; margin-top: 12px; font-size: .98rem; }
.lg2-sg p { margin: 4px 0 0; color: var(--mu); font-size: .84rem; line-height: 1.5; }
.lg2-sum .doc-glance { margin: 18px 0 0; }
.lg2-bar { display: flex; justify-content: space-between; align-items: center; margin: 44px 0 12px; }
.lg2-bar h2 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.lg2-all { border: 0; background: none; color: #ff8a55; font: 800 .86rem Manrope, sans-serif; cursor: pointer; }
.lg2-acc { border-top: 1px solid var(--line2); }
.lg2-it { border-bottom: 1px solid var(--line2); }
.lg2 [id] { scroll-margin-top: calc(var(--head-h, 76px) + 70px); }
.lg2-q { margin: 0; font: inherit; }
.lg2-q button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 22px 4px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: inherit; }
.lg2-n { flex: none; width: 34px; color: var(--mu); font-size: .84rem; font-weight: 800; }
.lg2-q b { flex: 1; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; transition: color .2s; }
.lg2-it.is-sub .lg2-q b { font-size: 1.05rem; }
.lg2-q i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--line2); border-radius: 50%; font-style: normal; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.lg2-it.on .lg2-q i { transform: rotate(45deg); background: var(--o2); border-color: var(--o2); }
.lg2-it.on .lg2-q b, .lg2-q button:hover b { color: #ff8a55; }
.lg2-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.lg2-a > div { overflow: hidden; min-height: 0; }
.lg2-it.on .lg2-a { grid-template-rows: 1fr; }
.lg2-it:not(.on) .lg2-a > div { visibility: hidden; transition: visibility 0s .45s; }
.lg2 .lg2-doc { max-width: 760px; padding: 0 4px 26px 54px; }
.lg2 .lg2-doc > :first-child { margin-top: 0; }
.lg2 .lg2-doc p, .lg2 .lg2-doc ul { color: rgba(235,240,250,.78); }
.lg2 .lg2-doc a { color: #ff8a55; border-bottom-color: rgba(255,138,85,.35); }
.lg2-help { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line2); border-radius: 20px; }
.lg2-help b { font-size: 1.1rem; }
.lg2-help p { margin: 2px 0 0; color: var(--mu); font-size: .9rem; }
.lg2-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 48px; padding: 0 22px; border-radius: 99px; background: var(--o2); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(232,100,45,.35); white-space: nowrap; }
.lg2-btn i { font-style: normal; }
.lg2 .lg2-end { max-width: none; padding: 0; margin-top: 40px; }
@media (max-width: 860px) {
  .lg2-wrap { width: calc(100% - 32px); }
  .lg2-sg { grid-template-columns: 1fr 1fr; }
  .lg2 .lg2-doc { padding-left: 4px; }
  .lg2-q b { font-size: 1.05rem; }
  .lg2-help { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) { .lg2-sg { grid-template-columns: 1fr; } }
