/* =========================================================
   TaliaRepair — Design system (mobile-first, look application)
   ========================================================= */
/* Charte : bleu TaliaRepair #1A7CF5 (logo), bleu marine #1B3A6B (texte), fond blanc. */
:root {
  --brand: #1a7cf5;
  --brand-2: #4a9bff;
  --brand-ink: #0f5fd1;
  --navy: #1b3a6b;
  --mint: #22c55e;
  --mint-ink: #15803d;
  --coral: #e5484d;
  --amber: #f5a623;
  --ink: #1b3a6b;
  --text: #2b3a55;
  --muted: #5a6b8a;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f5fb;
  --border: #dfe6f1;
  --ring: rgba(26, 124, 245, .32);
  --shadow-sm: 0 1px 2px rgba(27, 58, 107, .06), 0 1px 3px rgba(27, 58, 107, .06);
  --shadow: 0 8px 28px -10px rgba(27, 58, 107, .18), 0 2px 6px rgba(27, 58, 107, .05);
  --shadow-lg: 0 24px 60px -22px rgba(26, 124, 245, .45);
  --grad: linear-gradient(135deg, #1a7cf5 0%, #2f8dff 55%, #0f5fd1 130%);
  --radius: 18px;
  --radius-sm: 12px;
  --tabbar-h: 64px;
  --appbar-h: 60px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3f6fc; --text: #d3dcea; --muted: #93a3bf; --bg: #0c1a33; --surface: #132543; --surface-2: #1a2f52;
    --border: #27405f; --brand: #4a9bff; --brand-ink: #8dc0ff; --mint-ink: #4ade80;
    --shadow: 0 8px 30px -10px rgba(0, 0, 0, .6); --shadow-sm: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f3f6fc; --text: #d3dcea; --muted: #93a3bf; --bg: #0c1a33; --surface: #132543; --surface-2: #1a2f52;
  --border: #27405f; --brand: #4a9bff; --brand-ink: #8dc0ff; --mint-ink: #4ade80;
  --shadow: 0 8px 30px -10px rgba(0, 0, 0, .6); --shadow-sm: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--appbar-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.3rem); font-weight: 780; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(40px, 8vw, 88px); }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; } :root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s, color .2s, border-color .2s; position: relative; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-ink); box-shadow: 0 12px 28px -10px var(--brand); transform: translateY(-1px); }
:root[data-theme="dark"] .btn-primary:hover { background: #2f8dff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #142c52; transform: translateY(-1px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); background-size: 160% 160%; animation: shift 8s ease infinite; }
.btn-grad:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: #052e16; }
.btn-mint:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand-ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--brand) 18%, transparent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn .ic { width: 20px; height: 20px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barre d'application ---------- */
.appbar { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.appbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(27,58,107,.35); }
.appbar-in { height: var(--appbar-h); display: flex; align-items: center; gap: 16px; }
/* Logo : « Talia » gras + « Repair » régulier, bleu marine, comme sur la charte */
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand b { font-weight: 800; }
.brand img { width: 28px; height: 35px; object-fit: contain; }
.mainnav { display: none; }
.appbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hide-sm { display: none; }
@media (min-width: 960px) {
  .mainnav { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
  .mainnav > a, .dd-btn { padding: 8px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 560; font-size: .95rem; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
  .mainnav > a:hover, .dd-btn:hover, .mainnav > a[aria-current] { background: var(--surface-2); color: var(--ink); }
  .hide-sm { display: inline-flex; }
}
.dd { position: relative; }
.dd-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -12px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.dd-btn[aria-expanded="true"] + .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--text); }
.dd-item:hover { background: var(--surface-2); }
.dd-item strong { display: block; color: var(--ink); font-size: .93rem; }
.dd-item small { color: var(--muted); font-size: .78rem; line-height: 1.35; display: block; }

/* ---------- Barre d'onglets (mobile) ---------- */
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid var(--border);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .68rem; font-weight: 600; color: var(--muted); text-decoration: none; position: relative; }
.tabbar a .ic { width: 23px; height: 23px; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.tabbar a[aria-current] { color: var(--brand); }
.tabbar a[aria-current] .ic { transform: translateY(-2px) scale(1.08); }
.tabbar a[aria-current]::before { content: ""; position: absolute; top: 6px; width: 46px; height: 32px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 13%, transparent); z-index: -1; }
.tabbar a:active .ic { transform: scale(.88); }
@media (min-width: 960px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 44px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto -20%; height: 680px; z-index: -1; opacity: var(--hero-glow, 1);
  background: radial-gradient(40% 50% at 20% 30%, rgba(26, 124, 245, .2), transparent 70%), radial-gradient(35% 45% at 85% 20%, rgba(74, 155, 255, .16), transparent 70%), radial-gradient(30% 40% at 60% 70%, rgba(27, 58, 107, .08), transparent 70%); filter: blur(10px); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 64px 0 88px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.hero h1 .hl { color: var(--brand); }
.hero-lead { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: var(--muted); max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-sm); margin-bottom: 18px; text-decoration: none; }
.pill b { background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: .72rem; }

