:root {
  --bg: #f6f5f2; --panel: #ffffff; --ink: #1f1e1c; --ink-2: #5d5a54; --ink-3: #8c8880;
  --line: #e0ddd6; --accent: #1d6b5f; --accent-ink: #ffffff; --accent-soft: #e2efec; --warn: #8a5a00; --warn-soft: #fbf1d9;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1b1a; --panel: #242423; --ink: #ecebe7; --ink-2: #b4b1aa; --ink-3: #85827b; --line: #34332f;
    --accent: #4fb3a2; --accent-ink: #0d1f1c; --accent-soft: #1f3632; --warn: #e0b04a; --warn-soft: #3a3020; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.hero { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; }
.hero .logo { width: 100%; max-width: 300px; justify-self: center; filter: drop-shadow(0 18px 40px rgb(0 0 0 / 0.14)); }
.badge { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); color: var(--ink); border-radius: 10px; padding: 10px 14px; margin: 0 0 24px; font-size: 15px; text-decoration: none; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.badge span { font-size: 18px; line-height: 1.3; }
.rgpd-lead { font-size: 18px; color: var(--ink-2); max-width: 760px; margin: -6px 0 22px; }
.compare { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--ink-3); font-weight: 600; }
.compare td:nth-child(2) { color: var(--accent); font-weight: 600; }
.fineprint { color: var(--ink-3); font-size: 14px; margin-top: 18px; max-width: 760px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); padding: 14px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 17px; }
.btn small { font-weight: 400; opacity: 0.85; }
.meta { color: var(--ink-3); font-size: 14px; margin-top: 10px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; margin: 0 0 22px; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
ol.steps { padding-left: 22px; margin: 0; display: grid; gap: 14px; }
ol.steps li { padding-left: 6px; }
.note { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 12px 16px; font-size: 15px; margin-top: 18px; }
table.req { border-collapse: collapse; width: 100%; max-width: 640px; }
table.req td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.req td:first-child { color: var(--ink-3); width: 38%; padding-right: 16px; }
footer { display: block; padding: 32px 16px 48px; color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero .logo { max-width: 160px; grid-row: 1; }
  }

/* Pages par métier (/pour/…) */
.crumb { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.crumb a { color: var(--ink-3); }
.pro-hero { padding: 32px 0 44px; max-width: 760px; }
.pro-hero h1 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.pro-hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 26px; }
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mail { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-size: 15px; }
.mail .head { color: var(--ink-3); font-size: 13px; margin-bottom: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.mail .head strong { color: var(--ink); }
.mail p { margin: 0 0 10px; }
.mail.draft { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.mail.draft .head { color: var(--accent); }
.check { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.src { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.disclaimer { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
ul.docs { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s; }
a.card:hover { border-color: var(--accent); }
a.card h3 { color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (max-width: 760px) { .example { grid-template-columns: 1fr; } }

/* Header: stays at the top, menu folds into a button on phones */
html { scroll-padding-top: 76px; }
header.site { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgb(0 0 0 / 0.06); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 12px 10px; border-radius: 8px; cursor: pointer; }
.drop > summary::-webkit-details-marker { display: none; }
.links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.links > a, .drop > summary { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 8px; cursor: pointer; list-style: none; }
.links > a:hover, .drop > summary:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.drop { position: relative; }
.drop > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.drop[open] > summary::after { transform: translateY(0) rotate(-135deg); }
.drop-list { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgb(0 0 0 / 0.14); display: grid; animation: pop .16s ease-out; }
.drop-list a { color: var(--ink); text-decoration: none; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.drop-list a:hover { background: var(--accent-soft); color: var(--accent); }
.links > a.lang { font-weight: 700; font-size: 13px; letter-spacing: .04em; border: 1px solid var(--line); padding: 5px 9px; margin-left: 4px; }
.btn-small { padding: 9px 16px; font-size: 15px; margin-left: 6px; }
.links > a.btn { color: var(--accent-ink); }
.links > a.btn:hover { background: var(--accent); filter: brightness(1.08); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.open .burger { background: transparent; }
.open .burger::before { transform: translateY(7px) rotate(45deg); }
.open .burger::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .js .menu-toggle { display: block; }
  html:not(.js) .bar { flex-wrap: wrap; padding: 8px 0; }
  html:not(.js) .links { flex-wrap: wrap; margin-left: 0; }
  .js header.site:not(.open) .links { display: none; }
  .js .links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: 0 16px 30px rgb(0 0 0 / 0.12); animation: pop .16s ease-out; }
  .links > a, .drop > summary { padding: 12px 10px; font-size: 17px; }
  .drop-list { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; animation: none; }
  .links > a.lang { align-self: flex-start; margin: 6px 0 0 10px; }
  .btn-small { margin: 10px 0 0; justify-content: center; }
}

/* Hero: soft shapes moving at different speeds while scrolling */
.hero-text { position: relative; z-index: 1; }
.hero .logo { position: relative; z-index: 1; will-change: transform; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; will-change: transform; }
.b1 { width: 420px; height: 420px; right: -60px; top: -40px; background: color-mix(in srgb, var(--accent) 45%, transparent); }
.b2 { width: 320px; height: 320px; left: -120px; bottom: -60px; background: color-mix(in srgb, #e0b04a 35%, transparent); }
@media (prefers-color-scheme: dark) { .blob { opacity: .35; } }
html, body { overflow-x: clip; }

/* Sections appear as they come into view (only when scripts run) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(3n+2) { transition-delay: .07s; }
.grid .reveal:nth-child(3n) { transition-delay: .14s; }
.card { transition: border-color .15s, transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(0 0 0 / 0.08); }
.section-lead { color: var(--ink-2); margin: -8px 0 20px; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .hero .logo { transform: none !important; }
  a.card:hover { transform: none; }
}

/* Screenshots of the app: framed like a window, full size on click */
.shot { margin: 0; }
.shot a { display: block; border-radius: 12px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.10); }
.shot figcaption { color: var(--ink-3); font-size: 14px; margin-top: 10px; }
.shot-wide { margin-top: 28px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; align-items: start; margin-top: 26px; }
ul.points { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--ink-2); }
@media (max-width: 760px) {
  .shots, .split { grid-template-columns: minmax(0, 1fr); }
}
