/* =========================================================
   GETFORMAT — Design system "Light Minimal Premium"
   Clair, épuré, beaucoup de blanc · accent unique · ombres douces
   (toutes les classes du moteur existant sont conservées)
   ========================================================= */
:root {
  --bg:        #f7f8fb;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #f4f5f9;
  --surface-3: #eceef4;
  --glass-brd: #ebecf2;
  --glass-brd2:#e0e2ec;

  --ink:       #14162b;
  --txt:       #2b2e42;
  --txt-soft:  #5b6075;
  --txt-mute:  #9a9eb2;

  --violet:    #7c5cff;
  --indigo:    #5b5bf5;
  --cyan:      #8b5cf6;
  --accent:    #5b5bf5;
  --accent-ink:#4338ca;
  --coral:     #ff6b5e;
  --emerald:   #0fb981;
  --rose:      #e5484d;

  --grad:      linear-gradient(120deg, #5b5bf5 0%, #7c5cff 50%, #a855f7 100%);
  --grad-soft: linear-gradient(120deg, rgba(91,91,245,.10), rgba(139,92,246,.08));
  --grad-btn:  linear-gradient(135deg, #6366f1 0%, #7c5cff 48%, #9333ea 100%);
  --glow:      0 10px 30px -8px rgba(124,92,255,.55), 0 3px 10px -4px rgba(99,102,241,.4);

  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(20,22,42,.04), 0 4px 12px rgba(20,22,42,.05);
  --shadow:    0 12px 34px -14px rgba(60,60,120,.22);
  --shadow-lg: 0 30px 70px -28px rgba(40,40,100,.28);
  --ring:      0 0 0 4px rgba(91,91,245,.16);

  --maxw: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font); color: var(--txt); line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(50rem 36rem at 88% -12%, rgba(124,92,255,.08), transparent 60%),
    radial-gradient(44rem 32rem at -6% 4%, rgba(91,91,245,.06), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 760px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  --py: 12px; --px: 20px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1;
  padding: var(--py) var(--px); border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .2s, border-color .2s, color .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--primary { color: #fff; background: var(--grad-btn); background-size: 160% 160%; background-position: 0% 50%; box-shadow: var(--glow); overflow: hidden; transition: transform .18s var(--ease), box-shadow .22s var(--ease), background-position .5s var(--ease); }
.btn--primary:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(124,92,255,.62), 0 4px 12px -4px rgba(147,51,234,.4); }
/* reflet lumineux qui balaie le bouton au survol */
.btn--primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.32) 50%, transparent 68%); transform: translateX(-120%); transition: transform .65s var(--ease); pointer-events: none; }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--txt); background: var(--surface); border-color: var(--glass-brd2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }
.btn--text { color: var(--txt-soft); background: none; }
.btn--text:hover { color: var(--rose); }
.btn--lg { --py: 15px; --px: 28px; font-size: 16px; border-radius: 13px; }
.btn--sm { --py: 9px; --px: 15px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: rgba(91,91,245,.08); border: 1px solid rgba(91,91,245,.16); padding: 7px 15px; border-radius: 999px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(15,185,129,.16); }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.badge-pro { font-family: var(--display); font-weight: 800; font-size: 12px; color: #fff; background: var(--grad); padding: 5px 12px; border-radius: 999px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--glass-brd); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand__logo { width: 30px; height: 30px; display: block; transition: transform .3s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.08); }
.brand__mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 15px; }
.brand span { color: var(--accent); }
/* Badge « Beta » retiré 2026-06-27 (sortie de beta). */
/* Palettes de couleurs QR (1 clic) */
.qr-palettes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qr-pal { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(17,20,45,.12), 0 4px 10px -4px rgba(17,20,45,.3); cursor: pointer; padding: 0; transition: transform .12s; }
.qr-pal:hover { transform: scale(1.12); }
.qr-pal.is-active { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Chips « choix rapide » du type de QR */
.qr-typechips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.qr-chip { border: 1px solid var(--surface-3, #e7e9f2); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 13px; font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1; cursor: pointer; transition: border-color .12s, transform .12s; }
.qr-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.qr-chip.is-active { background: var(--grad); color: #fff; border-color: transparent; }
/* Modèles de design QR (1 clic) */
.qr-templates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qr-tpl { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--surface-3, #e7e9f2); background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 12px 5px 6px; font-family: inherit; font-weight: 600; font-size: 13px; cursor: pointer; transition: border-color .12s, transform .12s; }
.qr-tpl:hover { border-color: var(--accent); transform: translateY(-1px); }
.qr-tpl.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(124,92,255,.25); }
.qr-tpl__sw { width: 20px; height: 20px; flex: none; box-shadow: inset 0 0 0 1px rgba(17,20,45,.12); }
.qr-emojis { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.qr-emoji { width: 38px; height: 38px; display: grid; place-items: center; font-size: 19px; line-height: 1; border: 1px solid var(--surface-3, #e7e9f2); background: #fff; border-radius: 11px; cursor: pointer; padding: 0; transition: border-color .12s, transform .12s, box-shadow .12s; }
.qr-emoji:hover { border-color: var(--accent); transform: translateY(-2px); }
.qr-emoji.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(124,92,255,.28); background: var(--grad-soft); }
.qr-brands { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.qr-brand { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--surface-3, #e7e9f2); background: #fff; border-radius: 11px; cursor: pointer; padding: 0; transition: border-color .12s, transform .12s, box-shadow .12s; }
.qr-brand svg { display: block; width: 26px; height: 26px; }
.qr-brand:hover { border-color: var(--accent); transform: translateY(-2px); }
.qr-brand.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(124,92,255,.28); }
/* === Accordéons du générateur QR (Contenu / Design / Logo / Format) === */
.qr-acc { border: 1px solid var(--glass-brd); border-radius: 12px; margin-bottom: 10px; background: var(--surface); overflow: hidden; }
.qr-acc > summary { list-style: none; cursor: pointer; padding: 12px 14px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); display: flex; align-items: center; user-select: none; }
.qr-acc > summary::-webkit-details-marker { display: none; }
.qr-acc > summary::after { content: "▾"; margin-left: auto; color: var(--txt-mute); transition: transform .2s var(--ease); }
.qr-acc[open] > summary::after { transform: rotate(180deg); }
.qr-acc[open] > summary { border-bottom: 1px solid var(--glass-brd); }
.qr-acc__body { padding: 14px; display: flex; flex-direction: column; gap: 13px; }
.nav__links { display: flex; gap: 28px; font-size: 14.5px; color: var(--txt-soft); font-weight: 600; }
.nav__backdrop { display: none; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__signin { color: var(--txt-soft); font-weight: 600; font-size: 14.5px; background: none; border: 0; cursor: pointer; }
.nav__signin:hover { color: var(--ink); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* === Méga-menu « Tous les outils » === */
.nav__menu { position: relative; }
.nav__menubtn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--txt-soft); padding: 0; }
.nav__menubtn:hover, .nav__menubtn[aria-expanded="true"] { color: var(--ink); }
.nav__chev { font-size: 11px; transition: transform .2s var(--ease); }
.nav__menubtn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.megamenu { position: absolute; top: calc(100% + 16px); left: 0; width: 720px; max-width: 92vw; background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 22px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 60; }
.megamenu.is-open { opacity: 1; visibility: visible; transform: none; }
.megamenu__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px 18px; }
.megamenu__col h4 { font-family: var(--display); font-size: 12px; font-weight: 800; color: var(--ink); margin: 0 0 7px; letter-spacing: .02em; }
.megamenu__col a { display: block; padding: 5px 0; font-size: 13.5px; font-weight: 600; color: var(--txt-soft); }
.megamenu__col a:hover { color: var(--accent); }
.megamenu .mini-pro { font-size: 9px; vertical-align: 1px; }
.megamenu__all { display: inline-block; margin-top: 14px; padding-top: 13px; font-weight: 800; font-size: 13.5px; color: var(--accent-ink); border-top: 1px solid var(--glass-brd); width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; position: relative; }
.hero__head { text-align: center; max-width: 740px; margin: 0 auto 28px; }
.hero__title { font-size: clamp(38px, 6vw, 66px); margin: 22px 0 18px; letter-spacing: -.04em; }
.hero__sub { font-size: clamp(16px, 2vw, 19px); color: var(--txt-soft); max-width: 560px; margin: 0 auto; }
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__metrics { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--txt-mute); font-size: 13.5px; }
.hero__metrics b { color: var(--ink); }
.hero__metrics .sep { color: var(--glass-brd2); }

/* Bandeau formats — groupé par catégorie */
.format-chips { display: flex; flex-direction: column; gap: 9px; max-width: 720px; margin: 24px auto 0; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; justify-content: center; }
.chip-cat { font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: .03em; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 5px; margin-right: 4px; }
.chip { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; color: var(--txt-soft); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 8px; padding: 6px 10px; box-shadow: var(--shadow-sm); }
.chip--accent { color: #fff; background: var(--accent); border-color: transparent; }
.chip[data-tool] { cursor: pointer; transition: color .18s, border-color .18s, background .18s, transform .12s; }
.chip[data-tool]:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-1px); }

/* ---------- Le "portail" (carte outil + médias) ---------- */
.portal { position: relative; max-width: 940px; margin: 36px auto 0; }
.float-media { position: absolute; z-index: 1; width: 88px; opacity: .9; transition: transform .6s var(--ease), opacity .4s; pointer-events: none; filter: drop-shadow(0 14px 30px rgba(40,40,90,.16)); animation: floaty 7s ease-in-out infinite; }
.float--img   { top: -24px; left: -30px; }
.float--audio { top: 40%; right: -42px; animation-delay: -2.2s; }
.float--video { bottom: -20px; left: 9%; animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg);} 50% { transform: translateY(-12px) rotate(2deg);} }
.portal:has(.dropzone.is-drag) .float--img   { transform: translate(56px, 48px) scale(.7); opacity: .3; }
.portal:has(.dropzone.is-drag) .float--audio { transform: translate(-74px, -8px) scale(.7); opacity: .3; }
.portal:has(.dropzone.is-drag) .float--video { transform: translate(38px, -56px) scale(.7); opacity: .3; }

/* ---------- App (carte outil claire) ---------- */
.app { position: relative; z-index: 2; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--glass-brd); box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 9px; background: var(--surface-2); border-bottom: 1px solid var(--glass-brd); overflow-x: auto; scrollbar-width: thin; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--txt-soft); background: transparent; border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer; transition: background .2s var(--ease), color .2s, box-shadow .2s, transform .1s; white-space: nowrap; }
.tab:hover { color: var(--ink); background: rgba(91,91,245,.07); }
.tab.is-active { color: var(--accent-ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.tab:active { transform: scale(.97); }
.mini-pro { font-size: 9px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--grad); padding: 2px 6px; border-radius: 6px; }

.tabs-legend { text-align: center; font-size: 12.5px; color: var(--txt-mute); padding: 12px 18px 0; }
.tabs-legend b { color: var(--ink); }
.tabs-legend .mini-pro { vertical-align: middle; }
.tab[hidden] { display: none; }

/* === Recherche d'outils « Que voulez-vous faire ? » === */
.toolsearch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px 0; }
.toolsearch__ico { font-size: 16px; opacity: .7; }
.toolsearch input { flex: 1 1 240px; min-width: 0; font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--glass-brd); border-radius: 11px; padding: 11px 14px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.toolsearch input::placeholder { color: var(--txt-mute); font-weight: 500; }
.toolsearch input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--ring); }
.toolsearch__none { font-size: 13px; font-weight: 700; color: var(--accent-ink); }

