/* ═══════════════════════════════════════════════════════════════════════════
   Lockora — site officiel
   Design system autonome (aucune dépendance externe, aucune police distante :
   le site doit rester instantané et hébergeable tel quel chez IONOS).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Jetons de design ──────────────────────────────────────────────────── */
:root {
  /* Fonds : profondeur par superposition, pas par bordures marquées. */
  --bg:          #07080c;
  --bg-2:        #0a0c12;
  --surface:     #10121a;
  --surface-2:   #161925;
  --border:      rgba(255, 255, 255, .075);
  --border-2:    rgba(255, 255, 255, .13);

  --text:        #f2f4f8;
  --text-2:      #a8afbf;
  --text-3:      #6f7788;

  --accent:      #6366f1;
  --accent-2:    #a855f7;
  --accent-soft: rgba(99, 102, 241, .14);
  --green:       #22c55e;
  --amber:       #f59e0b;

  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --grad-text: linear-gradient(120deg, #ffffff 20%, #c7d0ff 55%, #a855f7 100%);

  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 70px -20px rgba(0,0,0,.7);

  --maxw: 1180px;
  --nav-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ─── Réinitialisation ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Les ancres ne doivent pas passer sous la barre de navigation fixe. */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

::selection { background: rgba(139, 92, 246, .35); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ─── Typographie ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.03em; font-weight: 680; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.16rem; letter-spacing: -.02em; }

.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--text-2); line-height: 1.65; }
.muted { color: var(--text-3); }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ─── Mise en page ──────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.section-head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .lead { margin-top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 18px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(99,102,241,.25);
}
.eyebrow svg { width: 14px; height: 14px; color: var(--accent-2); }

/* Icônes : sprite SVG unique (aucun emoji dans tout le produit). */
.ico { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.75; }

/* ─── Boutons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 11px;
  font-size: 14.5px; font-weight: 620; letter-spacing: -.01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s, border-color .18s, opacity .18s;
}
.btn .ico { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 16px -4px rgba(99,102,241,.6), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(139,92,246,.7), inset 0 1px 0 rgba(255,255,255,.2); }

.btn-ghost {
  background: rgba(255,255,255,.045); color: var(--text);
  border-color: var(--border-2); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }

.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ─── Barre de navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 8, 12, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 680; font-size: 17px; letter-spacing: -.03em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 3px 12px -2px rgba(99,102,241,.65), inset 0 1px 0 rgba(255,255,255,.25);
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; font-weight: 550;
  color: var(--text-2); transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.055); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 17px; font-size: 13.5px; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; color: var(--text); }
.nav-toggle:hover { background: rgba(255,255,255,.07); }

/* ─── Arrière-plans décoratifs ──────────────────────────────────────────── */
.glow {
  position: absolute; border-radius: 50%; filter: blur(110px);
  pointer-events: none; z-index: 0; opacity: .5;
}
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  /* Le quadrillage s'estompe vers les bords : décor, jamais distraction. */
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 40%, transparent 100%);
}

/* ─── Section héros ─────────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(56px, 9vw, 104px)) 0 clamp(60px, 8vw, 96px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 810px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

.hero-note {
  margin-top: 26px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .ico { width: 15px; height: 15px; color: var(--green); }

/* ─── Aperçu du produit (maquette pure HTML/CSS) ────────────────────────── */
.preview {
  margin-top: clamp(48px, 7vw, 78px); position: relative; z-index: 1;
  border-radius: var(--radius-lg); border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preview::after {
  /* Fondu bas : suggère la continuité de l'interface sans la dessiner. */
  content: ''; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.pv-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02);
}
.pv-dot { width: 11px; height: 11px; border-radius: 50%; background: #2c3040; }
.pv-url {
  margin-left: 10px; flex: 1; max-width: 320px; padding: 5px 12px; border-radius: 7px;
  background: rgba(0,0,0,.35); border: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-3); font-family: var(--mono);
  display: flex; align-items: center; gap: 7px;
}
.pv-url .ico { width: 12px; height: 12px; color: var(--green); }

.pv-body { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.pv-side { border-right: 1px solid var(--border); padding: 16px 12px; background: rgba(0,0,0,.16); }
.pv-nav { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 9px;
  font-size: 13px; color: var(--text-2); margin-bottom: 3px; }
.pv-nav.on { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.pv-nav .ico { width: 16px; height: 16px; }
.pv-sep { height: 1px; background: var(--border); margin: 12px 4px; }

.pv-main { padding: 18px 20px; }
.pv-search {
  display: flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 10px;
  background: rgba(0,0,0,.3); border: 1px solid var(--border); color: var(--text-3);
  font-size: 13px; margin-bottom: 16px;
}
.pv-search .ico { width: 15px; height: 15px; }
.pv-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: 11px; margin-bottom: 7px; border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.pv-item:hover, .pv-item.on { background: rgba(255,255,255,.04); border-color: var(--border); }
.pv-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.pv-av .ico { width: 17px; height: 17px; }
.pv-tx { min-width: 0; flex: 1; }
.pv-tx b { display: block; font-size: 13.5px; font-weight: 600; }
.pv-tx span { display: block; font-size: 12px; color: var(--text-3); }
.pv-badge {
  font-size: 10.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px;
  background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.25);
}

/* ─── Bandeau de confiance ──────────────────────────────────────────────── */
.trust { border-block: 1px solid var(--border); background: var(--bg-2); padding: 30px 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px;
}
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left; }
.trust-item .ico { width: 22px; height: 22px; color: var(--accent-2); }
.trust-item b { display: block; font-size: 13.5px; font-weight: 620; letter-spacing: -.01em; }
.trust-item span { display: block; font-size: 12px; color: var(--text-3); }

