:root {
  --brand: #111111;
  --brand-dark: #000000;
  --ink: #0a0a0a;
  --muted: #6b7280;
  --line: #e6e6e8;
  --bg: #ffffff;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand, .price, .hero h1 { font-family: var(--display); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 460px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); z-index: 20; }
.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); text-decoration: none; }
.brand-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); line-height: 1; }
.brand-mark { flex: none; display: block; color: var(--brand); }
.brand-word { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: 1.28rem; }
.langsw { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langsw a { padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--muted); text-decoration: none; line-height: 1.4; }
.langsw a.on { background: var(--brand); color: #fff; }
.nav-links { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.nav-links a { padding: 8px 12px; color: var(--muted); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav-links a:hover { color: var(--ink); }

/* Boutons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; font-size: .95rem; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: #333; border-color: #333; transform: translateY(-1px); }
.btn-dark { background: #0a0a0a; color: #fff; }
.btn-dark:hover { background: #333; }
.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-danger-outline { border: 1px solid #fca5a5; background: #fff; color: #dc2626; }
.btn-success { background: #16a34a; color: #fff; }
.btn-warn { background: #f59e0b; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Cartes & formulaires */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.mcard { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.mcard:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.eyebrow-lbl { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 12px;
  font-size: .95rem; background: #fff; font-family: inherit;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,0,0,.10); }
.label { display: block; font-size: .8rem; font-weight: 700; color: #475569; margin-bottom: 5px; }
.muted { color: var(--muted); }

/* Badges */
.badge { border-radius: 999px; padding: 2px 10px; font-size: .72rem; font-weight: 700; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-grey { background: #f1f5f9; color: #64748b; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-amber { background: #fef3c7; color: #b45309; }
.badge-dark { background: #0f172a; color: #fff; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: .9rem; }
.flash-success { background: #dcfce7; color: #166534; }
.flash-error { background: #fee2e2; color: #991b1b; }

/* Grilles */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Hero marketing */
.hero { text-align: center; padding: 120px 24px 90px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.03; letter-spacing: -.035em; margin: 22px 0 0; font-weight: 800; }
.hero .accent { color: var(--muted); }
.pill { display: inline-block; background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: 72px 0; }
.section h2 { text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; margin: 0; }
.center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }

.price { font-size: 2.6rem; font-weight: 800; margin: 8px 0; letter-spacing: -.02em; }
.price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.feat { list-style: none; padding: 0; margin: 16px 0; font-size: .9rem; color: #475569; }
.feat li { padding: 5px 0; }
.feat li::before { content: "— "; color: var(--ink); font-weight: 700; }
.ring { outline: 1.5px solid var(--ink); outline-offset: -1px; }

/* ===== Marketing éditorial (style directory) ===== */
.mkt { --gap: 1px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; display: inline-block; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Section header sur deux colonnes (label + titre) */
.sec-head { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: end; padding: 8px 0 40px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 12px; } }
.sec-head h2 { text-align: left; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; }
.sec-head .lead { color: var(--muted); max-width: 460px; }

/* Grille "directory" de templates */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { text-decoration: none; color: inherit; display: block; }
.tcard .thumb { position: relative; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, transform .25s ease; }
.tcard .thumb .emoji { font-size: 3.4rem; filter: grayscale(1) opacity(.85); transition: transform .35s ease, filter .25s ease; }
/* Aperçu live : iframe rendue à 400% puis réduite à 0.25 → occupe pile le cadre (responsive, sans JS) */
.tprev-frame { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; background: #fff; }
/* Couche transparente au-dessus de l'aperçu : rend toute la carte cliquable (l'iframe capterait sinon le clic) */
.tcard .thumb::after, .tpick-thumb::after { content: ""; position: absolute; inset: 0; z-index: 5; cursor: pointer; }
.tcard:hover .thumb { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.4); }

/* Sélecteur de template avec aperçu (page d'inscription) */
.tpick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .tpick-grid { grid-template-columns: repeat(2, 1fr); } }
.tpick { display: block; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.tpick input { position: absolute; opacity: 0; pointer-events: none; }
.tpick-thumb { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #fafafa; border-bottom: 1px solid var(--line); }
.tpick-name { display: block; padding: 9px 11px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.tpick:hover { border-color: #94a3b8; }
.tpick:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tcard .thumb .go { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.tcard:hover .thumb .go { opacity: 1; transform: none; }
.tcard .t-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 2px 0; }
.tcard .t-name { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.tcard .t-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Révélation au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s } .reveal.d2 { transition-delay: .12s } .reveal.d3 { transition-delay: .18s }

/* Marquee texte discret (bandeau) */
.stripe { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.stripe-in { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: stripe 30s linear infinite; }
.stripe span { font-family: var(--display); font-size: 1.05rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.stripe span::after { content: "—"; margin-left: 48px; color: var(--line); }
@keyframes stripe { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ===== Accueil moderne : fond de héros + cartes templates ===== */
.mkt .hero { position: relative; isolation: isolate; }
.mkt .hero::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 100%; max-width: 1180px; height: 560px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 55% at 50% 0%, rgba(0,0,0,.06), transparent 72%),
    linear-gradient(to right, rgba(10,10,10,.045) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(to bottom, rgba(10,10,10,.045) 1px, transparent 1px) 0 0 / 46px 46px;
  -webkit-mask-image: radial-gradient(62% 68% at 50% 24%, #000 30%, transparent 78%);
          mask-image: radial-gradient(62% 68% at 50% 24%, #000 30%, transparent 78%);
}
.mkt .hero .pill { background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }

/* Carte template façon fenêtre de navigateur */
.tcard .thumb { background: #fff; }
.tcard .tbar {
  position: absolute; top: 0; left: 0; right: 0; height: 30px; z-index: 3;
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: #fbfbfc; border-bottom: 1px solid var(--line);
}
.tcard .tbar i { width: 8px; height: 8px; border-radius: 50%; background: #e1e3e8; flex: none; }
.tcard .tbar em {
  margin-left: 6px; font-style: normal; font-size: .64rem; letter-spacing: .01em; color: #9aa1a9;
  background: #f1f2f4; padding: 3px 12px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.tcard .thumb .tprev-frame { top: 30px; }
.tcard:hover .tbar i:first-child { background: #ffbcb0; }

/* Bande de confiance (chiffres) sous le héros */
.trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; }
.trustbar .ti { display: flex; align-items: baseline; gap: 9px; }
.trustbar .tv { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.trustbar .tl { color: var(--muted); font-size: .9rem; }

/* Hero — aperçu produit (fenêtre navigateur) */
.hero-shot { position: relative; z-index: 1; max-width: 1000px; margin: 60px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 50px 100px -45px rgba(0,0,0,.5), 0 12px 32px -22px rgba(0,0,0,.35); }
.hero-shot .shot-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #f6f7f9; border-bottom: 1px solid var(--line); }
.hero-shot .shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e1e3e8; flex: 0 0 auto; }
.hero-shot .shot-bar i:nth-child(1) { background: #ff5f57; }
.hero-shot .shot-bar i:nth-child(2) { background: #febc2e; }
.hero-shot .shot-bar i:nth-child(3) { background: #28c840; }
.hero-shot .shot-bar em { margin-left: 14px; font-style: normal; font-size: .8rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 13px; }
.hero-shot .shot-frame { position: relative; height: 580px; overflow: hidden; }
.hero-shot .shot-frame iframe { position: absolute; top: 0; left: 0; width: 200%; height: 1160px; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; background: #fff; }
@media (max-width: 760px) { .hero-shot { margin-top: 40px; } .hero-shot .shot-frame { height: 400px; } }

/* Témoignages / preuve sociale */
.tgrid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.testi { display: flex; flex-direction: column; gap: 16px; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 4px rgba(0,0,0,.03); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.testi:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); border-color: var(--ink); }
.testi-stars { color: #111; letter-spacing: 3px; font-size: .95rem; }
.testi-q { margin: 0; font-size: 1.05rem; line-height: 1.55; letter-spacing: -.01em; color: var(--ink); flex: 1; }
.testi-by { display: flex; align-items: center; gap: 13px; margin: 0; padding-top: 6px; border-top: 1px solid var(--line); }
.testi-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--soft, #f2f2f2); filter: grayscale(1); }
.testi-by > span { display: flex; flex-direction: column; line-height: 1.3; }
.testi-name { font-weight: 600; font-size: .95rem; }
.testi-role { font-size: .82rem; color: var(--muted); }
[dir="rtl"] .testi-by { flex-direction: row-reverse; }
@media (max-width: 900px) { .tgrid-testi { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* Dashboard */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px; }
.topbar .actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash { display: flex; min-height: calc(100vh - 58px); flex-wrap: wrap; }
.editor { width: 460px; max-width: 100%; background: #fff; border-right: 1px solid var(--line); }
.preview { flex: 1; min-width: 320px; background: #eef2f6; padding: 16px; }
.preview-frame { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid #f1f5f9; }
.tab { padding: 7px 12px; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.tab.active { background: #f0f0f2; color: var(--ink); }
.panel { padding: 20px; }
.subcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.subcard h4 { margin: 0 0 10px; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; }
.field { margin-bottom: 10px; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.color-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.color-row input[type=color] { width: 56px; height: 34px; border: 1px solid var(--line); border-radius: 6px; padding: 0; background: none; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.thumb { position: relative; }
.thumb img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.thumb button { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.6); color: #fff; border: none; border-radius: 6px; cursor: pointer; }
.dns { background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 10px; font-size: .78rem; overflow-x: auto; white-space: pre; }

/* Barre d'outils de module (éditeur) */
.mod-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mod-name { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; font-weight: 700; }
.mod-tools { display: flex; gap: 4px; }
.mod-btn { background: #f1f5f9; border: 1px solid var(--line); border-radius: 7px; width: 26px; height: 26px; cursor: pointer;
  font-size: .8rem; color: #475569; display: inline-flex; align-items: center; justify-content: center; }
.mod-btn:hover { background: #e2e8f0; }
.mod-btn[disabled] { opacity: .4; cursor: not-allowed; }
.mod-del:hover { background: #fee2e2; border-color: #fca5a5; }
.mod-navtog { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; color: #64748b; cursor: pointer; margin-right: 6px; user-select: none; }
.mod-navtog input { cursor: pointer; }

/* Panneau "Ajouter un module" */
.addmod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addmod-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, box-shadow .15s; }
.addmod-card:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,.10); }
.addmod-ico { font-size: 1.4rem; }
.addmod-lbl { font-weight: 700; font-size: .9rem; color: #0f172a; }
.addmod-pro { background: #fef3c7; color: #b45309; font-size: .6rem; padding: 1px 5px; border-radius: 999px; vertical-align: middle; }
.addmod-desc { font-size: .76rem; color: #94a3b8; line-height: 1.35; }

/* Éditeur — modules en accordéon */
.subcard[data-mod] { transition: border-color .2s, box-shadow .2s; }
.subcard[data-mod].open { border-color: #cbd5e1; box-shadow: 0 8px 24px -14px rgba(15,23,42,.28); }
.subcard[data-mod] .mod-head { margin-bottom: 0; }
.subcard[data-mod].open .mod-head { margin-bottom: 12px; }
.mod-title { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; background: none; border: 0; padding: 4px 2px; margin: -4px 0; cursor: pointer; text-align: left; font: inherit; }
.mod-chev { color: #94a3b8; font-size: .7rem; transition: transform .2s, color .2s; flex: 0 0 auto; }
.subcard[data-mod].open .mod-chev { transform: rotate(180deg); color: #475569; }
.mod-title:hover .mod-chev { color: #475569; }
.mod-title .mod-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-count { background: #eef2f6; color: #475569; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; flex: 0 0 auto; }
.mod-body { display: none; }
.subcard[data-mod].open .mod-body { display: block; animation: modin .22s ease; }
@keyframes modin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Emplacements d'image (éditeur) — style "Google Sites" */
.imgslot { position: relative; margin: 0 0 12px; border-radius: 12px; overflow: hidden; }
.imgslot--box { aspect-ratio: 16/10; }
.imgslot--square { width: 84px; height: 84px; }
.imgslot--wide { aspect-ratio: 21/9; }
.imgslot > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgslot-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(15,23,42,.0); opacity: 0; transition: opacity .15s, background .15s; }
.imgslot:hover .imgslot-ov { opacity: 1; background: rgba(15,23,42,.45); }
.imgslot-btn { cursor: pointer; background: #fff; color: #0f172a; border: none; border-radius: 8px;
  padding: 6px 12px; font-size: .82rem; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.imgslot-rm { background: #fee2e2; color: #b91c1c; }
.imgph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; height: 100%; min-height: 120px; cursor: pointer; border: 2px dashed #cbd5e1; border-radius: 12px;
  background: #f8fafc; color: #94a3b8; transition: border-color .15s, color .15s, background .15s; }
.imgph:hover { border-color: var(--brand); color: var(--brand); background: #f6f6f7; }
.imgph-plus { font-size: 2rem; line-height: 1; font-weight: 300; }
.imgph-hint { font-size: .8rem; font-weight: 600; }
.imgslot--square .imgph { min-height: 84px; }
.imgslot--square .imgph-plus { font-size: 1.4rem; }
.imgslot--square .imgph-hint { display: none; }

footer.site-footer { border-top: 1px solid var(--line); padding: 40px 24px; text-align: center; color: var(--muted); font-size: .85rem; }

/* ===== Accueil v2 (déc. 2026) : héros 2 colonnes, onglets métiers, FAQ, pied de page ===== */
.hero2 { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; text-align: left; padding: 72px 24px 40px; }
.hero2 h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.hero2-sub { font-size: 1.12rem; max-width: 32em; margin: 22px 0 0; }
.hero2-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.reassure { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); }
.reassure li::before { content: "✓"; color: var(--ink); font-weight: 700; margin-inline-end: 6px; }
.hero2-shot { margin: 0; max-width: none; }
.trustbar2 { justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin-top: 30px; }
@media (max-width: 920px) { .hero2 { grid-template-columns: 1fr; padding-top: 48px; } .trustbar2 { justify-content: flex-start; } }
.btn-sm { padding: 9px 14px; font-size: .86rem; border-radius: 10px; }

.ttabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scrollbar-width: thin; }
.ttab { flex: none; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 999px; font: 500 .9rem var(--font); cursor: pointer; }
.ttab:hover { border-color: var(--ink); }
.ttab[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.ttab .n { opacity: .55; margin-inline-start: 7px; font-variant-numeric: tabular-nums; }
.ttab:focus-visible, .tcard2 a:focus-visible, .faq2 summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tcard2 { display: flex; flex-direction: column; }
.tcard2[hidden] { display: none !important; }
.tcard2 .thumb { text-decoration: none; }
.t-meta2 { display: flex; flex-direction: column; gap: 6px; padding: 14px 2px 0; flex: 1; }
.t-meta2 .t-name { margin: 0; font-size: 1.05rem; }
.t-meta2 p { margin: 0; font-size: .88rem; flex: 1; }
.t-acts { display: flex; gap: 8px; margin-top: 10px; }
.t-acts .btn { flex: 1; justify-content: center; text-align: center; }

.faq2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq2 details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq2 summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.02rem; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::after { content: "+"; font: 500 1.4rem/1 var(--display); color: var(--muted); }
.faq2 details[open] summary::after { content: "–"; }
.faq2 details p { margin: 10px 0 0; font-size: .95rem; max-width: 60ch; }
@media (max-width: 860px) { .faq2 { grid-template-columns: 1fr; gap: 12px; } }

.foot2 { border-top: 1px solid var(--line); padding: 56px 24px 28px; background: #fafafa; }
.foot2-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; }
.foot2-brand p { margin: 12px 0 18px; font-size: .9rem; max-width: 26em; }
.foot2-col { display: flex; flex-direction: column; gap: 10px; }
.foot2-col h4 { margin: 0 0 4px; font: 600 .95rem var(--display); }
.foot2-col a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.foot2-col a:hover { color: var(--ink); }
.foot2-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }
.foot2-parent { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.foot2-parent img { height: 28px; width: auto; display: block; }
.foot2-parent:hover img { opacity: .85; }
@media (max-width: 860px) { .foot2-grid { grid-template-columns: 1fr 1fr; } .foot2-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot2-grid { grid-template-columns: 1fr; } }
[dir="rtl"] .hero2 { text-align: right; }


/* =====================================================================
   Refonte « épurée » (déc. 2026) — neutre, arrondie, typographie fine.
   Surcharges regroupées ici ; sauvegarde de l'ancien fichier :
   ~/Desktop/CLAUDE/sauvegardes-2026-12-03-style/
   ===================================================================== */
:root {
  --brand: #0b0b0b;
  --brand-dark: #000;
  --ink: #0b0b0b;
  --muted: #6e6c68;
  --line: #e8e6e1;
  --bg: #ffffff;
  --soft: #f6f5f2;       /* blanc chaud des sections alternées */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
}
body { font-family: var(--font); font-size: 16px; line-height: 1.6; letter-spacing: -.005em; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); }
::selection { background: #0b0b0b; color: #fff; }

/* Navigation : barre claire, collante, sans gras */
.nav { padding: 16px 32px; border-bottom: 1px solid transparent; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); max-width: none; }
.nav.container-lg { max-width: none; }
.brand-word { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; font-size: 1.3rem; }
.nav-links { gap: 4px; font-size: .92rem; }
.nav-links a { font-weight: 450; color: var(--ink); border-radius: 999px; padding: 9px 14px; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: #fff; background: var(--ink); }
.langsw { border-color: var(--line); }
.langsw a { font-weight: 500; }

/* Boutons : pilules noires, secondaire en contour */
.btn { border-radius: 999px; padding: 14px 26px; font-weight: 500; font-size: .95rem; letter-spacing: -.005em; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2a; border-color: #2a2a2a; transform: none; }
.btn-outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .86rem; border-radius: 999px; }

/* Héros : grand titre fin, serré */
.hero h1, .hero2 h1 { font-weight: 400; letter-spacing: -.05em; line-height: 1.02; }
.hero2 h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero .accent { color: #9a9792; }
.hero2 { padding: 88px 32px 56px; gap: 64px; }
.hero2-sub { font-size: 1.15rem; line-height: 1.55; color: var(--muted); }
.pill { border-color: var(--line); font-weight: 500; letter-spacing: .08em; font-size: .72rem; padding: 7px 14px; background: var(--soft); }
.mkt .hero .pill { background: var(--soft); }
.mkt .hero::before { display: none; }       /* plus de grille décorative */
.reassure li::before { content: "✓"; font-weight: 500; }

/* Aperçu produit : cadre arrondi, ombre très douce */
.hero-shot { border-radius: var(--r-lg); border-color: var(--line); box-shadow: 0 30px 60px -40px rgba(20,18,14,.28); }
.hero-shot .shot-bar { background: var(--soft); border-bottom-color: var(--line); }
.hero-shot .shot-bar i, .hero-shot .shot-bar i:nth-child(1), .hero-shot .shot-bar i:nth-child(2), .hero-shot .shot-bar i:nth-child(3) { background: #d9d6d0; }
.hero-shot .shot-bar em { border-color: var(--line); }

/* Bande de chiffres */
.trustbar2 { border-color: var(--line); padding: 28px 0; }
.trustbar .tv { font-weight: 400; font-size: 1.8rem; letter-spacing: -.04em; }

/* Sections */
.section { padding: 104px 0; }
.section h2, .sec-head h2 { font-weight: 400; letter-spacing: -.045em; line-height: 1.05; font-size: clamp(2rem, 4vw, 3.3rem); }
.sec-head { padding-bottom: 48px; }
.sec-head .lead { font-size: 1.05rem; }
.kicker, .eyebrow-lbl { font-weight: 500; letter-spacing: .14em; }

/* Cartes & médias arrondis, bordures fines, ombres minimales */
.card { border-radius: var(--r); border-color: var(--line); }
.mcard:hover { transform: translateY(-2px); border-color: #cfccc6; box-shadow: 0 20px 40px -30px rgba(20,18,14,.25); }
.tcard .thumb { border-radius: var(--r); border-color: var(--line); background: var(--soft); }
.tcard:hover .thumb { transform: translateY(-3px); border-color: #cfccc6; box-shadow: 0 24px 48px -32px rgba(20,18,14,.3); }
.tcard .tbar { background: var(--soft); }
.tcard .tbar em { background: #fff; }
.tcard:hover .tbar i:first-child { background: #d9d6d0; }
.tcard .t-name { font-weight: 500; letter-spacing: -.02em; }
.ttab { font-weight: 500; padding: 10px 18px; }
.ttab:hover { border-color: #bdb9b2; }
.ttab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.tpick { border-radius: var(--r-sm); }

.testi { border-radius: var(--r-lg); box-shadow: none; background: var(--soft); border-color: transparent; padding: 34px 30px; }
.testi:hover { transform: none; box-shadow: none; border-color: var(--line); }
.testi-q { font-size: 1.12rem; letter-spacing: -.02em; }
.testi-by { border-top-color: rgba(0,0,0,.08); }

/* FAQ */
.faq2 summary { font-weight: 500; font-size: 1.08rem; letter-spacing: -.015em; }
.faq2 summary::after { font-weight: 300; }

/* Prix */
.price { font-weight: 400; letter-spacing: -.045em; font-size: 3rem; }
.feat { color: var(--muted); }
.ring { outline: 1.5px solid var(--ink); }

/* Formulaires (login / inscription) */
.input, select.input, textarea.input { border-color: #d9d6d0; border-radius: var(--r-sm); padding: 12px 14px; font-size: .95rem; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,11,.08); }
.label { font-weight: 500; color: var(--ink); font-size: .82rem; }
.flash { border-radius: var(--r-sm); }

/* Pied de page : blanc chaud */
.foot2 { background: var(--soft); border-top: 0; padding: 80px 32px 32px; }
.foot2-col h4 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }
.foot2-col a { color: var(--muted); }
.foot2-bottom { border-top-color: rgba(0,0,0,.08); }

/* Mobile : la barre de navigation ne déborde plus à 390px */
@media (max-width: 920px) { .hero2 { padding: 56px 24px 32px; gap: 40px; } .section { padding: 72px 0; } }
@media (max-width: 560px) {
  .nav { padding: 12px 16px; gap: 8px; }
  .nav .brand { min-width: 0; flex: none; }
  .nav-links { gap: 2px; font-size: .85rem; min-width: 0; }
  .nav-links a { padding: 8px 8px; }
  .nav-links a[href="/pricing"] { display: none; }
  .nav-links .btn { padding: 8px 12px; white-space: nowrap; }
  .foot2 { padding: 56px 20px 28px; }
}
@media (max-width: 440px) { .nav-links a[href="/login"] { display: none; } }

/* Hero noir (pleine largeur) */
.hero2 { position: relative; background: #0b0b0b; color: #fff; box-shadow: 0 0 0 100vmax #0b0b0b; clip-path: inset(0 -100vmax); }
.hero2 h1, .hero2 h1 .accent { color: #fff; }
.hero2 .hero2-sub, .hero2 .muted { color: rgba(255,255,255,.72); }
.mkt .hero.hero2 .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.hero2 .reassure, .hero2 .reassure li { color: rgba(255,255,255,.72); }
.hero2 .btn-primary { background: #fff; border-color: #fff; color: #0b0b0b; }
.hero2 .btn-primary:hover { background: #e9e8e4; border-color: #e9e8e4; color: #0b0b0b; }
.hero2 .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero2 .btn-outline:hover { background: #fff; color: #0b0b0b; border-color: #fff; }
.hero2 .hero-shot { border-color: rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hero2 .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero2 + .container-lg .trustbar2 { margin-top: 0; border-top: 0; }

/* Inscription : modèle déjà choisi */
.tchosen { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.tchosen-thumb { border: 1px solid var(--line); border-radius: 14px; }
.tchosen-info { display: flex; flex-direction: column; gap: 6px; }
.tchosen-info strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.tchosen-prev { color: var(--ink); font-weight: 500; text-underline-offset: 3px; margin-top: 4px; }
.tchange { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.tchange summary { cursor: pointer; font-weight: 500; color: var(--ink); display: inline-block; }
.tchange[open] summary { margin-bottom: 14px; }
@media (max-width: 560px) { .tchosen { grid-template-columns: 1fr; } }

/* Hero : maquette d'ordinateur portable */
.laptop { position: relative; width: 100%; max-width: 680px; margin: 0 auto; }
.laptop-lid { position: relative; background: #1c1c1e; border-radius: 18px 18px 6px 6px; padding: 3.2% 3.2% 4%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px -30px rgba(0,0,0,.8); }
.laptop-cam { position: absolute; top: 1.4%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3a3a3c; box-shadow: inset 0 0 0 1.5px #111; }
.laptop-display { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #fff; }
.laptop-display iframe { position: absolute; top: 0; left: 0; width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; pointer-events: none; background: #fff; }
.laptop-base { position: relative; height: 16px; width: 116%; margin-left: -8%; background: linear-gradient(180deg, #d9d9dc 0%, #b4b4b8 55%, #8e8e93 100%); border-radius: 2px 2px 14px 14px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); }
.laptop-notch { position: absolute; top: 0; left: 50%; width: 16%; height: 6px; transform: translateX(-50%); background: #9c9ca1; border-radius: 0 0 8px 8px; }
@media (max-width: 920px) { .laptop { max-width: 560px; margin-top: 8px; } .laptop-base { height: 12px; } }
@media (max-width: 480px) { .laptop-base { width: 108%; margin-left: -4%; } .laptop-lid { border-radius: 12px 12px 4px 4px; } }

/* ======================================================================
   Barre latérale d'édition (tableau de bord) — style neutre, sans emojis
   ====================================================================== */
.ico { flex: none; display: block; }
.btn-ico { display: inline-flex; align-items: center; gap: 7px; }

@media (min-width: 900px) {
  .dash { align-items: flex-start; flex-wrap: nowrap; }
  .editor, .preview { position: sticky; top: 0; height: 100vh; overflow-y: auto; overscroll-behavior: contain; }
  .editor { flex: none; width: 420px; display: flex; flex-direction: column; }
  .editor .panel { flex: 1; }
}
.editor { background: #fff; border-right: 1px solid var(--line); scrollbar-width: thin; }
.preview { background: #f4f4f5; padding: 20px; }
.preview-frame { border-radius: 16px; border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -18px rgba(0,0,0,.18); }

/* Onglets : une seule ligne, soulignement de l'onglet actif */
.tabs { flex: none; position: sticky; top: 0; z-index: 6; background: #fff; flex-wrap: nowrap; gap: 2px; padding: 0 12px;
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 15px 9px 13px; border-radius: 0;
  font-size: .86rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.tab:hover { color: var(--ink); }
.tab.active { background: none; color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 6px; }

.editor .panel { padding: 20px 20px 24px; }
.editor .label { font-weight: 600; color: #3f3f46; }
.editor .input { border-color: #d4d4d8; border-radius: 10px; }

/* Blocs (accordéon) */
.subcard[data-mod] { padding: 0; margin-bottom: 8px; border-radius: 12px; background: #fff; border-color: var(--line); }
.subcard[data-mod]:hover { border-color: #d4d4d8; }
.subcard[data-mod].open { border-color: #a1a1aa; box-shadow: 0 10px 28px -20px rgba(0,0,0,.35); }
.subcard[data-mod] .mod-head, .subcard[data-mod].open .mod-head { margin: 0; gap: 2px; padding: 6px 8px 6px 4px; min-height: 52px; }
.subcard[data-mod] .mod-body { padding: 4px 16px 16px; border-top: 1px solid #f0f0f1; }
.subcard[data-mod].open .mod-body { padding-top: 14px; }
.subcard[data-mod] .subcard { background: #fafafa !important; border-color: #ececee; }

.mod-handle { flex: none; width: 28px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: none; color: #a1a1aa; border-radius: 8px; cursor: grab; touch-action: none; }
.mod-handle:hover { color: var(--ink); background: #f4f4f5; }
.mod-handle:active { cursor: grabbing; }
.mod-title { gap: 10px; padding: 8px 6px; margin: 0; border-radius: 8px; color: var(--ink); }
.mod-title:focus-visible, .mod-handle:focus-visible, .mod-btn:focus-visible, .mod-mi:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.mod-ico { flex: none; width: 32px; height: 32px; border-radius: 9px; background: #f4f4f5; color: #3f3f46;
  display: inline-flex; align-items: center; justify-content: center; }
.subcard[data-mod].open .mod-ico { background: var(--ink); color: #fff; }
.mod-name, .mod-title .mod-name { font-size: .94rem; font-weight: 600; text-transform: none; letter-spacing: -.005em; color: var(--ink); }
.mod-count { background: #f4f4f5; color: #52525b; font-weight: 600; font-size: .72rem; }
.mod-chev { margin-left: auto; color: #a1a1aa; font-size: inherit; }
.subcard[data-mod].open .mod-chev { color: var(--ink); }
.mod-tools { align-items: center; gap: 6px; flex: none; }
.mod-ghost { opacity: .4; }
.panel.is-busy { opacity: .6; pointer-events: none; }

/* Interrupteur « Menu » */
.mod-navtog { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px;
  background: #fafafa; font-size: .86rem; font-weight: 500; color: #3f3f46; }
.switch { appearance: none; -webkit-appearance: none; position: relative; width: 30px; height: 18px; margin: 0; border-radius: 999px;
  background: #d4d4d8; cursor: pointer; transition: background .15s; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(12px); }
.switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Menu « Plus d'actions » */
.mod-more { position: relative; }
.mod-more > summary { list-style: none; }
.mod-more > summary::-webkit-details-marker { display: none; }
.mod-btn { width: 32px; height: 32px; border: 0; background: none; color: #71717a; border-radius: 8px; }
.mod-btn:hover, .mod-more[open] > .mod-btn { background: #f4f4f5; color: var(--ink); }
.mod-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 168px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px -12px rgba(0,0,0,.25); }
.mod-mi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none;
  border-radius: 8px; font: inherit; font-size: .88rem; color: var(--ink); cursor: pointer; text-align: left; }
.mod-mi:hover { background: #f4f4f5; }
.mod-mi[disabled] { opacity: .35; cursor: default; background: none; }
.mod-mi--danger { color: #b91c1c; }
.mod-mi--danger:hover { background: #fef2f2; }

/* Bouton Enregistrer toujours visible */
.save-bar { position: sticky; bottom: 0; z-index: 5; margin: 16px -20px -24px; padding: 12px 20px 16px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 30%); }
.btn-save { width: 100%; }

/* Ajouter un bloc */
.addmod { padding-bottom: 24px; }
.addmod-title, .subcard h4.addmod-title { margin: 28px 0 12px; font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); }
.addmod-grid { gap: 8px; }
.addmod-card { padding: 12px; gap: 6px; border-radius: 12px; }
.addmod-card:hover { border-color: var(--ink); box-shadow: none; background: #fafafa; }
.addmod-ico { width: 34px; height: 34px; border-radius: 9px; background: #f4f4f5; color: #3f3f46; display: inline-flex;
  align-items: center; justify-content: center; font-size: inherit; }
.addmod-lbl { font-weight: 600; color: var(--ink); }
.addmod-pro { background: #f4f4f5; color: #3f3f46; font-weight: 600; letter-spacing: .04em; }
.addmod-desc { color: var(--muted); }

/* Aperçu : bloc ciblé depuis la barre latérale */
.preview .pv-focus { outline: 2px solid var(--ink); outline-offset: -2px; transition: outline-color .6s; }

@media (prefers-reduced-motion: reduce) {
  .tab, .switch, .switch::after, .subcard[data-mod] { transition: none; }
}

/* Éléments d'un bloc (services, produits, questions…) repliables */
.item { border: 1px solid #ececee; border-radius: 10px; background: #fff; margin-bottom: 6px; }
.item[open] { border-color: #d4d4d8; }
.item-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; list-style: none; border-radius: 10px; }
.item-head::-webkit-details-marker { display: none; }
.item-head:hover { background: #fafafa; }
.item-head:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.item-thumb { flex: none; width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.item-num { display: inline-flex; align-items: center; justify-content: center; background: #f4f4f5; color: #52525b; font-size: .75rem; font-weight: 600; }
.item-name { flex: 1; min-width: 0; font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-chev { color: #a1a1aa; transition: transform .2s; }
.item[open] .item-chev { transform: rotate(180deg); color: var(--ink); }
.item-body { padding: 4px 12px 12px; border-top: 1px solid #f0f0f1; }
.item-body .field:first-child, .item-body .imgslot:first-child { margin-top: 10px; }
.item-body .imgslot--box { aspect-ratio: auto; height: 132px; }
.item-del { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 8px; border: 0; background: none;
  border-radius: 8px; color: #b91c1c; font: inherit; font-size: .82rem; cursor: pointer; }
.item-del:hover { background: #fef2f2; }
.btn-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 4px; padding: 10px;
  border: 1px dashed #d4d4d8; border-radius: 10px; background: none; color: #3f3f46; font: inherit; font-size: .86rem; font-weight: 500; cursor: pointer; }
.btn-add:hover { border-color: var(--ink); color: var(--ink); background: #fafafa; }
.mod-body > .field:first-child { margin-top: 0; }
.mod-body .field { margin-bottom: 12px; }
.mod-body .field + .item, .mod-body .muted + .item { margin-top: 14px; }

/* Onglets : 6 colonnes égales, icône au-dessus du libellé (tient dans la largeur de la barre) */
.tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 0 6px; overflow: visible; }
.tab { flex-direction: column; justify-content: center; gap: 4px; padding: 12px 2px 10px; font-size: .74rem; text-align: center; min-width: 0; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* L'aperçu du tableau de bord n'a pas d'animation au défilement : contenu toujours visible. */
.preview .reveal { opacity: 1; transform: none; }

/* ============ Back-office admin ============ */
.impersonate-bar { position: sticky; top: 0; z-index: 1000; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: #b45309; color: #fff; font-size: .9rem; }
.impersonate-bar form { margin: 0; }
.impersonate-bar .btn { background: #fff; color: #7c2d12; border: 0; font-weight: 600; }
.adm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.adm-kpi { padding: 16px 18px; }
.adm-kpi-hl { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.adm-kpi-l { font-size: .82rem; }
.adm-kpi-v { font-size: 1.6rem; font-weight: 800; margin-top: 2px; letter-spacing: -.02em; }
.adm-kpi-s { font-size: .76rem; margin-top: 2px; }
.adm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 12px; }
.adm-head h2 { margin: 0; text-align: left; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-filters .input { width: auto; min-width: 170px; padding: 8px 12px; font-size: .88rem; }
.adm-filters input.input { min-width: 260px; }
.adm-row { padding: 16px 20px; margin-bottom: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.adm-row[hidden] { display: none; }
.adm-main { flex: 1 1 380px; min-width: 0; }
.adm-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.adm-title strong { font-size: 1.05rem; margin-right: 4px; }
.adm-meta { font-size: .86rem; margin: 6px 0 0; overflow-wrap: anywhere; }
.adm-meta a { color: var(--brand-dark, inherit); }
.adm-addons { list-style: none; padding: 0; margin: 8px 0 0; font-size: .84rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.adm-actions { display: flex; flex-direction: column; gap: 6px; width: 250px; }
.adm-actions form { margin: 0; }
.adm-actions .btn, .adm-actions .input { width: 100%; text-align: center; }
.adm-actions .input-sm { padding: 6px 10px; font-size: .85rem; }
@media (max-width: 1000px) { .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .adm-actions { width: 100%; } .adm-filters, .adm-filters .input, .adm-filters input.input { width: 100%; min-width: 0; } }

/* --- Ajouts testeur 2026-12-03 --- */
/* Pas de défilement horizontal sur l'accueil (socle de l'ordinateur à 116 %, surtout en arabe). */
.mkt { overflow-x: clip; }
/* Héros de l'accueil : apparition plus rapide pour ne pas laisser un écran noir au chargement. */
.hero2 .reveal { transition-duration: .35s; }
.hero2 .reveal.d1, .hero2 .reveal.d2, .hero2 .reveal.d3 { transition-delay: 0s; }
/* Zones tactiles d'au moins 44 px sur mobile pour les boutons et onglets de la vitrine. */
@media (max-width: 640px) {
  .mkt .btn, .mkt .ttab { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .foot2-col a { display: inline-block; padding: 8px 0; }
}

/* ============ Éditeur intégré au tableau de bord (enregistrement automatique) ============ */
.save-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #52525b; white-space: nowrap; margin-right: 4px; }
.save-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; flex: none; }
.save-status[data-state="dirty"]::before { background: #f59e0b; }
.save-status[data-state="saving"]::before { background: #a1a1aa; animation: mvx-pulse 1s infinite ease-in-out; }
.save-status[data-state="error"] { color: #b91c1c; }
.save-status[data-state="error"]::before { background: #dc2626; }
.save-status .mvx-retry { border: 1px solid #fca5a5; background: #fff; color: #b91c1c; border-radius: 6px; padding: 3px 8px; font: inherit; font-weight: 600; cursor: pointer; }
@keyframes mvx-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .save-status[data-state="saving"]::before { animation: none; } }
.dash-live .save-bar { display: none; }
.autosave-note { display: none; }
.dash-live .autosave-note { display: block; margin: 14px 0 0; font-size: .8rem; color: #71717a; text-align: center; }
.dash-live .preview .mv-site { cursor: default; }
.welcome { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; background: #fafafa; }
.welcome-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.welcome h3 { margin: 0; font-size: 1rem; letter-spacing: -.01em; }
.welcome p { margin: 6px 0 10px; font-size: .88rem; color: #52525b; }
.welcome-steps { margin: 0 0 14px; padding-left: 20px; font-size: .86rem; color: #3f3f46; display: grid; gap: 6px; }
.welcome-close { border: 0; background: transparent; width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #52525b; cursor: pointer; }
.welcome-close:hover { background: #f4f4f5; color: #18181b; }
.dash-switch { display: none; }
@media (max-width: 899px) {
  .dash-switch { display: flex; position: sticky; top: 0; z-index: 50; width: 100%; gap: 4px; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--line); }
  .dash-switch button { flex: 1; border: 1px solid var(--line); background: #fff; color: #3f3f46; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
  .dash-switch button[aria-selected="true"] { background: #18181b; border-color: #18181b; color: #fff; }
  .dash .preview { display: none; }
  .dash.dash-show-preview .preview { display: block; width: 100%; min-width: 0; padding: 10px; }
  .dash.dash-show-preview .editor { display: none; }
  .topbar .save-status { order: -1; width: 100%; }
}

/* ============ Back-office admin (suite) : menu, fiche client, options, journal, réglages ============ */
.adm-topbar { border-bottom: 0; }
.adm-nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.adm-nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.adm-nav-in::-webkit-scrollbar { display: none; }
.adm-nav-a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 12px 11px; font-size: .88rem; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.adm-nav-a:hover { color: var(--ink); }
.adm-nav-a.on { color: var(--ink); border-bottom-color: var(--ink); }
.adm-nav-off { cursor: default; opacity: .55; }
.adm-nav-off:hover { color: var(--muted); }
.adm-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: .72rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.adm-soon { font-size: .7rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: #f4f4f5; color: #52525b; letter-spacing: .01em; }
.adm-ico-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.adm-ext { display: inline-flex; align-items: center; gap: 4px; }
.adm-name { text-decoration: none; }
.adm-name:hover strong { text-decoration: underline; }
.adm-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.adm-dot-ok { background: #16a34a; }
.adm-dot-wait { background: #f59e0b; }
.adm-crumb { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); text-decoration: none; margin-bottom: 14px; }
.adm-crumb:hover { color: var(--ink); }
.adm-warn { border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; border-radius: 12px; padding: 12px 16px; font-size: .88rem; margin: 0 0 16px; }
.adm-warn code, .adm-box code { font-size: .82rem; background: rgba(0,0,0,.05); padding: 1px 5px; border-radius: 5px; }
.adm-client-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.adm-h1 { font-size: 1.6rem; margin: 0; letter-spacing: -.02em; text-align: left; }
.adm-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.adm-col { display: grid; gap: 16px; min-width: 0; }
.adm-box { padding: 18px 20px; }
.adm-box-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.adm-box-h h2 { font-size: 1.05rem; margin: 0; text-align: left; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.adm-h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin: 16px 0 8px; }
.adm-dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: .9rem; }
.adm-dl dt { color: var(--muted); }
.adm-dl dd { margin: 0; overflow-wrap: anywhere; }
.adm-box-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.adm-box-actions form { margin: 0; }
.adm-box-actions .input-sm { padding: 7px 10px; font-size: .85rem; width: auto; }
.adm-soon-box { background: #fafafa; }
.adm-label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 5px; }
.adm-note-form { display: grid; gap: 8px; justify-items: start; }
.adm-note-form textarea { width: 100%; resize: vertical; }
.adm-notes, .adm-log { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.adm-notes li { border-top: 1px solid var(--line); padding-top: 10px; font-size: .9rem; }
.adm-notes p { margin: 0 0 4px; white-space: normal; }
.adm-notes .muted, .adm-log .muted { font-size: .78rem; }
.adm-log li { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; border-left: 2px solid var(--line); padding-left: 10px; }
.adm-table-wrap { overflow-x: auto; }
.card.adm-table-wrap { padding: 0; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.adm-table th { text-align: left; font-weight: 600; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table a { color: inherit; }
.adm-table .muted { font-size: .8rem; }
.adm-td-act { text-align: right; }
.adm-td-act form { margin: 0; }
.adm-nowrap { white-space: nowrap; }
.adm-empty { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.adm-empty p { margin: 0; }
.adm-pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.adm-settings { display: grid; gap: 16px; margin-top: 16px; justify-items: start; }
.adm-settings > .card { width: 100%; }
.adm-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 18px; }
.adm-field .input { width: 100%; }
.adm-hint { display: block; font-size: .78rem; margin-top: 4px; }
@media (max-width: 900px) { .adm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .adm-dl { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .adm-dl dt { margin-top: 8px; font-size: .8rem; }
  .adm-box-actions > *, .adm-box-actions .btn, .adm-box-actions .input-sm { width: 100%; }
  .adm-nav-a, .adm-box-actions .btn { min-height: 44px; }
}