/* === Recherche de la page « Tous les outils » === */
.hub-find { max-width: 520px; margin: 18px auto 0; }
.hub-find input { width: 100%; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 12px; padding: 13px 16px; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.hub-find input::placeholder { color: var(--txt-mute); font-weight: 500; }
.hub-find input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--ring); }
.hub-find__none { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); }
.panel { padding: 28px; }
.panel__hint { color: var(--txt-soft); font-size: 14px; margin-bottom: 18px; text-align: center; }

/* Dropzone */
.dropzone { display: block; position: relative; border-radius: var(--radius); padding: 50px 20px; text-align: center; cursor: pointer; transition: background .25s, transform .15s, box-shadow .3s, outline-color .25s; background: var(--surface-2); outline: 2px dashed var(--glass-brd2); outline-offset: -8px; overflow: hidden; }
.dropzone:hover, .dropzone.is-drag { outline-color: var(--accent); background: rgba(91,91,245,.05); }
.dropzone.is-drag { transform: scale(1.005); box-shadow: var(--shadow); }
.dropzone__ico { font-size: 36px; margin-bottom: 10px; filter: drop-shadow(0 8px 18px rgba(91,91,245,.25)); }
@media (prefers-reduced-motion: no-preference){
  .dropzone__ico { animation: dropFloat 2.6s var(--ease) infinite; }
  @keyframes dropFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  .dropzone:hover .dropzone__ico, .dropzone.is-drag .dropzone__ico { animation-duration: 1.1s; }
}
.dropzone__title { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); }
.dropzone__sub { color: var(--txt-soft); font-size: 14.5px; margin-top: 5px; }
.dropzone__sub .link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.dropzone__note { color: var(--txt-mute); font-size: 12.5px; margin-top: 12px; }

/* Options */
.options { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin-top: 22px; }
.options:empty { display: none; }
.opt { display: flex; flex-direction: column; gap: 6px; }
.opt label { font-size: 12.5px; font-weight: 700; color: var(--txt-soft); }
.opt select, .opt input[type="number"], .opt input[type="text"] { font-family: var(--font); font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--glass-brd2); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.opt select { -webkit-appearance: none; appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--txt-mute) 50%), linear-gradient(135deg, var(--txt-mute) 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.opt select:focus, .opt input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.opt input[type="number"] { width: 120px; }
.opt input[type="text"] { width: 210px; }
.opt input[type="file"], .qrzone input[type="file"] { font-size: 12px; color: var(--txt-soft); max-width: 220px; }
.opt input[type="file"]::file-selector-button, .qrzone input[type="file"]::file-selector-button { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--accent-ink); background: rgba(91,91,245,.1); border: 1px solid var(--glass-brd2); border-radius: 8px; padding: 6px 10px; margin-right: 8px; cursor: pointer; }
.opt--range { min-width: 230px; }
.opt input[type="range"] { width: 100%; accent-color: var(--accent); }
.opt__val { font-weight: 800; color: var(--accent-ink); }
.opt__check { flex-direction: row; align-items: center; gap: 8px; }
.opt__check input { accent-color: var(--accent); width: 17px; height: 17px; }
.opt input[type="color"] { width: 56px; height: 40px; padding: 2px; border: 1px solid var(--glass-brd2); border-radius: 10px; background: var(--surface); cursor: pointer; }

/* File list */
.filelist { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.filelist:empty { display: none; }
.fileitem { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: var(--surface-2); border: 1px solid var(--glass-brd); border-radius: 11px; font-size: 14px; }
.fileitem__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.fileitem__size { color: var(--txt-mute); font-size: 13px; }
.fileitem__rm { background: none; border: 0; color: var(--txt-mute); cursor: pointer; font-size: 18px; padding: 2px 7px; border-radius: 7px; transition: .2s; }
.fileitem__rm:hover { color: var(--rose); background: rgba(229,72,77,.1); }

/* Actions */
.actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.actions .btn--text { margin-left: auto; }

/* Progress */
.progress { margin-top: 18px; display: none; }
.progress.is-on { display: block; }
.progress__track { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress__bar { height: 100%; width: 0; border-radius: 99px; background: var(--grad); background-size: 200% 100%; transition: width .25s var(--ease); animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.progress__label { font-size: 13px; color: var(--txt-soft); margin-top: 8px; text-align: center; }
.progress__label b { color: var(--accent-ink); }

/* Results */
.results { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.results:empty { display: none; }
.result { display: flex; align-items: center; gap: 14px; padding: 13px; background: var(--surface); border: 1px solid rgba(15,185,129,.3); border-radius: 12px; box-shadow: var(--shadow-sm); }
.result__thumb { width: 50px; height: 50px; border-radius: 9px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--glass-brd); flex: 0 0 50px; display: grid; place-items: center; font-size: 22px; }
.result__info { flex: 1; min-width: 0; }
.result__name { font-weight: 700; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result__meta { font-size: 13px; color: var(--txt-soft); }
.result__save { color: var(--emerald); font-weight: 800; }
.result__save.is-neg { color: var(--txt-mute); }
.result .btn { flex: 0 0 auto; }

/* === Comparateur avant/après (TinyPNG/Squoosh) === */
.result--ba { flex-direction: column; align-items: stretch; gap: 12px; }
.ba { position: relative; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 10px; overflow: hidden; line-height: 0; user-select: none; touch-action: none; border: 1px solid var(--glass-brd); background: var(--surface-2); }
.ba__after { display: block; width: 100%; height: auto; }
.ba__before { position: absolute; top: 0; left: 0; height: 100%; width: var(--pos, 50%); overflow: hidden; }
.ba__before img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; }
.ba__divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(11,16,32,.25); transform: translateX(-1px); pointer-events: none; }
.ba__divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 9px rgba(11,16,32,.32); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; }
.ba__tag { position: absolute; top: 8px; font-family: var(--display); font-size: 11px; font-weight: 800; line-height: 1.2; padding: 3px 9px; border-radius: 999px; background: rgba(11,16,32,.66); color: #fff; pointer-events: none; }
.ba__tag--before { left: 8px; }
.ba__tag--after { right: 8px; }

/* Bannière QR (entrée vers le générateur) */
.qr-banner { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 940px; margin: 18px auto 0; text-align: left; cursor: pointer; background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; font-family: var(--font); }
.qr-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.qr-banner__ico { font-size: 26px; }
.qr-banner__txt { flex: 1; display: flex; flex-direction: column; }
.qr-banner__txt b { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 15px; }
.qr-banner__txt span { color: var(--txt-soft); font-size: 13.5px; }
.qr-banner__cta { font-family: var(--display); font-weight: 700; color: var(--accent-ink); font-size: 14px; white-space: nowrap; }

/* QR code */
.qrzone { margin-top: 8px; }
.qrzone__back { margin-bottom: 14px; padding-left: 0; }
.qrzone__grid { display: grid; grid-template-columns: 1fr 280px; gap: 26px; align-items: start; }
.qrzone__controls textarea { width: 100%; font-family: var(--font); font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--glass-brd2); border-radius: 11px; padding: 11px 12px; outline: none; resize: vertical; margin-top: 6px; }
.qrzone__controls textarea:focus { border-color: var(--accent); box-shadow: var(--ring); }
.qrzone__controls > .opt { width: 100%; }
.qrzone .opt > span { font-size: 12.5px; font-weight: 700; color: var(--txt-soft); }
.qrzone__preview { background: var(--surface-2); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 16px; display: grid; place-items: center; }
.qrzone__preview canvas { width: 100%; max-width: 248px; height: auto; border-radius: 8px; }
@media (max-width: 640px) { .qrzone__grid { grid-template-columns: 1fr; } .qrzone__preview { order: -1; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section--alt { background: var(--surface); border-top: 1px solid var(--glass-brd); border-bottom: 1px solid var(--glass-brd); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(27px,3.6vw,40px); }
.section__lead { color: var(--txt-soft); margin-top: 14px; font-size: 16.5px; }

.cards3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--glass-brd2); }
.card__ico { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--txt-soft); font-size: 14.5px; }

/* Pro showcase */
.pro-cta { text-align: center; margin-top: 42px; }
.pro-cta .price__reassure { margin-top: 14px; font-size: 13.5px; }
.card .eyebrow { margin-bottom: 8px; display: block; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; max-width: 760px; margin: 0 auto; align-items: stretch; }
.pricing--3 { grid-template-columns: repeat(3,1fr); max-width: 1040px; }
@media (max-width: 960px) { .pricing--3 { grid-template-columns: 1fr; max-width: 460px; } }
.price { position: relative; background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price--featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; font-size: 12px; padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(91,91,245,.5); }
.price__name { font-size: 19px; }
.price__amount { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 20px; }
.price__old { color: var(--txt-mute); text-decoration: line-through; font-size: 17px; }
.price__now { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--ink); letter-spacing: -.03em; }
.price__per { color: var(--txt-mute); font-size: 14px; }
.price__list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; font-size: 14.5px; color: var(--txt-soft); }
.price__list b { color: var(--ink); }
.price__list .muted { color: var(--txt-mute); }
.price .btn, .price button.btn { margin-top: auto; }
.price__reassure { text-align: center; font-size: 12.5px; color: var(--txt-mute); margin-top: 12px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq__item[open] { border-color: var(--glass-brd2); }
.faq__item summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); padding: 17px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; color: var(--accent); transition: transform .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--txt-soft); font-size: 15px; padding: 0 0 18px; }