/* ─── Grilles de cartes ─────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .28s var(--ease), border-color .28s, background .28s;
  overflow: hidden;
}
.card::before {
  /* Halo qui suit le curseur — mis à jour par js/main.js. */
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(99,102,241,.12), transparent 65%);
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(99,102,241,.22);
  color: #a5b4fc; margin-bottom: 18px;
}
.card-ico .ico { width: 22px; height: 22px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: 14.5px; line-height: 1.62; }

/* ─── Section « Pourquoi » (deux colonnes) ──────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.split-list li { display: flex; gap: 15px; }
.split-list .li-ico {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(99,102,241,.22); color: #a5b4fc;
}
.split-list .li-ico .ico { width: 18px; height: 18px; }
.split-list b { display: block; font-size: 15px; font-weight: 620; margin-bottom: 3px; letter-spacing: -.015em; }
.split-list span { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Panneau technique (section Sécurité) */
.tech-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 30px; box-shadow: var(--shadow);
}
.tech-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.tech-row:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-row:first-child { padding-top: 0; }
.tech-row .k { font-size: 13.5px; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.tech-row .k .ico { width: 16px; height: 16px; color: var(--accent-2); }
.tech-row .v { font-family: var(--mono); font-size: 12.5px; color: var(--text); text-align: right; }

/* ─── Tarifs ────────────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 20px; align-items: start; }
.plan {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; height: 100%;
  transition: transform .28s var(--ease), border-color .28s;
}
.plan:hover { transform: translateY(-3px); border-color: var(--border-2); }
.plan.featured {
  border-color: rgba(139,92,246,.45);
  background: linear-gradient(180deg, rgba(99,102,241,.09), var(--surface) 45%);
  box-shadow: 0 20px 60px -28px rgba(139,92,246,.55);
}
.plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 680;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(139,92,246,.8); white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 680; letter-spacing: -.02em; margin-bottom: 5px; }
.plan-tagline { font-size: 13px; color: var(--text-3); min-height: 38px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.plan-price .amt { font-size: 2.5rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.plan-price .per { font-size: 13px; color: var(--text-3); }
.plan-limits { font-size: 12.5px; color: var(--text-3); margin-bottom: 22px; }
.plan .btn { margin-bottom: 22px; }

.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.plan-feats li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.plan-feats .ico { width: 16px; height: 16px; color: var(--green); margin-top: 2px; }
.plan-feats .inherit { color: var(--text-3); font-weight: 600; font-size: 12.5px; }
.plan-feats .inherit .ico { color: var(--text-3); }

.pricing-note { text-align: center; margin-top: 34px; font-size: 13.5px; color: var(--text-3); }

/* ─── Formulaires ───────────────────────────────────────────────────────── */
.form-card {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--accent-2); }

