/* Agence Web 31 · Sites — interface de la plateforme (accueil, création, espace client). */

@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #121019;
  --ink-2: #34303F;
  --muted: #6E6879;
  --line: #E9E3DA;
  --bg: #F6F2EC;
  --paper: #FFFFFF;
  /* Charte Agence Web 31 : violette (--teal*), brique (--coral), or. Noms historiques conservés. */
  --teal: #5B3E96;
  --teal-d: #4A3180;
  --teal-dd: #0E0D12;
  --teal-soft: #EEE8F7;
  --coral: #C4512F;
  --coral-soft: #F7E1D7;
  --gold: #F2B55C;
  --ok: #138A5B;
  --warn: #B7791F;
  --err: #B42318;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgb(26 21 35 / .05), 0 18px 40px -20px rgb(26 21 35 / .22);
  --shadow-lg: 0 2px 4px rgb(26 21 35 / .04), 0 40px 80px -30px rgb(26 21 35 / .35);
  --display: "Outfit", system-ui, sans-serif;
  --accent-font: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.hl { font-family: var(--accent-font); font-style: italic; font-weight: 500; color: var(--coral); }
.muted { color: var(--muted); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Boutons & champs ---------- */
.btn {
  --b: var(--ink); appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s, color .18s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 24px -12px var(--coral); }
.btn-primary:hover { background: #A6401F; transform: translateY(-1px); box-shadow: 0 18px 30px -14px var(--coral); }
.btn-dark { background: var(--teal-dd); color: #fff; }
.btn-dark:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-soft { background: var(--teal-soft); color: var(--teal-dd); }
.btn-soft:hover { background: #E2D9F2; }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.field { display: grid; gap: 7px; }
.field > span, .label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 13px; }
.input, .field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--paper); width: 100%;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgb(91 62 150 / .16); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }

/* ---------- Cartes ---------- */
.card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.card.narrow { max-width: 520px; width: 100%; }
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.center-page .btn { margin-top: 8px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dd); }
.badge.coral { background: var(--coral-soft); color: #9A3416; }
.badge.warn { background: #FDF1D8; color: #8A5A0B; }
.badge.err { background: #FDE4E1; color: var(--err); }
.badge.gray { background: #EDF0EE; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Marque ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo-mark { position: relative; width: 36px; height: 36px; border-radius: 11px; background: var(--coral); display: grid; place-items: center; flex: none; color: #fff; font-family: var(--display); font-weight: 650; font-size: 17px; letter-spacing: -0.03em; }
.logo-mark::after { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px var(--coral); }
.logo small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1; margin-top: 3px; }
.logo span { line-height: 1.05; }

/* ---------- Barre de navigation ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.topnav a:not(.btn):hover { background: rgb(26 21 35 / .06); }
@media (max-width: 900px) { .topnav a:not(.btn) { display: none; } .topnav .btn-ghost { display: none; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; translate: -50% 0; z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 15px; animation: toast-in .3s cubic-bezier(.2,.8,.2,1); }
.toast.err { background: var(--err); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* =====================================================================
   PAGE D'ACCUEIL
   ===================================================================== */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgb(91 62 150 / .16), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.pill-note { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 14px; font-weight: 500; margin-bottom: 26px; box-shadow: 0 6px 16px -10px rgb(26 21 35 / .3); }
.pill-note b { background: var(--teal-soft); color: var(--teal-dd); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.start-form { display: flex; gap: 8px; background: var(--paper); padding: 8px; border-radius: 999px; box-shadow: var(--shadow); max-width: 560px; border: 1px solid var(--line); }
.start-form input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; padding: 0 18px; background: transparent; color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .start-form { flex-direction: column; border-radius: 22px; }
  .start-form input { padding: 14px 14px; }
}

/* Maquette navigateur animée */
.mock { position: relative; }
.browser { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 960px) { .browser { transform: none; } }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #F1F1EE; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; } .browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #DAD7D0; }
.browser-url { flex: 1; background: var(--paper); border-radius: 8px; padding: 6px 12px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; }
.browser-url svg { width: 12px; height: 12px; color: var(--ok); flex: none; }
.typed::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--teal); margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.mini-site { --p: #B4532A; --a: #E9B44C; font-family: var(--sans); }
.mini-hero { position: relative; height: 270px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; overflow: hidden; }
.mini-hero .photo { position: absolute; inset: 0; background: var(--photo); background-size: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.mini-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(10 10 14 / .72), rgb(10 10 14 / .1)); }
.mini-hero > *:not(.photo) { position: relative; z-index: 1; }
.mini-nav { position: absolute !important; top: 14px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; }
.mini-nav b { font-family: "Fraunces", serif; font-size: 15px; }
.mini-nav span { background: var(--p); padding: 5px 10px; border-radius: 999px; }
.mini-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.mini-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a); }
.mini-title { font-family: "Fraunces", serif; font-size: 30px; line-height: 1.05; font-weight: 560; margin-bottom: 8px; }
.mini-sub { font-size: 12px; opacity: .9; max-width: 300px; margin-bottom: 14px; }
.mini-btns { display: flex; gap: 8px; } .mini-btns i { font-style: normal; font-size: 11px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--p); }
.mini-btns i + i { background: transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7); }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; background: #FBF7F2; }
.mini-cards div { background: #F3E9DF; border-radius: 10px; padding: 12px; position: relative; overflow: hidden; }
.mini-cards div::before { content: ""; position: absolute; top: 0; left: 12px; width: 18px; height: 3px; background: var(--p); border-radius: 0 0 3px 3px; }
.mini-cards b { display: block; font-family: "Fraunces", serif; font-size: 12.5px; margin: 4px 0 4px; color: #2A1D16; }
.mini-cards span { display: block; height: 5px; border-radius: 4px; background: #E3D3C3; margin-top: 5px; }
.mini-cards span + span { width: 70%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
.mock-chip { position: absolute; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; animation: float 5s ease-in-out infinite; }
.mock-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.mock-chip .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dd); flex: none; }
.mock-chip .ico svg { width: 20px; height: 20px; }
.mock-chip.c1 { left: -22px; bottom: 58px; }
.mock-chip.c2 { right: -12px; top: 64px; animation-delay: -2.5s; }
.mock-chip.c2 .ico { background: var(--coral-soft); color: var(--coral); }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .mock-chip.c1 { left: 6px; bottom: -18px; } .mock-chip.c2 { right: 6px; top: -18px; } }

/* Bandeau des métiers */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.marquee span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head p { font-size: 18px; color: var(--muted); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 64px; line-height: 1; color: var(--teal-soft); position: absolute; right: 22px; top: 18px; font-weight: 600; }
.step .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-dd); color: #fff; margin-bottom: 22px; }
.step .ico svg { width: 26px; height: 26px; }
.step p { color: var(--muted); margin: 0; }
.step .time { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--teal); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.feature { background: var(--paper); padding: 28px; }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Section sombre : comparatif */
.dark { background: var(--teal-dd); color: #E7F0EC; }
.dark h2 { color: #fff; }
.dark .kicker { color: var(--gold); }
.dark .section-head p { color: #A9C4BC; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1); }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid rgb(255 255 255 / .08); vertical-align: top; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #A9C4BC; font-weight: 700; }
.compare tbody th { font-weight: 600; color: #fff; width: 22%; }
.compare .us { background: rgb(255 255 255 / .07); color: #fff; font-weight: 600; }
.compare thead .us { color: var(--gold); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .yes { color: #7FD8BE; } .compare .no { color: #E8A08A; }
.compare-note { font-size: 13px; color: #A9C4BC; margin-top: 14px; }

/* Exemples */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.example { border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .3s; }
.example:hover { transform: translateY(-6px); }
.example .ex-top { height: 210px; position: relative; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.example .ex-top::before { content: ""; position: absolute; inset: 0; background: var(--photo); background-size: cover; transition: transform .8s; }
.example:hover .ex-top::before { transform: scale(1.06); }
.example .ex-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgb(10 10 14 / .7)); }
.example .ex-top > * { position: relative; z-index: 1; }
.example .ex-title { font-size: 24px; line-height: 1.1; margin: 0 0 4px; color: #fff; }
.example .ex-meta { font-size: 13px; opacity: .85; }
.example .ex-body { padding: 18px 20px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.swatches { display: flex; } .swatches i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -6px; }
@media (max-width: 900px) { .examples { grid-template-columns: 1fr; } }

/* Tarif */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.price-card { background: var(--paper); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); position: relative; border: 2px solid var(--teal); }
.price-card .badge { position: absolute; top: -14px; left: 32px; background: var(--teal); color: #fff; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.price b { font-family: var(--display); font-size: 84px; line-height: 1; font-weight: 560; letter-spacing: -0.04em; }
.price span { color: var(--muted); font-size: 17px; }
.toggle { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; margin: 6px 0 18px; }
.toggle button { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.toggle button.on { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px -2px rgb(26 21 35 / .2); }
.toggle em { font-style: normal; color: var(--coral); font-size: 12px; margin-left: 4px; }
.incl { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.incl svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }
.guarantees { display: grid; gap: 14px; }
.guarantee { background: var(--paper); border-radius: var(--r-lg); padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.guarantee .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dd); display: grid; place-items: center; flex: none; }
.guarantee .ico svg { width: 22px; height: 22px; }
.guarantee h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.guarantee p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } .incl { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 20px; color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-right: 48px; }

.cta-final { background: var(--coral); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgb(255 255 255 / .18), transparent); }
.cta-final h2 { color: #fff; position: relative; }
.cta-final p { position: relative; font-size: 18px; opacity: .92; }
.cta-final .btn { position: relative; background: #fff; color: var(--coral); }
.cta-final .btn:hover { background: var(--ink); color: #fff; }

.footer { padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--ink-2); text-decoration: none; } .footer a:hover { color: var(--teal); }

/* =====================================================================
   CRÉATEUR DE SITE (questionnaire + aperçu en direct)
   ===================================================================== */
.builder { display: grid; grid-template-columns: minmax(380px, 520px) 1fr; height: 100vh; height: 100dvh; }
.builder-side { display: flex; flex-direction: column; background: var(--paper); border-right: 1px solid var(--line); min-height: 0; }
.builder-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.save-state { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.save-state.saving .dot { color: var(--warn); }
.save-state .dot { color: var(--ok); }
.progress { height: 4px; background: var(--bg); }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--coral)); border-radius: 0 4px 4px 0; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.builder-body { flex: 1; overflow-y: auto; padding: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 40px) 40px; overscroll-behavior: contain; }
.builder-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.step-count { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.q-title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 10px; }
.q-help { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.q-block { display: grid; gap: 18px; margin-bottom: 28px; }
.pane { animation: pane-in .45s cubic-bezier(.2,.8,.2,1); }
@keyframes pane-in { from { opacity: 0; transform: translateY(14px); } }

.builder-preview { position: relative; background: #E9E6DF; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; }
.preview-bar .seg { display: inline-flex; background: rgb(255 255 255 / .6); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 2px 6px -2px rgb(0 0 0 / .2); }
.seg svg { width: 16px; height: 16px; }
.preview-stage { flex: 1; display: grid; place-items: center; padding: 0 20px 20px; min-height: 0; }
.device { width: 100%; height: 100%; background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); transition: width .4s cubic-bezier(.2,.8,.2,1), border-radius .4s; position: relative; display: flex; flex-direction: column; }
.device.mobile { width: 390px; max-height: 820px; border-radius: 38px; border: 10px solid #15201E; }
.device .browser-bar { padding: 9px 12px; }
.device.mobile .browser-bar { display: none; }
.device iframe { flex: 1; width: 100%; border: 0; background: var(--paper); }
.preview-loading { position: absolute; top: 56px; right: 16px; z-index: 2; opacity: 0; transition: opacity .2s; }
.preview-loading.on { opacity: 1; }
.preview-toggle { display: none; }

@media (max-width: 980px) {
  .builder { grid-template-columns: 1fr; height: auto; min-height: 100dvh; }
  .builder-side { border-right: 0; min-height: 100dvh; }
  .builder-body { overflow: visible; }
  .builder-foot { position: sticky; bottom: 0; z-index: 5; }
  .builder-preview { position: fixed; inset: 0; z-index: 60; transform: translateY(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .builder-preview.open { transform: none; }
  .preview-toggle { display: inline-flex; }
  .device, .device.mobile { width: 100%; max-height: none; border-radius: 14px; border: 0; }
}

/* Choix (secteurs, puces, palettes) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: 14.5px; line-height: 1.3; text-align: left; font-family: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.choice:hover { border-color: #B9CCC5; transform: translateY(-1px); }
.choice.on { border-color: var(--teal); box-shadow: 0 0 0 4px rgb(91 62 150 / .16); }
.choice.on::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.choice .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-dd); display: grid; place-items: center; }
.choice .ico svg { width: 21px; height: 21px; }
.choice small { font-weight: 500; color: var(--muted); font-size: 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); border-radius: 999px; padding: 9px 15px; font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: .15s; }
.chip:hover { border-color: #B9CCC5; }
.chip.on { background: var(--teal-dd); border-color: var(--teal-dd); color: #fff; }
.chip.on::before { content: "✓"; font-weight: 700; font-size: 13px; }
.chip.custom { border-style: dashed; }
.add-row { display: flex; gap: 8px; }
.add-row .input { border-radius: 999px; padding: 11px 18px; }

.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.palette { border: 1.5px solid var(--line); border-radius: 16px; padding: 10px; background: var(--paper); cursor: pointer; font: inherit; text-align: left; transition: .15s; }
.palette.on { border-color: var(--teal); box-shadow: 0 0 0 4px rgb(91 62 150 / .16); }
.palette .sw { height: 64px; border-radius: 10px; display: grid; grid-template-columns: 2fr 1fr 1fr; overflow: hidden; margin-bottom: 8px; }
.palette b { font-size: 13.5px; }

.fontpicks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fontpick { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; background: var(--paper); cursor: pointer; font: inherit; text-align: left; transition: .15s; }
.fontpick.on { border-color: var(--teal); box-shadow: 0 0 0 4px rgb(91 62 150 / .16); }
.fontpick .sample { font-size: 30px; line-height: 1; margin-bottom: 8px; color: var(--ink); }
.fontpick small { color: var(--muted); font-size: 13px; }

/* Horaires */
.hours { display: grid; gap: 8px; }
.hour-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; }
.hour-row b { font-size: 14.5px; text-transform: capitalize; }
.hour-row .input { padding: 10px 14px; border-radius: 12px; }
.hour-row .closed { opacity: .5; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; background: #CBD5D1; border-radius: 999px; transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgb(0 0 0 / .2); }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { translate: 18px 0; }

/* Photos */
.drop { position: relative; border: 2px dashed #C6D4CF; border-radius: 18px; background: #FAFBFA; padding: 22px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: .18s; }
.drop:hover, .drop.over { border-color: var(--teal); background: var(--teal-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; color: var(--teal); box-shadow: var(--shadow); flex: none; }
.drop .ico svg { width: 24px; height: 24px; }
.drop b { display: block; font-size: 15px; }
.drop small { color: var(--muted); font-size: 13px; }
.drop .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: #fff; }
.drop.has { border-style: solid; border-color: var(--line); background: var(--paper); }
.drop--logo .thumb { object-fit: contain; padding: 6px; border: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 12px; }
.g-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg); cursor: grab; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item button { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgb(26 21 35 / .75); color: #fff; cursor: pointer; font-size: 15px; line-height: 1; display: grid; place-items: center; }
.g-item.uploading::after { content: ""; position: absolute; inset: 0; background: rgb(255 255 255 / .6) linear-gradient(90deg, transparent, rgb(255 255 255 / .8), transparent); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.tip { display: flex; gap: 12px; background: var(--teal-soft); color: var(--teal-dd); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.tip svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.tip .table { width: 100%; font-size: 13px; }
.tip .table td, .tip .table th { padding: 8px; word-break: break-all; }

/* Recherche entreprise / domaine */
.results { display: grid; gap: 6px; margin-top: 4px; }
.result { text-align: left; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; transition: .15s; }
.result:hover { border-color: var(--teal); }
.result b { display: block; font-size: 15px; }
.result small { color: var(--muted); font-size: 13px; }
.domain-box { display: flex; gap: 8px; }
.domain-state { margin-top: 10px; font-size: 14.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; min-height: 24px; }
.domain-state.ok { color: var(--ok); } .domain-state.no { color: var(--err); }
.domain-sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Récapitulatif */
.recap { display: grid; gap: 10px; }
.recap-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg); font-size: 15px; }
.recap-item span { color: var(--muted); }
.recap-item b { text-align: right; }
.missing { background: #FDF1D8; color: #6F4A08; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; }
.missing ul { margin: 6px 0 0; padding-left: 20px; }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; cursor: pointer; background: var(--paper); font: inherit; text-align: left; position: relative; transition: .15s; }
.plan.on { border-color: var(--teal); box-shadow: 0 0 0 4px rgb(91 62 150 / .16); }
.plan b { font-family: var(--display); font-size: 30px; display: block; line-height: 1.1; font-weight: 560; }
.plan small { color: var(--muted); }
.plan .badge { position: absolute; top: -11px; right: 12px; background: var(--coral); color: #fff; }

/* =====================================================================
   ESPACE CLIENT
   ===================================================================== */
.dash { max-width: 1080px; margin: 0 auto; padding: 32px var(--gutter) 80px; }
.dash-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 24px; }
.status-card { background: var(--teal-dd); color: #E7F0EC; border-radius: 28px; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.status-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgb(233 180 76 / .25), transparent); }
.status-card h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; position: relative; }
.status-card p { color: #A9C4BC; position: relative; }
.status-card .badge { background: rgb(255 255 255 / .12); color: #fff; position: relative; }
.timeline { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 4px; position: relative; }
.timeline li { display: flex; align-items: center; gap: 14px; padding: 9px 0; color: #A9C4BC; font-weight: 500; }
.timeline li .tick { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .2); display: grid; place-items: center; flex: none; transition: .3s; }
.timeline li.done { color: #fff; }
.timeline li.done .tick { background: var(--gold); border-color: var(--gold); color: var(--teal-dd); }
.timeline li.current .tick { border-color: var(--gold); }
.timeline li.current .tick::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 1.4s infinite; }
.timeline svg { width: 16px; height: 16px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; }
.status-actions .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); }
.thumb-card { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.thumb-frame { position: relative; flex: 1; min-height: 300px; overflow: hidden; background: var(--bg); }
.thumb-frame iframe { position: absolute; top: 0; left: 0; width: 250%; height: 250%; transform: scale(.4); transform-origin: 0 0; border: 0; pointer-events: none; }
.thumb-card .browser-bar { background: var(--paper); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.panel h2 { font-size: 24px; margin-bottom: 6px; }
.panel > p { color: var(--muted); font-size: 15px; }
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-height: 360px; overflow-y: auto; }
.events li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.events li:last-child { border-bottom: 0; }
.events time { color: var(--muted); font-size: 12.5px; white-space: nowrap; padding-top: 1px; }
.kv { display: grid; gap: 2px; font-size: 15px; margin-bottom: 16px; }
.kv span { color: var(--muted); font-size: 13px; }
.danger-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 0; margin-top: 10px; }
.danger-link:hover { color: var(--err); }
@media (max-width: 860px) { .dash-hero { grid-template-columns: 1fr; } }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--paper); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat b { display: block; font-family: var(--display); font-size: 38px; font-weight: 560; line-height: 1.1; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Page légale (CGV) */
.legal-page { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); }
.legal-page h2 { font-size: 24px; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.notice { background: var(--coral-soft); color: #7A2A12; border-radius: 14px; padding: 14px 18px; font-size: 14.5px; margin: 20px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[hidden] { display: none !important; }
.btn svg { width: 18px; height: 18px; flex: none; }
.ads-stats + .micro { margin-bottom: 18px; }
.credit { background: var(--teal-dd); color: #F7F5F0; border-radius: 18px; padding: 18px 20px; margin-bottom: 12px; }
.credit-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.credit-row span { font-size: 13px; color: #B7B1C4; font-weight: 600; }
.credit-row b { font-family: var(--display); font-size: 28px; font-weight: 600; }
.credit-bar { height: 8px; border-radius: 99px; background: rgb(255 255 255 / .12); margin: 12px 0 8px; overflow: hidden; }
.credit-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--coral)); border-radius: inherit; }
.credit .micro { color: #B7B1C4; }
.packs { display: flex; flex-wrap: wrap; gap: 10px; }
.pack { position: relative; }
.referral-link { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 18px; }
.referral-link input { flex: 1 1 280px; font-family: var(--sans); font-size: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); }
.referral .kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.referral .kv div { background: var(--bg); border-radius: 14px; padding: 12px 16px; }
.referral .kv span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.referral .kv b { font-family: var(--display); font-size: 24px; }
.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .auto-grid { grid-template-columns: 1fr; } }
.pack input { position: absolute; opacity: 0; inset: 0; }
.pack span { display: inline-flex; align-items: baseline; gap: 4px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 14px; font-family: var(--display); font-size: 20px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.pack small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 500; }
.pack input:checked + span { border-color: var(--coral); background: rgb(196 81 47 / .08); }
.pack input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.trend { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.trend-up { background: #E3F3EA; color: #1F7A4D; }
.trend-down { background: #FBE7E5; color: #B3261E; }
.trend-stable { background: #EFECE7; color: var(--muted); }

/* Espace client : options */
.options-panel h2 { margin-bottom: 6px; }
.options-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.options-top p { color: var(--muted); max-width: 560px; margin: 0; }
.options-total { text-align: right; }
.options-total span, .options-total small { display: block; font-size: 12.5px; color: var(--muted); }
.options-total b { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.addons { display: grid; gap: 12px; margin-top: 14px; }
.addon { border: 1px solid var(--line); border-radius: 20px; background: var(--paper); transition: border-color .25s, box-shadow .25s; }
.addon[open] { border-color: #D9CFC3; box-shadow: 0 20px 40px -28px rgb(18 16 25 / .35); }
.addon.is-on { border-color: rgb(196 81 47 / .35); }
.addon summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 16px 20px; }
.addon summary::-webkit-details-marker { display: none; }
.addon summary .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-dd); color: var(--gold); }
.addon summary .ico svg { width: 20px; height: 20px; }
.addon-name b { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; }
.addon-name small { color: var(--muted); font-size: 13.5px; }
.addon .chev { width: 18px; height: 18px; color: var(--muted); transition: rotate .3s; }
.addon[open] .chev { rotate: 90deg; }
.addon-body { padding: 0 20px 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.addon-form { display: grid; gap: 16px; max-width: 720px; }
.addon-form.sub { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.addon-form .btn { justify-self: start; }
.addon-form input[type="range"] { accent-color: var(--coral); width: 100%; }
.micro { font-size: 12.5px; color: var(--muted); margin: 0; }
.ads-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ads-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.ads-stats div { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.ads-stats span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ads-stats b { font-family: var(--display); font-size: 26px; font-weight: 600; }
.ads-preview { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ads-preview .micro { width: 100%; }
.ads-preview i { font-style: normal; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-d); }
.audit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.audit li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.audit li svg { width: 16px; height: 16px; color: var(--warn); }
.audit li.ok { color: var(--ink); }
.audit li.ok svg { color: var(--ok); }
.page-edit { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; margin: 0; }
.page-edit legend { font-weight: 600; font-size: 13px; padding: 0 6px; }
@media (max-width: 640px) { .ads-stats { grid-template-columns: repeat(2, 1fr); } .addon summary { grid-template-columns: auto 1fr auto; } .addon .chev { display: none; } }

/* Boutique (espace client) */
.type-pick { grid-template-columns: repeat(2, 1fr); }
.type-pick .choice small { font-weight: 500; color: var(--muted, #6b6b6b); }
.shop-panel h3 { font-family: var(--display); font-size: 20px; margin: 30px 0 12px; }
.mode-pick { display: grid; gap: 10px; }
.product-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.product-list > li { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; }
.product-list > li.product-edit { display: block; }
.product-list .thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--paper); }
.product-list .thumb img, .product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-list .thumb svg { width: 22px; height: 22px; }
.product-list .pinfo small { display: block; color: var(--muted, #6b6b6b); }
.product-photo { display: flex; gap: 14px; align-items: center; }
.product-photo > img, .product-photo > span { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--paper); flex: none; }
.order-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.raw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin: 6px 0 10px; }
.raw-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 640px) { .type-pick { grid-template-columns: 1fr; } .product-list > li { grid-template-columns: 48px 1fr; } }
.product-list > li.product-empty { display: block; }
.product-list .btn-sm { white-space: nowrap; }
@media (max-width: 640px) { .product-list > li .btn-sm, .product-list > li .danger-link { grid-column: span 1; justify-self: start; } }
.import-report { margin: 0; padding-left: 18px; font-size: 14px; color: #B3261E; display: grid; gap: 4px; }
.import-report:empty { display: none; }
.zone-row { display: grid; grid-template-columns: 1fr 110px; gap: 10px; margin-bottom: 8px; }
.days-row { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.channels { display: grid; gap: 12px; }
.feed-url { display: flex; gap: 8px; align-items: center; }
.feed-url input { flex: 1; min-width: 0; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 14px; background: var(--bg); }
.feed-steps { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.feed-steps summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.feed-steps ol { margin: 10px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); display: grid; gap: 6px; }
.days-row .check { font-size: 14px; }
.table tr.is-off td { opacity: .55; }
.zone-row input { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.delivery-edit .micro { margin: 12px 0 6px; }
.table small svg { width: 14px; height: 14px; vertical-align: -2px; }
