:root {
  color-scheme: dark;
  --background: #050510;
  --surface: rgba(17, 15, 39, 0.78);
  --border: rgba(167, 139, 250, 0.22);
  --text: #f7f5ff;
  --muted: #bbb5d2;
  --accent: #a78bfa;
  --accent-strong: #8b5cf6;
  --cyan: #67e8f9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, rgba(139, 92, 246, 0.2), transparent 34rem), radial-gradient(circle at 90% 20%, rgba(103, 232, 249, 0.09), transparent 28rem), var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: #d8ccff; }
a:hover { color: #fff; }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.brand { color: var(--text); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.02em; text-decoration: none; }
.top-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top-nav a { color: var(--muted); text-decoration: none; }
main { padding: 44px 0 80px; }
.breadcrumbs { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.hero { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 30px; align-items: center; padding: 52px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(145deg, rgba(27, 20, 58, 0.9), rgba(9, 8, 24, 0.88)); box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32); }
.eyebrow { color: var(--cyan); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; }
h1 { margin: 12px 0 20px; font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -0.05em; }
h2 { margin-top: 0; font-size: clamp(1.75rem, 3.4vw, 2.7rem); letter-spacing: -0.035em; }
h3 { margin-top: 0; }
.lead { color: #d8d3e7; font-size: 1.15rem; max-width: 760px; }
.hero-card { padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: rgba(5, 5, 16, 0.52); }
.hero-card strong { display: block; color: var(--accent); font-size: 1.55rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); font-weight: 750; text-decoration: none; }
.button-primary { background: linear-gradient(135deg, var(--accent-strong), #6d28d9); border-color: transparent; }
section { margin-top: 72px; }
.hero:first-of-type { margin-top: 0; }
.section-intro { color: var(--muted); max-width: 780px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.card p:last-child { margin-bottom: 0; }
.card-link { color: var(--text); font-weight: 800; text-decoration: none; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.comparison { width: 100%; border-collapse: collapse; margin-top: 28px; overflow: hidden; border-radius: 18px; }
.comparison th, .comparison td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; }
.comparison th { color: var(--accent); background: rgba(139, 92, 246, 0.1); }
details { margin-top: 12px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
summary { cursor: pointer; font-weight: 800; }
.notice { padding: 20px 22px; border-left: 3px solid var(--accent); background: rgba(139, 92, 246, 0.08); color: var(--muted); }
fieldset.card { min-width: 0; margin: 0; }
fieldset.card legend { padding: 0 8px; color: var(--text); }
select {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #0d0b20;
  font: inherit;
}
button.button { cursor: pointer; font: inherit; }
#result[hidden] { display: none; }
#result strong { color: var(--text); font-size: 1.35rem; }
.site-footer { padding: 28px 0 48px; color: var(--muted); border-top: 1px solid var(--border); }
@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .hero .actions, .top-nav, #partager { display: none; }
  main { width: 100%; padding: 0; }
  .hero, .card, details, .notice { color: #111; background: #fff; box-shadow: none; border-color: #aaa; }
  .hero { grid-template-columns: 1fr; padding: 20px; }
  .grid, .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  section { margin-top: 24px; break-inside: avoid; }
  select { color: #111; background: #fff; border-color: #777; }
  a { color: #111; }
}
@media (max-width: 780px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  main { padding-top: 24px; }
  .hero { grid-template-columns: 1fr; padding: 30px 24px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .comparison { display: block; overflow-x: auto; }
}
