/* Polices hébergées sur le site (aucun appel à Google) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/bricolage-grotesque-latin-standard-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/manrope-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/manrope-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/manrope-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/manrope-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/manrope-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/manrope-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Press Start 2P'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/press-start-2p-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout : site vitrine sombre une page — barre fixe, héro en deux colonnes (texte + fenêtre du logiciel), puis sections empilées. */
:root {
  --bg: #03060b;
  --surface: #07101a;
  --surface-2: #0c1723;
  --line: #152333;
  --fg: #e6eef5;
  --muted: #7d8fa2;
  --accent: #f2b84b;
  --accent-2: #3fb6c6;
  --moon: #f2c35b;
  --teal-fonce: #1f6f7c;
  --lcd: #c4cfa1;
  --lcd-ligne: #bac596;
  --lcd-bord: #4d533c;
  --lcd-texte: #1f1f1f;
  --ok: #4fd18b;
  --on-accent: #1a1206;
  --font-display: "Bricolage Grotesque", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 14px;
  --maxw: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Barre de navigation ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.logo-mark { width: 40px; height: 34px; display: grid; place-items: center; }
.logo-mark img { width: 40px; height: auto; image-rendering: pixelated; }
.menu { display: flex; gap: 4px; margin-left: 12px; }
.menu a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 9px; transition: color .15s, background .15s; }
.menu a:hover, .menu a.actif { color: var(--fg); background: var(--surface-2); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.langue { position: relative; }
.langue-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; color: var(--fg); font: 700 13px var(--font-body); cursor: pointer; }
.langue-btn:hover { background: var(--surface-2); }
.langue-btn .chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .15s; }
.langue-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.drapeau { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.drapeau svg { width: 100%; height: 100%; display: block; }
.langue-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; list-style: none; margin: 0; padding: 6px; min-width: 170px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); }
.langue-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent;
  color: var(--fg); font: 600 14px var(--font-body); cursor: pointer; text-align: left; }
.langue-menu button:hover, .langue-menu button[aria-selected="true"] { background: var(--line); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.or-txt { color: var(--accent); }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-main { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-main:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- Héro ---------- */
.hero { position: relative; padding-block: 72px 88px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; pointer-events: none;
  background:
    radial-gradient(520px 320px at 18% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(460px 300px at 82% 40%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%);
}
.ciel { position: absolute; inset: -64px 0 0; pointer-events: none; overflow: hidden; }
.ciel i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--fg); opacity: .5; animation: scintille 3.2s ease-in-out infinite; }
@keyframes scintille { 50% { opacity: .08; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--font-mono); letter-spacing: .04em;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 6px 12px; border-radius: 999px;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); font-weight: 800; margin: 22px 0 22px; }
.hero h1 .grad { color: var(--accent); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chiffres { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; }
.chiffres div { display: grid; gap: 2px; }
.chiffres b { font: 800 26px var(--font-display); }
.chiffres span { font: 500 11px var(--font-mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* Mascotte qui dort (pixel art) */
.visuel { position: relative; min-width: 0; display: grid; justify-items: center; }
.mascotte { width: min(100%, 360px); height: auto; margin-bottom: -22px; position: relative; z-index: 2; overflow: visible; shape-rendering: crispEdges; image-rendering: pixelated; }
.mascotte .dort { animation: dort 2.4s steps(1) infinite; }
@keyframes dort { 50% { transform: translateY(1px); } }
.mascotte .z { font: 6px "Press Start 2P", var(--font-mono); fill: var(--moon); opacity: 0; animation: zzz 4.5s steps(9) infinite; }
.mascotte .z2 { animation-delay: 1.5s; font-size: 5px; }
.mascotte .z3 { animation-delay: 3s; font-size: 4px; }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(9px, -16px); } }
.mascotte { filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent-2) 30%, transparent)); }
.visuel .appli { width: 100%; }