/* Footer */
.footer { border-top: 1px solid var(--glass-brd); padding: 56px 0 30px; background: var(--surface); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer__brand p { color: var(--txt-soft); font-size: 14px; margin-top: 12px; max-width: 340px; }
.footer__social { margin-top: 10px !important; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; color: var(--txt-soft); font-weight: 700; font-size: 14px; transition: color .2s var(--ease); }
.footer__social a:hover { color: var(--ink); }
.footer__social svg { display: block; }
.footer__col h4 { font-size: 14px; margin-bottom: 14px; color: var(--ink); }
.footer__col a { display: block; color: var(--txt-soft); font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--glass-brd); color: var(--txt-mute); font-size: 13px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,22,43,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: 100%; max-width: 450px; background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 22px; padding: 36px 30px; box-shadow: var(--shadow-lg); animation: modalIn .32s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.96);} to { opacity: 1; transform: none;} }
.modal__close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--txt-mute); font-size: 28px; cursor: pointer; line-height: 1; }
.modal__close:hover { color: var(--ink); }
.modal__box h3 { font-size: 23px; margin-bottom: 12px; }
.modal__price { font-size: 16px; color: var(--txt-soft); margin-bottom: 16px; }
.modal__price .strike { text-decoration: line-through; color: var(--txt-mute); }
.modal__price b { font-family: var(--display); font-size: 30px; color: var(--ink); }
.modal__list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; font-size: 14.5px; color: var(--txt-soft); }
.modal__unlock { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--glass-brd); }
.modal__unlock > p { font-size: 13.5px; color: var(--txt-soft); margin-bottom: 10px; }
.unlock__row { display: flex; gap: 8px; }
.unlock__row input { flex: 1; font-family: var(--font); font-size: 14px; padding: 11px 12px; border: 1px solid var(--glass-brd2); border-radius: 11px; outline: none; background: var(--surface); color: var(--ink); }
.unlock__row input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.unlock__msg { font-size: 13px; margin-top: 10px; min-height: 16px; }
.unlock__msg.is-ok { color: var(--emerald); }
.unlock__msg.is-err { color: var(--rose); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 160%); z-index: 90; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform .38s var(--ease); max-width: 90vw; text-align: center; }
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Pages SEO ---------- */
.seo-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.seo-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.seo-links a { background: var(--surface); border: 1px solid var(--glass-brd); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; color: var(--txt-soft); box-shadow: var(--shadow-sm); transition: color .2s, border-color .2s, transform .2s; }
.seo-links a:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); }

/* === Grille d'outils colorée scannable (façon iLovePDF) === */
.toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.toolgrid__cat { background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 18px 18px 12px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.toolgrid__cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cat) 45%, var(--glass-brd)); }
.toolgrid__head { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.toolgrid__ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-size: 17px; background: color-mix(in srgb, var(--cat) 14%, transparent); }
.toolgrid__cat a { display: block; padding: 7px 0; font-size: 14px; font-weight: 600; color: var(--txt-soft); border-top: 1px solid color-mix(in srgb, var(--cat) 9%, var(--glass-brd)); transition: color .15s var(--ease), padding-left .15s var(--ease); }
.toolgrid__cat a:first-of-type { border-top: 0; }
.toolgrid__cat a:hover { color: var(--cat); padding-left: 5px; }

