* { box-sizing: border-box; }
html { background: var(--surface-100); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 20px 16px 56px; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2 { font-family: var(--font-display); font-weight: 400; margin: 0; }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.nav img { max-width: 60%; height: auto; }
.chip { padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.chip--test { background: var(--relay-bg); color: var(--orange-ink); border: 1px solid var(--orange); }

/* Héros */
.hero { text-align: center; padding: 8px 0 32px; }
.eyebrow { margin: 0 0 14px; font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--ink-muted); }
.eyebrow strong { color: var(--orange-ink); font-weight: 400; }
h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.08; }
.grad { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 560px; margin: 18px auto 28px; font-size: 18px; color: var(--ink-muted); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--radius-pill); background: var(--gradient-brand); color: var(--ink-inverse); font-weight: 600; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--off { background: transparent; color: var(--ink-muted); border: 1px solid var(--line); cursor: default; }
.btn--off:hover { transform: none; filter: none; }
.meta { margin: 14px 0 0; color: var(--ink-muted); font-size: 14px; }

/* Capture */
.shot { margin: 0 0 24px; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-window); }

.notice { margin: 0 0 32px; padding: 12px 16px; text-align: center; border-radius: var(--radius-md); background: var(--surface-200); border: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
.notice strong { color: var(--orange-ink); }

/* Cartes d'avantages */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 36px; }
.card { padding: 20px; border-radius: var(--radius-lg); background: var(--surface-200); border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: var(--radius-md); background: var(--surface-300); font-size: 20px; }
.card h2 { font-size: 18px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.5; }

/* Panneaux ouvrables */
.panels { display: grid; gap: 10px; margin-bottom: 40px; }
details { border-radius: var(--radius-lg); background: var(--surface-200); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s ease; }
details[open] { border-color: var(--line-strong); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease; flex: none; margin-right: 4px; }
details[open] summary::after { transform: rotate(-135deg); }
summary:hover { background: var(--surface-300); }
.body { padding: 4px 20px 20px; animation: open .25s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.body p { margin: 12px 0 0; }
.muted { color: var(--ink-muted); font-size: 14px; }
.steps, .plain { margin: 8px 0 0; padding-left: 22px; }
.steps li, .plain li { margin-bottom: 8px; }
code { font-family: var(--font-mono); background: var(--surface-300); padding: 1px 6px; border-radius: var(--radius-sm); }

/* Tableau FTP / ALLSHARE */
.table { display: grid; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 10px 14px; font-size: 14.5px; border-top: 1px solid var(--line); }
.tr:first-child { border-top: 0; }
.tr.th { background: var(--surface-300); font-weight: 600; }
.tr span:nth-child(2) { color: var(--ink-muted); }
.tr .yes { color: var(--direct); font-weight: 600; }
.tr.th span:nth-child(3) { color: var(--accent); }

footer { border-top: 1px solid var(--line); padding-top: 20px; color: var(--ink-muted); font-size: 14px; text-align: center; }
footer p { margin: 0; }

@media (max-width: 560px) {
  .tr { grid-template-columns: 1fr 1fr; }
  .tr span[role="rowheader"] { grid-column: 1 / -1; font-weight: 600; }
  .tr.th span:first-child { display: none; }
  .nav img { max-width: 52%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