/* Fenêtre du logiciel (aperçu) */
.appli {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent);
  transform: rotate(-1.2deg); min-width: 0;
}
.appli-barre { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.appli-barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.appli-barre span { margin-left: 8px; font: 500 12px var(--font-mono); color: var(--muted); }
.appli-corps { padding: 20px; display: grid; gap: 14px; }
.ligne-etat { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ligne-etat strong { font: 700 17px var(--font-display); }
.pastille { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--font-mono); color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: 5px 10px; border-radius: 999px; }
.pastille i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pouls 1.6s infinite; }
@keyframes pouls { 50% { opacity: .35; } }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tuile { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tuile small { display: block; font: 500 11px var(--font-mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.tuile b { font: 800 24px var(--font-display); font-variant-numeric: tabular-nums; }
.barre-prog { height: 8px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.barre-prog div { height: 100%; width: 64%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 99px; transition: width .6s; }
.journal { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 500 12px/1.75 var(--font-mono); color: var(--muted); min-height: 104px; overflow: hidden; }
.journal .t { color: var(--accent-2); }
.journal .v { color: var(--ok); }
.appli-tete { display: flex; align-items: center; gap: 12px; }
.appli-tete img { image-rendering: pixelated; width: 44px; height: auto; }
.appli-tete strong { display: block; font: 800 16px var(--font-display); color: var(--accent); letter-spacing: .02em; }
.appli-tete small { color: var(--muted); font-size: 12px; font-weight: 600; }
.appli-tete .led { margin-left: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.onglets-app { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 10px; }
.onglets-app span { text-align: center; font-size: 12px; font-weight: 700; padding: 6px; border-radius: 7px; color: var(--muted); }
.onglets-app .on { background: var(--teal-fonce); color: var(--fg); }
.lcd { display: flex; align-items: center; gap: 2px; min-height: 58px; padding: 12px 14px; border-radius: 10px; border: 3px solid var(--lcd-bord);
  background: repeating-linear-gradient(0deg, var(--lcd) 0 3px, var(--lcd-ligne) 3px 4px); color: var(--lcd-texte); font: 500 12.5px/1.4 var(--font-mono); }
.lcd b { animation: pouls 1s steps(1) infinite; }
.connexion { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ok); }
.connexion i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.tuiles-3 { grid-template-columns: repeat(3, 1fr); }
.gros-bouton { text-align: center; font: 800 16px var(--font-body); padding: 14px; border-radius: 999px; background: var(--teal-fonce); color: var(--fg); letter-spacing: .04em; }
.aide-app { text-align: center; font-size: 11.5px; color: var(--muted); }
.appli-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.appli-boutons span { text-align: center; font: 700 13px var(--font-body); padding: 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); }
.appli-boutons span:first-child { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- Sections ---------- */
section.bloc { padding-block: 96px; border-top: 1px solid var(--line); }
.entete { max-width: 640px; margin: 0 auto 52px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.sur { font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.entete h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.entete p { color: var(--muted); font-size: 17px; }

/* Fonctionnalités */
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fonction { background: var(--bg); padding: 30px 28px; display: grid; gap: 12px; align-content: start; transition: background .2s; }
.fonction:hover { background: var(--surface); }
.icone { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--accent); }
.icone svg { width: 21px; height: 21px; }
.fonction h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.fonction p { color: var(--muted); font-size: 15px; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: etape; }
.etape { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.etape::before { counter-increment: etape; content: "Step " counter(etape); font: 500 12px var(--font-mono); color: var(--accent); letter-spacing: .06em; }
.etape h3 { font-size: 21px; font-weight: 600; }
.etape p { color: var(--muted); font-size: 15px; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.note-abo { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.offre { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.offre.vedette { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface) 60%); }
.offre .ruban { position: absolute; top: -12px; left: 28px; font: 700 12px var(--font-body); color: var(--on-accent); background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.offre h3 { font-size: 22px; font-weight: 600; }
.offre .desc { color: var(--muted); font-size: 14px; margin-top: 6px; }
.prix { display: flex; align-items: baseline; gap: 6px; }
.prix b { font: 800 46px var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.prix span { color: var(--muted); font-size: 14px; }
.offre ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.offre li { display: flex; gap: 10px; font-size: 15px; }
.offre li svg { flex: none; width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.offre .btn { width: 100%; }
.garanties { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 36px; color: var(--muted); font-size: 14px; }
.garanties span { display: inline-flex; align-items: center; gap: 8px; }
.garanties svg { width: 17px; height: 17px; color: var(--accent); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font-body); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Appel final */
.final { padding-block: 40px 96px; }
.final .boite {
  position: relative; overflow: hidden; text-align: center; display: grid; gap: 18px; justify-items: center;
  padding: 64px 28px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--surface);
}
.final h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.final p { color: var(--muted); max-width: 50ch; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding-block: 32px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer .copy { color: var(--muted); font-size: 14px; }
footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer nav a:hover { color: var(--fg); }

/* Notification */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.cookies-boite { max-width: 880px; margin: 0 auto; display: flex; gap: 20px; align-items: center; padding: 18px 20px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.7); }
.cookies-texte { display: grid; gap: 6px; min-width: 0; }
.cookies-texte strong { font: 700 15px var(--font-body); }
.cookies-texte p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cookies-texte a { color: var(--accent); font-size: 13px; font-weight: 600; }
.cookies-boutons { display: flex; gap: 10px; flex: none; }
@media (max-width: 640px) { .cookies-boite { flex-direction: column; align-items: stretch; } .cookies-boutons .btn { flex: 1; } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; z-index: 80;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--fg); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.vu { opacity: 1; transform: translateX(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .appli { transform: none; max-width: 520px; }
  .visuel { justify-items: start; }
  .grille, .tarifs, .etapes { grid-template-columns: 1fr 1fr; }
  .tarifs .offre:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.ouvert { display: flex; }
  .menu a { padding: 12px; }
  .burger { display: grid; place-items: center; }
  .nav-cta .btn-ghost, .nav-cta .btn-main { display: none; }
  .nav .wrap { gap: 12px; }
  .grille, .tarifs, .etapes { grid-template-columns: 1fr; }
  section.bloc { padding-block: 72px; }
  .hero { padding-block: 48px 64px; }
  .chiffres { gap: 24px; }
  footer nav { margin-left: 0; }
}
@media (max-width: 420px) {
  .tuiles { grid-template-columns: 1fr 1fr; }
  .tuiles-3 { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tuile { padding: 10px; }
  .tuile small { font-size: 9.5px; }
  .tuile b { font-size: 19px; }
  .hero-actions .btn { width: 100%; }
}
[hidden] { display: none !important; }

/* ---------- Ajouts site Cloudflare ---------- */
.mascotte-img { width: min(100%, 360px); height: auto; margin-bottom: -22px; position: relative; z-index: 2; image-rendering: pixelated; filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent-2) 30%, transparent)); }
.lang-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font: 700 13px var(--font-body); color: var(--fg); }
.lang-link:hover { background: var(--surface-2); }
.langue-d { position: relative; }
.langue-d summary { list-style: none; cursor: pointer; }
.langue-d summary::-webkit-details-marker { display: none; }
.langue-d summary svg { color: var(--muted); transition: transform .15s; }
.langue-d[open] summary svg { transform: rotate(180deg); }
.langue-d .langue-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--fg); font: 600 14px var(--font-body); text-decoration: none; }
.langue-d .langue-menu a:hover, .langue-d .langue-menu a[aria-current] { background: var(--line); }
:lang(fr) .etape::before { content: "Étape " counter(etape); }
:lang(de) .etape::before { content: "Schritt " counter(etape); }
:lang(zh) .etape::before { content: "第 " counter(etape) " 步"; }
.tarifs-4 { grid-template-columns: repeat(4, 1fr); }
.offre.essai { border-style: dashed; }
.risque { max-width: 780px; margin: 28px auto 0; padding: 16px 20px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--muted); font-size: 14.5px; }
.risque strong { color: var(--fg); }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.carte { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.carte:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.carte h3 { font-size: 20px; font-weight: 700; }
.carte p { color: var(--muted); font-size: 15px; }
.carte .lire { color: var(--accent); font-weight: 700; font-size: 14px; }

/* Articles / guides */
.article { max-width: 760px; padding-block: 48px 96px; }
.fil { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.fil li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.fil a { color: var(--muted); }
.article h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; }
.article .chapo { font-size: 18px; color: var(--muted); margin-bottom: 12px; }
.article .maj { font: 500 12px var(--font-mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 32px; }
.article h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; margin: 48px 0 14px; scroll-margin-top: 84px; }
.article h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.article p, .article li { color: #c3cfdb; font-size: 16.5px; line-height: 1.75; }
.article p { margin: 0 0 16px; }
.article ul, .article ol.liste { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 6px; }
.article a { color: var(--accent); }
.article strong { color: var(--fg); }
.sommaire { margin: 0 0 32px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sommaire strong { display: block; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.sommaire ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.sommaire a { color: var(--fg); text-decoration: none; }
.sommaire a:hover { color: var(--accent); }
.encadre { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--accent-2); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.encadre p:last-child { margin-bottom: 0; }
.tableau { width: 100%; overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.tableau th, .tableau td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tableau th { background: var(--surface-2); font-weight: 700; color: var(--fg); }
.tableau td { color: #c3cfdb; }
.tableau tr:last-child td { border-bottom: 0; }
.cta-article { margin-top: 48px; padding: 28px; border-radius: 18px; text-align: center; display: grid; gap: 14px; justify-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: radial-gradient(400px 180px at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--surface); }
.cta-article h2 { margin: 0; }
.cta-article p { margin: 0; color: var(--muted); }
.article .faq { margin-top: 8px; }
.article .faq details p { padding: 0 24px 22px; margin: 0; }
@media (max-width: 1100px) { .tarifs-4 { grid-template-columns: 1fr 1fr; } .tarifs-4 .offre:last-child { grid-column: auto; } }
@media (max-width: 760px) { .tarifs-4 { grid-template-columns: 1fr; } .article { padding-block: 32px 72px; } }

/* Pages légales */
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-size: 40px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p { color: var(--muted); }
.legal .note { margin-bottom: 28px; padding: 12px 16px; border: 1px dashed var(--line); border-radius: 10px; }
