/* SYLMERA_SITE_V992 — les pages Terms, Privacy, Cookies et 404 (13 nov. 2026) : le dessin sobre en tete des pages legales,
   chaque partie dans sa carte numerotee, le sommaire sans « # » ; la scene et les cartes qui s'allument de la page 404. */

@keyframes n12up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes n12pop{0%{opacity:0;transform:scale(.5)}60%{opacity:1;transform:scale(1.15)}100%{opacity:1;transform:none}}
@keyframes n12line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes n12rot{to{transform:rotate(360deg)}}

/* ---- 1. pages legales : le dessin sobre, a droite du titre (des 901 px) ---- */
.legal .n12-lw{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:48px;align-items:center}
.legal .n12-lv{display:none}
@media (min-width:901px){.legal .n12-lv{display:block;position:relative;padding:8px 14px 18px 0}}
@media (min-width:1101px){.legal .n12-lw{grid-template-columns:minmax(0,1fr) 380px;gap:64px}}
@media (max-width:900px){.legal .n12-lw{display:block}}
.n12-lv{--n12a:var(--lime-deep);--n12b:var(--lime);--n12s:var(--lime-soft);--n12t:var(--deep)}
.n12-lv.privacy{--n12a:#2C8C86;--n12b:#8FD3CE;--n12s:#DDF1EF;--n12t:#1F6F6A}
.n12-lv.cookies{--n12a:var(--gold);--n12b:#F0D58E;--n12s:#FBF0D8;--n12t:#8A6514}
.n12-sh{position:absolute;inset:8px 14px 18px 0;border-radius:24px;background:#fff;box-shadow:inset 0 0 0 1px var(--line),0 18px 36px -30px rgba(14,59,51,.45)}
.n12-sh.s1{transform:rotate(3.2deg) translate(10px,6px);opacity:.75;animation:n12s1 .9s cubic-bezier(.2,.7,.2,1) .25s both}
.n12-sh.s2{transform:rotate(6.4deg) translate(20px,12px);opacity:.45;animation:n12s2 .9s cubic-bezier(.2,.7,.2,1) .35s both}
@keyframes n12s1{from{transform:none;opacity:0}to{transform:rotate(3.2deg) translate(10px,6px);opacity:.75}}
@keyframes n12s2{from{transform:none;opacity:0}to{transform:rotate(6.4deg) translate(20px,12px);opacity:.45}}
.n12-dc{position:relative;z-index:1;padding:20px 20px 16px;border-radius:24px;background:#fff;box-shadow:0 2px 6px rgba(14,59,51,.05),0 30px 54px -34px rgba(14,59,51,.55),inset 0 0 0 1px var(--line);overflow:hidden;animation:n12up .7s cubic-bezier(.2,.7,.2,1) .1s both}
.n12-dc::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--n12a),var(--n12b));transform-origin:left;animation:n12line 1s cubic-bezier(.2,.7,.2,1) .45s both}
.n12-dh{display:flex;align-items:center;gap:12px}
.n12-di{flex:none;width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--n12s);color:var(--n12t);animation:n12pop .7s cubic-bezier(.2,1.4,.4,1) .4s both}
.n12-di svg{width:22px;height:22px}
.n12-dh b{display:block;font-family:var(--disp);font-size:18px;letter-spacing:-.015em;color:var(--deep);line-height:1.2}
.n12-dh em{display:block;font-style:normal;font-size:12.5px;font-weight:600;color:var(--muted);margin-top:2px}
.n12-ln{display:grid;gap:7px;margin:16px 0 14px}
.n12-ln i{display:block;height:7px;border-radius:99px;background:#EEF1EF;transform-origin:left;animation:n12line .8s cubic-bezier(.2,.7,.2,1) both}
.n12-ln i:nth-child(1){width:92%;animation-delay:.55s}
.n12-ln i:nth-child(2){width:78%;animation-delay:.65s}
.n12-ln i:nth-child(3){width:58%;animation-delay:.75s}
.n12-pt{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.n12-pt li{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:14px;background:#F6F8F6;font-size:13.5px;font-weight:700;line-height:1.3;color:var(--ink);animation:n12up .55s cubic-bezier(.2,.7,.2,1) both}
.n12-pt li>span:last-child{text-wrap:balance}
.n12-pt .n12-ck{flex:none;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--ok);color:#fff;box-shadow:0 8px 16px -8px rgba(30,122,79,.8);animation:n12pop .6s cubic-bezier(.2,1.4,.4,1) both}
.n12-pt .n12-ck svg{width:12px;height:12px}
.n12-pt li:nth-child(1){animation-delay:.9s}.n12-pt li:nth-child(1) .n12-ck{animation-delay:1.25s}
.n12-pt li:nth-child(2){animation-delay:1.05s}.n12-pt li:nth-child(2) .n12-ck{animation-delay:1.65s}
.n12-pt li:nth-child(3){animation-delay:1.2s}.n12-pt li:nth-child(3) .n12-ck{animation-delay:2.05s}
.n12-ft{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px dashed var(--line);font-size:11.5px;font-weight:600;line-height:1.45;color:var(--muted);animation:n12up .55s cubic-bezier(.2,.7,.2,1) 1.35s both}
.n12-st{flex:none;width:58px;height:58px;margin:-6px -2px -4px 0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#fff 52%,var(--n12s) 53%);box-shadow:inset 0 0 0 2px var(--n12a),inset 0 0 0 5px #fff,inset 0 0 0 6px var(--n12b);animation:n12stamp .55s cubic-bezier(.3,1.5,.5,1) 2.5s both}
.n12-st svg{width:22px;height:auto}
@keyframes n12stamp{0%{opacity:0;transform:scale(1.9) rotate(-28deg)}70%{opacity:1;transform:scale(.94) rotate(-10deg)}100%{opacity:1;transform:rotate(-12deg)}}

/* ---- 2. pages legales : chaque partie dans sa carte, numerotee, comme les reponses du centre d'aide ---- */
.legal{--n12a:var(--lime-deep);--n12b:var(--lime);--n12s:var(--lime-soft);--n12t:var(--deep)}
.legal:has(.n12-lv.privacy){--n12a:#2C8C86;--n12b:#8FD3CE;--n12s:#DDF1EF;--n12t:#1F6F6A}
.legal:has(.n12-lv.cookies){--n12a:var(--gold);--n12b:#F0D58E;--n12s:#FBF0D8;--n12t:#8A6514}
.legal .lg-art>section{position:relative;overflow:hidden;padding:26px 30px 14px;border-radius:26px;background:#fff;box-shadow:0 1px 2px rgba(14,59,51,.04),0 24px 48px -38px rgba(14,59,51,.42),inset 0 0 0 1px var(--line)}
.legal .lg-art>section+section{margin-top:16px}
.legal .lg-art>section::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--n12a),var(--n12b));transform:scaleX(0);transform-origin:left}
.legal .lg-art>section.run::before{animation:n12line .9s cubic-bezier(.2,.7,.2,1) both}
.legal .lg-art>section>h2{display:flex;align-items:flex-start;gap:14px;scroll-margin-top:96px}
.legal .lg-art h2 .n12-n{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:32px;margin-top:2px;padding:0 9px;border-radius:11px;background:var(--n12s);color:var(--n12t);font-size:14.5px;font-weight:800;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.legal .lg-art h2 .n12-v{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.legal .lg-art>section>:last-child{margin-bottom:12px}
.legal .lg-art>section table{margin-bottom:12px}
/* le sommaire : la partie survolee, et le numero de chaque partie */
.legal .lg-toc a{transition:background .2s ease,color .2s ease}
.legal .lg-toc a:hover{background:var(--n12s);color:var(--n12t)}
@media (max-width:860px){.legal .lg-toc a:hover{background:var(--bg);color:var(--deep)}}
@media (max-width:600px){.legal .lg-art>section{padding:22px 18px 10px;border-radius:22px}.legal .lg-art>section>h2{gap:10px}.legal .lg-art h2 .n12-n{min-width:36px;height:28px;font-size:13px}}

/* ---- 3. la page 404 : la scene, les cartes qui s'allument, la boussole ---- */
.pg-404 .nf-v{isolation:isolate}
.pg-404 .nf-n{z-index:1}
.pg-404 .nf-c{z-index:2}
.n12-orb{position:absolute;left:50%;top:50%;width:400px;height:400px;margin:-200px 0 0 -200px;border-radius:50%;border:1.5px dashed rgba(14,59,51,.12);pointer-events:none;z-index:0;animation:n12rot 56s linear infinite}
.n12-orb.o2{width:520px;height:520px;margin:-260px 0 0 -260px;border-color:rgba(14,59,51,.07);animation-duration:84s;animation-direction:reverse}
.n12-orb i{position:absolute;left:50%;top:-6px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 5px rgba(200,242,30,.24)}
.n12-orb.o2 i{top:auto;bottom:-5px;background:var(--gold);box-shadow:0 0 0 5px rgba(226,197,118,.24)}
@media (max-width:980px){.n12-orb{width:330px;height:330px;margin:-165px 0 0 -165px}.n12-orb.o2{width:440px;height:440px;margin:-220px 0 0 -220px}}
@media (max-width:560px){.n12-orb{width:250px;height:250px;margin:-125px 0 0 -125px}.n12-orb.o2{display:none}}
/* les trois cartes s'allument l'une apres l'autre : les chemins pour repartir */
.pg-404 .nf-c::after{content:"";position:absolute;inset:-5px;border-radius:22px;box-shadow:0 0 0 2px rgba(150,190,20,.85),0 0 0 7px rgba(200,242,30,.22);opacity:0;pointer-events:none;animation:n12ring 9s ease-out infinite}
.pg-404 .nf-c.c2::after{box-shadow:0 0 0 2px rgba(201,154,46,.85),0 0 0 7px rgba(226,197,118,.25)}
.pg-404 .nf-c.c3::after{box-shadow:0 0 0 2px rgba(36,71,127,.7),0 0 0 7px rgba(36,71,127,.12)}
.pg-404 .nf-c .ic{animation:n12ic 9s ease-in-out infinite}
.pg-404 .nf-c.c1::after,.pg-404 .nf-c.c1 .ic{animation-delay:1.4s}
.pg-404 .nf-c.c2::after,.pg-404 .nf-c.c2 .ic{animation-delay:2.4s}
.pg-404 .nf-c.c3::after,.pg-404 .nf-c.c3 .ic{animation-delay:3.4s}
@keyframes n12ring{0%{opacity:0;transform:scale(.96)}4%{opacity:1;transform:none}14%{opacity:0;transform:scale(1.05)}100%{opacity:0;transform:scale(1.05)}}
@keyframes n12ic{0%,100%{transform:none}3%{transform:scale(1.14) rotate(-6deg)}8%{transform:none}}
/* la boussole de « Page not found » : l'aiguille cherche le nord, puis s'arrete */
.pg-404 .nf-k svg path{transform-box:view-box;transform-origin:12px 12px;animation:n12cmp 7s cubic-bezier(.4,0,.2,1) .6s infinite}
@keyframes n12cmp{0%{transform:none}10%{transform:rotate(-70deg)}20%{transform:rotate(50deg)}28%{transform:rotate(-25deg)}34%{transform:rotate(10deg)}40%,100%{transform:none}}

@media (prefers-reduced-motion:reduce){.n12-lv *,.n12-lv *::before,.legal .lg-art>section::before,.n12-orb,.pg-404 .nf-c::after,.pg-404 .nf-c .ic,.pg-404 .nf-k svg path{animation:none!important}.legal .lg-art>section::before{transform:scaleX(1)}.n12-sh.s1{transform:rotate(3.2deg) translate(10px,6px)}.n12-sh.s2{transform:rotate(6.4deg) translate(20px,12px)}.n12-st{transform:rotate(-12deg)}}