/* Barre de recherche */
.search { margin-top: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 8px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 52px; border-radius: 14px; background: var(--surface-2); }
.search-field .ic { color: var(--brand); width: 20px; height: 20px; }
.search-field input, .search-field select { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 1rem; height: 52px; appearance: none; }
.search-field select { cursor: pointer; }
.search .btn { min-height: 52px; border-radius: 14px; }
@media (min-width: 720px) { .search { grid-template-columns: 1.2fr 1fr auto; border-radius: 999px; } .search-field { background: transparent; } .search-field + .search-field { border-left: 1px solid var(--border); border-radius: 0; } .search .btn { border-radius: 999px; } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: .2s; }
.quick a:hover { border-color: var(--brand); color: var(--brand); }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-size: .88rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ic { color: var(--mint-ink); }

/* Illustration héros */
/* Illustration du héros : visible dès le mobile (sous le texte), à côté sur grand écran */
.hero-art { position: relative; margin: 8px auto 0; max-width: 340px; }
.hero-illus { width: 100%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(26,124,245,.18)); }
@media (min-width: 960px) { .hero-art { max-width: 460px; margin: 0; } }
.dcard-illus { width: 76%; max-width: 150px; height: auto; align-self: center; margin: -4px 0 2px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.dcard:hover .dcard-illus { transform: translateY(-4px) scale(1.04); }
/* Illustrations éditoriales (guides, bonus) */
.card-illus { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-illus img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: linear-gradient(180deg, var(--surface-2), transparent); padding: 14px 18px 0; }
.card-illus h3 { margin: 14px 20px 6px; }
.card-illus p { margin: 0 20px 18px; }
.card-illus .note { margin-top: 0 !important; }
.article-illus { width: 100%; height: auto; max-height: 360px; object-fit: contain; margin: 0 0 24px; filter: drop-shadow(0 18px 30px rgba(26,124,245,.14)); }
/* Bandeaux illustrés (installation, espace pro) */
.install-card { padding: clamp(22px, 5vw, 44px); display: grid; gap: 20px; align-items: center; grid-template-columns: 1fr; }
.install-card img { width: min(240px, 60vw); height: auto; justify-self: center; filter: drop-shadow(0 18px 30px rgba(26,124,245,.16)); }
@media (min-width: 720px) { .install-card { grid-template-columns: 260px 1fr; } .install-card.rev { grid-template-columns: 1fr 280px; } }
.install-illus { width: 160px; height: auto; margin: 0 auto 8px; }
.device-hero { display: grid; gap: 16px; align-items: center; }
.device-hero-illus { width: min(260px, 60vw); height: auto; justify-self: center; filter: drop-shadow(0 18px 30px rgba(26,124,245,.18)); }
@media (min-width: 720px) { .device-hero { grid-template-columns: 1fr 300px; } .device-hero-illus { width: 300px; } }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--ink); animation: float 6s ease-in-out infinite; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.float-card .bubble { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.fc-1 { top: 12%; left: -6px; animation-delay: -2s; } .fc-1 .bubble { background: var(--mint); }
.fc-2 { top: 38%; right: -10px; animation-delay: -4s; } .fc-2 .bubble { background: var(--brand); }
.fc-3 { bottom: 4%; left: 4px; animation-delay: -1s; } .fc-3 .bubble { background: var(--navy); }
@media (max-width: 959px) { .float-card { font-size: .76rem; padding: 8px 10px; gap: 8px; } .float-card .bubble { width: 30px; height: 30px; border-radius: 9px; } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Cartes appareils ---------- */
.devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .devices { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .devices { grid-template-columns: repeat(6, 1fr); } }
.dcard { --c: var(--brand); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; overflow: hidden; }
.dcard::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .08; transition: transform .4s; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 45%, var(--border)); }
.dcard:hover::after { transform: scale(1.5); }
.dcard strong { font-size: 1rem; line-height: 1.25; }
.dcard small { color: var(--muted); font-size: .8rem; }
.dchip { --c: var(--brand); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); flex: none; }
.dchip .ic { width: 22px; height: 22px; }
.dcard .go { position: absolute; top: 16px; right: 16px; color: var(--muted); transition: .25s; }
.dcard:hover .go { color: var(--c); transform: translateX(3px); }