.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: rgba(0,0,0,.32); border: 1px solid var(--border-2); color: var(--text);
  font-size: 14.5px; transition: border-color .18s, background .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7788' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
  padding-right: 40px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(99,102,241,.65); background: rgba(0,0,0,.5);
  box-shadow: 0 0 0 3px rgba(99,102,241,.16);
}
/* L'erreur n'apparaît qu'après une tentative d'envoi (classe .validated). */
.form.validated .field input:invalid,
.form.validated .field textarea:invalid,
.form.validated .field select:invalid { border-color: rgba(239,68,68,.65); }
.err-msg { font-size: 12.5px; color: #f87171; display: none; }
.form.validated .field input:invalid ~ .err-msg,
.form.validated .field textarea:invalid ~ .err-msg,
.form.validated .field select:invalid ~ .err-msg { display: block; }

.form-foot { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .privacy { font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.form-foot .privacy .ico { width: 15px; height: 15px; color: var(--text-3); }

.form-status { margin-top: 18px; padding: 15px 17px; border-radius: 12px; font-size: 14px; display: none; gap: 11px; }
.form-status.show { display: flex; }
.form-status .ico { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.form-status.ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.form-status.ko { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
/* Honeypot : invisible pour l'humain, tentant pour un robot. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ─── Onglets Support ───────────────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.tab {
  padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 580;
  color: var(--text-2); border: 1px solid var(--border); background: var(--surface);
  transition: background .18s, color .18s, border-color .18s;
}
.tab:hover { color: var(--text); border-color: var(--border-2); }
.tab.on { background: var(--accent-soft); color: var(--text); border-color: rgba(99,102,241,.4); }

/* ─── Appel à l'action final ────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-lg); border: 1px solid rgba(139,92,246,.28);
  background: linear-gradient(150deg, rgba(99,102,241,.16), rgba(168,85,247,.09) 60%, transparent);
  padding: clamp(44px, 7vw, 72px) 28px;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { max-width: 520px; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ─── Pied de page ──────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 62px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 42px; margin-bottom: 46px; }
.foot-about p { font-size: 13.5px; color: var(--text-3); margin-top: 16px; max-width: 320px; line-height: 1.65; }
.foot-col h4 { font-size: 12.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 14px; color: var(--text-2); transition: color .16s; display: inline-flex; align-items: center; gap: 7px; }
.foot-col a:hover { color: var(--text); }
.foot-col a .ico { width: 13px; height: 13px; opacity: .65; }

.foot-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--text-2); }

/* ─── Animations d'apparition ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Pages secondaires (mentions légales) ──────────────────────────────── */
.doc { max-width: 780px; margin: 0 auto; padding: calc(var(--nav-h) + 60px) 24px 90px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 12px; }
.doc .updated { font-size: 13px; color: var(--text-3); margin-bottom: 44px; }
.doc h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.doc p, .doc li { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.doc a { color: #a5b4fc; text-decoration: underline; text-underline-offset: 3px; }
.doc .placeholder {
  border: 1px dashed rgba(245,158,11,.4); background: rgba(245,158,11,.07);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 18px;
  font-size: 14px; color: #fcd34d; display: flex; gap: 11px;
}
.doc .placeholder .ico { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* ═══ Adaptatif ═════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-side { display: none; }
}

/* Entre 880 et 1080 px, la barre complète (liens + deux boutons) dépassait la
   largeur disponible : le bouton principal se retrouvait hors écran. On retire
   d'abord l'action secondaire, qui reste accessible depuis le pied de page. */
@media (max-width: 1080px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-links a { padding: 8px 10px; }
}

@media (max-width: 880px) {
  /* Menu mobile : panneau déroulant sous la barre de navigation. */
  .nav-toggle { display: grid; place-items: center; order: 3; }
  .nav .wrap { gap: 12px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 20px 20px;
    background: rgba(7,8,12,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px; font-size: 15px; }
  .nav-cta { margin-left: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-note { gap: 14px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-about p { max-width: none; }
  .hero-cta .btn { width: 100%; }
  .card { padding: 24px; }
  .trust-item { justify-content: flex-start; }
}

/* ─── Applications & téléchargement ─────────────────────────────────────── */
.apps { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
/* Le client Windows est l'offre mise en avant : il occupe toute la largeur. */
.app-vedette { grid-column: 1 / -1; }

.app {
  display: flex; gap: 20px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.app:hover { border-color: var(--border-2); transform: translateY(-2px); }
.app-vedette { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }

.app-ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.app-ico .ico { width: 22px; height: 22px; }
.app-corps { flex: 1; min-width: 0; }
.app-corps h3 { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.app-corps > p { color: var(--text-2); font-size: 14.5px; line-height: 1.62; margin-top: 7px; }

.app-points { list-style: none; margin: 18px 0 0; display: grid; gap: 9px; }
.app-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.ico-mini { width: 15px; height: 15px; flex-shrink: 0; color: var(--green); }

.app-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.app-meta { font-size: 13px; color: var(--text-3); }

/* Empreinte : repliée par défaut, elle n'encombre pas ceux qui l'ignorent
   mais reste accessible à ceux qui vérifient ce qu'ils téléchargent. */
.app-empreinte { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.app-empreinte summary {
  cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--text-2);
  list-style: none; display: inline-flex; align-items: center; gap: 8px;
}
.app-empreinte summary::-webkit-details-marker { display: none; }
.app-empreinte summary::before {
  content: ''; width: 6px; height: 6px; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(-45deg);
  transition: transform .2s var(--ease);
}
.app-empreinte[open] summary::before { transform: rotate(45deg); }
.app-empreinte summary:hover { color: var(--text); }
.app-empreinte p { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-top: 12px; }
.app-empreinte code {
  display: block; margin-top: 10px; padding: 12px 14px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7;
  color: var(--text-2); background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  word-break: break-all;
}
.app-cmd { margin-top: 12px; }
.app-cmd code { display: inline-block; margin-top: 4px; padding: 5px 9px; font-size: 11.5px; }

@media (max-width: 860px) {
  .apps { grid-template-columns: 1fr; }
  .app { flex-direction: column; gap: 16px; padding: 24px; }
}

/* Accessibilité : respecter le réglage système de réduction des animations. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Impression : rendre le contenu lisible sur papier. */
@media print {
  .nav, .preview, .cta-band, .form-card, .glow, .grid-bg { display: none !important; }
  body { background: #fff; color: #000; }
}