/* === Preuve « par conception » (chiffres honnêtes, structurels) === */
.proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; padding: 0; margin: 0 0 30px; }
.proof li { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.proof b { font-family: var(--display); font-weight: 800; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { font-size: 12.5px; font-weight: 600; color: var(--txt-soft); text-transform: uppercase; letter-spacing: .04em; }

/* === Bloc Gratuit vs Pro === */
.freepro { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.freepro__col { background: var(--surface); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.freepro__col--pro { border-color: transparent; box-shadow: var(--glow); position: relative; }
.freepro__col--pro::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.freepro__head { margin-bottom: 14px; }
.freepro__tag { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 14.5px; padding: 6px 14px; border-radius: 999px; }
.freepro__tag--free { background: rgba(15,185,129,.12); color: var(--emerald); }
.freepro__tag--pro { background: var(--grad); color: #fff; }
.freepro__list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.freepro__list li { font-size: 14px; color: var(--txt-soft); line-height: 1.45; }
.freepro__list--pro li { color: var(--ink); }
.freepro__col .btn { margin-top: auto; }
.freepro__reassure { text-align: center; margin-top: 18px; }
@media (max-width: 640px) { .freepro { grid-template-columns: 1fr; } }
.seo-prose { max-width: 720px; margin: 0 auto; }
.seo-prose p { color: var(--txt-soft); margin-bottom: 14px; }
.breadcrumb { max-width: 720px; margin: 0 auto 18px; font-size: 13px; color: var(--txt-mute); }
.breadcrumb a { color: var(--accent); }

/* ---------- Pages légales ---------- */
.legal__bar { border-bottom: 1px solid var(--glass-brd); background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.legal__barinner { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; }
.legal { padding: 50px 22px 80px; }
.legal h1 { font-size: clamp(28px,4vw,40px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; color: var(--ink); }
.legal p { color: var(--txt-soft); margin-bottom: 12px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal__upd { color: var(--txt-mute); font-size: 13.5px; margin-bottom: 24px; }
.legal__highlight { background: rgba(15,185,129,.07); border: 1px solid rgba(15,185,129,.25); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 24px; color: var(--ink); font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards3 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .float-media { display: none; }
}
@media (max-width: 640px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(80vw,300px); flex-direction: column; gap: 4px; padding: 90px 26px; background: var(--surface); border-left: 1px solid var(--glass-brd); transform: translateX(100%); transition: transform .35s var(--ease); z-index: 56; }
  .nav__links.is-open { transform: none; box-shadow: -24px 0 60px rgba(40,40,90,.14); }
  .nav__burger { display: flex; z-index: 57; }
  .nav__backdrop { display: block; position: fixed; inset: 0; background: rgba(15,16,30,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; z-index: 54; }
  .nav__backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  /* Menu ouvert : hisser l'en-tête (et donc le tiroir) AU-DESSUS du fond assombri,
     et retirer le backdrop-filter qui piégeait le tiroir fixe quand la page est scrollée. */
  body.nav-open .nav { z-index: 60; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__right .btn, .nav__signin { display: none; }
  .nav__menu { width: 100%; }
  .nav__menubtn { width: 100%; justify-content: space-between; padding: 14px 2px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--glass-brd); }
  .nav__links > a { font-size: 16px; color: var(--ink); font-weight: 700; padding: 14px 2px; border-bottom: 1px solid var(--glass-brd); }
  .nav__links > a:last-child { border-bottom: 0; }
  .megamenu { position: static; width: auto; max-width: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; opacity: 1; transform: none; transition: none; visibility: hidden; max-height: 0; overflow: hidden; }
  .megamenu.is-open { visibility: visible; max-height: 1200px; padding: 4px 0 10px; }
  .megamenu__grid { grid-template-columns: 1fr 1fr; gap: 2px 14px; }
  .megamenu__col h4 { margin: 8px 0 3px; }
  .megamenu__col a { padding: 4px 0; font-size: 13px; }
  .megamenu__all { margin-top: 8px; padding-top: 8px; }
  .section { padding: 60px 0; }
  .panel { padding: 18px; }
  .dropzone { padding: 40px 16px; }
  .footer__inner { grid-template-columns: 1fr; }
  .result { flex-wrap: wrap; }
  .result .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count: 1 !important; transition-duration:.001ms!important; }
  .float-media { animation: none; }
}

/* === Fil d'Ariane (breadcrumbs) + pages SEO / guides === */
.crumbs{max-width:var(--maxw);margin:0 auto;padding:16px 24px 0;font-size:.86rem}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.45rem;margin:0;padding:0}
.crumbs li{display:flex;align-items:center;gap:.45rem}
.crumbs li+li::before{content:"›";color:var(--txt-mute)}
.crumbs a{color:var(--txt-soft);text-decoration:none}
.crumbs a:hover{color:var(--accent)}
.crumbs [aria-current]{color:var(--ink);font-weight:600}
.article{max-width:760px;margin:0 auto;padding:8px 24px 48px;line-height:1.72;color:var(--txt)}
.article h2{margin:1.8em 0 .5em;font-family:'Plus Jakarta Sans',sans-serif}
.article h3{margin:1.4em 0 .4em;font-family:'Plus Jakarta Sans',sans-serif}
.article p,.article li{color:var(--txt-soft)}
.article ul,.article ol{padding-left:1.25rem}
.article .lead{font-size:1.12rem;color:var(--txt)}
.article table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.95rem}
.article th,.article td{border:1px solid var(--glass-brd2);padding:.6rem .7rem;text-align:left}
.article th{background:var(--surface-2);color:var(--ink)}
.tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;max-width:var(--maxw);margin:0 auto;padding:0 24px}
.tool-card{display:block;background:var(--surface);border:1px solid var(--glass-brd);border-radius:var(--radius);padding:18px 20px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow-sm);transition:transform .15s,box-shadow .15s}
.tool-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.tool-card b{display:block;margin-bottom:.25rem}
.tool-card span{color:var(--txt-soft);font-size:.9rem}

/* === Deux univers : CTAs du hero + section QR indépendante === */
.hero__cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:26px}
.hero__pricelink{margin-top:15px;font-size:14px}
.hero__pricelink a{display:inline-block;font-family:var(--display);font-weight:700;color:var(--accent-ink);background:rgba(124,92,255,.08);border:1px solid rgba(124,92,255,.2);padding:8px 17px;border-radius:999px;transition:background .2s,border-color .2s,transform .2s}
.hero__pricelink a:hover{background:rgba(124,92,255,.14);border-color:var(--accent);transform:translateY(-1px)}
.section__head--sub{margin-top:56px}
.qr-universe{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:start;max-width:var(--maxw);margin:0 auto}
@media (max-width:860px){.qr-universe{grid-template-columns:1fr}}
.qr-card{background:var(--surface);border:1px solid var(--glass-brd);border-radius:var(--radius-lg);padding:24px;box-shadow:var(--shadow-sm)}
.qr-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.qr-card__head h3{font-family:var(--display);font-weight:800;color:var(--ink);font-size:18px;margin:0}
.qr-card--pro{background:linear-gradient(160deg,#faf8ff,#ffffff);border-color:var(--glass-brd2);display:flex;flex-direction:column}
.qr-card--pro p{color:var(--txt-soft);margin:0 0 14px}
.qr-dyn__list{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-direction:column;gap:10px}
.qr-dyn__list li{position:relative;padding-left:26px;color:var(--txt);font-size:14.5px}
.qr-dyn__list li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:800}
.qr-card--pro .btn{margin-top:auto}
.badge-free{font-family:var(--display);font-weight:700;font-size:12px;color:var(--emerald);background:rgba(15,185,129,.12);border:1px solid rgba(15,185,129,.25);border-radius:999px;padding:3px 10px}
.qrzone__note{margin-top:14px;font-size:12.5px;color:var(--txt-mute);line-height:1.5}
.dyn-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:6px 0}
.dyn-stat{background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:12px;padding:12px 14px;text-align:center}
.dyn-stat b{display:block;font-family:var(--display);font-weight:800;font-size:20px;color:var(--txt-mute)}
.dyn-stat span{font-size:12px;color:var(--txt-soft)}
/* QR en masse */
.bulk-steps{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:14px;color:var(--txt-soft);line-height:1.6}
.bulk-steps code{font-size:12px;background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:6px;padding:2px 6px}
.bulk-drop{display:inline-block;margin-top:8px;cursor:pointer;background:var(--surface-2);border:1px dashed var(--glass-brd2);border-radius:12px;padding:12px 18px;color:var(--accent-ink);font-weight:700;font-family:var(--display)}
.bulk-drop:hover{border-color:var(--accent)}
.bulk-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}
.bulk-table-wrap{overflow:auto;border:1px solid var(--glass-brd);border-radius:12px;margin-top:12px}
.bulk-table{width:100%;border-collapse:collapse;font-size:13.5px}
.bulk-table th,.bulk-table td{padding:8px 10px;border-bottom:1px solid var(--glass-brd);text-align:left;white-space:nowrap}
.bulk-table th{background:var(--surface-2);color:var(--ink);position:sticky;top:0}
.bulk-url{max-width:280px;overflow:hidden;text-overflow:ellipsis}
.bulk-ok{color:var(--emerald);font-weight:700}
.bulk-dup{color:var(--coral);font-weight:700}
.bulk-err{color:var(--rose);font-weight:700}
.bulk-errors{margin-top:14px;background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:12px;padding:10px 14px;font-size:13px;color:var(--txt-soft)}
.bulk-errors summary{cursor:pointer;font-weight:700;color:var(--ink)}
/* Éditeur de menu restaurant */
.menu-editor{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start;max-width:var(--maxw);margin:0 auto}
@media (max-width:900px){.menu-editor{grid-template-columns:1fr}}
.menu-cat{background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:14px;padding:14px;margin-bottom:14px}
.menu-cat__head{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.menu-cat__name{flex:1;font-family:var(--display);font-weight:700;font-size:15px;color:var(--ink);background:var(--surface);border:1px solid var(--glass-brd2);border-radius:10px;padding:8px 10px}
.menu-items{display:flex;flex-direction:column;gap:8px}
.menu-item{display:grid;grid-template-columns:1fr 90px auto;grid-template-areas:"name price x" "desc desc desc";gap:6px}
.menu-item input{font-size:13.5px;color:var(--ink);background:var(--surface);border:1px solid var(--glass-brd2);border-radius:9px;padding:7px 9px}
.menu-item input:focus{border-color:var(--accent);outline:none}
.menu-item input:nth-child(1){grid-area:name}
.menu-item__price{grid-area:price;text-align:right}
.menu-item__desc{grid-area:desc}
.menu-x{grid-area:x;cursor:pointer;border:1px solid var(--glass-brd2);background:var(--surface);color:var(--rose);border-radius:9px;width:32px;font-size:18px;line-height:1}
.menu-x:hover{background:rgba(229,72,77,.08)}
.menu-preview-wrap{position:sticky;top:90px}
.phone{margin:12px auto 0;width:300px;max-width:100%;background:#0b1020;border-radius:34px;padding:12px;box-shadow:var(--shadow-lg)}
.phone__screen{background:var(--bg);border-radius:24px;overflow:hidden auto;max-height:560px;font-size:14px}
.mp-head{background:var(--grad);color:#fff;padding:24px 18px;text-align:center}
.mp-logo{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.2);display:grid;place-items:center;margin:0 auto 10px;font-family:var(--display);font-weight:800;font-size:22px}
.mp-head h3{font-family:var(--display);font-weight:800;font-size:18px;margin:0}
.mp-head p{margin:4px 0 0;font-size:12.5px;opacity:.92}
.mp-meta{font-size:12px!important}
.mp-body{padding:14px 16px}
.mp-cat{margin-bottom:18px}
.mp-cat h4{font-family:var(--display);font-weight:800;color:var(--ink);font-size:15px;margin:0 0 8px;border-bottom:2px solid var(--surface-3);padding-bottom:5px}
.mp-item{padding:7px 0;border-bottom:1px dashed var(--glass-brd)}
.mp-item__top{display:flex;justify-content:space-between;gap:10px}
.mp-item__name{font-weight:600;color:var(--ink)}
.mp-item__price{color:var(--accent-ink);font-weight:700;white-space:nowrap}
.mp-item__desc{margin:2px 0 0;font-size:12.5px;color:var(--txt-soft)}
.mp-foot{text-align:center;font-size:11px;color:var(--txt-mute);padding:14px}
/* Menu — thèmes premium (classic = défaut, aucune surcharge) */
.mp--ardoise{background:#13151d}
.mp--ardoise .mp-head{background:linear-gradient(160deg,#262a36,#13151d)}
.mp--ardoise .mp-cat h4{color:#fff;border-bottom-color:rgba(255,255,255,.16)}
.mp--ardoise .mp-item__name{color:#eef0f6}
.mp--ardoise .mp-item__price{color:#ffd27a}
.mp--ardoise .mp-item__desc{color:#9aa1b4}
.mp--ardoise .mp-item{border-bottom-color:rgba(255,255,255,.1)}
.mp--ardoise .mp-foot{color:#7e879c}
.mp--bistro{background:#fbf4e9}
.mp--bistro .mp-head{background:linear-gradient(160deg,#7a4a24,#9c6b34);color:#fff}
.mp--bistro .mp-cat h4{color:#6b3f1d;border-bottom-color:#e3c9a6;font-style:italic}
.mp--bistro .mp-item__name{color:#3f2a16}
.mp--bistro .mp-item__price{color:#a85d22}
.mp--bistro .mp-item__desc{color:#7c6650}
.mp--bistro .mp-item{border-bottom-color:#e7d6bd}
.mp--bistro .mp-foot{color:#9c8467}
.mp--elegant{background:#fff}
.mp--elegant .mp-head{background:#111;color:#fff}
.mp--elegant .mp-cat h4{color:#111;border-bottom-color:#111;letter-spacing:.06em;text-transform:uppercase;font-size:13px}
.mp--elegant .mp-item__name{color:#1a1a1a}
.mp--elegant .mp-item__price{color:#a88a2d}
.mp--elegant .mp-item__desc{color:#777}
.mp--elegant .mp-item{border-bottom-color:#eee}
.mp--elegant .mp-foot{color:#aaa}
/* Tableau de bord */
.dash-top{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:var(--maxw);margin:0 auto 22px}
@media (max-width:640px){.dash-top{grid-template-columns:repeat(2,1fr)}}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;max-width:var(--maxw);margin:0 auto}
.dash-item{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:12px;padding:12px 14px;margin-bottom:12px}
.dash-item b{display:block;color:var(--ink)}
.dash-item span{display:block;font-size:12.5px;color:var(--txt-soft);max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.badge-draft{font-family:var(--display);font-weight:700;font-size:11px;color:var(--coral);background:rgba(255,107,94,.12);border:1px solid rgba(255,107,94,.25);border-radius:999px;padding:3px 9px;white-space:nowrap}
/* Auth */
.auth-tabs{display:flex;gap:6px;background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:12px;padding:4px}
.auth-tab{flex:1;border:none;background:transparent;font-family:var(--display);font-weight:700;font-size:14px;color:var(--txt-soft);padding:9px;border-radius:9px;cursor:pointer}
.auth-tab.is-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}
.auth-msg{margin:12px 0 0;font-size:13.5px;border-radius:10px;padding:10px 12px}
.auth-msg.is-ok{background:rgba(15,185,129,.1);color:#0a7d57;border:1px solid rgba(15,185,129,.25)}
.auth-msg.is-err{background:rgba(229,72,77,.1);color:#b3262b;border:1px solid rgba(229,72,77,.25)}
.dash-actions{display:flex;gap:12px;margin-top:6px}
.lnk{background:none;border:none;padding:0;cursor:pointer;font-family:var(--font);font-size:12.5px;font-weight:600;color:var(--accent-ink)}
.lnk:hover{text-decoration:underline}
.lnk--danger{color:var(--rose)}
/* Stats de scan */
.stats-h{font-family:var(--display);font-weight:700;font-size:13px;color:var(--ink);margin:14px 0 8px}
.stats-bars{display:flex;align-items:flex-end;gap:2px;height:72px;background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:10px;padding:8px}
.stats-bar{flex:1;min-width:0;background:var(--grad);border-radius:3px 3px 0 0;opacity:.85}
.stats-bar:hover{opacity:1}
.stats-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:6px}
@media(max-width:520px){.stats-cols{grid-template-columns:1fr}}
.bd{display:flex;align-items:center;gap:8px;font-size:12.5px;margin:5px 0}
.bd__k{width:84px;color:var(--txt);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bd__bar{flex:1;height:7px;background:var(--surface-3);border-radius:99px;overflow:hidden}
.bd__bar i{display:block;height:100%;background:var(--grad)}
.bd__v{width:28px;text-align:right;color:var(--txt-soft);font-weight:700}

/* ===== Outils navigateur (EXIF, favicon, compression cible) ===== */
.tool-zone{border:2px dashed var(--glass-brd);border-radius:18px;padding:34px 18px;text-align:center;background:var(--surface-2);cursor:pointer;transition:border-color .15s,background .15s}
.tool-zone:hover,.tool-zone.is-over{border-color:#5b5bf5;background:#f3f3ff}
.tool-zone input{display:none}
.tool-zone__ico{font-size:2.2rem}
.tool-zone__hint{color:var(--txt-soft);font-size:.92rem;margin-top:6px}
.mt-item{border:1px solid var(--glass-brd);border-radius:14px;padding:14px 16px;margin-top:12px;background:#fff}
.mt-head{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.95rem}
.mt-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt-head span{color:var(--txt-mute);white-space:nowrap}
.mt-found{font-weight:700;color:var(--ink);margin:10px 0 4px;font-size:.9rem}
.mt-list{list-style:none;padding:0;margin:0 0 12px;font-size:.9rem}
.mt-list li{padding:3px 0;border-bottom:1px dashed var(--glass-brd)}
.mt-list b{color:var(--txt-soft);font-weight:600;margin-right:6px}
.mt-gps{color:#c0392b!important}
.mt-warn{color:#c0392b;font-weight:700;font-size:.9rem;margin:8px 0}
.mt-ok{color:#1f9d57;font-weight:600;font-size:.92rem;margin:8px 0 12px}
.fav-grid{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:16px 0}
.fav-cell{text-align:center;font-size:.78rem;color:var(--txt-mute)}
.fav-cell canvas{display:block;margin:0 auto 5px;border:1px solid var(--glass-brd);border-radius:8px;image-rendering:auto}
.cmp-row{display:flex;gap:18px;flex-wrap:wrap;align-items:center;justify-content:center;margin:14px 0}
.cmp-stat{text-align:center}
.cmp-stat b{display:block;font-family:var(--display);font-size:1.5rem;color:var(--ink)}
.cmp-stat span{font-size:.82rem;color:var(--txt-mute)}
.cmp-arrow{font-size:1.4rem;color:var(--accent-ink)}
.cmp-save{color:#1f9d57;font-weight:700}
.op-grid{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin:18px 0}
.op-page{width:150px;border:1px solid var(--glass-brd);border-radius:12px;padding:8px;background:#fff;text-align:center;transition:opacity .15s}
.op-page--del{opacity:.4}
.op-thumb{height:150px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--surface-2);border-radius:8px}
.op-thumb canvas{max-width:130px;max-height:140px;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.op-pnum{font-size:.82rem;color:var(--txt-mute);margin:6px 0 4px}
.op-acts{display:flex;justify-content:center;gap:4px}
.op-b{border:1px solid var(--glass-brd);background:var(--surface-2);border-radius:7px;width:30px;height:30px;cursor:pointer;font-size:14px;line-height:1}
.op-b:hover{border-color:#5b5bf5;background:#f3f3ff}
.op-b--del:hover{border-color:#c0392b;background:#fdecea}
.sig-pad{width:100%;max-width:420px;height:160px;border:2px dashed var(--glass-brd);border-radius:12px;background:#fff;touch-action:none;cursor:crosshair;display:block;margin:0 auto}
/* Cadre de signature déplaçable + redimensionnable sur l'aperçu PDF */
.sig-ov{position:absolute;cursor:move;border:1.5px dashed var(--accent);border-radius:4px;box-sizing:border-box;touch-action:none}
.sig-ov img{width:100%;height:100%;display:block;pointer-events:none;-webkit-user-drag:none}
.sig-ov__handle{position:absolute;right:-9px;bottom:-9px;width:18px;height:18px;border-radius:50%;background:var(--accent);border:2px solid #fff;cursor:nwse-resize;box-shadow:0 2px 6px rgba(11,16,32,.35);touch-action:none}
.bio-wrap{min-height:100%;padding:38px 22px 26px;text-align:center;display:flex;flex-direction:column;align-items:center}
.bio-av{width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.65);display:grid;place-items:center;font-size:42px;box-shadow:0 6px 20px rgba(15,23,42,.12);margin-bottom:14px}
.bio-av--ph{opacity:.7}
.bio-av-img{width:88px;height:88px;border-radius:50%;object-fit:cover;box-shadow:0 6px 20px rgba(15,23,42,.18);margin-bottom:14px;border:3px solid rgba(255,255,255,.7)}
/* `color:inherit` est indispensable : la règle globale `h1,h2,h3,h4` (l.62) fixe
   `color:var(--ink)`, une encre sombre. Sans cette surcharge, le nom de la page
   reste sombre sur les quatre thèmes à fond noir (Sombre, Or, Néon, et tout fond
   personnalisé foncé) — donc illisible. Constaté en production sur un thème Or. */
.bio-name{font-family:var(--display);font-weight:800;font-size:22px;margin:0 0 4px;color:inherit}
.bio-tag{font-size:14px;opacity:.85;margin:0 0 22px;max-width:30rem}
.bio-links{display:flex;flex-direction:column;gap:12px;width:100%;max-width:30rem}
.bio-link{display:flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:14px;font-weight:700;text-decoration:none;box-shadow:0 4px 14px rgba(15,23,42,.10);transition:transform .12s,box-shadow .12s}
.bio-link:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(15,23,42,.16)}
.bio-foot{margin-top:auto;padding-top:26px;font-size:11px;opacity:.6}
.bio-public{max-width:480px;margin:0 auto;min-height:100vh;box-shadow:0 0 40px rgba(15,23,42,.06)}
/* link-in-bio premium : vignettes images sur boutons */
.bio-link__label{display:block}
.bio-link--thumb{position:relative;padding-left:54px;padding-right:54px;text-align:center}
.bio-link__thumb{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:8px;object-fit:cover}
.bio-link--cover{min-height:90px;display:flex;align-items:center;justify-content:center;background-size:cover;background-position:center;color:#fff;font-size:16px;text-shadow:0 1px 8px rgba(0,0,0,.55);box-shadow:0 8px 22px rgba(15,23,42,.20)}
.bio-link--cover .bio-link__label{display:block;padding:0 16px}
.bio-link-mode{font-size:12px;font-weight:700;color:var(--ink);background:var(--surface);border:1px solid var(--glass-brd2);border-radius:8px;padding:4px 6px}
.bio-link:active{transform:translateY(1px) scale(.99)}
/* animations d'entrée des boutons (ludique) */
.bio-anim-fade .bio-link,.bio-anim-rise .bio-link,.bio-anim-pop .bio-link{opacity:0;animation-duration:.5s;animation-fill-mode:forwards}
.bio-anim-fade .bio-link{animation-name:bioFade}
.bio-anim-rise .bio-link{animation-name:bioRise}
.bio-anim-pop .bio-link{animation-name:bioPop}
.bio-links .bio-link:nth-child(2){animation-delay:.06s}
.bio-links .bio-link:nth-child(3){animation-delay:.12s}
.bio-links .bio-link:nth-child(4){animation-delay:.18s}
.bio-links .bio-link:nth-child(5){animation-delay:.24s}
.bio-links .bio-link:nth-child(6){animation-delay:.3s}
.bio-links .bio-link:nth-child(n+7){animation-delay:.36s}
@keyframes bioFade{to{opacity:1}}
@keyframes bioRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes bioPop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
/* éditeur : lignes de liens avec vignette */
.bio-lrow{background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:12px;padding:8px;margin-bottom:8px}
.bio-lrow__main{display:flex;gap:6px;align-items:center}
.bio-lrow__main input{flex:1;min-width:0;font-size:13.5px;color:var(--ink);background:var(--surface);border:1px solid var(--glass-brd2);border-radius:8px;padding:7px 9px}
.bio-lrow__main input:focus{border-color:var(--accent);outline:none}
.bio-lrow__extra{display:flex;gap:8px;align-items:center;margin-top:6px;flex-wrap:wrap}
.bio-imgpick{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--accent-ink);background:rgba(91,91,245,.1);border:1px solid var(--glass-brd2);border-radius:8px;padding:5px 9px;cursor:pointer}
.bio-lthumb{width:20px;height:20px;border-radius:5px;object-fit:cover}
/* bloc QR personnalisable sur la page */
.bio-qrblock{margin:18px 0 4px;display:flex;justify-content:center;width:100%}
.bio-qrblock--left{justify-content:flex-start}
.bio-qrblock--right{justify-content:flex-end}
.bio-qrblock__cv{border-radius:12px;background:#fff;padding:8px;box-shadow:0 6px 20px rgba(15,23,42,.14);max-width:80%;height:auto}
/* éditeur : en-tête de ligne (numéro / réordonner / supprimer) + taille */
.bio-lrow__head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.bio-lrow__num{font-size:12px;font-weight:800;color:var(--txt-mute)}
.bio-lrow__move{display:inline-flex;gap:4px;margin-left:auto}
.bio-mv{width:26px;height:26px;border:1px solid var(--glass-brd2);background:var(--surface);color:var(--ink);border-radius:7px;font-size:14px;line-height:1;cursor:pointer}
.bio-mv:disabled{opacity:.35;cursor:default}
.bio-link-shape,.bio-link-mode{font-size:12px;font-weight:700;color:var(--ink);background:var(--surface);border:1px solid var(--glass-brd2);border-radius:8px;padding:4px 6px}
.bio-size{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:var(--txt-soft)}
.bio-size input[type=range]{width:84px}
/* bouton de partage + feuille QR de la page publique */
.bio-share-btn{position:fixed;right:18px;bottom:18px;z-index:60;width:52px;height:52px;border-radius:50%;border:0;background:linear-gradient(135deg,#5b5bf5,#8b5cf6);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 26px rgba(91,91,245,.5);transition:transform .15s}
.bio-share-btn:hover{transform:translateY(-2px) scale(1.05)}
.bio-sheet{position:fixed;inset:0;z-index:70;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(8,9,18,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.bio-sheet.is-open{display:flex}
.bio-sheet__panel{position:relative;background:#fff;color:#0b1020;border-radius:20px;padding:24px 22px;max-width:340px;width:100%;text-align:center;box-shadow:0 24px 70px rgba(8,9,18,.4)}
.bio-sheet__close{position:absolute;top:10px;right:14px;border:0;background:transparent;font-size:26px;line-height:1;color:#94a3b8;cursor:pointer}
.bio-sheet__title{font-family:var(--display);font-weight:800;font-size:18px;margin:2px 0 16px}
.bio-sheet__qr{display:grid;place-items:center;margin-bottom:14px}
.bio-sheet__qr canvas{width:200px;height:200px;border-radius:12px;border:1px solid #eef0f5}
.bio-sheet__url{font-size:12.5px;color:#64748b;word-break:break-all;margin:0 0 16px}
.bio-sheet__btns{display:flex;flex-direction:column;gap:10px}
.bio-sheet__act{border:1px solid #e2e8f0;background:#f8fafc;color:#0b1020;font-weight:700;font-size:14px;padding:12px;border-radius:12px;cursor:pointer}
.bio-sheet__act--primary{border:0;background:linear-gradient(135deg,#5b5bf5,#8b5cf6);color:#fff}
.bio-sheet__tip{margin:12px 0 0;font-size:13px;font-weight:700;color:#0fb981}
.bg-canvas-wrap{text-align:center;margin:14px 0;overflow:auto}
#bgCanvas{max-width:100%;max-height:480px;border:1px solid var(--glass-brd);border-radius:12px}

/* ===== Hero dynamique (machine à écrire + dégradé animé + fondu) ===== */
#heroWord{background-size:220% auto;white-space:nowrap}
.caret{display:inline-block;width:.07em;min-width:3px;height:1.02em;background:#8b5cf6;margin-left:.07em;vertical-align:-.12em;border-radius:2px}
@media (prefers-reduced-motion: no-preference){
  #heroWord{animation:gradShift 7s linear infinite}
  @keyframes gradShift{to{background-position:220% center}}
  .caret{animation:caretBlink 1s steps(1) infinite}
  @keyframes caretBlink{50%{opacity:0}}
  .hero__head{animation:heroUp .7s cubic-bezier(.2,.7,.2,1) both}
  @keyframes heroUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  .hero__head .pill{animation:heroUp .7s cubic-bezier(.2,.7,.2,1) both;animation-delay:.05s}
  .hero__head .hero__cta{animation:heroUp .7s cubic-bezier(.2,.7,.2,1) both;animation-delay:.15s}
}

/* ===== Hero 3D premium (mesh gradient + aura animée + verre + parallaxe) ===== */
.hero{overflow:hidden;background:radial-gradient(1200px 520px at 50% -120px,#e9eaff 0%,#eef0fb 38%,var(--bg) 72%)}
.hero::before,.hero::after{content:'';position:absolute;z-index:0;border-radius:50%;filter:blur(70px);pointer-events:none}
.hero::before{width:700px;height:700px;top:-230px;left:-150px;background:radial-gradient(circle,rgba(91,91,245,.45),transparent 66%)}
.hero::after{width:620px;height:620px;top:-90px;right:-170px;background:radial-gradient(circle,rgba(139,92,246,.42),transparent 66%)}
.hero>.container{position:relative;z-index:1}
/* 3e tache de couleur (mesh) pour un fond plus riche */
.hero .hero__head::after{content:'';position:absolute;z-index:-1;width:360px;height:360px;left:50%;top:120px;transform:translateX(-50%);border-radius:50%;filter:blur(80px);background:radial-gradient(circle,rgba(99,102,241,.28),transparent 70%);pointer-events:none}
.hero__head{position:relative}
.portal{perspective:1500px}
.app{transition:transform .25s cubic-bezier(.2,.7,.2,1);will-change:transform}
.app::after{content:'';position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;box-shadow:0 40px 90px -30px rgba(91,91,245,.45)}
.float-media{border-radius:16px}
.float-media::before{content:'';position:absolute;inset:-12px;border-radius:18px;background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);box-shadow:0 20px 44px rgba(40,40,90,.20);border:1px solid rgba(255,255,255,.75);z-index:-1}
@media (prefers-reduced-motion: no-preference){
  .hero::before{animation:aur1 17s ease-in-out infinite}
  .hero::after{animation:aur2 21s ease-in-out infinite}
}
@keyframes aur1{50%{transform:translate(46px,36px) scale(1.12)}}
@keyframes aur2{50%{transform:translate(-40px,28px) scale(1.09)}}

/* ===== Barre de réassurance (conversion) ===== */
.trust-row{list-style:none;display:flex;flex-wrap:wrap;gap:9px 20px;justify-content:center;padding:0;margin:22px 0 0;font-size:.92rem;color:var(--txt-soft)}
.trust-row li{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.trust-row__ico{font-size:1.05rem}
@media (prefers-reduced-motion: no-preference){
  .hero__head .trust-row{animation:heroUp .7s cubic-bezier(.2,.7,.2,1) both;animation-delay:.22s}
}

/* ============================================================
   POLISH PREMIUM 2026-06-22 — profondeur, dégradés, micro-éclats
   (CSS partagé : embellit toutes les pages d'un coup)
   ============================================================ */
/* Aura hero : 3e teinte plus vive (fuchsia) pour un fond plus riche */
.hero::after{background:radial-gradient(circle,rgba(168,85,247,.40),transparent 66%)}

/* Carte tarif "featured" : halo + bordure dégradée premium (centre de conversion) */
.price--featured{box-shadow:var(--shadow),0 0 0 1px rgba(124,92,255,.22),0 26px 64px -30px rgba(124,92,255,.5)}
.price--featured::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.4px;background:var(--grad);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.65}

/* Badge "Pro" et badge prix : léger relief lumineux */
.price__badge,.badge-pro{box-shadow:0 8px 20px -8px rgba(124,92,255,.55)}

/* Pill : fond subtilement dégradé + ombre douce */
.pill{background:linear-gradient(120deg,rgba(91,91,245,.10),rgba(168,85,247,.09));box-shadow:0 4px 14px -6px rgba(124,92,255,.35)}

/* Cartes : teinte d'accent + ombre colorée au survol */
.card:hover{border-color:rgba(124,92,255,.32);box-shadow:0 22px 50px -26px rgba(124,92,255,.4)}

/* Chips de format : petit relief premium au survol */
.chip[data-tool]:hover{box-shadow:0 6px 16px -8px rgba(124,92,255,.45)}

/* ===== Formats : grille moderne de 4 cartes catégories ===== */
.format-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:820px;margin:30px auto 0}
.fmt-cat{background:var(--surface);border:1px solid var(--glass-brd);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow-sm);transition:transform .2s var(--ease),box-shadow .25s,border-color .25s}
.fmt-cat:hover{transform:translateY(-3px);box-shadow:0 22px 50px -26px rgba(124,92,255,.42);border-color:rgba(124,92,255,.3)}
.fmt-cat__head{display:flex;align-items:center;gap:9px;font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-.01em;color:var(--ink);margin-bottom:13px}
.fmt-cat__ico{font-size:19px;line-height:1}
.fmt-cat__chips{display:flex;flex-wrap:wrap;gap:7px}
@media (max-width:560px){.format-grid{grid-template-columns:1fr;max-width:420px}}

/* ===== Micro-animations DA (bien placées, premium, pas tape-à-l'œil) ===== */
@media (prefers-reduced-motion: no-preference){
  /* Point "live" de la pastille hero : pulsation douce (signal d'activité) */
  .pill__dot{animation:dotPulse 2.4s ease-in-out infinite}
  @keyframes dotPulse{0%,100%{box-shadow:0 0 0 0 rgba(15,185,129,.45)}70%{box-shadow:0 0 0 9px rgba(15,185,129,0)}}
  /* Icônes de cartes : léger rebond/zoom au survol de la carte */
  .card__ico,.fmt-cat__ico{display:inline-block;transition:transform .35s var(--ease)}
  .card:hover .card__ico,.fmt-cat:hover .fmt-cat__ico{transform:translateY(-4px) scale(1.12) rotate(-3deg)}
  /* Titres de sections : le mot en dégradé scintille lentement */
  .section__head h2 .grad{background-size:220% auto;animation:gradShimmer 7s linear infinite}
  @keyframes gradShimmer{to{background-position:220% center}}
  /* Boutons primaires : très léger "respire" du halo */
  .price--featured .price__badge{animation:badgeFloat 3.2s ease-in-out infinite}
  @keyframes badgeFloat{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-3px)}}
}

/* Lien "importer un dossier" sous la dropzone */
.dropzone__folder{text-align:center;margin:12px 0 0}
.dropzone__folder .link{background:none;border:0;cursor:pointer;font-family:var(--display);font-weight:700;font-size:13.5px;color:var(--accent)}
.dropzone__folder .link:hover{text-decoration:underline;text-underline-offset:2px;color:var(--accent-ink)}

/* === Bouton « essayer avec un exemple » (moment magique) === */
.dropzone__sample{text-align:center;margin:6px 0 0}
.dropzone__sample .link{background:none;border:0;cursor:pointer;font-family:var(--display);font-weight:700;font-size:13.5px;color:var(--accent);padding:6px 14px;border-radius:999px;transition:background .18s var(--ease),color .18s var(--ease)}
.dropzone__sample .link:hover{background:var(--grad-soft);color:var(--accent-ink)}
.dropzone__sample .link:disabled{opacity:.5;cursor:default}

/* === Écran-récompense (résultat « ludique ») === */
.reward{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;margin-top:18px;padding:16px 18px;border-radius:14px;background:var(--grad-soft);border:1px solid rgba(124,92,255,.28);box-shadow:var(--shadow-sm)}
.reward__big,.reward__lines{position:relative;z-index:1}
.reward__big{flex:0 0 auto;display:grid;place-items:center;min-width:96px}
.reward__pct{font-family:var(--display);font-weight:800;font-size:34px;line-height:1;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.reward__big--ok{font-size:34px}
.reward__lines{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.reward__title{font-size:15px;color:var(--ink)}
.reward__sent{font-size:13px;font-weight:700;color:var(--emerald)}
.reward__session{font-size:12.5px;color:var(--txt-soft)}
.reward__confetti{position:absolute;inset:0;pointer-events:none;z-index:0}
.confetti-piece{position:absolute;top:-14px;width:8px;height:13px;border-radius:2px;opacity:0;animation:confFall 1.15s var(--ease) forwards}
@keyframes confFall{0%{opacity:0;transform:translateY(-14px) rotate(0)}12%{opacity:1}100%{opacity:0;transform:translateY(150px) rotate(420deg)}}
@media (prefers-reduced-motion: no-preference){
  .reward__pct{animation:rewardPop .5s var(--ease)}
  @keyframes rewardPop{0%{transform:scale(.5);opacity:0}60%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
}
@media (max-width:560px){
  .reward{flex-wrap:wrap;gap:10px}
  .reward__big{min-width:0}
}

/* Bandeau de réassurance (au-dessus des tarifs) */
.price-trust{list-style:none;display:flex;flex-wrap:wrap;gap:9px 22px;justify-content:center;padding:0;margin:-28px auto 34px;font-size:.9rem;color:var(--txt-soft);max-width:760px}
.price-trust li{display:inline-flex;align-items:center;gap:6px;font-weight:600}

/* Offre de lancement + toggle mensuel/annuel */
.price-launch{text-align:center;font-weight:700;color:var(--accent-2,#7c5cff);margin:0 0 16px;font-size:.95rem}
.bill-toggle{display:inline-flex;gap:4px;padding:4px;margin:0 auto 28px;background:rgba(124,92,255,.08);border:1px solid rgba(124,92,255,.18);border-radius:999px;left:50%;position:relative;transform:translateX(-50%)}
.bill-opt{border:0;background:transparent;cursor:pointer;font-family:inherit;font-weight:700;font-size:.92rem;color:var(--txt-soft);padding:9px 18px;border-radius:999px;display:inline-flex;align-items:center;gap:8px;transition:background .18s,color .18s}
.bill-opt.is-active{background:#fff;color:var(--ink,#14162b);box-shadow:0 6px 16px -8px rgba(124,92,255,.45)}
.bill-save{font-size:.72rem;font-weight:800;color:#fff;background:var(--grad);padding:3px 8px;border-radius:999px;white-space:nowrap}
.bill-opt:not(.is-active) .bill-save{opacity:.9}

/* Boutons "ghost" : survol qui s'illumine vers l'accent */
.btn--ghost:hover{box-shadow:0 10px 26px -12px rgba(124,92,255,.4),var(--shadow-sm)}

/* Eyebrow : dégradé de texte premium (au lieu d'un aplat) */
.eyebrow{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ===== Immersion : apparition au défilement (CSS pur, scroll-timeline) =====
   Les sections sous la ligne de flottaison se révèlent en fondu/glissé quand
   elles entrent dans le viewport. @supports → dégradé gracieux (rien si non géré). */
@media (prefers-reduced-motion: no-preference){
  @supports (animation-timeline: view()){
    .section__head, .cards3 > .card, .qr-universe > *, .pricing > .price, .faq__item, .seo-prose, .tool-grid > .tool-card, .format-grid > .fmt-cat {
      animation: revealUp linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 22%;
    }
    @keyframes revealUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  }
}

/* ===== QA mobile 2026-06-26 : éliminer le débordement horizontal des éditeurs Pro =====
   Cause : les enfants de grid/flex ont min-width:auto et refusent de rétrécir sous la
   largeur intrinsèque de leur contenu (inputs/grilles), poussant la carte hors écran. */
.qr-universe > *, .menu-editor > * { min-width: 0; }
.qr-card, .menu-preview-wrap, .qr-card__head { max-width: 100%; min-width: 0; }
.menu-item, .menu-cat, .options, .actions, .qr-acc__body { min-width: 0; }
.menu-item input { min-width: 0; }
@media (max-width: 560px) {
  .opt { width: 100%; min-width: 0; }
  .opt input[type="text"], .opt input[type="url"], .opt input[type="number"] { width: 100%; max-width: 100%; box-sizing: border-box; }
  .opt input[type="file"] { max-width: 100%; }
  .options { gap: 12px; }
}

/* =====================================================================
   POLISH LAYER 2026-07-03 — finitions « SaaS senior ».
   Couche additive : n'écrase aucune règle moteur, ne touche jamais
   au display d'éléments pilotés par [hidden].
   ===================================================================== */

/* --- Contrôles de formulaire manquants (outils code-barres / QR studio) --- */
.opt input[type="url"], .opt textarea, textarea#bcBulkTxt {
  font-family: var(--font); font-size: 14px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--glass-brd2);
  border-radius: 10px; padding: 10px 12px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.opt input[type="url"]:focus, .opt textarea:focus, textarea#bcBulkTxt:focus { border-color: var(--accent); box-shadow: var(--ring); }

.opt input[type="file"] {
  font-family: var(--font); font-size: 13px; color: var(--txt-soft);
  background: var(--surface-2); border: 1px dashed var(--glass-brd2);
  border-radius: 10px; padding: 9px 10px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.opt input[type="file"]:hover { border-color: var(--accent); background: #f4f3ff; }
.opt input[type="file"]::file-selector-button {
  font-family: var(--font); font-weight: 700; font-size: 12.5px; color: var(--accent-ink);
  background: #eef1ff; border: 0; border-radius: 8px; padding: 7px 12px;
  margin-right: 10px; cursor: pointer; transition: background .2s;
}
.opt input[type="file"]::file-selector-button:hover { background: #e2e6ff; }

.opt input[type="color"] {
  appearance: none; -webkit-appearance: none;
  width: 52px; height: 36px; padding: 3px;
  background: var(--surface); border: 1px solid var(--glass-brd2);
  border-radius: 10px; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.opt input[type="color"]:hover { border-color: var(--accent); }
.opt input[type="color"]:focus-visible { border-color: var(--accent); box-shadow: var(--ring); outline: none; }
.opt input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.opt input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 7px; }
.opt input[type="color"]::-moz-color-swatch { border: 0; border-radius: 7px; }

.opt input[type="range"] {
  appearance: none; -webkit-appearance: none;
  width: 100%; height: 26px; background: transparent; cursor: pointer; outline: none;
}
.opt input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  opacity: .35;
}
.opt input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(91,91,245,.45);
  transition: transform .15s;
}
.opt input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.opt input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); opacity: .35; }
.opt input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--cyan)); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(91,91,245,.45); }
.opt input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 2px 8px rgba(91,91,245,.45), var(--ring); }

/* --- FAQ : chevron animé, sans marqueur natif --- */
.faq__item summary { cursor: pointer; list-style: none; position: relative; padding-right: 30px; transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.5px solid var(--txt-mute); border-bottom: 2.5px solid var(--txt-mute);
  transform: rotate(45deg); transition: transform .25s var(--ease), border-color .2s;
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; border-color: var(--accent); }
.faq__item summary:hover { color: var(--accent-ink); }
.faq__item summary:focus-visible { outline: none; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* --- Cartes outils (hubs) : accent au survol --- */
.tool-card { position: relative; overflow: hidden; }
.tool-card::after {
  content: '→'; position: absolute; right: 16px; top: 16px;
  font-weight: 800; color: var(--accent);
  opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s;
}
.tool-card:hover::after { opacity: 1; transform: translateX(0); }
.tool-card:hover { border-color: rgba(124,92,255,.4); }
.tool-card b { display: block; margin-bottom: 2px; }
.tool-card span { color: var(--txt-soft); font-size: 13.5px; line-height: 1.45; }

/* --- Cartes d'outil (pages) : hairline dégradée en tête --- */
.qr-card { position: relative; }
.qr-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  opacity: .55;
}

/* --- Typographie des articles / guides --- */
.article h2 { position: relative; padding-left: 16px; }
.article h2::before {
  content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px;
  border-radius: 999px; background: linear-gradient(180deg, var(--indigo), var(--cyan));
}
.article code {
  font-family: ui-monospace, 'Courier New', monospace; font-size: .9em;
  background: var(--surface-2); border: 1px solid var(--glass-brd);
  border-radius: 6px; padding: 2px 7px; color: var(--accent-ink); font-weight: 600;
}
.article ul li, .article ol li { margin: .45em 0; }
.article ul li::marker { color: var(--accent); }
.article ol li::marker { color: var(--accent); font-weight: 800; }
.article figure { box-shadow: var(--shadow-sm); }

/* --- Accessibilité clavier globale --- */
a:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}

/* --- Détails d'interface --- */
::selection { background: rgba(124,92,255,.22); color: var(--ink); }
section[id], div[id="tarifs"] { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (hover: hover) {
  * { scrollbar-width: thin; scrollbar-color: #c9cde0 transparent; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: #c9cde0; border-radius: 999px; border: 2px solid var(--bg); }
  ::-webkit-scrollbar-thumb:hover { background: #aab0cb; }
  ::-webkit-scrollbar-track { background: transparent; }
}

/* --- Apparitions au défilement (classes posées par reveal.js uniquement) --- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .rv-in { opacity: 1; transform: none; }
}

/* --- Chip « Nouveau » du héros --- */
.hero__newchip { margin: 14px 0 0; }
.hero__newchip a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-ink);
  background: #eef1ff; border: 1px solid rgba(124,92,255,.35);
  border-radius: 999px; padding: 8px 16px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.hero__newchip a:hover { transform: translateY(-1px); background: #e6e9ff; box-shadow: 0 8px 20px -8px rgba(91,91,245,.5); }
.hero__newchip b { color: var(--accent); }

/* --- Badges des cartes outils (Nouveau / Populaire) --- */
.tc-badge {
  display: inline-block; font-style: normal; font-size: 10px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border-radius: 999px; padding: 2.5px 9px; margin-left: 7px; vertical-align: 2px;
}
.tc-badge--hot { background: linear-gradient(135deg, #f59e0b, #ec4899); }

/* --- Bande de chiffres honnêtes --- */
.statsband { padding: 34px 0; background: linear-gradient(180deg, transparent, rgba(124,92,255,.05)); }
.statsband__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; text-align: center; }
.statsband__item b { display: block; font-family: var(--display); font-size: clamp(26px, 4vw, 38px); font-weight: 800; background: linear-gradient(135deg, var(--indigo), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statsband__item span { color: var(--txt-soft); font-size: 13.5px; font-weight: 600; }

/* --- Section sombre « la preuve » --- */
.darkband { background: radial-gradient(900px 420px at 50% -10%, rgba(124,92,255,.35), transparent 60%), #14162b; padding: 72px 0; text-align: center; overflow: hidden; }
.darkband__inner { max-width: 780px; margin: 0 auto; }
.eyebrow--light { color: #a5b4fc; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; font-weight: 800; }
.darkband__title { font-family: var(--display); font-size: clamp(1.7rem, 4.4vw, 2.7rem); font-weight: 800; color: #fff; margin: .45em 0 .35em; }
.gradlight { background: linear-gradient(135deg, #a5b4fc, #d8b4fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.darkband__sub { color: #b9bfdd; max-width: 560px; margin: 0 auto 26px; font-size: 15.5px; line-height: 1.65; }
.darkband__steps { display: flex; justify-content: center; gap: clamp(14px, 4vw, 38px); flex-wrap: wrap; margin: 0 0 30px; }
.darkband__step { display: flex; align-items: center; gap: 10px; color: #e3e6f8; font-weight: 700; font-size: 14.5px; }
.darkband__step i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--indigo), var(--cyan)); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 6px 18px -6px rgba(91,91,245,.7); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(255,255,255,.45); }

/* --- Finitions typo + footer --- */
h1, h2 { text-wrap: balance; }
.footer { position: relative; }
.footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--indigo), var(--cyan), transparent); opacity: .5; }

/* --- Pricing : renfort conversion (skill ui-ux-pro-max) --- */
.price__now, .price__per, .price__amount { font-variant-numeric: tabular-nums; } /* prix stables au switch mensuel/annuel */
@media (min-width: 961px) {
  .pricing--3 { align-items: center; }              /* les cartes s'alignent au centre vertical */
  .price--featured { transform: scale(1.045); z-index: 2; } /* le plan Pro domine visuellement */
}
@media (prefers-reduced-motion: no-preference) {
  .price { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  @media (min-width: 961px) { .price:hover { transform: translateY(-4px); } .price--featured:hover { transform: scale(1.045) translateY(-4px); } }
}

/* --- Hero : CTA unique dominant + preuve offline (skill ui-ux-pro-max) --- */
.hero__ctalink { display:inline-flex; align-items:center; font-family:var(--display); font-weight:700; color:var(--accent-ink); text-decoration:none; font-size:15.5px; padding:8px 4px; }
.hero__ctalink::after { content:'→'; margin-left:6px; transition:transform .2s var(--ease); }
.hero__ctalink:hover::after { transform:translateX(4px); }
.hero__proof { display:inline-flex; align-items:center; gap:9px; margin:16px 0 0; font-size:13.5px; font-weight:700; color:#15803d; background:#eafaf1; border:1px solid #b7ebc9; border-radius:999px; padding:8px 15px; }
.hero__proof-dot { width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 4px rgba(34,197,94,.18); }

/* =========================================================
   HERO UPGRADE 2026-07-06 — grille estompée + faisceau + pill animée
   Style « 21st.dev / Linear ». 100% ADDITIF : n'altère ni le moteur
   de conversion, ni l'i18n (app.js), ni hero-anim.js. Nœud décoratif
   unique <div class="hero__grid"> (pointer-events:none, sous le contenu).
   ========================================================= */

/* 1) Grille fine, estompée en fondu radial — backdrop moderne */
.hero__grid{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(to right,  rgba(99,102,241,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99,102,241,.12) 1px, transparent 1px);
  background-size:32px 32px;
  -webkit-mask-image:radial-gradient(760px 520px at 50% 0%, #000 0%, rgba(0,0,0,.5) 46%, transparent 76%);
          mask-image:radial-gradient(760px 520px at 50% 0%, #000 0%, rgba(0,0,0,.5) 46%, transparent 76%);
}

/* 2) Faisceau conique doux derrière le titre (le « beam » 21st) */
.hero__grid::before{
  content:''; position:absolute; left:50%; top:-60px;
  width:min(760px,92vw); height:520px; transform:translateX(-50%);
  background:conic-gradient(from 180deg at 50% 0%,
     transparent 0deg, rgba(91,91,245,.16) 30deg, rgba(124,92,255,.22) 46deg,
     rgba(168,85,247,.16) 62deg, transparent 92deg);
  filter:blur(26px); opacity:.85; pointer-events:none;
  -webkit-mask-image:linear-gradient(#000 0%, transparent 80%);
          mask-image:linear-gradient(#000 0%, transparent 80%);
}
@media (prefers-reduced-motion: no-preference){
  .hero__grid::before{animation:heroBeam 14s ease-in-out infinite}
  @keyframes heroBeam{
    0%,100%{opacity:.7; transform:translateX(-50%) rotate(-4deg)}
    50%    {opacity:1;  transform:translateX(-50%) rotate(4deg)}
  }
}

/* 3) Pill « annonce » — balayage lumineux périodique (confiné, sans overflow) */
.pill{position:relative}
@media (prefers-reduced-motion: no-preference){
  .pill::after{
    content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 48%, transparent 66%);
    background-size:220% 100%; background-position:220% 0;
    animation:pillShine 6s ease-in-out infinite;
  }
  @keyframes pillShine{ 0%,74%{background-position:220% 0} 92%,100%{background-position:-40% 0} }
}

/* --- HERO v2 BOLD 2026-07-06 : aurora vivante + titre lumineux (override) --- */
.hero{ background:radial-gradient(1100px 580px at 50% -150px, #d6d7ff 0%, #e6e7fc 34%, var(--bg) 72%); }

/* Blobs colorés bien VISIBLES (override des pâles existants) */
.hero::before{ width:820px; height:820px; top:-260px; left:-180px;
  background:radial-gradient(circle, rgba(91,91,245,.60), transparent 60%); filter:blur(58px); }
.hero::after{ width:720px; height:720px; top:-150px; right:-190px;
  background:radial-gradient(circle, rgba(168,85,247,.55), transparent 60%); filter:blur(58px); }

/* 3e halo rose derrière le titre (intensifie le glow de tête existant) */
.hero .hero__head::after{ width:520px; height:430px; top:56px;
  background:radial-gradient(circle, rgba(236,72,153,.30), transparent 68%); filter:blur(72px); }

/* Titre plus grand + mot format avec halo lumineux */
.hero__title{ font-size:clamp(42px, 6.6vw, 74px); }
#heroWord{ filter:drop-shadow(0 6px 28px rgba(124,92,255,.5)); }

/* CTA principal : glow renforcé */
.hero__cta .btn--primary{ box-shadow:0 16px 42px -12px rgba(124,92,255,.72), 0 4px 14px -4px rgba(147,51,234,.5); }

/* Mouvement plus ample des blobs (perceptible), coupé si reduced-motion */
@media (prefers-reduced-motion: no-preference){
  .hero::before{ animation:heroOrb1 15s ease-in-out infinite; }
  .hero::after{ animation:heroOrb2 19s ease-in-out infinite; }
  @keyframes heroOrb1{ 50%{ transform:translate(72px,56px) scale(1.16); } }
  @keyframes heroOrb2{ 50%{ transform:translate(-58px,44px) scale(1.13); } }
}

/* =========================================================
   HERO REFONTE 2026-07-06 — « épuré & affirmé »
   Déclutter : hero__proof / hero__newchip / hero__pricelink retirés
   du hero. La preuve « hors-ligne » est fondue dans la bande de
   réassurance unique (trust-row), avec une puce verte discrète.
   100% additif : n'altère ni le moteur de conversion, ni hero-anim.js.
   ========================================================= */
.hero__head .trust-row{ margin-top:24px; gap:10px 18px; }
.hero__head .trust-row li{ color:var(--txt-soft); }

/* =========================================================
   OPTI 2026-07-06 (suite) — bande de chiffres « trust bar »
   Séparateurs verticaux fins entre les 4 stats (desktop 1 ligne),
   hairline de tête, chiffres un poil plus présents. 100% additif.
   ========================================================= */
.statsband{ border-top:1px solid var(--glass-brd); }
.statsband__item b{ font-size:clamp(28px,4.2vw,40px); letter-spacing:-.02em; }
.statsband__item span{ letter-spacing:.005em; }
/* Séparateurs uniquement quand les 4 stats tiennent sur 1 ligne (~≥820px) */
@media (min-width:820px){
  .statsband__item{ position:relative; }
  .statsband__item + .statsband__item::before{
    content:''; position:absolute; left:-9px; top:50%; transform:translateY(-50%);
    width:1px; height:48px;
    background:linear-gradient(180deg, transparent, var(--glass-brd2) 22%, var(--glass-brd2) 78%, transparent);
  }
}

/* =========================================================
   OPTI 2026-07-06 (suite) — « Produit d'abord »
   Le convertisseur (#app) remonte au-dessus de la grille de formats,
   qui devient un rappel « + tous ces formats » sous l'outil. Reorder
   par flex (aucun changement de DOM → réversible en retirant ce bloc).
   Le clic sur un chip de format scrolle désormais vers #app (app.js).
   ========================================================= */
.hero#outils > .container{ display:flex; flex-direction:column; }
/* Fix débordement mobile : en flex, un enfant refuse de rétrécir sous la
   largeur min de son contenu (la rangée d'onglets nowrap du convertisseur),
   ce qui faisait déborder #app à 940px sur mobile. width:100% + min-width:0
   borne chaque enfant à la largeur du container (leur max-width reste actif,
   donc le desktop est inchangé). */
.hero#outils > .container > *{ width:100%; min-width:0; }
.hero#outils .hero__head{ order:1; }
.hero#outils .portal{ order:2; margin-top:24px; }
.hero#outils .format-grid__cap{ order:3; }
.hero#outils .format-grid{ order:4; margin-top:14px; }
/* Légende de cadrage de la grille de formats (désormais sous l'outil) */
.format-grid__cap{
  order:3; text-align:center; margin:32px auto 0; max-width:640px;
  font-family:var(--display); font-weight:700; font-size:14px; letter-spacing:.005em;
  color:var(--txt-mute);
}
/* Densification du haut du hero home : l'outil monte vers le 1er écran
   (product-first). Réductions modérées, scopées #outils, sans overlap. */
.hero#outils{ padding-top:48px; }
.hero#outils .hero__title{ margin-top:16px; margin-bottom:14px; }
.hero#outils .hero__cta{ margin-top:22px; }
.hero#outils .hero__head .trust-row{ margin-top:20px; }

/* ===== Page d'administration (/admin, noindex) ===== */
.adm-money{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}
@media (max-width:520px){.adm-money{grid-template-columns:1fr}}
.adm-money>div{background:var(--surface-2);border:1px solid var(--glass-brd);border-radius:12px;padding:12px 14px}
.adm-money b{display:block;font-size:1.5rem;color:var(--ink);line-height:1.2}
.adm-money span{display:block;font-size:12px;color:var(--txt-soft);margin-top:2px}
.adm-kv__row{display:flex;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid var(--glass-brd);font-size:14px}
.adm-kv__row:last-child{border-bottom:0}
.adm-kv__row span{color:var(--txt-soft)}
.adm-kv__row b{color:var(--ink);white-space:nowrap}
.adm-tablewrap{overflow-x:auto}
.adm-table{width:100%;border-collapse:collapse;font-size:14px;min-width:640px}
.adm-table th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--txt-mute);font-weight:600;padding:6px 10px 8px}
.adm-table td{padding:11px 10px;border-top:1px solid var(--glass-brd);vertical-align:middle;color:var(--txt)}
.adm-table tr:hover td{background:var(--surface-2)}
.adm-table b{color:var(--ink)}
.adm-sub{display:block;font-size:12px;color:var(--txt-soft);margin-top:2px}
.adm-url{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adm-url a{color:var(--accent-ink)}
.adm-empty{color:var(--txt-soft);padding:18px 10px}
.adm-off{color:var(--rose)}
.adm-tag{display:inline-block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#fff;background:var(--grad-btn);border-radius:999px;padding:2px 7px;vertical-align:middle}
.adm-plan,.adm-search{font:inherit;font-size:13px;color:var(--txt);background:var(--surface);border:1px solid var(--glass-brd2);border-radius:9px;padding:6px 9px}
.adm-search{min-width:200px}
.adm-plan:focus-visible,.adm-search:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
