:root {
  --bg: #fff;
  --bg-soft: #f9f9f8;
  --rule: rgba(20, 20, 20, .10);
  --rule-s: rgba(20, 20, 20, .06);
  --ink: #18181b;
  --ink2: #3f3f46;
  --ink3: #71717a;
  --ink4: #a1a1aa;
  --g: #1a4a2e;
  --gm: #2d6e47;
  --gt: rgba(26, 74, 46, .07);
  --gl: rgba(26, 74, 46, .20);
  --am: #92400e;
  --tbg: #f0fdf4;
  --tbr: #86efac;
  --wbg: #fffbeb;
  --wbr: #fcd34d;
  --serif: 'Lora', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --cmax: 680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g); text-underline-offset: 3px; }
a:hover { color: var(--gm); }
strong { font-weight: 500; }

#progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--g), var(--gm));
  transition: width .1s linear;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 52px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-s);
}
.tb-brand {
  display: block;
  width: 190px;
  height: 46px;
  line-height: 0;
  overflow: hidden;
  padding: 0;
  margin-left: 24px;
  border-right: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.tb-brand img {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
  object-position: left top;
  transform: translate(-12px, -72px);
}
.tb-name {
  color: var(--g);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.tb-sec {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--ink3);
  font-size: 12px;
  letter-spacing: .04em;
}
.tb-sec::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--ink4);
  border-radius: 50%;
}
.tb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 24px;
}
.tb-link {
  padding: 4px 10px;
  color: var(--ink3);
  font-size: 13px;
  text-decoration: none;
}
.tb-link:hover { color: var(--ink); }
.tb-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--g);
  border-radius: 5px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.tb-btn:hover { background: var(--gm); color: #fff !important; }

.content-area {
  width: 100%;
  max-width: 1060px;
  margin: 34px auto 48px;
  padding: 48px clamp(20px, 4vw, 56px) 80px;
  background: var(--bg);
  border-left: 0;
  border-right: 0;
  display: grid;
  grid-template-columns: minmax(0, var(--cmax)) minmax(180px, 1fr);
  gap: 0 56px;
  align-items: start;
}
.content-main {
  min-width: 0;
  max-width: var(--cmax);
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--ink4);
  font-size: 12px;
}
.breadcrumb a { color: var(--ink4); text-decoration: none; }
.breadcrumb a:hover { color: var(--g); }
.bc-sep { font-size: 10px; }
.bc-cur { color: var(--ink3); }

.doc-header { margin-bottom: 24px; }
.doc-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 3px 10px;
  background: var(--gt);
  border: 1px solid var(--gl);
  border-radius: 4px;
  color: var(--g);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.doc-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.doc-lead {
  max-width: 560px;
  color: var(--ink2);
  font-size: 18px;
  line-height: 1.74;
}
.doc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-s);
}
.doc-meta-i {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink4);
  font-size: 12px;
  font-weight: 400;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink3);
  font-size: 12px;
  font-weight: 400;
}
.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g);
  flex-shrink: 0;
}

.page-nav {
  max-width: var(--cmax);
  margin-bottom: 36px;
  padding: 18px 20px;
  border: 1px solid var(--rule-s);
  border-radius: 8px;
}
.page-nav-title {
  margin-bottom: 12px;
  color: var(--ink3);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
}
.page-nav-list {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
}
.page-nav-list a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-s);
  color: var(--ink2);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}
.page-nav-list li:last-child a { border-bottom: 0; }
.page-nav-list a:hover { color: var(--g); }

/* Navigation rapide laterale */
.page-aside {
  position: sticky;
  top: 72px;
  align-self: start;
  height: fit-content;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-aside .page-nav-title {
  margin: 0 0 10px;
  color: var(--ink4);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-aside .page-nav-list {
  display: block;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--rule-s);
  list-style: none;
}
.page-aside .page-nav-list a {
  display: block;
  margin-left: -1px;
  padding: 5px 12px;
  border: 0;
  border-left: 2px solid transparent;
  color: var(--ink4);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  transition: color .12s, border-color .12s;
}
.page-aside .page-nav-list a:hover,
.page-aside .page-nav-list a.active {
  color: var(--g);
  border-left-color: var(--g);
}
.page-aside .page-nav-list a.active { font-weight: 500; }

.sec {
  margin: 48px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--rule-s);
}
.sec.first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.sec-h {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.01em;
}
.sec p {
  margin-bottom: 12px;
  color: var(--ink2);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
}
.sec p:last-child { margin-bottom: 0; }