/* ---------- Diagnostic express ---------- */
.diag { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: clamp(18px, 4vw, 36px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.diag::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.steps { display: flex; gap: 8px; margin-bottom: 20px; }
.steps span { flex: 1; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; position: relative; }
.steps span.on::after { content: ""; position: absolute; inset: 0; background: var(--grad); animation: grow .5s ease forwards; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.diag-step { display: none; animation: fadeUp .35s ease; }
.diag-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 64px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font-weight: 600; color: var(--ink); transition: .2s; }
.choice:hover { border-color: var(--brand); transform: translateY(-2px); }
.choice[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); box-shadow: 0 0 0 3px var(--ring); }
.choice small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.diag-result { display: grid; gap: 16px; }
.diag-result > * { min-width: 0; }
#diag-form { flex-wrap: wrap; }
#diag-form .search-field { flex: 1 1 200px; background: var(--surface-2); border: 0; }
#diag-form .btn { flex: 1 1 auto; }
.price-big { font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.price-big small { font-size: .4em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.diag-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.note { font-size: .82rem; color: var(--muted); }

/* ---------- Cartes réparateurs ---------- */
.rgrid { display: grid; gap: 14px; }
@media (min-width: 720px) { .rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rgrid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.rcard { position: relative; display: grid; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; }
.rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.rcard.is-sponsored { border-color: color-mix(in srgb, var(--amber) 55%, var(--border)); background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 7%, var(--surface)), var(--surface) 60%); }
.rcard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.rcard-top { display: flex; gap: 12px; align-items: center; }
.rcard-head { flex: 1; min-width: 0; }
.rcard h3 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 1.02rem; }
.rcard h3 .verified { color: var(--mint-ink); display: inline-flex; }
.rcard-head p { margin: 2px 0 0; font-size: .84rem; display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard-head p .ic { width: 14px; height: 14px; }
.avatar { --h: 250; width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; font-weight: 800; letter-spacing: -.02em; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 58%), hsl(calc(var(--h) + 40) 75% 48%)); }
.rcard-rating { display: flex; align-items: center; gap: 6px; font-size: .88rem; }
.rcard-rating strong { color: var(--ink); }
.stars { display: inline-flex; gap: 1px; }
.stars .ic { width: 15px; height: 15px; fill: var(--border); stroke: none; }
.stars .ic.on { fill: var(--amber); }
.rcard-devices { display: flex; gap: 6px; flex-wrap: wrap; }
.rcard-devices .dchip { width: 32px; height: 32px; border-radius: 10px; }
.rcard-devices .dchip .ic { width: 17px; height: 17px; }
.rcard-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-size: .76rem; font-weight: 600; color: var(--text); }
.tag .ic { width: 13px; height: 13px; }
a.tag { text-decoration: none; transition: .2s; } a.tag:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-ink); }
.profile-cta .btn { padding: 0 14px; }
.tag-new { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-ink); }
.tag-muted { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--border); }
.claim-box { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, var(--border)); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); margin-top: 14px; }
.claim-box p { margin: 0; font-size: .92rem; }
.lead-locked { filter: blur(4px); user-select: none; pointer-events: none; }
.lock-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--border)); font-size: .9rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare th { font-weight: 700; color: var(--ink); }
.compare thead th { text-align: center; font-size: .9rem; }
.compare td.c { text-align: center; }
.compare .best { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.claim-results { display: grid; gap: 8px; }
.claim-result { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.claim-result small { display: block; color: var(--muted); }
.tag-green {background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint-ink); }
.fav-btn { position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 0; color: var(--muted); cursor: pointer; transition: .2s; }
.fav-btn:hover { color: var(--coral); }
.fav-btn[aria-pressed="true"] { color: var(--coral); background: color-mix(in srgb, var(--coral) 14%, transparent); }
.fav-btn[aria-pressed="true"] .ic { fill: currentColor; animation: pop .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes pop { 50% { transform: scale(1.35); } }
.sponsor-flag, .demo-flag { position: absolute; top: -9px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.sponsor-flag { left: 14px; background: var(--amber); color: #3b2600; }
.demo-flag { right: 14px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }

/* ---------- Annuaire ---------- */
.dir-top { display: grid; gap: 12px; padding: 18px 0 8px; }
.dir-search { display: flex; gap: 8px; }
.dir-search .search-field { flex: 1; background: var(--surface); border: 1px solid var(--border); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin-inline: -2px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; transition: .2s; }
.chip .ic { width: 16px; height: 16px; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dir-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; }
.dir-bar select { min-height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); padding: 0 12px; }
.empty { text-align: center; padding: 48px 16px; border: 1.5px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.empty .ic { width: 42px; height: 42px; margin: 0 auto 10px; color: var(--brand); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); min-height: 280px; display: grid; place-items: center; text-align: center; padding: 20px; margin-bottom: 14px; }
.map-box.on { padding: 0; display: block; height: 380px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--border)); font-size: .86rem; color: var(--text); margin: 10px 0; }
.notice .ic { color: #b07100; margin-top: 3px; }
.notice.info { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 25%, var(--border)); }
.notice.info .ic { color: var(--brand); }
.more { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- Fiche réparateur ---------- */
.profile-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 0 24px; }
.profile-id { display: flex; gap: 16px; align-items: center; }
.profile-id .avatar { width: 72px; height: 72px; border-radius: 22px; font-size: 1.5rem; }
.profile-id h1 { font-size: clamp(1.5rem, 5vw, 2.3rem); margin: 0 0 4px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .9rem; color: var(--muted); }
.profile-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.status { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.status.open { color: var(--mint-ink); } .status.closed { color: var(--coral); }
.profile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 720px) { .profile-cta { display: flex; } }
.profile-grid { display: grid; gap: 18px; padding-block: 24px 48px; }
@media (min-width: 960px) { .profile-grid { grid-template-columns: 1fr 360px; align-items: start; } .profile-side { position: sticky; top: calc(var(--appbar-h) + 16px); } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 1.2rem; }
.feat-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.feat-list li { display: flex; gap: 10px; align-items: center; font-size: .94rem; }
.feat-list .ok { color: var(--mint-ink); } .feat-list .no { color: var(--muted); opacity: .6; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--border); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.hours tr.today td { color: var(--brand); font-weight: 700; }
.price-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.price-table td.p { white-space: nowrap; font-weight: 700; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.review { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; }
.review header { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; margin-bottom: 4px; }
.review p { margin: 0; font-size: .94rem; }
.rating-big { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.review header strong { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review header .tag { font-size: .7rem; padding: 2px 8px; }
.review-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 12px 12px 0; font-size: .9rem; }
.review-reply strong { color: var(--ink); font-size: .84rem; }
.review-reply p { margin: 4px 0 0; }
/* Notation par étoiles (formulaire d'avis) */
.rate { display: flex; gap: 6px; }
.rate label { cursor: pointer; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); transition: .15s; }
.rate span .ic { width: 26px; height: 26px; fill: var(--border); stroke: none; }
.rate label:hover span, .rate label:hover ~ label span { background: var(--surface-2); }
.rate:hover label span .ic { fill: var(--amber); }
.rate label:hover ~ label span .ic { fill: var(--border); }
.rate label:has(input:checked) span .ic, .rate label:has(~ label input:checked) span .ic { fill: var(--amber); }
.rate label:has(input:checked) span { background: color-mix(in srgb, var(--amber) 18%, transparent); }
.rate input:focus-visible + span { outline: 3px solid var(--ring); }
.rcard .stars-row { display: inline-flex; align-items: center; gap: 4px; }
.rating-big strong { font-size: 2.4rem; font-family: var(--font-display); color: var(--ink); letter-spacing: -.04em; }

/* ---------- Contenu éditorial ---------- */
.page-hero { padding: 26px 0 30px; position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -60% -10% auto -10%; height: 420px; z-index: -1; background: radial-gradient(40% 50% at 15% 40%, rgba(26,124,245,.16), transparent 70%), radial-gradient(30% 45% at 90% 30%, rgba(27,58,107,.1), transparent 70%); }
.page-hero h1 { font-size: clamp(1.8rem, 5.5vw, 3rem); }
.page-hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.35rem, 3.6vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .94rem; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
.prose th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--surface); border-radius: 0 14px 14px 0; }
.tldr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.tldr strong:first-child { display: flex; align-items: center; gap: 8px; color: var(--brand); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; margin-bottom: 6px; }
.tldr ul { margin: 0; padding-left: 1.1em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal .todo { background: color-mix(in srgb, var(--amber) 25%, transparent); padding: 0 4px; border-radius: 4px; }
.updated { font-size: .86rem; color: var(--muted); }

/* ---------- Grilles génériques ---------- */
.grid-2 { display: grid; gap: 16px; } .grid-3 { display: grid; gap: 16px; } .grid-4 { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.card { text-decoration: none; color: var(--text); display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.card h3 { margin-top: 12px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.feature-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.feature-ic .ic { width: 24px; height: 24px; }
.stat { text-align: center; padding: 20px 12px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--muted); }
.band { background: var(--navy); color: #e6eef9; border-radius: 28px; padding: clamp(26px, 6vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
:root[data-theme="dark"] .band { background: #142c52; }
.band::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 400px; background: radial-gradient(closest-side, rgba(26,124,245,.6), transparent); z-index: -1; }
.band::after { content: ""; position: absolute; inset: -50% 50% auto -10%; height: 360px; background: radial-gradient(closest-side, rgba(74,155,255,.3), transparent); z-index: -1; }
.band h2 { color: #fff; }
.band p { color: #bccbe3; }
.band-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .band-grid { grid-template-columns: 1.2fr .8fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ic { color: var(--mint); margin-top: 4px; }
/* ---- Blog ---- */
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card-photo-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.card-photo-body h3 { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.3; }
.card-photo-body p { margin: 0; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-photo-body .note { margin-top: 6px !important; font-size: .8rem; }
.post-tag { --c: var(--brand); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); width: max-content; }
.post-tag .ic { width: 14px; height: 14px; }
.page-hero .post-tag { margin-bottom: 10px; }
.post-featured { margin-bottom: 16px; }
@media (min-width: 720px) { .post-featured .card-photo { flex-direction: row; } .post-featured .card-photo > img { width: 55%; aspect-ratio: 3 / 2; } .post-featured .card-photo-body { justify-content: center; padding: 28px 32px; } .post-featured .card-photo-body h3 { font-size: 1.5rem; } .post-featured .card-photo-body p { -webkit-line-clamp: 4; } }
.post-cover { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(27,58,107,.14); }
.post-cover img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; font-size: .95rem; }
.toc strong { display: block; margin-bottom: 6px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 24px; } }
.toc li { margin: 0 0 4px; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--ink); } .toc a:hover { color: var(--brand); text-decoration: underline; }
.prose h2[id] { scroll-margin-top: 80px; }
.author-box { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 24px 0; }
.author-box img { flex: none; margin-top: 2px; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.dept-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 10px 0 18px; }
@media (min-width: 720px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
.dept-grid .city-link { justify-content: flex-start; font-weight: 600; }
.dept-grid .city-link small { color: var(--brand); font-weight: 800; min-width: 28px; }
.dept-grid .city-link .muted { font-weight: 500; font-size: .85rem; }
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 720px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
.city-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: .2s; }
.city-link small { color: var(--muted); font-weight: 500; }
.city-link:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* Tarifs pro */
.pricing { display: grid; gap: 16px; }
@media (min-width: 960px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); position: relative; }
.plan.best { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan.is-current { border-color: var(--mint-ink); box-shadow: none; }
.plan.is-current .badge { background: var(--mint); color: #053; }
.pricing-2 { margin-top: 4px; }
@media (min-width: 720px) { .pricing-2 { grid-template-columns: repeat(2, 1fr); } }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.plan .amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.plan .amount small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; flex: 1; font-size: .94rem; }
.plan li { display: flex; gap: 8px; } .plan li .ic { color: var(--mint-ink); margin-top: 4px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 22px; }
.toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 650; cursor: pointer; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.toggle em { font-style: normal; color: var(--mint-ink); font-size: .8rem; }

/* Formulaires */
.form { display: grid; gap: 14px; }
.form > *, .form-row > *, .pro-view, .panel { min-width: 0; }
.panel .btn, .status-card .btn { white-space: normal; text-align: center; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 650; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field .err { font-size: .82rem; color: #d43d1a; margin-top: 4px; display: none; }
.field.invalid input { border-color: #d43d1a; } .field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: .88rem; cursor: pointer; margin: 0; }
.checks input { width: auto; min-height: 0; accent-color: var(--brand); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent-line {display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.consent-line input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.form-ok { display: none; text-align: center; padding: 30px; }
.form-ok .ic { width: 52px; height: 52px; margin: 0 auto 10px; color: var(--mint-ink); }
.form.sent .form-ok { display: block; } .form.sent > :not(.form-ok) { display: none; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; font-weight: 650; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { transition: transform .25s; color: var(--muted); margin-top: 3px; }
.faq-item[open] .chev { transform: rotate(180deg); color: var(--brand); }
.faq-a { padding: 0 18px 16px; color: var(--muted); }
.faq-a p { margin: 0; }

/* Pied de page */
.footer { margin-top: 40px; background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); max-width: 380px; margin-top: 12px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.fh { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--brand); }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; color: var(--muted); font-size: .82rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-legal a, .footer-legal .linklike { color: var(--muted); font-size: .82rem; }

/* Consentement */
.consent { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); max-width: 560px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(15,19,48,.45); animation: fadeUp .35s ease; }
@media (min-width: 960px) { .consent { bottom: 20px; left: 20px; right: auto; } }
.consent-in { padding: 20px; }
.consent h2 { font-size: 1.1rem; }
.consent p { font-size: .88rem; color: var(--muted); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-btns .btn-primary { grid-column: 1 / -1; }
@media (min-width: 560px) { .consent-btns { grid-template-columns: 1fr 1fr 1fr; } .consent-btns .btn-primary { grid-column: auto; } }
.consent-opts { display: grid; gap: 10px; margin-bottom: 14px; font-size: .88rem; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 42px; height: 24px; border-radius: 99px; background: var(--border); position: relative; flex: none; transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 2px; }

/* Toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); animation: fadeUp .3s ease; max-width: calc(100% - 32px); }
@media (min-width: 960px) { .toast { bottom: 24px; } }

/* Feuille modale (bottom sheet) */
.sheet { border: 0; padding: 0; width: 100%; max-width: 560px; max-height: 90dvh; border-radius: 26px 26px 0 0; margin: auto auto 0; background: var(--surface); color: var(--text); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.4); }
.sheet[open] { animation: sheetUp .35s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 26px; } }
.sheet::backdrop { background: rgba(10, 12, 28, .5); backdrop-filter: blur(4px); }
.sheet-in { padding: 10px 22px 26px; }
.sheet-grip { width: 44px; height: 5px; border-radius: 99px; background: var(--border); margin: 6px auto 14px; }
.sheet-close { position: absolute; top: 14px; right: 14px; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Logos marques (texte) */
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands span { padding: 6px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text); }

/* =========================================================
   Espace professionnel & administration
   ========================================================= */
.pro { padding: 18px 0 40px; }
.pro-loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pro-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pro-head h1 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin: 4px 0 0; }
.pro-shop-select { min-height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); padding: 0 12px; font-weight: 600; max-width: 100%; }
.pro-badge { font-size: .62rem; background: var(--ink); color: var(--bg); padding: 2px 6px; border-radius: 6px; vertical-align: middle; letter-spacing: .06em; }
.auth-card { padding: clamp(22px, 6vw, 36px); }
.seg { position: sticky; top: calc(var(--appbar-h) + env(safe-area-inset-top)); z-index: 20; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 14px 0 16px; border-radius: 16px; background: color-mix(in srgb, var(--surface-2) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); }
.seg button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-weight: 650; font-size: .76rem; cursor: pointer; transition: .2s; }
.seg button .ic { width: 20px; height: 20px; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .seg button { flex-direction: row; justify-content: center; gap: 8px; font-size: .9rem; padding: 10px; } }
.dot { position: absolute; top: 4px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: #fff; font-size: .66rem; display: grid; place-items: center; }
.pro-view { animation: fadeUp .3s ease; }
.pro-view .panel { margin-bottom: 14px; }
.pro-view .panel + .panel { margin-top: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px 16px; }
.kpi span { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi span .ic { width: 15px; height: 15px; color: var(--brand); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -.03em; color: var(--ink); line-height: 1.2; margin-top: 4px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 6px; }
.bars span { flex: 1; height: max(3px, var(--h)); border-radius: 4px 4px 2px 2px; background: var(--grad); opacity: .85; transition: opacity .2s; }
.bars span:hover { opacity: 1; }
.status-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin: 10px 0; }
.status-card p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.pill-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-ok .pill-status, .pill-status.tone-ok { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint-ink); }
.tone-warn .pill-status, .pill-status.tone-warn { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #9a5b00; }
.tone-bad .pill-status, .pill-status.tone-bad { background: color-mix(in srgb, var(--coral) 16%, transparent); color: #c2391b; }
.status-card.tone-ok { border-color: color-mix(in srgb, var(--mint) 40%, var(--border)); }
.status-card.tone-bad { border-color: color-mix(in srgb, var(--coral) 40%, var(--border)); }
.tag-bad { background: color-mix(in srgb, var(--coral) 14%, transparent); color: #c2391b; }
.qlist { display: grid; gap: 10px; }
.qcard { display: grid; gap: 4px; text-align: left; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: .2s; color: var(--text); position: relative; }
.qcard:hover { border-color: var(--brand); transform: translateY(-2px); }
.qcard.is-new { border-left: 4px solid var(--brand); }
.qcard.is-new strong::after { content: " • nouveau"; color: var(--brand); font-size: .74rem; }
.qtop { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.qtop strong { color: var(--ink); }
.qtop time { color: var(--muted); font-size: .8rem; }
.qdev { font-weight: 650; font-size: .92rem; color: var(--ink); }
.qmsg { font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qstatus { justify-self: start; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); }
.qstatus.s-new { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand-ink); }
.qstatus.s-replied { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint-ink); }
.qstatus.s-won { background: var(--mint); color: #053; }
.qstatus.s-lost { color: var(--muted); }
.qquote { margin: 12px 0; padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--surface-2); border-radius: 0 14px 14px 0; white-space: pre-wrap; }
.qactions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.toggles { display: grid; gap: 12px; }
.checks label .ic { width: 16px; height: 16px; color: var(--brand); }
.checks label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.hours-edit { display: grid; gap: 10px; }
.hrow { display: grid; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.hrow:last-child { border-bottom: 0; }
.hslots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hslots input { min-height: 40px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface); padding: 0 8px; width: 104px; }
.hslots .hsep { color: var(--muted); font-size: .82rem; margin: 0 4px; }
.hrow.closed .hslots { opacity: .35; pointer-events: none; }
@media (min-width: 720px) { .hrow { grid-template-columns: 160px 1fr; align-items: center; } }
.savebar { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); z-index: 15; display: flex; justify-content: flex-end; gap: 10px; padding: 10px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (min-width: 960px) { .savebar { bottom: 16px; } }
.savebar .btn { flex: 1; max-width: 260px; }
.danger { color: #c2391b !important; }
.danger-bg { background: #d43d1a !important; box-shadow: none !important; }
.btn:disabled { opacity: .55; pointer-events: none; }
.admin-shop-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.admin-shop-head h3 { margin: 0; display: flex; align-items: center; gap: 6px; }
.admin-shop-head p { margin: 2px 0 0; font-size: .86rem; }
.admin-shop .rcard-tags { margin: 10px 0; }
.admin-desc { font-size: .9rem; color: var(--text); background: var(--surface-2); padding: 10px 12px; border-radius: 12px; white-space: pre-wrap; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.admin-actions select { min-height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); padding: 0 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .appbar, .tabbar, .footer, .consent, .profile-cta { display: none !important; } body { padding: 0; } }
