/* Pages de conditions (terms-bigoudig.html, terms-paris-tcg.html).
   Couleur de l'application : variable --accent posee sur <body>. */
* { box-sizing:border-box; margin:0; padding:0; }
html,body { min-height:100%; background:#000; color:#fff; font-family:-apple-system,"Helvetica Neue",Arial,sans-serif; }

/* langue : seuls les blocs de la langue courante sont affiches (html[lang] est mis a jour par i18n.js) */
html[lang="fr"] [data-lang="en"], html[lang="en"] [data-lang="fr"] { display:none !important; }

/* barre du haut (comme l'accueil et le contact, avec un fond car la page defile dessous) */
.topbar { position:fixed; top:0; left:0; right:0; z-index:8; height:64px; display:flex; align-items:center;
  padding:0 max(24px,calc((100vw - 1100px)/2)); gap:clamp(20px,4vw,56px); border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.85); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.topbar a { color:#fff; text-decoration:none; }
.topbar .logo { font-size:24px; font-weight:800; letter-spacing:-.01em; white-space:nowrap; }
.topbar .menu { display:flex; gap:clamp(20px,3.4vw,46px); font-size:17px; }
.topbar .menu a { color:rgba(255,255,255,.5); transition:opacity .2s; }
.topbar .menu a:hover { opacity:.6; }
.topbar .menu a.on { color:#fff; }
.topbar .lang-btn { margin-left:auto; }
@media (max-width:640px){ .topbar .menu { display:none; } .topbar .logo { font-size:20px; } }

main { max-width:820px; margin:0 auto; padding:calc(64px + clamp(36px,7vh,90px)) 24px 90px; }
.app-head { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.app-ico { width:52px; height:52px; border-radius:13px; flex:none; object-fit:cover; }
.app-name { font-size:15px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.55); }
h1 { font-size:clamp(34px,4.5vw,56px); font-weight:800; letter-spacing:-.02em; line-height:1.05; }
.updated { margin-top:12px; color:rgba(255,255,255,.5); font-size:14px; }

section { margin-top:52px; }
h2 { display:flex; align-items:baseline; gap:12px; font-size:clamp(21px,2.2vw,28px); font-weight:800; letter-spacing:-.01em; line-height:1.2; }
h2 .num { color:var(--accent); font-variant-numeric:tabular-nums; }
h3 { margin-top:30px; font-size:17px; font-weight:800; color:var(--accent); }

.box { margin-top:16px; padding:22px 24px; border-radius:16px; background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.85); font-size:16px; line-height:1.7; text-align:justify; -webkit-hyphens:auto; hyphens:auto; }
.box p + p, .box p + ul, .box ul + p { margin-top:12px; }
.box ul { padding-left:22px; display:grid; gap:6px; }
.box li::marker { color:var(--accent); }
.box strong { color:#fff; }
/* coreen : retour a la ligne entre les mots, pas au milieu (CGU Paris TCG en ko) */
:lang(ko) { word-break:keep-all; overflow-wrap:break-word; }
.box a, .info a { color:var(--accent); text-underline-offset:3px; }
.box.kv { text-align:left; }
.box.kv p + p { margin-top:8px; }

/* suppression du compte : deux options cote a cote */
.options { margin-top:16px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.opt { display:flex; flex-direction:column; gap:12px; padding:20px 22px; border-radius:16px; background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.85); font-size:15px; line-height:1.6; }
.opt-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.opt-head b { color:#fff; font-size:16px; }
.pill { padding:3px 11px; border-radius:999px; font-size:12px; font-weight:700; background:rgba(255,255,255,.1); color:var(--accent); }
.opt ul { padding-left:20px; display:grid; gap:4px; }
.opt li::marker { color:var(--accent); }
.opt strong { color:#fff; }
.opt .grow { flex:1; }
.btn { display:block; padding:13px 16px; border-radius:12px; background:var(--accent); color:#000; font-weight:800; font-size:15px;
  text-align:center; text-decoration:none; transition:filter .2s, transform .2s; }
.btn:hover { filter:brightness(1.12); transform:translateY(-1px); }
.note { margin-top:auto; color:rgba(255,255,255,.45); font-size:13px; font-style:italic; }
.info { margin-top:14px; padding:14px 18px; border-radius:12px; border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.6); font-size:13px; line-height:1.7; }
.info strong { color:#fff; }
@media (max-width:640px){ .options { grid-template-columns:1fr; } .box { padding:18px; font-size:15px; } }

/* textes longs (CGU) : sommaire cliquable, ancres decalees sous la barre fixe */
html { scroll-behavior:smooth; }
section[id] { scroll-margin-top:84px; }
.toc { margin-top:28px; padding:18px 22px; border-radius:16px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); }
.toc-title { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.toc ol { list-style:none; margin-top:10px; columns:2; column-gap:32px; }
.toc li { break-inside:avoid; padding:4px 0; font-size:14px; line-height:1.4; }
.toc a { display:flex; gap:10px; color:rgba(255,255,255,.8); text-decoration:none; transition:color .15s; }
.toc a:hover { color:#fff; }
.toc a span { flex:none; min-width:20px; color:var(--accent); font-weight:700; font-variant-numeric:tabular-nums; }
@media (max-width:640px){ .toc ol { columns:1; } }

/* choix de la langue des CGU (page Paris TCG) */
.app-head .lang-pick { margin-left:auto; }
.lang-pick { display:inline-flex; align-items:center; gap:8px; padding:7px 12px 7px 11px; border-radius:999px; cursor:pointer;
  border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.07); transition:background .2s, border-color .2s; }
.lang-pick:hover { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.28); }
.lang-pick:focus-within { border-color:var(--accent); }
.lang-pick svg { width:17px; height:17px; flex:none; fill:none; stroke:var(--accent); stroke-width:1.8; }
.lang-pick select { -webkit-appearance:none; appearance:none; border:0; outline:none; background-color:transparent; color:#fff; cursor:pointer;
  font:inherit; font-size:14px; font-weight:700; padding-right:16px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right center; background-size:10px 6px; }
.lang-pick select:disabled { opacity:.5; }
.lang-pick option { color:#000; background:#fff; }

/* note d'information (ex. page en francais lue avec le site en anglais) */
.notice { margin-top:22px; padding:14px 18px; border-radius:14px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.7); font-size:14px; line-height:1.6; }

.back { display:inline-block; margin-top:56px; color:rgba(255,255,255,.55); font-size:15px; text-decoration:none; }
.back:hover { color:#fff; }
