/* Listify Revente — feuille de style unique (site + application). Polices hébergées localement (RGPD). */
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/syne-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/syne-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #17121F;
  --text: #3B3546;
  --text-2: #4A4455;
  --muted: #6B6577;
  --line: #EEEAF2;
  --line-2: #D9D4E0;
  --surface: #F6F4F9;
  --surface-2: #FBF9FC;
  --white: #FFFFFF;
  --accent: #E8552A;          /* couleur de marque (logo, barres, contours) */
  --accent-btn: #CC4B25;      /* même teinte, assez foncée pour du texte blanc (contraste 4,5:1) */
  --accent-btn-hover: #B23F1E;
  --accent-text: #C2410C;
  --accent-dark: #9A3412;
  --accent-bg: #FFF1EA;
  --accent-bg-2: #FFF8F4;
  --accent-line: #F3B79C;
  --ok: #0F6B4F;
  --ok-bg: #E7F6EF;
  --danger: #B42318;
  --danger-bg: #FEF3F2;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 3px rgba(23, 18, 31, .08), 0 8px 24px rgba(23, 18, 31, .06);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Syne', 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; color: var(--white); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Marque ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.brand-name span { color: var(--accent-text); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .1s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent-btn); color: var(--white); }
.btn-primary:hover { background: var(--accent-btn-hover); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2B2436; color: var(--white); }
.btn-ghost { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-soft { background: var(--accent-bg); color: var(--accent-dark); }
.btn-soft:hover { background: #FFE4D6; color: var(--accent-dark); }
.btn-danger { background: var(--white); border-color: #F1B8B2; color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-lg { min-height: 54px; font-size: 17px; padding: 0 22px; border-radius: 16px; }
.btn-sm { min-height: 44px; font-size: 14px; padding: 0 14px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn-link { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--accent-text); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- En-tête et pied du site ---------- */
.site-header { border-bottom: 1px solid #F0ECF3; background: rgba(255, 255, 255, .96); position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(1.4) blur(6px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:not(.btn):hover { background: var(--surface); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav .btn { margin-top: 6px; }
}
@media (min-width: 861px) { .header-cta-mobile { display: none; } }
.header-right { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .header-right .btn-dark { padding: 0 14px; } }
@media (max-width: 430px) { .header-cta-mobile { display: none; } .eyebrow { font-size: 12px; } }

.site-footer { border-top: 1px solid #F0ECF3; background: var(--surface-2); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 40px 0 24px; }
.footer-grid h2 { font-family: var(--font); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a, .footer-grid li button { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; color: var(--text); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; }
.footer-grid li a:hover, .footer-grid li button:hover { color: var(--accent-text); text-decoration: underline; }
.footer-about p { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 340px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Accueil ---------- */
.eyebrow { align-self: flex-start; display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-bg); padding: 7px 12px; border-radius: 999px; }
.hero { padding: 56px 0 48px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.03; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fineprint { font-size: 14px; color: var(--muted); }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-visual figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hero-visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; background: var(--surface); }
.hero-visual figcaption { font-size: 14px; font-weight: 700; color: var(--muted); }
.hero-visual figure.after figcaption { color: var(--accent-text); }
.hero-visual.single { grid-template-columns: 1fr; }
.hero-visual.single img { aspect-ratio: 4 / 3; }
.sample-card { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--white); }
.sample-card .k { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.sample-card .t { font-weight: 700; font-size: 17px; }
.sample-card .m { font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 32px; } }

.section { padding: 64px 0; }
.section.pt-0 { padding-top: 0; }
@media (max-width: 600px) { .section { padding: 48px 0; } .section.pt-0 { padding-top: 0; } }
.section-alt { background: var(--surface-2); border-top: 1px solid #F0ECF3; border-bottom: 1px solid #F0ECF3; }
.section h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 10px; }
.section-intro { color: var(--text-2); font-size: 17px; max-width: 680px; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li, .tile { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-bg); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.steps b, .tile b { font-size: 18px; }
.steps span, .tile p { color: var(--text-2); line-height: 1.5; }
.note { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); color: var(--text); line-height: 1.5; }

.platform-demo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platform-demo article { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.platform-demo h3 { font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.platform-demo .ttl { font-weight: 700; font-size: 17px; line-height: 1.35; }
.platform-demo .cnt { font-size: 13px; color: var(--muted); font-weight: 700; }
.platform-demo .dsc { white-space: pre-line; color: var(--text); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .platform-demo { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.price-card.featured { border: 2px solid var(--accent); background: var(--accent-bg-2); position: relative; }
.price-card .badge { position: absolute; top: -13px; left: 22px; background: var(--accent-btn); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price-card h3 { font-family: var(--font); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.price { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.15; }
.price > span { white-space: nowrap; }
.price small { display: block; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: 15px; }
.price-card li { display: flex; gap: 8px; align-items: flex-start; }
.price-card li svg { flex: none; margin-top: 3px; color: var(--ok); }
.price-card .btn { margin-top: auto; }
.pricing-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 1060px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

.section h2 + .faq { margin-top: 24px; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 18px 18px; color: var(--text-2); line-height: 1.6; }
.faq details > div p + p { margin-top: 8px; }

.guide-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.guide-links a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--white); min-height: 44px; }
.guide-links a:hover { border-color: var(--accent); color: var(--ink); }
.guide-links b { font-size: 17px; }
.guide-links span { color: var(--text-2); font-size: 15px; }

.cta-band { background: var(--ink); color: var(--white); border-radius: 26px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: #CFC8DA; margin-top: 8px; }

/* ---------- Articles (guides, pages légales) ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; }
@media (max-width: 600px) { .article { padding: 16px 16px 48px; } }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); margin: 14px 0 16px; }
.article .lead { margin-bottom: 18px; }
.article h2 { font-size: clamp(22px, 3vw, 28px); margin: 40px 0 12px; }
.article h3 { font-family: var(--font); font-weight: 700; font-size: 19px; letter-spacing: 0; margin: 24px 0 8px; }
.article p, .article li { color: var(--text); font-size: 17px; line-height: 1.7; }
.article p + p { margin-top: 12px; }
.article ul, .article ol { padding-left: 22px; margin: 12px 0; }
.article li + li { margin-top: 6px; }
.article .meta { font-size: 14px; color: var(--muted); }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; background: var(--surface-2); margin: 20px 0; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.toc li { font-size: 16px; }
.toc li + li { margin-top: 0; }
.toc a { display: inline-block; padding: 9px 0; }
.example { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; background: var(--white); margin: 16px 0; }
.example .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.example p, .example pre { margin: 0; font-family: var(--font); white-space: pre-wrap; font-size: 16px; line-height: 1.6; color: var(--ink); }
.example.bad { border-left-color: var(--line-2); }
.callout { border-radius: 16px; background: var(--accent-bg-2); border: 1px solid #FBD9C8; padding: 18px 20px; margin: 28px 0; }
.callout p { color: var(--ink); }
.callout .btn { margin-top: 12px; }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.article th, .article td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.article th { font-weight: 700; color: var(--ink); background: var(--surface-2); }
.table-wrap { overflow-x: auto; }
.todo { background: #FFF6D6; color: #6B4E00; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.article .breadcrumb ol { padding: 0; margin: 0; }
.article .breadcrumb li { font-size: 14px; line-height: 1.5; margin: 0; color: var(--muted); }
@media (min-width: 760px) { .toc ol { columns: 2; column-gap: 36px; } .toc li { break-inside: avoid; } }
.related { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 12px 40px rgba(23, 18, 31, .18); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cookie-banner h2 { font-family: var(--font); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.cookie-banner p { font-size: 15px; color: var(--text-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 160px; }
body.app .cookie-banner { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.app .cookie-banner { bottom: 16px; } }

/* ======================================================================
   Application
   ====================================================================== */
body.app { background: var(--white); min-height: 100vh; }
.app-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.app-header .app-bar { max-width: 1080px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; min-height: 64px; }
.app-header .brand-name { font-size: 17px; }
.credits-pill { margin-left: auto; font-size: 14px; font-weight: 700; padding: 0 14px; min-height: 40px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-dark); white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; }
.credits-pill:hover { color: var(--accent-dark); background: #FFE4D6; }
.credits-pill.is-empty { background: var(--danger-bg); color: var(--danger); }
.app-tabs { display: none; gap: 4px; margin-left: 20px; }
.app-tabs a { text-decoration: none; color: var(--text); font-weight: 500; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; }
.app-tabs a:hover { background: var(--surface); color: var(--ink); }
.app-tabs a[aria-current="page"] { background: var(--accent-bg); color: var(--accent-dark); font-weight: 700; }
.demo-banner { background: #FFF6D6; color: #5C4300; font-size: 14px; padding: 8px 16px; text-align: center; border-bottom: 1px solid #F3E2A6; }
.demo-banner b { font-weight: 700; }

.app-main { max-width: 600px; margin: 0 auto; padding: 8px 16px calc(110px + env(safe-area-inset-bottom)); outline: none; }
.app-main.wide { max-width: 1080px; }
.view-title { font-size: 28px; line-height: 1.1; margin: 12px 0 0; }
.view-title.sm { font-size: 22px; }
.bare { border: 0; padding: 0; margin: 0; min-width: 0; }
.view-sub { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #5B5566; }
.label-caps { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 500; border-radius: 12px; }
.bottom-nav a[aria-current="page"] { color: var(--accent-text); font-weight: 700; }
.bottom-nav svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .app-tabs { display: flex; }
  .bottom-nav { display: none; }
  .app-main { padding-top: 20px; padding-bottom: 64px; }
  .credits-pill { margin-left: auto; }
}

/* Choix des sites */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 500; font-size: 15px; cursor: pointer; }
.chip svg { width: 16px; height: 16px; display: none; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 700; }
.chip[aria-pressed="true"] svg { display: block; }
.chip[aria-pressed="true"]:focus-visible { outline-color: var(--accent); }

/* Zone photo */
.dropzone { border: 2px dashed var(--accent-line); border-radius: var(--radius-lg); background: var(--accent-bg-2); padding: 14px; display: flex; gap: 14px; align-items: center; position: relative; transition: border-color .15s, background-color .15s; }
.dropzone.drag { border-color: var(--accent); background: var(--accent-bg); }
.dropzone .thumb { width: 108px; height: 108px; border-radius: 16px; object-fit: cover; flex: none; background: var(--white); }
.dropzone .ph { width: 108px; height: 108px; border-radius: 16px; flex: none; background: var(--white); border: 1px solid #F6D2C1; display: flex; align-items: center; justify-content: center; color: var(--accent-text); }
.dropzone .ph svg { width: 34px; height: 34px; }
.dropzone .txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dropzone .txt b { font-size: 15px; }
.dropzone .txt span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.file-btn { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--accent-dark); background: var(--white); border: 1px solid var(--accent-line); border-radius: 999px; padding: 0 14px; cursor: pointer; }
.file-btn:hover { border-color: var(--accent); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-input:focus-visible + .file-btn, .file-btn:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Formulaires */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea { font-weight: 500; font-size: 16px; color: var(--ink); border: 1px solid #CFC9D8; border-radius: 12px; padding: 0 12px; min-height: 48px; background: var(--white); width: 100%; }
.field textarea { padding: 12px; min-height: 84px; resize: vertical; line-height: 1.45; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2317121F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(232, 85, 42, .35); outline-offset: 0; }
.field .hint { font-weight: 500; color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent-btn); }
.more-fields summary { cursor: pointer; font-weight: 700; color: var(--accent-text); min-height: 44px; display: inline-flex; align-items: center; list-style: none; font-size: 15px; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::before { content: '+'; margin-right: 8px; font-size: 18px; }
.more-fields[open] summary::before { content: '−'; }
.form-msg { border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.form-msg.err { background: var(--danger-bg); color: var(--danger); }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); }
.form-msg.info { background: var(--surface); color: var(--text); }

.info-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); font-size: 14px; line-height: 1.35; text-decoration: none; color: var(--ink); min-height: 52px; }
a.info-box:hover { background: #EEEAF4; color: var(--ink); }
.info-box svg { width: 22px; height: 22px; flex: none; }

/* Écran de connexion */
.auth-card { margin-top: 18px; }
.seg { display: flex; gap: 6px; padding: 4px; background: var(--surface); border-radius: 14px; }
.seg button { flex: 1; min-height: 44px; border: none; border-radius: 11px; background: transparent; font-weight: 500; font-size: 15px; color: #5B5566; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--white); box-shadow: 0 1px 3px rgba(23, 18, 31, .12); font-weight: 700; color: var(--ink); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 6px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Progression */
.progress-card { margin-top: 16px; border-radius: 18px; background: var(--ink); color: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.progress-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.progress-card .big { font-family: var(--display); font-weight: 800; font-size: 20px; }
.progress-card .small { font-size: 13px; color: #CFC8DA; }
.bar { height: 8px; border-radius: 999px; background: #3A3346; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width .3s; }
.steps-live { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #CFC8DA; }
.steps-live li { display: flex; align-items: center; gap: 8px; }
.steps-live li.done { color: var(--white); }
.steps-live li.now { color: var(--white); font-weight: 700; }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #5D5468; flex: none; display: inline-flex; align-items: center; justify-content: center; }
li.done .dot { background: var(--accent); border-color: var(--accent); }
li.now .dot { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; display: inline-block; flex: none; }

/* Résultat */
.result-head { display: flex; align-items: center; gap: 10px; padding-top: 10px; }
.back { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--surface); border: 0; cursor: pointer; text-decoration: none; flex: none; }
.back:hover { background: #EEEAF4; color: var(--ink); }
.result-head h1 { font-size: 16px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { color: var(--ok); background: var(--ok-bg); }
.pill-busy { color: var(--accent-dark); background: var(--accent-bg); }
.pill-err { color: var(--danger); background: var(--danger-bg); }
.pill-muted { color: var(--text); background: var(--surface); }
.result-head .pill { margin-left: auto; flex: none; }
.result-grid { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 900px) { .result-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: 24px; } .result-photo-col { position: sticky; top: 84px; } }
.photo-frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; transition: background-color .2s; }
@media (min-width: 900px) { .photo-frame { aspect-ratio: 1 / 1; } }
.photo-frame > img { width: 100%; height: 100%; object-fit: contain; }
.photo-frame .tag { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; color: var(--white); background: rgba(23, 18, 31, .82); padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); }
.photo-frame .before { position: absolute; right: 12px; bottom: 12px; margin: 0; width: 78px; border-radius: 12px; overflow: hidden; border: 3px solid var(--white); background: var(--white); box-shadow: 0 2px 8px rgba(23, 18, 31, .15); }
.photo-frame .before img { width: 100%; height: 66px; object-fit: cover; }
.photo-frame .before figcaption { font-size: 11px; font-weight: 700; text-align: center; padding: 2px 0; color: #5B5566; }
.photo-frame .retry { position: absolute; left: 12px; bottom: 12px; }
.swatches { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.swatches .label-caps { margin-right: 4px; }
.swatch { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.swatch i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(23, 18, 31, .22); display: block; }
.swatch[aria-checked="true"] { border-color: var(--ink); }
.swatch-name { font-size: 14px; color: var(--text-2); margin-left: 4px; }
.tabs { display: flex; gap: 6px; padding: 4px; background: var(--surface); border-radius: 14px; }
.tabs button { flex: 1; min-height: 44px; border: none; border-radius: 11px; background: transparent; font-weight: 500; font-size: 15px; color: #5B5566; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); box-shadow: 0 1px 3px rgba(23, 18, 31, .12); font-weight: 700; color: var(--ink); }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--white); }
.box-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; min-height: 28px; }
.box-head .count { letter-spacing: 0; text-transform: none; }
.box-head .count.over { color: var(--danger); }
.box .val-title { margin-top: 4px; font-weight: 700; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.box .val-desc { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.copy-mini { border: 1px solid var(--line-2); background: var(--white); border-radius: 10px; min-height: 36px; min-width: 44px; padding: 0 10px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0; text-transform: none; position: relative; }
.copy-mini::after { content: ''; position: absolute; inset: -4px; }
.copy-mini:hover { border-color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { border-radius: 16px; padding: 12px 14px; background: var(--surface); }
.fact.fact-price { background: var(--accent-bg); }
.fact .k { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fact.fact-price .k { color: var(--accent-dark); }
.fact .v { font-weight: 700; font-size: 15px; line-height: 1.3; margin-top: 4px; overflow-wrap: anywhere; }
.fact.fact-price .v { font-family: var(--display); font-weight: 800; font-size: 22px; white-space: nowrap; }
.fact .s { font-size: 12px; color: #5B5566; margin-top: 2px; line-height: 1.35; }
.fact.wide { grid-column: 1 / -1; }
.action-bar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 0; background: linear-gradient(to top, var(--white) 75%, rgba(255, 255, 255, 0)); margin-top: 6px; }
@media (min-width: 900px) { .action-bar { bottom: 0; } }
.action-bar .btn { padding: 0 8px; font-size: 15px; min-height: 52px; white-space: nowrap; }
@media (max-width: 360px) { .action-bar .btn { font-size: 14px; } }
.disclaimer { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Lot et historique */
.list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.row-item { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); min-height: 78px; }
.row-item.clickable { cursor: pointer; }
.row-item.clickable:hover { border-color: var(--line-2); background: var(--surface-2); }
.row-item .thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: var(--surface); }
.row-item .body { min-width: 0; flex: 1; }
.row-item .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item .m { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item a.t { color: var(--ink); text-decoration: none; display: block; }
.row-item a.t::after { content: ''; position: absolute; inset: 0; }
.row-item.has-link { position: relative; }
.row-item .side { flex: none; display: flex; align-items: center; gap: 6px; position: relative; z-index: 1; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.empty { text-align: center; padding: 40px 16px; border: 1px dashed var(--line-2); border-radius: 20px; margin-top: 16px; color: var(--text-2); }
.empty b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.empty .btn { margin-top: 16px; }
.history-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.history-grid > li, .list > li { min-width: 0; }
@media (min-width: 900px) { .history-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Compte */
.account-hero { margin-top: 14px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); padding: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.account-hero .n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.account-hero .l { color: var(--muted); font-size: 14px; }
.offers { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.offer.featured { border: 2px solid var(--accent); background: var(--accent-bg-2); }
.offer .p { font-family: var(--display); font-weight: 800; font-size: 26px; }
.offer .p small { font-family: var(--font); font-weight: 500; font-size: 15px; color: var(--muted); }
.offer p { color: var(--text-2); font-size: 14px; }
.offer .btn { margin-top: auto; }
.links-list { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.links-list li + li { border-top: 1px solid var(--line); }
.links-list a, .links-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 16px; text-decoration: none; color: var(--ink); background: var(--white); border: 0; font-size: 15px; cursor: pointer; text-align: left; }
.links-list a:hover, .links-list button:hover { background: var(--surface-2); color: var(--ink); }

/* Dialogues et notifications */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 24px 64px rgba(23, 18, 31, .3); color: var(--ink); }
dialog::backdrop { background: rgba(23, 18, 31, .45); }
.dlg { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.dlg h2 { font-size: 22px; }
.dlg p { color: var(--text-2); }
.dlg .actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

.boot { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50vh; color: var(--muted); }

/* ---------- Outils gratuits (/outils/) ---------- */
.tool-badge { display: inline-block; margin: 0 0 8px; padding: 6px 12px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 700; }
.tool-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin: 22px 0; background: var(--surface-2); box-shadow: var(--shadow); }
.tool-form { display: flex; flex-direction: column; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.pf-row { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 10px; align-items: end; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pf-row b { font-family: var(--display); padding-bottom: 12px; }
@media (max-width: 560px) { .pf-row { grid-template-columns: 1fr 1fr; } .pf-row b { grid-column: 1 / -1; padding: 0; } }
.field-set { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.field-set legend { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.radio input { width: 20px; height: 20px; accent-color: var(--accent-btn); }
.field.qty { font-weight: 600; color: var(--ink); }
.tool-result { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tool-result h3 { font-family: var(--display); font-size: 18px; margin: 14px 0 8px; }
.res-big { border-radius: 16px; padding: 16px; background: var(--white); border: 1px solid var(--line); margin-bottom: 12px; }
.res-big span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.res-big b { display: block; font-family: var(--display); font-size: 30px; line-height: 1.15; margin: 4px 0; color: var(--ink); }
.res-big small { display: block; color: var(--text-2); font-size: 14px; }
.res-big.ok { border-color: #BFE6D3; background: var(--ok-bg); }
.res-big.bad { border-color: #F1B8B2; background: var(--danger-bg); }
.res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.res-list li { border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); }
.res-list li b { display: block; }
.res-list li span { color: var(--text-2); font-size: 14px; }
.res-list li.warn { border-color: var(--accent-line); background: var(--accent-bg-2); }
.res-list li.ok { border-color: #BFE6D3; background: var(--ok-bg); }
.res-box { margin-top: 14px; border-radius: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); }
.res-box p { margin: 6px 0 0; }
.small { font-size: 14px; color: var(--text-2); }
.copy-list, .msg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copy-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 14px; background: var(--white); }
.copy-list li small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.msg-list li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); }
.msg-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.msg-list p { margin: 6px 0 0; white-space: pre-wrap; }
tr.hit td { background: var(--accent-bg); font-weight: 700; }
.photo-canvas { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.dress select, .dress input { width: 100%; min-height: 44px; border: 1px solid #CFC9D8; border-radius: 10px; padding: 0 8px; font-size: 15px; background: var(--white); }
.dress td { padding: 6px 4px; }
.dress td:nth-child(2) { width: 84px; }
.totals { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 8px; font-size: 15px; }
.reg td, .reg th { font-size: 14px; white-space: nowrap; }
.reg td:nth-child(2) { white-space: normal; min-width: 140px; }

/* ===================== Version 2 : appli (ventes, outils, suivi, compte) ===================== */
.seg button[aria-checked="true"] { background: var(--white); box-shadow: 0 1px 3px rgba(23, 18, 31, .12); font-weight: 700; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-row .btn { flex: 1 1 200px; }
.card-box { display: block; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--white); color: var(--ink); text-align: left; width: 100%; font: inherit; }
.card-box > .view-title.sm:first-child, .card-box > summary { margin-top: 0; }
.card-box .view-title.sm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-link { text-decoration: none; cursor: pointer; }
.tool-link:hover { border-color: var(--accent-line); background: var(--accent-bg-2); color: var(--ink); }
.tools-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.lock { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-bg); border-radius: 999px; padding: 2px 8px; }
.pill-xs { font-size: 11px; padding: 2px 8px; vertical-align: 1px; }
.neg { color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); }
.empty-line { color: var(--muted); font-size: 15px; margin: 16px 0; }

/* Photos en plus + dictée */
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.extra-slot { position: relative; border: 1px dashed var(--line-2); border-radius: 14px; min-height: 84px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); overflow: hidden; }
.extra-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 84px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink); }
.extra-add span { font-size: 22px; line-height: 1; color: var(--accent-text); }
.extra-slot input:focus-visible + .extra-add { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 14px; }
.extra-slot.has-photo { border-style: solid; justify-content: flex-start; gap: 10px; padding: 8px; }
.extra-slot.has-photo img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.extra-slot.has-photo span { font-weight: 700; font-size: 14px; }
.extra-slot .extra-del { position: absolute; top: 2px; right: 2px; }
.with-mic { position: relative; }
.with-mic textarea { width: 100%; padding-right: 56px; }
.mic-btn { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mic-btn svg { width: 20px; height: 20px; }
.mic-btn.on { background: var(--accent-btn); border-color: var(--accent-btn); color: var(--white); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(232, 85, 42, .2); } }

/* Suivi des annonces */
.market-box { margin-top: 4px; }
.market-line { margin: 6px 0 0; font-size: 15px; color: var(--text); }
.market-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.market-actions .btn-sm { min-height: 40px; }
.dormant-card { margin-top: 14px; border-radius: 20px; padding: 16px; background: var(--accent-bg-2); border: 1px solid var(--accent-line); }
.dormant-card .view-title.sm { margin-top: 0; display: flex; align-items: center; gap: 8px; }
.dormant-item { align-items: flex-start; min-height: 0; position: relative; }
.dormant-item .market-actions { margin-top: 8px; position: relative; z-index: 1; }
.hist-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 16px; }
.hist-tools .chips { gap: 6px; }
.hist-tools .chip { min-height: 40px; padding: 0 12px; font-size: 14px; }
.chip .n { font-weight: 500; opacity: .7; }
.hist-export { display: flex; gap: 8px; flex-wrap: wrap; }

/* Chiffres */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-top: 12px; }
.kpis > div { border-radius: 16px; background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpis b { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.kpis span { font-size: 13px; color: var(--muted); line-height: 1.3; }
@media (max-width: 600px) { .kpis { gap: 8px; } .kpis > div { padding: 10px 12px; } .kpis b { font-size: 19px; } }
@media (max-width: 340px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sales-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 12px; }
.sales-bar .seg { flex: 1 1 220px; max-width: 360px; }
.dac7 .view-title.sm { margin-top: 0; }
.dac7-row { margin-top: 14px; }
.dac7-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 14px; margin-bottom: 6px; }
.dac7 .bar, .card-box .bar { background: var(--line); }
.bar.warn > i { background: var(--danger); }
.month-head { font-size: 15px; margin: 20px 0 0; }
.month-head::first-letter { text-transform: uppercase; }
.month-head span { font-weight: 500; color: var(--muted); font-size: 13px; text-transform: none; }
.profit { font-weight: 700; color: var(--ok); white-space: nowrap; font-size: 15px; }
.profit.neg { color: var(--danger); }
.data-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table th, .data-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th, .data-table td:not(:first-child) { white-space: nowrap; }
.data-table th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 140px; margin-top: 10px; padding-bottom: 20px; position: relative; }
.bar-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar-v { width: 100%; max-width: 28px; min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--accent); }
.bar-v.neg { background: var(--danger); }
.bar-col span { position: absolute; bottom: -20px; font-size: 11px; color: var(--muted); }
.pro-teaser { background: var(--accent-bg-2); border-color: var(--accent-line); }
.offer-list { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--text-2); }
.offer-list li { padding-left: 20px; position: relative; }
.offer-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.per-month { display: block; font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--muted); }
.billing-seg { margin-top: 12px; max-width: 420px; }
.billing-seg .save { font-size: 11px; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 2px 6px; border-radius: 999px; margin-left: 4px; }
.ref-link { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ref-link input { flex: 1 1 220px; min-width: 0; min-height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 14px; background: var(--surface-2); color: var(--ink); }
.card-box.check { display: flex; gap: 10px; align-items: flex-start; }
details.card-box > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* Scanner et réponses */
.verdict { border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.verdict b { font-family: var(--display); font-weight: 800; font-size: 20px; }
.verdict span { font-size: 14px; }
.verdict-ok { background: var(--ok-bg); color: var(--ok); }
.verdict-busy { background: var(--accent-bg); color: var(--accent-dark); }
.verdict-err { background: var(--danger-bg); color: var(--danger); }
.verdict-muted { background: var(--surface); color: var(--ink); }
.scan-result .t .m { font-size: 14px; color: var(--muted); }
.checks { margin: 8px 0 0; padding-left: 20px; font-size: 14px; color: var(--text); }
.reply-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.reply-list .box { display: flex; flex-direction: column; gap: 8px; }
.reply-list .copy-mini { align-self: flex-end; }

/* Bilan annuel (impression) */
.report { margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--white); }
.report-head h2 { font-size: 24px; margin: 10px 0 0; }
.report-head p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.report h3 { font-size: 16px; margin: 22px 0 0; }
@media print {
  .app-header, .bottom-nav, .no-print, .demo-banner, .toast, .cookie-banner, .skip { display: none !important; }
  .app-main { padding: 0 !important; max-width: none !important; }
  .report { border: 0; padding: 0; }
  .kpis > div { border: 1px solid #ddd; background: none; }
  body { background: #fff; }
}
.link-list { list-style: none; padding: 0; }
.link-list li + li { margin-top: 0; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; }