.callout {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 8px;
}
.callout-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.callout-body { flex: 1; min-width: 0; }
.callout-t {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.callout-p {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.68;
}
.tip { background: var(--tbg); border: 1px solid var(--tbr); }
.tip .callout-t { color: #15803d; }
.tip .callout-p { color: #166534; }
.warn { background: var(--wbg); border: 1px solid var(--wbr); }
.warn .callout-t { color: #92400e; }
.warn .callout-p { color: #78350f; }

.cg3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--rule-s);
}
.card {
  padding: 20px 22px;
  background: var(--bg);
}
.card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.card p {
  margin: 0;
  color: var(--ink2);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.steps { margin: 24px 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 24px;
  position: relative;
}
.step:not(:last-child) .sp::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}
.sp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.snum {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  flex-shrink: 0;
}
.snum span {
  color: var(--am);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
.st {
  display: block;
  margin-bottom: 12px;
  margin-left: -12px;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.sp2 {
  margin-bottom: 14px;
  color: var(--ink2);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.78;
}
.step-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin-top: 2px;
  padding: 0 13px;
  background: var(--g);
  border: 1px solid var(--g);
  border-radius: 5px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.step-action:hover {
  background: var(--gm);
  border-color: var(--gm);
  color: #fff !important;
}
.sbody { padding: 2px 0 56px; }
.step.is-active .snum,
.step.act .snum {
  background: var(--g);
  border-color: var(--g);
}
.step.is-active .snum span,
.step.act .snum span { color: #fff; }
.step.is-active .st,
.step.act .st {
  background: var(--gt);
  border-left-color: var(--g);
  color: var(--g);
}

.rt {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.rt th {
  padding: 8px 12px;
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink4);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.rt td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--rule-s);
  color: var(--ink2);
  font-weight: 300;
  line-height: 1.5;
  vertical-align: top;
}
.rt tr:last-child td { border-bottom: 0; }
.rt td strong { color: var(--ink); font-weight: 500; }
.kbd {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--ink2);
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}

.screen-wrap {
  margin: 18px 0 22px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg-soft);
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--rule-s);
}
.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.screen-dot:nth-child(1) { background: #ef4444; }
.screen-dot:nth-child(2) { background: #f59e0b; }
.screen-dot:nth-child(3) { background: #22c55e; }
.screen-label {
  margin-left: 8px;
  color: var(--ink4);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
}
.screen-body {
  padding: 12px;
  text-align: center;
}
.screen-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.screen-pair .screen-img {
  border: 1px solid var(--rule-s);
  background: #fff;
}
.screen-caption {
  padding: 0 12px 14px;
  color: var(--ink3);
  font-size: 12px;
  line-height: 1.5;
}

.faq-list { margin-top: 8px; }
.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--rule-s);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule-s); }
.faq-item h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.faq-item p {
  margin: 0;
  color: var(--ink2);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.also {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-s);
}
.also-t {
  margin-bottom: 14px;
  color: var(--ink4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.also-g {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.also-c {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--rule-s);
  border-radius: 8px;
  text-decoration: none;
}
.also-c:hover {
  background: var(--gt);
  border-color: var(--gl);
}
.also-ct {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.also-cd {
  color: var(--ink3);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 44px;
  padding: 28px clamp(20px, 4vw, 56px);
  background: var(--bg);
  border-top: 1px solid var(--rule-s);
  border-left: 0;
  border-right: 0;
}
.fn {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}
footer .fp {
  max-width: 340px;
  color: var(--ink3);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
}
.fl2 {
  display: flex;
  gap: 20px;
  padding: 0;
  list-style: none;
}
.fl2 a {
  color: var(--ink4);
  font-size: 12px;
  font-weight: 300;
  text-decoration: none;
}
.fl2 a:hover { color: var(--g); }


  /* Footer compact commun */
  footer.help-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,.58fr) minmax(145px,.58fr);gap:22px;align-items:start;width:100%;max-width:1060px;margin:30px auto 36px;padding:20px clamp(20px,4vw,56px) 0;background:var(--bg);border-top:1px solid rgba(20,20,20,.08);border-left:0;border-right:0;}
  footer.help-footer .fn,footer.help-footer .footer-nav strong,footer.help-footer .guide-help-nav strong{display:block;margin-bottom:8px;color:var(--ink);font-family:var(--sans);font-size:10px;font-weight:700;letter-spacing:.1em;line-height:1.2;text-transform:uppercase;}
  footer.help-footer .fp{max-width:380px;margin:0;color:var(--ink3);font-size:13px;font-weight:300;line-height:1.55;}
  footer.help-footer .fl2{display:block;margin:0;padding:0;list-style:none;}
  footer.help-footer .fl2 li{margin:0;}
  footer.help-footer .fl2 a{display:inline-flex;align-items:center;min-height:23px;color:var(--ink3);font-size:12.5px;font-weight:400;line-height:1.35;text-decoration:none;transition:color .12s ease,transform .12s ease;}
  footer.help-footer .fl2 a:hover{color:var(--g);transform:translateX(2px);}
  @media(max-width:720px){footer.help-footer{grid-template-columns:1fr;gap:20px;margin:22px auto 32px;padding:18px 20px 0;}}

@media (max-width: 960px) {
  .content-area { display: block; max-width: 860px; }
  .content-main { margin: 0 auto; }
  .page-aside { display: none; }
}
@media (max-width: 720px) {
  .tb-brand {
    width: 170px;
    height: 43px;
    padding: 0;
    margin-left: 18px;
  }
  .tb-brand img {
    width: 170px;
    height: 170px;
    transform: translate(-11px, -65px);
  }
  .tb-link { display: none; }
  .tb-actions { padding: 0 12px; }
  .content-area { margin: 18px auto 28px; }
  .also-g, .cg3, .help-grid, .screen-pair { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .doc-title { font-size: 24px; }
  .step { grid-template-columns: 40px 1fr; gap: 0 16px; }
}
